-   Linux - Hardware (
-   -   "Can't find root filesystem / error mounting /dev/root" when booting to new kernel (

sal_paradise42 12-01-2012 01:09 PM

"Can't find root filesystem / error mounting /dev/root" when booting to new kernel
I am trying to upgrade my kernel from 2.6.18-274 to 2.6.39 for some wireless card drivers.
When I boot into the new kernel I get the "Can't find root filesystem / error mounting /dev/root" googling led me to this page
From what I am reading seems to be an issue with a driver for my SATA controller or HD, but I can't find what option I need to add to the kernel.
Doing a diff from the old initrd to the new one gives me the following:

root-> diff /tmp/kafter /tmp/kbefore
> lib/dm-message.ko
> lib/dm-region_hash.ko
> lib/dm-raid45.ko
< lib/dm-region-hash.ko
> lib/dm-mem-cache.ko

Do I need any of those? not sure if I would need dm-raid45.ko as I am not running a raid.
I have the same SATA and IDE options configured for both kernels so not sure what else to look for, any help is appreciated.

Additionally here is the HW info:

00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Hewlett-Packard Company Unknown device 3006
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 233
        I/O ports at 1818 [size=8]
        I/O ports at 1830 [size=4]
        I/O ports at 1820 [size=8]
        I/O ports at 1834 [size=4]
        I/O ports at 14f0 [size=16]
        Capabilities: [70] Power Management version 2

root-> smartctl -a /dev/sda

Device Model:    WDC WD5000AADS-00S9B0

sal_paradise42 12-01-2012 04:03 PM

I fixed it with the help of this link

Needed this option: CONFIG_SYSFS_DEPRECATED_V2=Y

All times are GMT -5. The time now is 10:12 PM.