LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   2.6.19: VFS: Cannot Open root device "sda1" or unknown-block(0,0) (https://www.linuxquestions.org/questions/linux-kernel-70/2-6-19-vfs-cannot-open-root-device-sda1-or-unknown-block-0-0-a-509439/)

lg21 02-13-2007 04:50 PM

Thanks :).

shubb 02-15-2007 11:53 AM

Ok, I have a similar problem. I'm going from 2.6.17 to 2.6.20, and I got the same errors as havok above. I have an Asus MB, which uses Nvidia chips for the SATA controller. Here's the hardware:
Code:

00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)

00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Class 0403: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
04:05.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)

I added in the Device Drivers > Serial ATA... > NVIDIA SATA support into the kernel. Rebuilt the kernel and modules.
When I boot onto the new kernel, I see "Loading Linux-2.6.20.............." and it stops there. Is there some huge step that I missed? I only added the two options and the kernel doesnt boot anymore.

urza 04-22-2007 03:32 PM

Quote:

Originally Posted by charleykadet
For intel chip... you must compile AHCI in s-ata devices...

anyway, 2.6.19 is really crap: a friend of mine who owns a macbook has the same problem.
when switching to >2.6.20.3, problems get solved...

lg21 05-03-2007 04:25 PM

Got the same - initrd!!

Try compiling kernel with:
make-kpkg kernel-image kernel-headers --initrd --append-to-version -lg21 --revision 1.0

Logimite 02-24-2021 12:35 AM

Quote:

Originally Posted by havok1977 (Post 2539205)
VFS: Cannot Open root device "sda1" or unknown-block(0,0)
Kernel panic: VFS: Unable to mount root fs on /dev/sda1 (0,0)

I've been trying to compile a new 2.6.19 Kernel since a few days ago, and i just cant seem to fix this problem, i am using ReiserFS on my hard drive; and i made sure that the module for that FS is embedded in my Kernel binary:

CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_REISERFS_FS_XATTR=y
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_SECURITY is not set

This is a Laptop with Serial ATA so the modules are there as well:

CONFIG_BLK_DEV_IDE_SATA=y


And my grub tells the MBR that where the root partition is:

title Debian GNU/Linux, kernel 2.6.19
root (hd0,0)
kernel /boot/vmlinuz-2.6.19 root=/dev/sda1 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=791
savedefault

So, i dont know what im missing, i used the same configuration for the 2.6.18.3 version and everything works fine, in fact it is the running Kernel as i type this, so i hope that someone can help me out here, what am i missing?

I have the same issue on elementaryos


All times are GMT -5. The time now is 09:48 PM.