All of lore.kernel.org
 help / color / mirror / Atom feed
* cannot boot domU
@ 2005-10-16 14:38 Stephan Böni
  2005-10-16 14:52 ` stoeni
  2005-10-17 10:30 ` Nicholas Lee
  0 siblings, 2 replies; 9+ messages in thread
From: Stephan Böni @ 2005-10-16 14:38 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2775 bytes --]

I cannot boot domU:
 
# xm create inhouse
Using config file "inhouse".
Started domain inhouse
# xm list
Name              ID  Mem(MiB)  CPU  VCPUs  State   Time(s)
Domain-0           0       123    0      1  r-----     27.4
inhouse            8      2048    0      1  ------     11.4
# xm console inhouse
Linux version 2.6.12.6-xenU ( root@xen1) (gcc version 4.0.2 20050901 (prerelease)
 (SUSE Linux)) #1 SMP Sun Oct 16 15:40:12 CEST 2005
kernel direct mapping tables upto 80000000 @ 7ba000-bbd000
Built 1 zonelists
Kernel command line:  root=/dev/sda1 3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
Xen reported: 3200.108 MHz processor.
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 2050304k/2097152k available (1682k kernel code, 46344k reserved, 561k da
ta, 136k init)
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Hyper-Threading is disabled
Brought up 1 CPUs
NET: Registered protocol family 16
xen_mem: Initialising balloon driver.
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(1129473172.510: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
xen_net: Initialising virtual ethernet driver.
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 8192 buckets, 128Kbytes
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
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)
#
# cat inhouse | grep -v ^#
kernel = "/boot/vmlinuz-2.6.12.6-xenU"
memory = 2048
name = "inhouse"
disk = [ 'phy:xenvg/inhouse-root,sda1,w' ]
root = "/dev/sda1"
extra = "3"
 
Does anyone know what the problem is?
 
Stephan
 

[-- Attachment #1.2: Type: text/html, Size: 4770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: cannot boot domU
@ 2005-10-16 15:01 Stephan Böni
  2005-10-16 20:50 ` Nicholas Lee
  0 siblings, 1 reply; 9+ messages in thread
From: Stephan Böni @ 2005-10-16 15:01 UTC (permalink / raw)
  To: stoeni; +Cc: xen-devel

> > #
> > # cat inhouse | grep -v ^#
> > kernel = "/boot/vmlinuz-2.6.12.6-xenU"
> > memory = 2048
> > name = "inhouse"
> > disk = [ 'phy:xenvg/inhouse-root,sda1,w' ]
> 
> looks like a missing /dev on the disk parameter. it should 
> look like this:
> 
> disk = ['phy:/dev/xenvg/inhouse-root,sda1,w','
> 
> > root = "/dev/sda1"
> > extra = "3"

No, same problem with additional /dev.  :-(

Stephan

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: cannot boot domU
@ 2005-10-17  8:43 Stephan Böni
  2005-10-17  9:58 ` Nicholas Lee
  0 siblings, 1 reply; 9+ messages in thread
From: Stephan Böni @ 2005-10-17  8:43 UTC (permalink / raw)
  To: Nicholas Lee; +Cc: stoeni, xen-devel

> Two things.
> 
> Make sure hotplug is install in dom0.

It is.

> Make sure the disk block device name in domU, sda1 in your case, does
> not conflict with a device block in active use in dom0.  ie. change it
> to something like sdb1 or sba10.

I've changed now to hda1. (There is no hda device in my system.) But it
does still not boot.

Linux version 2.6.12.6-xenU (root@xen1) (gcc version 4.0.2 20050901 (prerelease)
 (SUSE Linux)) #1 SMP Sun Oct 16 15:40:12 CEST 2005
kernel direct mapping tables upto 80000000 @ 7ba000-bbd000
Built 1 zonelists
Kernel command line:  root=/dev/hda1 3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
Xen reported: 3200.104 MHz processor.
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 2050304k/2097152k available (1682k kernel code, 46344k reserved, 561k da
ta, 136k init)
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Hyper-Threading is disabled
Brought up 1 CPUs
NET: Registered protocol family 16
xen_mem: Initialising balloon driver.
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(1129538349.597: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
xen_net: Initialising virtual ethernet driver.
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 8192 buckets, 128Kbytes
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
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 "hda1" 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)

Stephan

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: cannot boot domU
@ 2005-10-17  9:59 Stephan Böni
  0 siblings, 0 replies; 9+ messages in thread
From: Stephan Böni @ 2005-10-17  9:59 UTC (permalink / raw)
  To: Nicholas Lee; +Cc: stoeni, xen-devel


> > > Two things.
> > I've changed now to hda1. (There is no hda device in my 
> system.) But it
> > does still not boot.
> 
> Change it to sda10 or sdb1 or something else. I think even with hda it
> might have issues.
> 
> Note there is no need to include /dev/ in disk = [...].
> 
It does not work with or without it.

Stephan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-10-17 12:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-16 14:38 cannot boot domU Stephan Böni
2005-10-16 14:52 ` stoeni
2005-10-17 10:30 ` Nicholas Lee
2005-10-17 12:17   ` Ted Kaczmarek
  -- strict thread matches above, loose matches on Subject: below --
2005-10-16 15:01 Stephan Böni
2005-10-16 20:50 ` Nicholas Lee
2005-10-17  8:43 Stephan Böni
2005-10-17  9:58 ` Nicholas Lee
2005-10-17  9:59 Stephan Böni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.