PDA

View Full Version : Laoding modules ...



zorgh
09-03-2004, 11:09 PM
Hi

I work actually on a free implementation of Debian live Cd.
A new partition has been intialized and mounted. I have installed a debian Sid (kernel 2.6.6) without Windows manager.
I compressed the image with the system squashfs instead of cloop for a question of portability on recent kernels and I have spoofed the knoppix scripts to initialize the load of modules and hardware autodetection and to decompress the ramdisk image. A large part of knoppix scripts is used.

It is ok with kernel 2.6.6. I expect to clarify that's not a remasterisation of knoppix. The procedure in the detail is different.

Now, I attempts with kernel 2.6.8.1 and I get the error message when loading scsi modules from linuxrc file.

Ex: uhci-hcd: version magic ' 2.6.8.1 SMP preempt 386 gcc-2.95 ' should be ' 2.6.6 SMP preempt 386 gcc-2.95 '

So, the Live cd cannot start and "KNOPPIX" image cannot mounted.

The system/boot partition with kernel 2.6.8.1 installed runs correctly.

It looks like there is a line of code which prints 2.6.6 automatically.

I thought about of 'uname' or 'insmod' (this one is compiled as static binary by knopper) spoofed.

I have no issue for the moment.

Any suggestions? How can I fix it ?

Thx

(sorry for my english, I'm french)

kelmo
09-04-2004, 02:46 PM
It sound like you need to rebuild your miniroot . . .

. . . with the modules built for your new kernel

zorgh
09-05-2004, 07:22 PM
The problem seems to come from insmod (rmmod, modprobe ..) compiled static (ash-knoppix --> modutils) into kernel 2.6.6.