Hi there, I have been trying to upgrade to Kernel 2.4.7 since it is available from the official update tree on the SuSE FTP web site, and have encountered a number of problems:- * I needed to recompile the kernel with the Reiserfs module built-in in order to mount my root partition (with 2.4.4 it worked out of the box). * The supplied "alsa-driver-0.5.10b" would not recompile with "--with-sequencer=on", however downloading "alsa-driver-0.5.11" from www.alsa-project.org cured the problem. * The 2.4.7.SuSE-4GB kernel causes kernel panics on boot when compiled for an Athlon, but not when compiled for K6. I have let my unread entries grow to 10000+ on this mailing list, so please excuse any repetition from previous e-mails. I would like to compile the 2.4 kernel for my athlon, so If anyone has any helpful advice... Many Thanks Roger -- Roger L.S. Griffiths, BSc (Hons) Gott würfelt nicht (God does not play dice) - Albert Einstein
It is actually much easier. After installing a new kernel run two commands: mk_initrd lilo And then restart. Sincerely, Alexey Solofnenko. _____ < http://members.home.com/asolofnenko/ > Alexey N. Solofnenko < http://www.inventigo.com/ Inventigo LLC Pleasant Hill, CA (GMT-8 usually) -----Original Message----- From: Roger L.S.Griffiths BSc (Hons) [mailto:roger.l.s.griffiths@ntlworld.com] Sent: Saturday, September 29, 2001 2:04 PM To: suse-linux-e@suse.com Subject: [SLE] SuSE 7.2: Kernel 2.4.7 Update Hi there, I have been trying to upgrade to Kernel 2.4.7 since it is available from the official update tree on the SuSE FTP web site, and have encountered a number of problems:- * I needed to recompile the kernel with the Reiserfs module built-in in order to mount my root partition (with 2.4.4 it worked out of the box). * The supplied "alsa-driver-0.5.10b" would not recompile with "--with-sequencer=on", however downloading "alsa-driver-0.5.11" from www.alsa-project.org cured the problem. * The 2.4.7.SuSE-4GB kernel causes kernel panics on boot when compiled for an Athlon, but not when compiled for K6. I have let my unread entries grow to 10000+ on this mailing list, so please excuse any repetition from previous e-mails. I would like to compile the 2.4 kernel for my athlon, so If anyone has any helpful advice... Many Thanks Roger -- Roger L.S. Griffiths, BSc (Hons) Gott würfelt nicht (God does not play dice) - Albert Einstein -- 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
Ok, I have a question. Things work a bit different with SuSE k-compile/installs and I have never gotten it quit right. So, I'll run a list of what I think I should do and please give corrections and/or suggestions. I especially get frustrated when I run lsmod and see only two or three mods listed. So here it is: make config/menuconfig/xconfig(xconfig this one I'm not sure about with SuSE) make make modules make modules_install Now, this is where I'm not sure. should I make make install? make bzimage? Then cp the image to the boot dir? What exactly do I do then to I mk_initrd Do I need to have a back up copy of the module.conf?, or anything else? If someone could run down a list of exactly what to do I would be very grateful. TIA, Curtis lilo On Saturday 29 September 2001 04:41 pm, Alexey N. Solofnenko wrote:
It is actually much easier. After installing a new kernel run two commands: mk_initrd lilo
And then restart.
Sincerely, Alexey Solofnenko.
_____
< http://members.home.com/asolofnenko/ > Alexey N. Solofnenko < http://www.inventigo.com/ Inventigo LLC Pleasant Hill, CA (GMT-8 usually)
-----Original Message----- From: Roger L.S.Griffiths BSc (Hons) [mailto:roger.l.s.griffiths@ntlworld.com] Sent: Saturday, September 29, 2001 2:04 PM To: suse-linux-e@suse.com Subject: [SLE] SuSE 7.2: Kernel 2.4.7 Update
Hi there,
I have been trying to upgrade to Kernel 2.4.7 since it is available from the official update tree on the SuSE FTP web site, and have encountered a number of problems:- * I needed to recompile the kernel with the Reiserfs module built-in in order to mount my root partition (with 2.4.4 it worked out of the box). * The supplied "alsa-driver-0.5.10b" would not recompile with "--with-sequencer=on", however downloading "alsa-driver-0.5.11" from www.alsa-project.org cured the problem. * The 2.4.7.SuSE-4GB kernel causes kernel panics on boot when compiled for an Athlon, but not when compiled for K6.
I have let my unread entries grow to 10000+ on this mailing list, so please excuse any repetition from previous e-mails. I would like to compile the 2.4 kernel for my athlon, so If anyone has any helpful advice...
Many Thanks
Roger
On Monday 01 October 2001 00.27, Curtis Rey wrote:
Ok, I have a question. Things work a bit different with SuSE k-compile/installs and I have never gotten it quit right. So, I'll run a list of what I think I should do and please give corrections and/or suggestions. I especially get frustrated when I run lsmod and see only two or three mods listed. So here it is:
make config/menuconfig/xconfig(xconfig this one I'm not sure about with SuSE)
Why not? It often simplifies things if you precede this with 'make cloneconfig'. That way, you have all the settings of a working system, and can just make alterations.
make
This is the same as make Image. It will compile an uncompressed version of the kernel. Sometimes this is too big to fit in the initial memory (it has something to do with the classical intel 640 kb limit, I believe, but I'm not sure). If you hit that limit, you can do make bzImage. This will produce sort of like a self extracting archive version of the kernel (this is the "uncompressing kernel" you see at bootup.). An alternative to this is make bzlilo, which will make bzImage, copy the image to /boot and run lilo. If you choose one of the first approaches, you would have to copy the kernel manually, and run lilo etc.
make modules make modules_install
Yep.
Now, this is where I'm not sure. should I make make install? make bzimage? Then cp the image to the boot dir?
See above.
What exactly do I do
then to I mk_initrd
Only if you have any modules you need loaded at boot time, such as if you have reiserfs as a module, and / is reiser, or / is on scsi, or similarly important stuff.
Do I need to have a back up copy of the module.conf?, or anything else?
If you change a service from module to compiled-in, you'd want to alter the entry in modules.conf to off (or vice versa). If you alter things, it's always a good idea to keep the old around in case the new stuff doesn't work. Also, it's usually a good idea when you compile a new kernel not to overwrite the old kernel straight away. move it to vmlinuz.oldtriedandtrue and the new kernel to vmlinuz.daredevil. That way you'll always have a safe way to boot into your system (although expect weird errors, if you alter modules.conf in the process).
If someone could run down a list of exactly what to do I would be very grateful.
*exactly* what to do depends very much on what you're trying to achieve. A book could be written on all the various things that could be done, and what to do when/if it fails. For all I know there probably has been.
TIA, Curtis
HTH Anders
participants (4)
-
Alexey N. Solofnenko
-
Anders Johansson
-
Curtis Rey
-
Roger L.S.Griffiths BSc