WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen dom0 doesn't find root device - kernel panic

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen dom0 doesn't find root device - kernel panic
From: "Rene Bartsch" <ML@xxxxxxxxxxxxx>
Date: Mon, 4 Apr 2005 19:42:51 +0200 (CEST)
Delivery-date: Mon, 04 Apr 2005 17:35:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.3a
Hi,

I've installed xen-2.0.5 from source on gentoo, but the xen dom0 kernel
doesn't find the root device:

############################# snip ######################################

Kernel panic: VFS: Unable to mount root fs on unknown-block (3,3)

############################# snap ######################################


grub.conf:

############################# snip ######################################
#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 10

# By default, boot the first entry.
default 0

# Fallback to the second entry.
#fallback 1

# Splash Image
splashimage=(hd0,1)/grub/splash.xpm.gz

# For booting GNU/Linux
title  Gentoo Linux 2.6.11-gentoo-r4
root (hd0,1)
kernel (hd0,1)/kernel-2.6.11-gentoo-r4 init=/linuxrc

# For booting XEN
title Xen 2.0 / XenLinux 2.6.10
root (hd0,1)
kernel /xen.gz
module /vmlinuz-2.6.10-xen0 root=/dev/hda3 ro console=tty0

# For booting Windows NT or Windows95
#title Windows NT / Windows 95 boot menu
#rootnoverify (hd0,0)
#makeactive
#chainloader  +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,1)
setup   (hd0)
############################# snap ######################################


mount -l:

############################# snip ######################################

/dev/hda1 on /backup type xfs (rw,noatime) [backup]
/dev/hda2 on /boot   type xfs (rw,noatime) [boot]
/dev/hda3 on /       type xfs (rw,noatime) [root]
/dev/hda4 on /home   type xfs (rw,noatime) [home]

none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)

############################# snap ######################################

How to I tell Xen the correct root device?

Thanx for any hint

Rene


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>