Click to See Complete Forum and Search --> : new kernel problems (2.4.21)


Nobody's Hero
08-03-2003, 02:27 PM
I was running kernel 2.4.20-8d which was the default kernel when I installed Yellow Dog Linux 3.0. In order to get my Tungsten T PDA to work, I had to patch my visor module which I couldn't get to work properly, so I decided to upgrade my kernel.

I downloaded the source. Ran "make oldconfig" although I don't know if this did anything because I didn't have the source from my old kernel anywhere. Then I ran "make xconfig" to look through everything (although most of it makes no sense to me).

"make dep", "make bzImage", & "make modules" ran with no problems.

"make modules_install" ran with no problems.

Then I copied vmlinux and System.map to my /boot directory with the names vmlinux-2.4.21 and System.map-2.4.21.

Deleted my old symbolic links and made new ones.

I rebooted and the new kernel loaded, but a lot of things are broken.

1) During boot up, kudzuu tells me my trackpad was removed. (although it works in KDE)...

2) bringing up my ethernet card fails.

3) pmud fails

4) when x loads, my display is all messed up. (strange moving lines all over the screen) and I can't set the color depth above 8 bit.

5) I get an error message about /dev/dsp and I have no sound.

How do i get my new kernel to work like my old one did? Right now I'm still using the old one since it works, but I'd like to be able to start using the new one.

Here is some info for you...

/sbin/lsmod while running 2.4.20-8d:
Module Size Used by Not tainted
radeon 125512 0
agpgart 23116 1
ipx 25084 0 (autoclean)
i2c-keywest 8144 0 (autoclean) (unused)
dmasound_pmac 75856 1 (autoclean)
dmasound_core 15488 1 (autoclean) [dmasound_pmac]
i2c-core 19968 0 (autoclean) [i2c-keywest dmasound_pmac]
soundcore 6920 3 (autoclean) [dmasound_core]
autofs 13376 0 (autoclean) (unused)
airport 4260 1
orinoco 36816 0 [airport]
hermes 10944 0 [airport orinoco]
sungem 28432 0 (unused)
sungem_phy 7600 0 [sungem]
ipt_REJECT 3888 6 (autoclean)
iptable_filter 2544 1 (autoclean)
ip_tables 16496 2 [ipt_REJECT iptable_filter]

/sbin/lsmod when running 2.4.21:
Module Size Used by Not tainted
soundcore 7048 0 (autoclean)
airport 2964 1
orinoco 39216 0 [airport]
hermes 10832 0 [airport orinoco]
ipt_REJECT 4096 6 (autoclean)
iptable_filter 2528 1 (autoclean)
ip_tables 16528 2 [ipt_REJECT iptable_filter]

and here is ls -lh/boot:
total 9.3M
-rw-r--r-- 1 root root 27K Mar 15 19:47 config-2.4.20-8d
-rw-r--r-- 1 root root 605K Apr 24 13:22 initrd-2.4.20-8d.img
-rw-r--r-- 1 root root 607K Aug 3 18:03 initrd-2.4.21.img
-rw-r--r-- 1 root root 802 Apr 24 13:22 kernel.h
lrwxrwxrwx 1 root root 21 Aug 3 17:26 module-info -> module-info-2.4.20-8d
-rw-r--r-- 1 root root 15K Mar 15 19:47 module-info-2.4.20-8d
lrwxrwxrwx 1 root root 17 Aug 3 18:02 System.map -> System.map-2.4.21
-rw-r--r-- 1 root root 573K Mar 15 19:47 System.map-2.4.20-8d
-rw-r--r-- 1 root root 573K Aug 3 04:08 System.map-2.4.21
lrwxrwxrwx 1 root root 14 Aug 3 18:02 vmlinux -> vmlinux-2.4.21
-rw-r--r-- 1 root root 3.5M Mar 15 19:47 vmlinux-2.4.20-8d
-rwxr-xr-x 1 root root 3.5M Aug 3 04:08 vmlinux-2.4.21

rid3r
08-03-2003, 02:47 PM
hi. Seems like a lot of options are disabled in your new kernel. Try to do it again, but instead of make oldconfig you might be better off with:
# pwd
/usr/src/linux
# make clean mrproper
# cp /boot/config-2.4.20-8d .config
# make xconfig (to adjust it)
# make dep
# make clean (it doesn't hurt)
# make bzImage
# make modules modules_install install

rid3r
08-03-2003, 02:57 PM
One more thing, open a new terminal window and:
# less /usr/src/linux/Documentation/Configure.help
I am fighting with this to (:
Cheers.

Nobody's Hero
08-03-2003, 03:38 PM
How silly of me! I didn't realize that config file in my boot dir was the .config for compiling! I'm recompiling now using the old config and we'll see how it goes.

Thanks for the tip!

Nobody's Hero
08-03-2003, 04:21 PM
Here are the last few lines of "make bzImage"... I don't like the looks of that.

make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/ppc/boot/prep'
make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/ppc/boot'
make: warning: Clock skew detected. Your build may be incomplete.

Nobody's Hero
08-03-2003, 04:30 PM
I'm not so concerned about the clock skew, but "make modules" failed on agpgart. I could always remove this from my modules in config, but then I'm, pretty sure my radeon card won't be able to handle 3d...

Now what? Maybe I should post this in the hardware forum...