Hi, I am trying to compile the 2.4.16 kernel, so I can use the Linux ieee1394 drivers for my ieee1394 harddisk. The ieee1394 website shows that the 2.4.10 kernel may not be stable, and I notice that my machine does not work with my ieee1394 disk with Suse's 2.4.10 kernel. So I installed a 2.4.16 kernel. When I reboot, I get module not found errors... for example, ucbcore.o (and a dozen others). The kernel panics and the machine stops booting. Here is what I did. What did I do wrong? Thanks for the help.... - installed the Suse kernel source from 7.3 CD - make cloneconfig - downloaded the 23+ meg tar.bz file from kernel.org - untar'ed it to /usr/src/linux - copied the .config file from the Suse kernel directory to /usr/src/linux. - make xconfig . Did a save and quit (no changes). If I don't do this step, I get compile errors. - make dep - make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16 (is this necessary?) - edit /etc/lilo.conf to add the new kernel item. - lilo -v - reboot Thanks for the help. I find this problem really frustrating... By the way, if I do a depmod -ae -F System.map 2.4.16 I notice that some wan/comx device gets a unresolved symbol. Strange that SuSE's .config would produce an unresolved symbol... -- -Mike suse-list@Schwager.com
Michael Schwager wrote: [kernel]
Here is what I did. What did I do wrong? Thanks for the help....
- installed the Suse kernel source from 7.3 CD - make cloneconfig Why now?
- downloaded the 23+ meg tar.bz file from kernel.org - untar'ed it to /usr/src/linux - copied the .config file from the Suse kernel directory to /usr/src/linux.
Now you have to do make cloneconfig and then make (x|menu|) config.
- make xconfig . Did a save and quit (no changes). If I don't do this step, I get compile errors. - make dep
make clean
- make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16 (is this necessary?)
I've never done that. It worked.
- edit /etc/lilo.conf to add the new kernel item. - lilo -v - reboot
By the way, if I do a depmod -ae -F System.map 2.4.16 I notice that some wan/comx device gets a unresolved symbol. Strange that SuSE's .config would produce an unresolved symbol...
See above. That is not SuSE's config... Rene -- Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est [Aurelius Augustinus, 4. Jhd] Erklärung und Übsersetzung: http://fsfeurope.org/order/ öffentlicher GnuPG-Schlüssel: Mail an gnupgkey@rene-engelhard.de
* Michael Schwager [Sat, 08 Dec 2001 12:44:04 -0600]:
Here is what I did. What did I do wrong? Thanks for the help....
- installed the Suse kernel source from 7.3 CD - make cloneconfig - downloaded the 23+ meg tar.bz file from kernel.org - untar'ed it to /usr/src/linux - copied the .config file from the Suse kernel directory to /usr/src/linux.
This won't work! A SuSE config will only work correctly with a SuSE kernel. You should download either the kernel RPM for 2.4.16 from ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/people/mantel/next/RPM or get the kernel_source RPM from the same location. If you use the source, go to /usr/src/linux after installation and issue 'make cloneconfig'. Now you're set for compilation.
- copy the System.map to /boot/System.map-2.4.16 (is this necessary?)
Yes it is, if you want ksylogd be able to resolve addresses in the kernel to something readable. And you'll also need it for ksymoops.
Strange that SuSE's .config would produce an unresolved symbol...
As I already said, a SuSE .config won't match a vanilla kernel. Philipp -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
Thanks for the pointer, Philipp.
A SuSE config will only work correctly with a SuSE kernel. You should download either the kernel RPM for 2.4.16 from ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/people/mantel/next/RPM ...
- copy the System.map to /boot/System.map-2.4.16 (is this necessary?)
Yes it is, ...
What should I call the file? In general, how does the kernel know which System.map file to refer to? Thanks. -- -Mike suse-list@Schwager.com -o) /\\ _\_v
* Michael Schwager [Mon, 10 Dec 2001 18:05:35 -0600]:
What should I call the file? In general, how does the kernel know which System.map file to refer to?
The kernel doesn't know as the kernel doesn't refer to it. It's tools like klogd or ksymoops that need it. Simply give kernel and map identical extensions, i.e. vmlinuz-2.4.16 and System.map-2.4.16 and the right map will be used. Philipp -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
Hi, You may recall, I had some problems compiling new kernel:
Here is what I did. What did I do wrong? Thanks for the help....
- installed the Suse kernel source from 7.3 CD - make cloneconfig - downloaded the 23+ meg tar.bz file from kernel.org
... This won't work! A SuSE config will only work correctly with a SuSE kernel. You should download either the kernel RPM for 2.4.16 from ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/people/mantel/next/RPM or get the kernel_source RPM from the same location. If you use the source, go to /usr/src/linux after installation and issue 'make cloneconfig'. Now you're set for compilation.
I downloaded the source from ftp.gwdg.de and compiled it. I installed bzImage as /boot/vmlinuz-2.4.16 and edited lilo.conf appropriately. It still does not work. The errors I get look like: Loading module usbcore... insmod: usbcore: no module by that name found ...(etc, including such things as mousedev, ide-scsi, reiserfs)... Kernel panic: VFS: unable to mount root fs on 03:07 ...then my machine hangs, with the lights flashing on and off on the keyboard. Ctrl-alt-del does nothing; I must hard-reset. This is the same behavior I got when using the kernel from kernel.org. Here is what I did. What did I do wrong? Thanks for the help. - downloaded the 23+ meg rpm file from ftp.gwdg.de - rpm -i --force <name-of-rpm-file> - cd /usr/src/linux - make cloneconfig - make dep - make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16 - edit /etc/lilo.conf to add the new kernel item. - lilo -v - reboot -- -Mike suse-list@Schwager.com -o) /\\ _\_v
* Michael Schwager
- installed the Suse kernel source from 7.3 CD - make cloneconfig - downloaded the 23+ meg tar.bz file from kernel.org
I downloaded the source from ftp.gwdg.de and compiled it. I installed bzImage as /boot/vmlinuz-2.4.16 and edited lilo.conf appropriately.
It still does not work. The errors I get look like: Loading module usbcore... insmod: usbcore: no module by that name found ....(etc, including such things as mousedev, ide-scsi, reiserfs)... Kernel panic: VFS: unable to mount root fs on 03:07
Sounds like you have a root filesystem that requires some modules to be accessed (scsi, reiser) .. Either you have to make an initrd or compile the necesary modules in the kernel iso as a module.
- downloaded the 23+ meg rpm file from ftp.gwdg.de - rpm -i --force <name-of-rpm-file> - cd /usr/src/linux - make cloneconfig
then do a make menuconfig find the scsi module you need (if your disk is scsi) and toggle it to compile into the kernel find the reiserfs module and compile it in the kernel iso as a module
- make dep - make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16 - edit /etc/lilo.conf to add the new kernel item. - lilo -v - reboot
Kind regards, -- Gerhard den Hollander Phone +31-10.280.1515 Global Technical Support Fax +31-10.280.1511 Jason Geosystems BV (When calling please note: we are in GMT+1) gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged. If you are not the intended recipient, we request that you do not disseminate, forward, distribute or copy this e-mail message. If you have received this e-mail message in error, please notify us immediately by telephone and destroy the original message.
Gerhard den Hollander wrote:
* Michael Schwager
(Fri, Dec 14, 2001 at 04:10:28AM -0600) - installed the Suse kernel source from 7.3 CD - make cloneconfig - downloaded the 23+ meg tar.bz file from kernel.org
I downloaded the source from ftp.gwdg.de and compiled it. I installed bzImage as /boot/vmlinuz-2.4.16 and edited lilo.conf appropriately.
It still does not work. The errors I get look like: Loading module usbcore... insmod: usbcore: no module by that name found ....(etc, including such things as mousedev, ide-scsi, reiserfs)... Kernel panic: VFS: unable to mount root fs on 03:07
Sounds like you have a root filesystem that requires some modules to be accessed (scsi, reiser) .. Either you have to make an initrd or compile the necesary modules in the kernel iso as a module.
- downloaded the 23+ meg rpm file from ftp.gwdg.de - rpm -i --force <name-of-rpm-file> - cd /usr/src/linux - make cloneconfig
then do a make menuconfig find the scsi module you need (if your disk is scsi) and toggle it to compile into the kernel find the reiserfs module and compile it in the kernel iso as a module
- make dep - make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16
do also the following - mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16"
- edit /etc/lilo.conf to add the new kernel item.
edit lilo.conf directly and make sure you have an entry for the proper initrd modules.
- lilo -v - reboot
Kind regards, -- Gerhard den Hollander Phone +31-10.280.1515 Global Technical Support Fax +31-10.280.1511 Jason Geosystems BV (When calling please note: we are in GMT+1)
gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands
This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged. If you are not the intended recipient, we request that you do not disseminate, forward, distribute or copy this e-mail message. If you have received this e-mail message in error, please notify us immediately by telephone and destroy the original message.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
>> > I downloaded the source from ftp.gwdg.de and compiled it. I installed >> > bzImage as /boot/vmlinuz-2.4.16 and edited lilo.conf appropriately. >> >> > It still does not work. The errors I get look like: >> > Loading module usbcore... ... > do also the following > - mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16" Thanks, that's exactly what I did. Now the kernel boots, but it's not able to load any modules after it's up. For example, when it first boots it cannot find "emu10k1.o". However, I did make modules and make modules_install and I can see /lib/modules/2.4.16-4GB/kernel/drivers/sound/emu10k1/emu10k1.o If I try "insmod" it cannot find it either. However, if I cd to /lib/modules/2.4.16-4GB/kernel/drivers/sound/emu10k1 and run insmod it finds it, but then complains about unresolved symbols. Boy, I never thought this would be such a pain. Isn't there a Howto somewhere that describes all this? (Not http://www.linuxdoc.org/HOWTO/Kernel-HOWTO-2.html ...that document is nearly useless) Surely I'm not the first one to try and build 2.4.16 for SuSE...? Well thanks for the help. -- -Mike suse-list@Schwager.com -o) /\\ _\_v
On Friday 14 December 2001 16:59 pm, Michael Schwager wrote:
I downloaded the source from ftp.gwdg.de and compiled it. I installed bzImage as /boot/vmlinuz-2.4.16 and edited lilo.conf appropriately.
It still does not work. The errors I get look like: Loading module usbcore...
...
do also the following - mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16"
Thanks, that's exactly what I did. Now the kernel boots, but it's not able to load any modules after it's up. For example, when it first boots it cannot find "emu10k1.o". However, I did make modules and make modules_install and I can see /lib/modules/2.4.16-4GB/kernel/drivers/sound/emu10k1/emu10k1.o
Sounds like you are just running into 'sound' problems. SuSE uses ALSA and doesn't use any of the normal kernel modules for sound. You'd probably be better off using the ALSA stuff at: www.alsa-project.org
If I try "insmod" it cannot find it either. However, if I cd to /lib/modules/2.4.16-4GB/kernel/drivers/sound/emu10k1 and run insmod it finds it, but then complains about unresolved symbols.
Boy, I never thought this would be such a pain. Isn't there a Howto somewhere that describes all this? (Not http://www.linuxdoc.org/HOWTO/Kernel-HOWTO-2.html ...that document is nearly useless) Surely I'm not the first one to try and build 2.4.16 for SuSE...?
Well thanks for the help.
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 12/14/01 17:20 + +----------------------------------------------------------------------------+ "I want to die in my sleep like my grandfather...Not screaming and yelling like the passengers in his car..."
Bruce, You da man. That did it. I had to reinstall the alsa drivers, using the latest 0.5.12a version. Thanks! And thanks to Harry, Gerhard, and Philipp for the pointers that brought me closer to the resolution. ...
do also the following - mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16"
Thanks, that's exactly what I did. Now the kernel boots, but it's not able to load any modules after it's up. For example, when it first boots it cannot find "emu10k1.o". However, I did make modules and make modules_install and I can see /lib/modules/2.4.16-4GB/kernel/drivers/sound/emu10k1/emu10k1.o
Sounds like you are just running into 'sound' problems.
SuSE uses ALSA and doesn't use any of the normal kernel modules for sound.
You'd probably be better off using the ALSA stuff at: www.alsa-project.org
-- -Mike suse-list@Schwager.com -o) /\\ _\_v
* Michael Schwager [Fri, 14 Dec 2001 04:10:28 -0600]:
...(etc, including such things as mousedev, ide-scsi, reiserfs)... Kernel panic: VFS: unable to mount root fs on 03:07
Seems you forgot to create an initrd.
- downloaded the 23+ meg rpm file from ftp.gwdg.de - rpm -i --force <name-of-rpm-file> - cd /usr/src/linux - make cloneconfig - make dep - make bzImage - make modules - make modules_install - copy the bzImage to /boot/vmlinuz-2.4.16 - copy the System.map to /boot/System.map-2.4.16 - edit /etc/lilo.conf to add the new kernel item.
What's probably missing: - create the initrd by doing 'mk_initrd -k vmlinuz-2.4.16 -i initrd-2.4.16' - add an entry for this initrd to lilo.conf.
- lilo -v - reboot
Then things should work. Philipp -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
participants (6)
-
Bruce Marshall
-
Gerhard den Hollander
-
harry amarantidis
-
Michael Schwager
-
philippt@t-online.de
-
Rene Engelhard