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?