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

Re: [Xen-users] No hvm support? AMD Athlon 64, AM2



Petersson, Mats wrote:
 
 
[2006-11-06 23:48:49 xend.XendDomainInfo 14855] ERROR (__init__:1072) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 195, in create
    vm.initDomain()
  File "/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 1363, in initDomain
    raise VmError(str(exn))
VmError: (12, 'Cannot allocate memory')
 
That's my guess on what's going wrong. Try setting "dom0_mem=256M" on the "kernel=.../xen.gz ..." line in your /boot/grub/grub.conf (or menu.lst)...
Set the meomry to 256 Mb. Now it doesn't complain about 'Cannot allocate memory', but doesn't run either. Anyway now I get the same behavior as when I first tried  the xen thing. The log says that a shutdown without a reason was caught, and the domain shuts down immediately after it is created. Attached is the output of the log. qemu-dm just logs a normal startup.
Well, yes I meant frequency scaling. I know that it doesn't work under xen, and I understand that it would be hard to implement it, but it doesn't work under a non xen kernel either. Thats what I'm worried about. 
 
 
Hmm - it should do, unless the BIOS is "broken". I wouldn't think it's related to your above problems tho'. Is there any powernow or cpufreq messages in dmesg?
 
--
Mats

grep -i powernow /var/log/syslog:

Nov  7 19:21:26 fogaz kernel: ACPI: SSDT (v001 PTLTD  POWERNOW 0x00000001  LTP 0x00000001) @ 0x000000003fefb2c0


the strange thing is that /sys/devices/system/cpu/cpu0/cpufreq (or whatever it should be) is not created. The directory just shows the cache/ and whith smp-kernel the topology/ dir.

Looking at the past bios update changolog for different asus m2n boards there often says something about a fix for the cpufrequency staff. I guess that Asus hasnÄt fixed their problem in the bios for my Board.

Thanks for your replays so far, Mats.

Andreas
[2006-11-07 20:36:27 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.create(
['vm', 
        ['name', 'zeark'], 
        ['memory', 64], 
        ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 
'restart'], 
        ['vcpus', 1], 
        ['image', 
                ['hvm', 
                        ['kernel', '/usr/lib/xen-3.0.3-1/boot/hvmloader'], 
                        ['ip', 
'192.168.178.3:1.2.3.4:192.168.178.1:255.255.255.0::eth0:off'], 
                        ['vcpus', 1], 
                        ['boot', 'd'], 
                        ['vnc', 1], 
                        ['vncunused', 1], 
                        ['sdl', 1], 
                        ['display', ':0.0'], 
                        ['xauthority', '/home/afromm/.Xauthority'], 
                        ['device_model', '/usr/lib/xen-3.0.3-1/bin/qemu-dm']
                ]
        ], 
        ['device', 
                ['vbd', 
                        ['uname', 'phy:/dev/xenlvm/zeark'], 
                        ['dev', 'ioemu:hda'], 
                        ['mode', 'w']
                ]
        ], 
        ['device', 
                ['vbd', 
                        ['uname', 
'file:/root/download/ipcop-install-cd-1.4.11.i386.iso'], 
                        ['dev', 'ioemu:hdc'], 
                        ['mode', 'r']
                ]
        ], 
        ['device', 
                ['vif', 
                        ['bridge', 'xenbr0'], 
                        ['type', 'ioemu']
                ]
        ]
])

[2006-11-07 20:36:27 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
parseConfig: config is 
['vm', 
        ['name', 'zeark'], 
        ['memory', 64], 
        ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 
'restart'], 
        ['vcpus', 1], 
        ['image', 
                ['hvm', 
                        ['kernel', '/usr/lib/xen-3.0.3-1/boot/hvmloader'], 
                        ['ip', 
'192.168.178.3:1.2.3.4:192.168.178.1:255.255.255.0::eth0:off'], 
                        ['vcpus', 1], 
                        ['boot', 'd'], 
                        ['vnc', 1], 
                        ['vncunused', 1], 
                        ['sdl', 1], 
                        ['display', ':0.0'], 
                        ['xauthority', '/home/afromm/.Xauthority'], 
                        ['device_model', '/usr/lib/xen-3.0.3-1/bin/qemu-dm']
                ]
        ], 
        ['device', 
                ['vbd', 
                        ['uname', 'phy:/dev/xenlvm/zeark'], 
                        ['dev', 'ioemu:hda'], 
                        ['mode', 'w']
                ]
        ], 
        ['device', 
                ['vbd', 
                        ['uname', 
'file:/root/download/ipcop-install-cd-1.4.11.i386.iso'], 
                        ['dev', 'ioemu:hdc'], 
                        ['mode', 'r']
                ]
        ], 
        ['device', 
                ['vif', 
                        ['bridge', 'xenbr0'], 
                        ['type', 'ioemu']
                ]
        ]
]

[2006-11-07 20:36:27 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
parseConfig: result is 
       {'shadow_memory': None, 
        'uuid': None, 
        'on_crash': 'restart', 'on_reboot': 'restart', 
        'localtime': None, 
        'image': ['hvm', 
                        ['kernel', '/usr/lib/xen-3.0.3-1/boot/hvmloader'], 
                        ['ip', 
'192.168.178.3:1.2.3.4:192.168.178.1:255.255.255.0::eth0:off'], 
                        ['vcpus', 1], 
                        ['boot', 'd'], 
                        ['vnc', 1], 
                        ['vncunused', 1], 
                        ['sdl', 1], 
                        ['display', ':0.0'], 
                        ['xauthority', '/home/afromm/.Xauthority'], 
                        ['device_model', '/usr/lib/xen-3.0.3-1/bin/qemu-dm']
                ], 
        'on_poweroff': 'destroy', 
        'bootloader_args': None, 
        'cpus': None, 
        'name': 'zeark', 
        'backend': [], 
        'vcpus': 1, 
        'cpu_weight': None, 
        'features': None, 
        'vcpu_avail': None, 
        'memory': 64, 
        'device': [('vbd', 
                        ['vbd', 
                                ['uname', 'phy:/dev/xenlvm/zeark'], 
                                ['dev', 'ioemu:hda'], 
                                ['mode', 'w']
                        ]), 
                   ('vbd', 
                        ['vbd', 
                                ['uname', 
'file:/root/download/ipcop-install-cd-1.4.11.i386.iso'], 
                                ['dev', 'ioemu:hdc'], 
                                ['mode', 'r']
                        ]
                   ), 
                   ('vif', 
                        ['vif', 
                                ['bridge', 'xenbr0'], 
                                ['type', 'ioemu']
                        ]
                   )
                  ], 
        'bootloader': None, 
        'cpu': None, 
        'maxmem': None
       }

[2006-11-07 20:36:27 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.construct: None
[2006-11-07 20:36:27 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.initDomain: 3 1.0
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: boot, val: d
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: fda, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: fdb, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: soundhw, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: localtime, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: serial, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: std-vga, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: isa, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: vcpus, val: 1
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: acpi, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: usb, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) args: usbdevice, val: None
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) Balloon: 756656 KiB free; 
need 80028; done.
[2006-11-07 20:36:27 xend 2778] INFO (__init__:1072) buildDomain os=hvm dom=3 
vcpus=1
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) dom            = 3
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) image          = 
/usr/lib/xen-3.0.3-1/boot/hvmloader
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) store_evtchn   = 1
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) memsize        = 64
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) vcpus          = 1
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) pae            = 0
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) acpi           = 0
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) apic           = 0
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) hvm shutdown watch 
registered
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': 
'1', 'backend': '/local/domain/0/backend/vbd/3/768'} to 
/local/domain/3/device/vbd/768.
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'domain': 'zeark', 'frontend': '/local/domain/3/device/vbd/768', 'dev': 'hda', 
'state': '1', 'params': '/dev/xenlvm/zeark', 'mode': 'w', 'online': '1', 
'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/768.
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) exception looking up 
device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'backend-id': '0', 'virtual-device': '5632', 'device-type': 'disk', 'state': 
'1', 'backend': '/local/domain/0/backend/vbd/3/5632'} to 
/local/domain/3/device/vbd/5632.
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'domain': 'zeark', 'frontend': '/local/domain/3/device/vbd/5632', 'dev': 
'hdc', 'state': '1', 'params': 
'/root/download/ipcop-install-cd-1.4.11.i386.iso', 'mode': 'r', 'online': '1', 
'frontend-id': '3', 'type': 'file'} to /local/domain/0/backend/vbd/3/5632.
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/3/0'} 
to /local/domain/3/device/vif/0.
[2006-11-07 20:36:27 xend 2778] DEBUG (__init__:1072) DevController: writing 
{'bridge': 'xenbr0', 'domain': 'zeark', 'handle': '0', 'script': 
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': 
'/local/domain/3/device/vif/0', 'mac': '00:16:3e:02:14:17', 'online': '1', 
'frontend-id': '3', 'type': 'ioemu'} to /local/domain/0/backend/vif/3/0.
[2006-11-07 20:36:28 xend 2778] INFO (__init__:1072) spawning device models: 
/usr/lib/xen-3.0.3-1/bin/qemu-dm ['/usr/lib/xen-3.0.3-1/bin/qemu-dm', '-d', 
'3', '-m', '64', '-boot', 'd', '-vcpus', '1', '-domain-name', 'zeark', '-net', 
'nic,vlan=1,macaddr=00:16:3e:5f:f9:36,model=rtl8139', '-net', 
'tap,vlan=1,bridge=xenbr0', '-vncunused', '-k', 'en-us', '-vnclisten', 
'127.0.0.1']
[2006-11-07 20:36:28 xend 2778] INFO (__init__:1072) device model pid: 8559
[2006-11-07 20:36:28 xend.XendDomainInfo 2778] DEBUG (__init__:1072) Storing VM 
details: {'shadow_memory': '2', 'uuid': '7387216d-7aa6-2c94-9f5b-2474d6b66135', 
'on_reboot': 'restart', 'start_time': '1162928188.06', 'on_poweroff': 
'destroy', 'name': 'zeark', 'xend/restart_count': '0', 'vcpus': '1', 
'vcpu_avail': '1', 'memory': '64', 'on_crash': 'restart', 'image': '(hvm 
(kernel /usr/lib/xen-3.0.3-1/boot/hvmloader) (ip 
192.168.178.3:1.2.3.4:192.168.178.1:255.255.255.0::eth0:off) (vcpus 1) (boot d) 
(vnc 1) (vncunused 1) (sdl 1) (display :0.0) (xauthority 
/home/afromm/.Xauthority) (device_model /usr/lib/xen-3.0.3-1/bin/qemu-dm))', 
'maxmem': '64'}
[2006-11-07 20:36:28 xend.XendDomainInfo 2778] DEBUG (__init__:1072) Storing 
domain details: {'console/port': '2', 'name': 'zeark', 'console/limit': 
'1048576', 'vm': '/vm/7387216d-7aa6-2c94-9f5b-2474d6b66135', 'domid': '3', 
'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref': 
'73965', 'store/port': '1'}
[2006-11-07 20:36:28 xend 2778] DEBUG (__init__:1072) hvm_shutdown fired, 
shutdown reason=None
[2006-11-07 20:36:28 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.handleShutdownWatch
[2006-11-07 20:36:28 xend 2778] DEBUG (__init__:1072) Waiting for devices vif.
[2006-11-07 20:36:28 xend 2778] DEBUG (__init__:1072) Waiting for 0.
[2006-11-07 20:36:28 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vif/3/0/hotplug-status.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) Waiting for devices usb.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) Waiting for devices vbd.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) Waiting for 768.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vbd/3/768/hotplug-status.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vbd/3/768/hotplug-status.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) Waiting for 5632.
[2006-11-07 20:36:29 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vbd/3/5632/hotplug-status.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 
/local/domain/0/backend/vbd/3/5632/hotplug-status.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) Waiting for devices irq.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) Waiting for devices pci.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) Waiting for devices 
ioports.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) Waiting for devices tap.
[2006-11-07 20:36:30 xend 2778] DEBUG (__init__:1072) Waiting for devices vtpm.
[2006-11-07 20:36:30 xend 2778] INFO (__init__:1072) Domain zeark (3) unpaused.
[2006-11-07 20:36:31 xend.XendDomainInfo 2778] INFO (__init__:1072) Domain has 
shutdown: name=zeark id=3 reason=poweroff.
[2006-11-07 20:36:31 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.destroy: domid=3
[2006-11-07 20:36:31 xend.XendDomainInfo 2778] DEBUG (__init__:1072) 
XendDomainInfo.destroyDomain(3)
[2006-11-07 20:36:31 xend 2778] DEBUG (__init__:1072) hvm shutdown watch 
unregistered

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.