Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] xen 3.0 on UP amd64 - rootfs mounting problem in xenU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen 3.0 on UP amd64 - rootfs mounting problem in xenU
From: Arkadiusz Miskiewicz <arekm@xxxxxxxxxxxxx>
Date: Sun, 31 Jul 2005 13:52:34 +0200
Delivery-date: Sun, 31 Jul 2005 11:51:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: SelfOrganizing
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
Hi,

I'm trying to run Xen 3.0 on my amd64 UP machine. So far xen0 is working fine 
but there is a problem with mounting rootfs on xenU kernel.

Is there something else that needs to be compiled into xenU 3.0 kernel?

$ grep XEN kernel-xenU-x86_64-3.0.config
CONFIG_XEN=y
CONFIG_ARCH_XEN=y
# XEN
# CONFIG_XEN_PRIVILEGED_GUEST is not set
# CONFIG_XEN_PHYSDEV_ACCESS is not set
CONFIG_XEN_BLKDEV_GRANT=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_XEN_NETDEV_GRANT_TX is not set
# CONFIG_XEN_NETDEV_GRANT_RX is not set
# CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
# CONFIG_XEN_BLKDEV_TAP is not set
# CONFIG_XEN_SHADOW_MODE is not set
CONFIG_XEN_SCRUB_PAGES=y
# CONFIG_XEN_X86 is not set
CONFIG_XEN_X86_64=y
CONFIG_XENARCH="x86_64"

[...]
Blkif frontend is using grant tables.
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
      device=eth0, addr=1.2.3.4, mask=255.0.0.0, gw=255.255.255.255,
     host=1.2.3.4, domain=, nis-domain=(none),
     bootserver=1.2.3.4, rootserver=1.2.3.4, rootpath=
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 2214KiB [1 disk] into ram disk... done.
VFS: Mounted root (romfs filesystem) readonly.
+ insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko
Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko
SCSI subsystem initialized
+ insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko
Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko
register_blkdev: cannot get major 8 for sd
+ insmod /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko
Using /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko
+ insmod /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko
Using /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko
+ insmod /lib/modules/2.6.12.3-0.2/kernel/fs/ext3/ext3.ko
Using /lib/modules/2.6.12.3-0.2/kernel/fs/ext3/ext3.ko
+ mount -t proc none /proc
+ awk  /resume2=/  { print "yes"; }  /proc/cmdline
+ [  = yes ]
+ umount /proc
+ set +x
VFS: Cannot open root device "sdc3" or unknown-block(8,35)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(8,35)

the config is:

[root@arm ~]# cat /etc/xen/ttylinux
kernel = "/boot/vmlinuz-2.6.12.3-0.2-xenU"
ramdisk = "/boot/initrd-2.6.12.3-0.2-xenU.gz"
memory = 64
name = "ttylinux"
nics = 1
ip = "1.2.3.4"
disk = ['file:/ttylinux-xen,sdc3,w']
root = "/dev/sdc3 ro"

[root@arm ~]# file /ttylinux-xen
/ttylinux-xen: Linux rev 1.0 ext3 filesystem data

-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen 3.0 on UP amd64 - rootfs mounting problem in xenU, Arkadiusz Miskiewicz <=