Port-xen archive

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

Re: HEAD install kernel crashes



Well, that didn't work either.  I found some info in xend.log (see
below) and tried following the trace but I'm not a python programmer and
so don't understand some things.  I think the line which reads
'exception looking up device number for hd0: [Errno 2] No such file or
directory: '/dev/hd0''
is the key.

Nate

------ xend.log snippet ----
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:178)
XendDomainInfo.create(['vm', ['name', 'NetBSD'], ['memory', 256],
['vcpus', 1], ['image', ['linux', ['kernel',
'/home/njb/xen/netbsd-INSTALL_XEN3_U'], ['root', '/dev/hd0d']]],
['device', ['vbd', ['uname', 'phy:VolGroup00/NetBSD'], ['dev', 'hd0'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/hda'], ['dev',
'hd1'], ['mode', 'r']]], ['device', ['vif']]])
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:284)
parseConfig: config is ['vm', ['name', 'NetBSD'], ['memory', 256],
['vcpus', 1], ['image', ['linux', ['kernel',
'/home/njb/xen/netbsd-INSTALL_XEN3_U'], ['root', '/dev/hd0d']]],
['device', ['vbd', ['uname', 'phy:VolGroup00/NetBSD'], ['dev', 'hd0'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/hda'], ['dev',
'hd1'], ['mode', 'r']]], ['device', ['vif']]]
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:380)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None,
'on_reboot': None, 'image': ['linux', ['kernel',
'/home/njb/xen/netbsd-INSTALL_XEN3_U'], ['root', '/dev/hd0d']],
'on_poweroff': None, 'cpus': None, 'name': 'NetBSD', 'backend': [],
'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256,
'device': [('vbd', ['vbd', ['uname', 'phy:VolGroup00/NetBSD'], ['dev',
'hd0'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:/dev/hda'],
['dev', 'hd1'], ['mode', 'r']]), ('vif', ['vif'])], 'bootloader': None,
'cpu': None, 'maxmem': None}
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.construct: None 0
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196)
XendDomainInfo.initDomain: 34 1.0
[2006-05-10 12:05:04 xend] DEBUG (balloon:126) Balloon: free 737; need
257; done.
[2006-05-10 12:05:04 xend] INFO (image:135) buildDomain os=linux dom=34
vcpus=1
[2006-05-10 12:05:04 xend] DEBUG (image:173) dom            = 34
[2006-05-10 12:05:04 xend] DEBUG (image:174) image          =
/home/njb/xen/netbsd-INSTALL_XEN3_U
[2006-05-10 12:05:04 xend] DEBUG (image:175) store_evtchn   = 1
[2006-05-10 12:05:04 xend] DEBUG (image:176) console_evtchn = 2
[2006-05-10 12:05:04 xend] DEBUG (image:177) cmdline        = 
root=/dev/hd0d
[2006-05-10 12:05:04 xend] DEBUG (image:178) ramdisk        =
[2006-05-10 12:05:04 xend] DEBUG (image:179) vcpus          = 1
[2006-05-10 12:05:04 xend] DEBUG (image:180) features       =
[2006-05-10 12:05:04 xend] DEBUG (blkif:24) exception looking up device
number for hd0: [Errno 2] No such file or directory: '/dev/hd0'
[2006-05-10 12:05:04 xend.XendDomainInfo] ERROR (XendDomainInfo:190)
Domain construction failed
Traceback (most recent call last):
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 183, in create
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1233, in initDomain
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1393, in createDevices
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1009, in createDevice
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/server/blkif.py",
line 59, in getDeviceDetails
TypeError: int argument required
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=34
[2006-05-10 12:05:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(34)
[2006-05-10 12:05:04 xend] ERROR (xmlrpclib2:124) int argument required
Traceback (most recent call last):
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/util/xmlrpclib2.py",
line 103, in _marshaled_dispatch
  File "/usr/lib/python2.3/SimpleXMLRPCServer.py", line 407, in _dispatch
    return func(*params)
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/server/XMLRPCServer.py",
line 63, in domain_create
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomain.py",
line 227, in domain_create
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 183, in create
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1233, in initDomain
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1393, in createDevices
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1009, in createDevice
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
  File
"/var/tmp/xen-3.0.2.2-86.1_rhel4.1-root/usr/lib/python/xen/xend/server/blkif.py",
line 59, in getDeviceDetails
TypeError: int argument required

Manuel Bouyer wrote:

>On Wed, May 10, 2006 at 10:28:22AM -0600, Nate Bohlmann wrote:
>  
>
>>No dice.  When I put the two disks on the same line as you show below, I
>>get an
>>Error: int argument required.  The system doesn't even boot.
>>    
>>
>
>This is because xentools don't know about wd0 and maybe cd0.
>You can use hd0 and hd1 instead, NetBSD doesn't use this parameter anyway
>
>  
>




Home | Main Index | Thread Index | Old Index