[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] domU crash
> xend is trying to look up the device number for /dev/hda1. Since your > system doesn;t have a /dev/hda1, and you are presumably using udev, > this lookup fails. If you created that node manually in /dev/ > then all > should be fine. > > Really the device name should be passed to domU as a string, and > resolved to a number there. Or xend can just have a table of simple > name lookups for thing like hda, hdb, ... Hi Keir Now i've created it: # cd /dev # mknod hda b 3 0 # mknod hda1 b 3 1 # chown root.disk hda* # chmod 664 hda* # ls -l /dev/hd* brw-rw-r-- 1 root disk 3, 0 2005-10-15 16:52 /dev/hda brw-rw-r-- 1 root disk 3, 1 2005-10-15 16:53 /dev/hda1 # # /etc/init.d/xend restart Restarting xend (old pid 6559) done # # xm create /etc/xen/inhouse Using config file "/etc/xen/inhouse". Started domain inhouse # # xm list Name Id Mem(MB) CPU VCPU(s) State Time(s) Domain-0 0 123 0 1 r---- 22.8 # # cat /var/log/xend.log ..... [2005-10-15 16:55:19 xend] DEBUG (image:156) initDomain: cpu=-1 mem_kb=2097152 ssidref=-1 dom=2 [2005-10-15 16:55:19 xend] DEBUG (XendDomainInfo:843) init_domain> Created domain=2 name=inhouse memory=2048 [2005-10-15 16:55:19 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['inhouse', 2] [2005-10-15 16:55:19 xend] INFO (image:217) buildDomain os=linux dom=2 vcpus=1 [2005-10-15 16:55:19 xend] DEBUG (image:255) dom = 2 [2005-10-15 16:55:19 xend] DEBUG (image:256) image = /boot/vmlinuz-xen [2005-10-15 16:55:19 xend] DEBUG (image:257) store_evtchn = 1 [2005-10-15 16:55:19 xend] DEBUG (image:258) console_evtchn = 2 [2005-10-15 16:55:19 xend] DEBUG (image:259) cmdline = ip=:1.2.3.4:::inhouse:eth0:dhcp root=/dev/hda1 rw 3 [2005-10-15 16:55:19 xend] DEBUG (image:260) ramdisk = /boot/initrd-xen [2005-10-15 16:55:19 xend] DEBUG (image:261) flags = 0 [2005-10-15 16:55:19 xend] DEBUG (image:262) vcpus = 1 [2005-10-15 16:55:21 xend] INFO (xsobj:326) DBMap>introduceDomain> 2 833158 <EventChannel dom1:0:18 dom2:2:1> /domain/d3ec0c25-f952-4384-b620-7a53f2bc5bb7 [2005-10-15 16:55:21 xend] DEBUG (XendDomainInfo:698) writing key availability=online to path /cpu/0 in store [2005-10-15 16:55:21 xend] WARNING (XendDomainInfo:1100) Unknown config field boot [2005-10-15 16:55:21 xend] ERROR (XendDomainInfo:443) ['vif', ['mac', 'aa:00:00:39:63:6e']] [2005-10-15 16:55:21 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['inhouse', 2] [2005-10-15 16:55:21 xend] DEBUG (XendDomain:233) XendDomain>reap> domain died name=inhouse id=2 [2005-10-15 16:55:21 xend] INFO (XendRoot:141) EVENT> xend.domain.exit ['inhouse', 2, 'crash'] ..... # # cat /etc/xen/inhouse | grep -v ^# kernel = "/boot/vmlinuz-xen" ramdisk = "/boot/initrd-xen" memory = 2048 name = "inhouse" disk = [ 'phy:xenvg/inhouse-root,hda1,w' ] dhcp="dhcp" hostname = "inhouse" root = "/dev/hda1 rw" extra = "3" # It does still not work. :-( Stephan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |