* domU crashing with no root
@ 2005-10-10 22:49 Rob Gardner
2005-10-10 23:07 ` Vincent Hanquez
0 siblings, 1 reply; 2+ messages in thread
From: Rob Gardner @ 2005-10-10 22:49 UTC (permalink / raw)
To: xen-devel
Has something in domU configuration changed recently... Lately I have
not been able to get domU to boot successfully. My (condensed) config
file looks like this:
kernel = "/boot/vmlinuz-2.6.12-xenU"
memory = 128
name = "Rob-VM%d" % vmid
cpu = -1 # leave to Xen to pick
vcpus = 1
nics=1
disk = [ 'file:/xen/disk-images/dom1.fs,sda1,w']
ip = add_offset_to_ip(get_current_ipaddr(),vmid)
netmask = get_current_ipmask()
gateway = get_current_ipgw()
hostname= "vm%d" % vmid
root = "/dev/sda1 ro"
extra = "4 VMID=%d" % vmid
And when I start the domain, I get the following boot messages:
IP-Config: Complete:
device=eth0, addr=15.9.73.171, mask=255.255.248.0, gw=15.9.72.1,
host=vm1, domain=, nis-domain=(none),
bootserver=1.2.3.4, rootserver=1.2.3.4, rootpath=
Looking up port of RPC 100003/2 on 1.2.3.4
portmap: server 1.2.3.4 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 1.2.3.4
portmap: server 1.2.3.4 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 1.2.3.4 not responding, timed out
Root-NFS: Server returned error -5 while mounting /tftpboot/vm1
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
I don't get it. This worked in the past. I want to boot from a loopback
file, not an nfs server. Why does it think there is no sda1?
Thanks for any help.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: domU crashing with no root
2005-10-10 22:49 domU crashing with no root Rob Gardner
@ 2005-10-10 23:07 ` Vincent Hanquez
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Hanquez @ 2005-10-10 23:07 UTC (permalink / raw)
To: Rob Gardner; +Cc: xen-devel
On Mon, Oct 10, 2005 at 04:49:11PM -0600, Rob Gardner wrote:
> And when I start the domain, I get the following boot messages:
>
> I don't get it. This worked in the past. I want to boot from a loopback
> file, not an nfs server. Why does it think there is no sda1?
It's likely the blockdevice frontend didn't found any devices.
make sure you have hotplug in dom0 and that you installed xen's hotplug
files.
but the log you attached is missing important informations printed
before this part, so it may be something else.
--
Vincent Hanquez
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-10 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-10 22:49 domU crashing with no root Rob Gardner
2005-10-10 23:07 ` Vincent Hanquez
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.