[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] unable to mount root fs in domU

  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Lockenvitz, Jan \(EXT\)" <Jan.Lockenvitz.extern@xxxxxxxxxxxxxx>
  • Date: Tue, 30 Aug 2005 10:31:00 +0200
  • Delivery-date: Tue, 30 Aug 2005 08:31:26 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcWtPSbPx0oFtLydSmurDeG1S2J0HA==
  • Thread-topic: unable to mount root fs in domU

Hi list,

I'm trying to get xen-unstable working on a dual opteron.
My dom0 is a debian-amd64 testing release, and it is working fine!

But I'm unable to boot my domU. I also istalled a debian-amd64 on this one. Every time the kernel tries to mount the root partition it panics:

Linux version 2.6.12-xenU (xenod@xxxxxxxxxxxxxxxxxxxx) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Aug 29 03:18:30 BST 2005

kernel direct mapping tables upto ffff880004000000 @ 800000-822000
PCI: Warning: Cannot find a gap in the 32bit address range
PCI: Unassigned devices with 32bit resource registers may break!
Allocating PCI resources starting at 4100000 (gap: 4100000:400000)
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro 2
Initializing CPU#0
PID hash table entries: 512 (order: 9, 16384 bytes)
Xen reported: 2392.536 MHz processor.
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Memory: 54776k/65536k available (1655k kernel code, 1384k reserved, 561k data, 136k init)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Brought up 1 CPUs
NET: Registered protocol family 16
store_evtchn = 2
XENBUS xs_read_watch: 0
xen_mem: Initialising balloon driver.
XENBUS xs_read_watch: 0
Grant table initialized
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1125407967.652:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
xen_blk: Initialising virtual block device driver
XENBUS xs_read_watch: 0
xen_blk: Timeout connecting to device!
Netdev frontend (TX) is using grant tables.
Netdev frontend (RX) is using grant tables.
xen_net: Initialising virtual ethernet driver.
vif: probe of vif-0 failed with error -2
XENBUS xs_read_watch: 0
xen_net: Timeout connecting to device!
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 256 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

my config for this domain is:

kernel = "/boot/vmlinuz-2.6.12-xenU"
memory = 64
name = "becki"
disk = [ 'file:/data/dom_becki/os2.img,sda1,w', 'file:/data/dom_becki/swap.img,sda2,w' ]
root = "/dev/sda1 ro"
extra = "2"

output in /var/log/xend.log:

[2005-08-30 16:15:12 xend] DEBUG (image:153) initDomain: cpu=-1 mem_kb=65536 ssidref=-1 dom=14
[2005-08-30 16:15:12 xend] DEBUG (XendDomainInfo:743) init_domain> Created domain=14 name=becki memory=64
[2005-08-30 16:15:12 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['becki', 14]
[2005-08-30 16:15:12 xend] INFO (image:208) buildDomain os=linux dom=14 vcpus=1
[2005-08-30 16:15:13 xend] INFO (xsobj:326) DBMap>introduceDomain> 14 261749 <EventChannel dom1:0:19 dom2:14:2> /domain/f74ce3de-2e9c-4323-844a-3a6a4cf09cf3

[2005-08-30 16:15:13 xend] DEBUG (XendDomainInfo:608) writing key availability=online to path /cpu/0 in store
[2005-08-30 16:15:13 xend] WARNING (XendDomainInfo:995) Unknown config field boot
[2005-08-30 16:15:13 xend] WARNING (XendDomainInfo:995) Unknown config field display
[2005-08-30 16:15:13 xend] ERROR (process:37) [block-file] ioctl: LOOP_SET_FD: Device or resource busy
[2005-08-30 16:15:13 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['becki', 14]

[2005-08-30 16:16:24 xend] DEBUG (XendDomain:464) domain_restart_schedule> 14 halt 1
[2005-08-30 16:16:24 xend] INFO (XendDomain:477) Cancelling restart for domain: name=becki id=14
[2005-08-30 16:16:24 xend] INFO (XendRoot:141) EVENT> xend.domain.restart ['becki', 14, 'cancel']
[2005-08-30 16:16:24 xend] INFO (XendDomain:506) Destroying domain: name=becki
[2005-08-30 16:16:24 xend] INFO (XendRoot:141) EVENT> xend.domain.destroy ['becki', 14]
[2005-08-30 16:16:24 xend] DEBUG (netif:502) Destroying netif domain=14
[2005-08-30 16:16:24 xend] DEBUG (netif:395) Destroying vif domain=14 vif=0
[2005-08-30 16:16:24 xend] ERROR (process:37) [block-file] ioctl: LOOP_CLR_FD: Device or resource busy
[2005-08-30 16:16:24 xend] INFO (xsobj:337) DBMap>releaseDomain> 14
[2005-08-30 16:16:24 xend] INFO (XendRoot:141) EVENT> xend.virq 3

I also tried to compile my own xenU kernel (i hav gcc 4.0). The FS of my xenU image ist ext3. Even with an initrd.img it was not mountable.

Some time ago i installed an xen 2 Server without problems, but i have no ideas left where the problem might be.
Does anyone of you have a solution or even a hint?

Thanx in advance,

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.