Suse 8.2 kernel recompile
i've tried to compile my own kernel in this way 1. install source of 2.4.20 from suse 8.2 dvd 2. do a "make xconfig" in /usr/src/linux as usual 3. load configuration file from /boot/vmlinuz.config 4. remove some driver that i don't need 5. save 6. make dep 7. make bzImage 8. make modules 9. make modules_install after a while the kernel seems to be ok but a depmod -a told me that raiser-fs module cannot be found.. but i DON'T remove raiser-fs modules!!! ok i tried to edit anyway my grub config file copying bzImage on /boot dir and reboot next boot i recive a kernel panic on reiser fs... oh yes it is missed!! why? anyone know where is my fault? thanks
mk_initrd :) Andrea Rossi wrote:
i've tried to compile my own kernel in this way 1. install source of 2.4.20 from suse 8.2 dvd 2. do a "make xconfig" in /usr/src/linux as usual 3. load configuration file from /boot/vmlinuz.config 4. remove some driver that i don't need 5. save 6. make dep 7. make bzImage 8. make modules 9. make modules_install
after a while the kernel seems to be ok but a depmod -a told me that raiser-fs module cannot be found.. but i DON'T remove raiser-fs modules!!!
ok i tried to edit anyway my grub config file copying bzImage on /boot dir and reboot
next boot i recive a kernel panic on reiser fs... oh yes it is missed!!
why? anyone know where is my fault?
thanks
On Fri, 2003-09-12 at 09:00, Radu Voicu wrote:
mk_initrd :)
You didn't read the email properly!
Andrea Rossi wrote:
i've tried to compile my own kernel in this way 1. install source of 2.4.20 from suse 8.2 dvd 2. do a "make xconfig" in /usr/src/linux as usual 3. load configuration file from /boot/vmlinuz.config 4. remove some driver that i don't need 5. save 6. make dep 7. make bzImage 8. make modules 9. make modules_install
after a while the kernel seems to be ok but a depmod -a told me that raiser-fs module cannot be found.. but i DON'T remove raiser-fs modules!!!
The reiserfs module did not compile if I am reading this correctly. Therefore mk_initrd will not be able to load the module at boot time as it does -not- exist in the first place to include with mk_initrd. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
The 03.09.12 at 14:55, Andrea Rossi wrote:
1. install source of 2.4.20 from suse 8.2 dvd 2. do a "make xconfig" in /usr/src/linux as usual 3. load configuration file from /boot/vmlinuz.config 4. remove some driver that i don't need 5. save 6. make dep 7. make bzImage 8. make modules 9. make modules_install
after a while the kernel seems to be ok but a depmod -a told me that raiser-fs module cannot be found.. but i DON'T remove raiser-fs modules!!!
Ok, four ideas: 1) Start with "make cloneconfig". Do this always if the sources come from SuSE. It will copy the running kernel configuration - assumed to work - to the .config file, and will work even if kernel is a different version. Don't trust /boot/vmlinuz.config so much, it might be different. 2) Edit the makefile and add something to the EXTRAVERSION there (your initials, for example, like "-AR"). If you don't, the original /lib/modules/2.4.20-4GB/* tree will be overwritten with your compile, making it possible that even booting the safesettings kernel will not work (reinstall binary kernel rpm to correct). If you do use it, the make modules_install phase will create a new tree for your version, like /lib/modules/2.4.20-AR/*. 3) Did you update to GCC 3.3.1-0? Downgrade, it is broken. It will not compile the kernel. You will get missing symbols for depmod, and it will crash. 4) Did you remember to run mk_initrd? -- Cheers, Carlos Robinson
participants (4)
-
Andrea Rossi
-
Carlos E. R.
-
Ken Schneider
-
Radu Voicu