help with gcc3.3.1 update and kernel compiling
My computer runs SuSE 8.2. I have downloaded and installed gcc3.3.1. Due to a small issue with one program, I wanted to compile the kernel. Well, I installed the source from the CD, updated it with YOU, "make cloneconfig", "make clean", "make bzImage modules", much later "make modules_install". At the end, there were some four depmod errors. I thougth there was something wrong. Downloaded linux-2.4.21.SuSE from mantel, repeat. This time there were no errors. Then, copied the bzImage to vmlinuz and mk_initrd. The thing does not boot. Dies with kernel panic, not being able to mount root. Two lines before, complains "couldn't find the kernel version the module was compiled for" with regard to reiserfs. Just to check: atl12:/home/ivan/tmp # cp /boot/initrd-hda2-2.4.21.SuSE initrd21 atl12:/home/ivan/tmp # cat initrd21 | gzip -d > initrd21.desc gzip: stdin: decompression OK, trailing garbage ignored atl12:/home/ivan/tmp # losetup /dev/loop0 initrd21.desc atl12:/home/ivan/tmp # mount -t ext2 /dev/loop0 /mnt/d1 atl12:/home/ivan/tmp # ls -R /mnt/d1 /mnt/d1: . .. bin dev lib linuxrc /mnt/d1/bin: . .. insmod insmod.old sh /mnt/d1/dev: . .. console fb0 md0 null ram ram0 ram1 ram2 ramdisk tty1 tty2 zero /mnt/d1/lib: . .. modules /mnt/d1/lib/modules: . .. 2.4.21-0- /mnt/d1/lib/modules/2.4.21-0-: . .. kernel /mnt/d1/lib/modules/2.4.21-0-/kernel: . .. fs /mnt/d1/lib/modules/2.4.21-0-/kernel/fs: . .. reiserfs /mnt/d1/lib/modules/2.4.21-0-/kernel/fs/reiserfs: . .. reiserfs.o atl12:/home/ivan/tmp # The reiserfs.o is there, and is copy of what I have in /lib/modules/2.4.21-0- I tried the vanilla 2.4.22 with the same result. Would someone have an idea what is going wrong? Something to try? Is there any known serious issue with gcc3.3.1 wrt kernel compile?
On Monday 08 September 2003 05:25 pm, Ivan Nazarenko wrote:
My computer runs SuSE 8.2. I have downloaded and installed gcc3.3.1.
Due to a small issue with one program, I wanted to compile the kernel. Well, I installed the source from the CD, updated it with YOU, "make cloneconfig", "make clean", "make bzImage modules", much later "make modules_install".
At the end, there were some four depmod errors. I thougth there was something wrong. Downloaded linux-2.4.21.SuSE from mantel, repeat. This time there were no errors. [...] The reiserfs.o is there, and is copy of what I have in /lib/modules/2.4.21-0-
I tried the vanilla 2.4.22 with the same result.
Would someone have an idea what is going wrong? Something to try? Is there any known serious issue with gcc3.3.1 wrt kernel compile? ===================
Ivan, There does indeed seem to be problems when compiling things for the kernel or the kernel with gcc 3.3.1 right now. Go back to the -43 build and you should be ok. If you can't find that, just go back to the original gcc installed with your 8.2. Pat -- --- KMail v1.5.3-3 --- SuSE Linux Pro v8.2 --- Registered Linux User #225206 On any other day, that might seem strange...
The 03.09.08 at 18:25, Ivan Nazarenko wrote:
Due to a small issue with one program, I wanted to compile the kernel. Well, I installed the source from the CD, updated it with YOU, "make cloneconfig", "make clean",
You forgot make dep. Did you remember about EXTRAVERSION? -- Cheers, Carlos Robinson
participants (3)
-
BandiPat
-
Carlos E. R.
-
Ivan Nazarenko