[opensuse] missing ksyms form my kernel
Hi, I downloaded and compiled a 2.6.16 vanilla kernel from kernel.org for my suse 10.1 box. Now I am trying to compile and install some drivers/modules for this kernel. Everything goes well and the drivers/modules get generated and produce some RPMS for me to install. The problem I run into is that when I try to install the RPM packages I get a missing rpm dependency. error: Failed dependencies: ksym(schedule) = 1000e51 is needed by There is a suse kernel-syms rpm which will probably solve this if I where using the suse kernel. But I am using a vanilla kernel from kernel.org. Any clues on how to generate a kernel and kernel-syms rpm on my suse box from a vanilla source kernel? Thanks Rene -- - -- Rene Salmon Tulane University Center for Computational Science http://www.ccs.tulane.edu rsalmon@tulane.edu Tel 504-862-8393 Tel 504-988-8552 Fax 504-862-8392 -- - -- Rene Salmon Tulane University Center for Computational Science http://www.ccs.tulane.edu rsalmon@tulane.edu Tel 504-862-8393 Tel 504-988-8552 Fax 504-862-8392 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Just a follow up on this. Now I installed the suse kernel-source-2.6.16.21-0.13 rpm. Then I tried to compile the kernel from source and generate an rpm with the "make rpm-pkg" options to make. I manage to build the rpms for the kernel but I get this message towards the end of the build: + cp .config /var/tmp/kernel-2.6.16.210.13ccs-root/boot/config-2.6.16.21-0.13-cc s + /usr/lib/rpm/brp-compress Processing files: kernel-2.6.16.210.13ccs-1 Finding Provides: /usr/lib/rpm/find-provides kernel /usr/lib/rpm/find-requires.ksyms: line 12: /usr/bin/nm: Argument list too long Finding Requires: /usr/lib/rpm/find-requires kernel Finding Supplements: /usr/lib/rpm/find-supplements kernel error: line 48: Dependency tokens must begin with alpha-numeric, '_' or '/': error: Failed to find Supplements: When I try to install the rpms that the build process generated i get the : ksym(struct_module) = b9ec7d43 is needed by kernel-2.6.16.210.13ccs-1.x86_64 ksym(find_or_create_page) = ba0f64de is needed by kernel-2.6.16.210.13ccs-1.x86_64 ksym(ec_read) = ba2d8594 is needed by kernel-2.6.16.210.13ccs-1.x86_64 ksym(__downgrade_write) = ba3bda2a is is this a bug? nm and rpm seem to have problems with building rpm kernels. Thanks for any help on this. Rene --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rene Salmon wrote
+ cp .config /var/tmp/kernel-2.6.16.210.13ccs-root/boot/config-2.6.16.21-0.13-cc s + /usr/lib/rpm/brp-compress Processing files: kernel-2.6.16.210.13ccs-1 Finding Provides: /usr/lib/rpm/find-provides kernel /usr/lib/rpm/find-requires.ksyms: line 12: /usr/bin/nm: Argument list too long Finding Requires: /usr/lib/rpm/find-requires kernel Finding Supplements: /usr/lib/rpm/find-supplements kernel error: line 48: Dependency tokens must begin with alpha-numeric, '_' or '/':
error: Failed to find Supplements:
I'm just running into exactly the same problem. Were you able to solve it in the meantime? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Here's a strange thing: When I compile the kernel on a SuSE 9.0 i586 host (running SuSE 9.2 kerrnel 2.6.8), it works. When I do the same on a 10.1 x86_64 host, that is running the 32bit/i586 version of 10.1, I get the error. I wonder if any of the kernel developers has an idea about this? Maybe it's really just the nm tool in 10.1 that can't handle such a long argument line? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, I think you are on the right track. Its either the nm tool or something with rpm maybe adding something to these variables '%insserv_prereq' '%fillup_prereq' when you make the kernel rpm? Not sure I still have not found a solution to generating a kernel rpm on suse 10.1. It would be great if some of the suse kernel gurus could post something on this maybe a fix? For the most part we run the suse kernels and prefer it that way but there are occasions when one needs to be able to compile and run a vanilla kernel from kernel.org to support some application or hardware that just won't compile on a suse kernel. Any clues on this would be greatly appreciated. Thanks Rene Frank Steiner wrote:
Here's a strange thing: When I compile the kernel on a SuSE 9.0 i586 host (running SuSE 9.2 kerrnel 2.6.8), it works. When I do the same on a 10.1 x86_64 host, that is running the 32bit/i586 version of 10.1, I get the error.
I wonder if any of the kernel developers has an idea about this? Maybe it's really just the nm tool in 10.1 that can't handle such a long argument line?
cu, Frank
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Rene, Rene Salmon wrote
Finding Provides: /usr/lib/rpm/find-provides kernel /usr/lib/rpm/find-requires.ksyms: line 12: /usr/bin/nm: Argument list too long Finding Requires: /usr/lib/rpm/find-requires kernel Finding Supplements: /usr/lib/rpm/find-supplements kernel error: line 48: Dependency tokens must begin with alpha-numeric, '_' or '/':
error: Failed to find Supplements:
I asked the SLES support about that issue (we have a paid support contract), and they told me the problem is caused by a new naming convention by Novell: all kernel rpms must be named "kernel-...". Our kernel rpm uses "kernelbio-..." and that doesn't fit the convention. So either make sure your own rpm uses "kernel-..." as %NAME or fix the problem in the three scripts /usr/lib/rpm/find-provides.ksyms /usr/lib/rpm/find-requires.ksyms /usr/lib/rpm/find-supplements.ksyms In each of them you find: case "$1" in ... kernel-*) is_kernel_package=1 ;; Replacing "kernel-*" by "kernel*" solved the problem for use (for "kernelbio"). You just need to fix this to match whatever you use as name for your kernel rpm... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Frank Steiner
-
Rene Salmon