LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-22-2011, 01:02 AM   #1
replay20
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
Question Gentoo Xen 4.1 VFS: Cannot open root device


Following the Gentoo Xen guide http://www.gentoo.org/doc/en/xen-guide.xml. I am trying to boot Xen 4.1 with Gentoo as Dom0 but receive the following error:

Code:
...
[0.257754] Simple Boot flag at 0x44 set to 0x1
[0.260425] platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
Then it hangs for exactly 1 minute then continues...

Code:
...
[61.469515] VFS: Cannot open root device "sda4" or unknown-block(0,0)
[61.469791] Please append a correct "root=" boot option; here are the available partitions:
[61.470106] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[61.470105] Pid: 1, comm: swapper Not tainted 2.6.34-xen-r4 #6
[61.470641] Call Trace:
[61.470888]  [<c14d13d8>] ? printk+0xf/0x11
[61.471157]  [<c14d1345>] panic+0x38/0xbc
[61.471398]  [<c1791f85>] mount_block_root+0x1e6/0x1f5
[61.471649]  [<c1095911>] ? sys_mknod+0x13/0x15
[61.471896]  [<c1791fe0>] mount_root+0x4c/0x54
[61.472163]  [<c179212d>] prepare_namespace+0x145/016c
[61.472410]  [<c17916c7>] kernel_init+0x19c/0x1ab
[61.472651]  [<c179152b>] ? kernel_init+0x0/0x1ab
[61.472889]  [<c1003d8e>] kernel_thread_helper+0x6/0x10

I found numerous VFS posts but most of them dealt with RAID, DomU, LFS, unsupported filesystem, modules, ATA/SATA.

My current running kernel is 2.6.37-gentoo-r4, the kernel boots in 3 seconds and everything just works. I did a manual config (menuconfig) not genkernel. Current running config is at http://pastebin.com/tgEYBfsk

I tried to make my running config match Xen dom0's 2.6.34 kernel config http://pastebin.com/LsD9rPkp.

EXT4, SATA, and SCSI are built into the kernel.

My grub.conf
Code:
title Gentoo Linux 2.6.37-gentoo-r4
root (hd0,2)
kernel /boot/vmlinuz-2.6.37-gentoo-r4 root=/dev/sda4

title Gentoo Linux 2.6.34-xen (Xen Dom0)
root (hd0,2)
kernel /boot/xen.gz
module /boot/vmlinux-2.6.34-xen root=/dev/sda4
lspci output
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Mobile K10 [Turion X2, Athlon X2, Sempron] HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h [Turion X2, Athlon X2, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Mobile K10 [Turion X2, Athlon X2, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Mobile K10 [Turion X2, Athlon X2, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Mobile K10 [Turion X2, Athlon X2, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
08:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Am I missing something in the Dom0 configuration?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: Cannot open root device neiln Linux - Newbie 0 03-03-2009 02:07 PM
Kernel 2.6.26.3: VFS cannot open root device, can't find root device dimm0k Linux - Kernel 1 09-21-2008 03:19 PM
Gentoo Linux error: VFS can not open root device "302" Thaidog Linux - Distributions 0 12-10-2006 09:35 PM
VFS: Cannot open root device anton.els.nz Linux - Hardware 1 07-25-2006 10:47 PM
VFS: Cannot open root device Mamour Linux - Software 8 04-20-2004 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration