All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to create guest domain AND mm.c/grant_table.c errors
@ 2005-09-21 13:29 Bonnell, David
  2005-09-21 14:10 ` Chris Bainbridge
  2005-09-22 22:30 ` Jon Mason
  0 siblings, 2 replies; 19+ messages in thread
From: Bonnell, David @ 2005-09-21 13:29 UTC (permalink / raw)
  To: xen-devel


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

Since a few changesets back (currently using 6963) I am unable to create
a guest domain.  It appears the front-end VBD cannot connect to the
backend and as such the guest cannot mount its root filesystem and
panics.
 
The xen console log and xend logs are attached.  Below is the bottom
part of the guest's console output
 
...
Event-channel device ubstakked,
xen_blk: Initialising virtual block device driver
*** A FEW SECONDS DELAY ***
xen_blk: Timeout connecting to device!
xen_net: Initialising virtual Ethernet driver.
NET: Registered protocol family 2
...
Root-NFS: No NFS server available, giving up.
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)
 
The "Unable to read memory/target" console message at the end of the Xen
console log is new for this changeset.  Also, every now and then a
failed attempt to create a guest domain ends with the following sequence
of errors on the Xen console and after such a failure the guest domain
is not automatically destroyed as it is normally and needs a manual "xm
destroy ???" command to remove it.
 
(XEN) DOM0: (file=mm.c, line=2458) Could not find PTE entry for address
c8cec000
(XEN) DOM0: (file=mm.c, line=2458) Could not find PTE entry for address
c8ced000
(XEN) (file=grant_table.c, line=1054) Grant unref rd(7) ld(0) frm(1ff51)
flgs(0).
(XEN) (file=grant_table.c, line=1054) Grant unref rd(7) ld(0) frm(1ff50)
flgs(0).
 
 
-Dave

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

[-- Attachment #2: xend.log --]
[-- Type: application/octet-stream, Size: 8360 bytes --]

[2005-09-21 13:55:40 xend] INFO (SrvDaemon:301) Xend Daemon started
[2005-09-21 13:55:42 xend] INFO (XendDomain:355) Creating entry for unknown xend domain: id=0 uuid=18ebf8f4-affb-4928-842d-d6b0b54063d9
[2005-09-21 13:55:42 xend] DEBUG (XendDomainInfo:172) info={'vcpu_to_cpu': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 25912083259L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb': -4, 'paused': 0, 'crashed': 0, 'vcpus': 1, 'shutdown': 0, 'mem_kb': 125952, 'cpumap': [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}
[2005-09-21 13:55:42 xend] DEBUG (XendDomainInfo:173) config='None'

[2005-09-21 13:55:42 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['Domain-0', 0]
[2005-09-21 13:55:42 xend] DEBUG (XendDomainInfo:962) number of vcpus to use is 0
[2005-09-21 13:55:42 xend] INFO (SrvServer:107) unix path=/var/lib/xend/xend-socket
[2005-09-21 13:55:42 xend] INFO (XendRoot:141) EVENT> xend.start 0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + set -e
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + OP=start
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + shift
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + for arg in '"$@"'
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + export bridge=xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + for arg in '"$@"'
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + export antispoof=no
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + antispoof=no
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + netdev=eth0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + antispoof=no
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + echo '*network start bridge=xen-br0 netdev=eth0 antispoof=no'
[2005-09-21 13:55:42 xend] INFO (process:35) [network-bridge] network start bridge=xen-br0 netdev=eth0 antispoof=no
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + case ${OP} in
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + op_start
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + '[' xen-br0 == null ']'
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + create_bridge xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + grep -q xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + brctl addbr xen-br0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + brctl stp xen-br0 off
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + brctl setfd xen-br0 0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + ifconfig xen-br0 up
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + ifconfig
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + grep -q veth0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + ifconfig veth0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + grep -q veth0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] ++ ifconfig eth0
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] ++ grep HWadd
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] ++ sed -e 's/.*\(..:..:..:..:..:..\).*/\1/'
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + mac=00:E0:18:37:EF:B9
[2005-09-21 13:55:42 xend] ERROR (process:37) [network-bridge] + ifdown eth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ip link set eth0 name peth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ip link set veth0 name eth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ifconfig peth0 0.0.0.0 -arp down
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ifconfig peth0 hw ether fe:ff:ff:ff:ff:ff
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ifconfig eth0 hw ether 00:E0:18:37:EF:B9
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + add_to_bridge xen-br0 vif0.0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + local dev=vif0.0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + grep -q vif0.0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + brctl addif xen-br0 vif0.0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + add_to_bridge xen-br0 peth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + local dev=peth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + brctl show
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + grep -q peth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + brctl addif xen-br0 peth0
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ip link set xen-br0 up
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ip link set vif0.0 up
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ip link set peth0 up
[2005-09-21 13:55:43 xend] ERROR (process:37) [network-bridge] + ifup eth0
[2005-09-21 13:56:00 xend] DEBUG (image:164) initDomain: cpu=-1 mem_kb=32768 ssidref=0 dom=1
[2005-09-21 13:56:00 xend] DEBUG (XendDomainInfo:702) init_domain> Created domain=1 name=vm1 memory=32
[2005-09-21 13:56:01 xend] INFO (image:202) buildDomain os=linux dom=1 vcpus=1
[2005-09-21 13:56:01 xend] DEBUG (image:246) dom            = 1
[2005-09-21 13:56:01 xend] DEBUG (image:247) image          = /boot/vmlinuz-2.6-xenU
[2005-09-21 13:56:01 xend] DEBUG (image:248) store_evtchn   = 1
[2005-09-21 13:56:01 xend] DEBUG (image:249) console_evtchn = 2
[2005-09-21 13:56:01 xend] DEBUG (image:250) cmdline        =  root=/dev/sda1 ro
[2005-09-21 13:56:01 xend] DEBUG (image:251) ramdisk        = 
[2005-09-21 13:56:01 xend] DEBUG (image:252) flags          = 0
[2005-09-21 13:56:01 xend] DEBUG (image:253) vcpus          = 1
[2005-09-21 13:56:01 xend] DEBUG (blkif:24) exception looking up device number for sda1: [Errno 2] No such file or directory: '/dev/sda1'
[2005-09-21 13:56:01 xend] DEBUG (DevController:181) DevController: writing {'virtual-device': '2049', 'backend-id': '0', 'backend': '/domain/18ebf8f4-affb-4928-842d-d6b0b54063d9/backend/vbd/0ac761ab-a54e-4e80-9705-5ca539720217/2049'} to /domain/0ac761ab-a54e-4e80-9705-5ca539720217/device/vbd/2049.
[2005-09-21 13:56:01 xend] DEBUG (DevController:183) DevController: writing {'params': 'VolGroup00/vm1disk1', 'domain': 'vm1', 'type': 'phy', 'frontend': '/domain/0ac761ab-a54e-4e80-9705-5ca539720217/device/vbd/2049', 'frontend-id': '1'} to /domain/18ebf8f4-affb-4928-842d-d6b0b54063d9/backend/vbd/0ac761ab-a54e-4e80-9705-5ca539720217/2049.
[2005-09-21 13:56:01 xend] DEBUG (DevController:181) DevController: writing {'backend-id': '0', 'mac': 'aa:00:00:03:8c:3a', 'handle': '1', 'backend': '/domain/18ebf8f4-affb-4928-842d-d6b0b54063d9/backend/vif/0ac761ab-a54e-4e80-9705-5ca539720217/1'} to /domain/0ac761ab-a54e-4e80-9705-5ca539720217/device/vif/1.
[2005-09-21 13:56:01 xend] DEBUG (DevController:183) DevController: writing {'bridge': 'xen-br0', 'mac': 'aa:00:00:03:8c:3a', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'vm1', 'frontend': '/domain/0ac761ab-a54e-4e80-9705-5ca539720217/device/vif/1'} to /domain/18ebf8f4-affb-4928-842d-d6b0b54063d9/backend/vif/0ac761ab-a54e-4e80-9705-5ca539720217/1.
[2005-09-21 13:56:01 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['vm1', 1]
[2005-09-21 13:56:01 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['vm1', 1]
[2005-09-21 13:56:12 xend] DEBUG (XendDomain:232) domain died name=vm1 domid=1


[-- Attachment #3: xen.log --]
[-- Type: application/octet-stream, Size: 11939 bytes --]

[-- Attachment #4: 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] 19+ messages in thread

end of thread, other threads:[~2005-09-26 22:19 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 13:29 Unable to create guest domain AND mm.c/grant_table.c errors Bonnell, David
2005-09-21 14:10 ` Chris Bainbridge
2005-09-21 14:18   ` Chris Bainbridge
2005-09-21 14:39     ` Keir Fraser
2005-09-21 14:46   ` Keir Fraser
2005-09-21 16:42     ` Keir Fraser
2005-09-21 17:38       ` Chris Bainbridge
2005-09-21 17:49         ` Steven Hand
2005-09-22  8:24           ` Chris Bainbridge
2005-09-22  8:49         ` Chris Bainbridge
2005-09-22  9:03           ` Chris Bainbridge
2005-09-22  9:27             ` Ewan Mellor
2005-09-22 10:36               ` Chris Bainbridge
2005-09-22 13:49                 ` Chris Bainbridge
2005-09-22 22:30 ` Jon Mason
2005-09-26  2:33   ` Kip Macy
2005-09-26  7:12     ` Chris Bainbridge
2005-09-26 19:59       ` Kip Macy
2005-09-26 22:19         ` Kip Macy

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.