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