Hi list, two-in-one question time.
First the USB problem: Has anyone else experienced problems with USB using kernel 2.4.19? I managed to lock my box up entirely just now simply by plugging the USB cable in, other times it will be fine, then a few days ago I had a kernel panic when transferring a large amount of data over the USB. I can't see many problems reported on google, so it may be I've missed something vital from USB support in the kernel or something silly?
Then the PCMCIA problem: Can I simply copy the /lib/modules/2.2.20/pcmcia directory to /lib/modules/2.4.19/pcmcia in order to try and get my pc card working in 2.4.19 as well as 2.2.20, or does it not work like that doe to the way the kernels handle modules? I'm anxious *not* to blow anything up!
Many thanks, Jenny.
No idea on USB, but...
Jenny_Hopkins@toby-churchill.com sez:
Then the PCMCIA problem: Can I simply copy the /lib/modules/2.2.20/pcmcia directory to /lib/modules/2.4.19/pcmcia in order to try and get my pc card working in 2.4.19 as well as 2.2.20, or does it not work like that doe to the way the kernels handle modules? I'm anxious *not* to blow anything up!
No, the chances are very high that won't work. insmod will refuse to install the module; there's the evil way of insmod -f but you'll almost certainly get a bunch of undefined symbol errors if you try the. Just compile the same drivers under 2.4.19 and it'll work as well as before.
Jenny.
lewis
I typoed:
... a bunch of undefined symbol errors if you try the. Just compile...
s/the/that/, pardon typo
lewis
Jenny_Hopkins@toby-churchill.com Jenny_Hopkins@toby-churchill.com wrote:
Has anyone else experienced problems with USB using kernel 2.4.19? [...]
No. Use lsmod on your new and old kernel systems to make sure that you're still using the same USB hci module. Some boards work with more than one, with differing rates of success.
Can I simply copy the /lib/modules/2.2.20/pcmcia directory to /lib/modules/2.4.19/pcmcia [...]
I agree with the other answer: No. Use lsmod on the old system to get the net module name and enable that in "make menuconfig" on the new kernel. Then, I think, it will all "just work".
HTH
Jenny_Hopkins@toby-churchill.com wrote:
First the USB problem: Has anyone else experienced problems with USB using kernel 2.4.19? I managed to lock my box up entirely just now simply by plugging the USB cable in, other times it will be fine, then a few days ago I had a kernel panic when transferring a large amount of data over the USB. I can't see many problems reported on google, so it may be I've missed something vital from USB support in the kernel or something silly?
I'm running 2.4.19 with a USB Speedtouch modem. Generally it works 24/7 shovelling much data around, but I do get kernel panics when probing or removing modules if I don't do it in the right order. I also get random hangs.
I think I might put those down to SMP - I get a lot of 'apic error on cpu x' messages that generally don't seem to do anything bad but might occasionally cause a hang or panic.
In 2.4.2 I had to patch the usb kernel source for SMP, but not 2.4.19.
Watch /var/log/messages when plugging it in - see what its trying to do. It'll probably find the device, then modprobe something it thinks should handle that particular device. It might be getting it wrong, or maybe you should modprobe that module yourself right after modprobing usb...
Neil