I'm having trouble compiling a new kernel.
Here is my system:
Debian Testing (fresh install--downloaded the Testing netinstall CD on friday), Kernel 2.6.12
I'm trying to complie a new kernel so that I can have the cx8800 driver for my TV Card, but I keep getting this:
Quote:
VFS: Cannot open root device "hda1" or unknow-block(0,0)
Please append a correct "root=" boot option
Kernel panic --- not syncing: VFS: Unable to mount root fs on unknown-block (0,0)
|
I've compiled my own Debian kernels before, so I don't know why this isn't working.
From what I gather from my own looking into this problem this message might be related to the root file system being a module, but that is not the case with me---I complied it into the kernel.
Here is the relevant section from grub/menu.lst
Quote:
title Debian GNU/Linux, kernel 2.6.12.666
root (hd0,0)
kernel /boot/vmlinuz-2.6.12.666 root=/dev/hda1 ro
savedefault
boot
title Debian GNU/Linux, kernel 2.6.12.666 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12.666 root=/dev/hda1 ro single
savedefault
boot
title Debian GNU/Linux, kernel 2.6.12-1-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-1-386 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.12-1-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.12-1-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-1-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.12-1-386
savedefault
boot
|
The stock kernel 2.6.12-1-386 works just fine, and I even copied over its configuration file to start my own config and the only things I did differently was make the Conextant cx8800 module a module in the Video for Linux section and tell it that the processor was a P4.
The compile goes fine and I get a deb file that installs okay, but always the same error. I've combiled 5 kernels over the past two days trying varius things, but all for nought.
So, any ideas?
OR
Is there a good way to get a module built and inserted into a stock kernel without a complete recompile?