View Single Post
  #3  
Old 3rd December 2006, 23:49
Merc Merc is offline
Junior Member
 
Join Date: Nov 2006
Location: Chemnitz, Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default logs, part 1

Hello.

Thanks for your reply.

I'll post the output of the log files.

from "less /var/log/xen/xend.log" in dom0:

Code:
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'vm01'], ['memory', 128], ['vcpus', 1], ['image', ['
linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ip', '10.80.0.2:1.2.3.4:10.80.0.254:255.0.0.0:vm01:eth0:off'], ['root', '/dev/sda1'], ['args', '3']]], ['
device', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm01.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm0
1-swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '10.80.0.2']]]])
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) parseConfig: config is ['vm', ['name', 'vm01'], ['memory', 128], ['vcpus', 1], ['image', [
'linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ip', '10.80.0.2:1.2.3.4:10.80.0.254:255.0.0.0:vm01:eth0:off'], ['root', '/dev/sda1'], ['args', '3']]], [
'device', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm01.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm
01-swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '10.80.0.2']]]]
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None, 'on_reboot'
: None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ip', '10.80.0.2:1.2.3.4:10.80.0.254:255.0.0.0:vm01:eth0:off'], ['ro
ot', '/dev/sda1'], ['args', '3']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'vm01', 'backend': [], 'vcpus': 1, 'cpu_weight': None, '
features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm01.img'], ['dev', 'sda1'], ['mode', 'w']]
), ('vbd', ['vbd', ['uname', 'file:/mnt/storage/vserver/vm01-swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', '10.80.0.2']])], 'bootloader'
: None, 'cpu': None, 'maxmem': None}
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) XendDomainInfo.construct: None
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) XendDomainInfo.initDomain: 2 1.0
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) Balloon: 771252 KiB free; need 131072; done.
[2006-11-30 11:17:15 xend 4785] INFO (__init__:1072) buildDomain os=linux dom=2 vcpus=1
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) dom            = 2
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) image          = /boot/vmlinuz-2.6.16.29-xenU
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) store_evtchn   = 1
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) console_evtchn = 2
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) cmdline        =  ip=10.80.0.2:1.2.3.4:10.80.0.254:255.0.0.0:vm01:eth0:off root=/dev/sda1 3
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) ramdisk        = 
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) vcpus          = 1
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) features       = 
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) exception looking up device number for sda1: [Errno 2] No such file or directory: '/dev/sda1'
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2049', 'device-type': 'disk', 'state': '1',
 'backend': '/local/domain/0/backend/vbd/2/2049'} to /local/domain/2/device/vbd/2049.
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'domain': 'vm01', 'frontend': '/local/domain/2/device/vbd/2049', 'dev': 'sda1', '
state': '1', 'params': '/mnt/storage/vserver/vm01.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2049.
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) exception looking up device number for sda2: [Errno 2] No such file or directory: '/dev/sda2'
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2050', 'device-type': 'disk', 'state': '1',
 'backend': '/local/domain/0/backend/vbd/2/2050'} to /local/domain/2/device/vbd/2050.
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'domain': 'vm01', 'frontend': '/local/domain/2/device/vbd/2050', 'dev': 'sda2', '
state': '1', 'params': '/mnt/storage/vserver/vm01-swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2
050.
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:48:2f:5d', 'handle': '0', 'state': '1', 'back
end': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2006-11-30 11:17:15 xend 4785] DEBUG (__init__:1072) DevController: writing {'domain': 'vm01', 'handle': '0', 'script': '/etc/xen/scripts/vif-nat', 'ip': '10.
80.0.2', 'state': '1', 'frontend': '/local/domain/2/device/vif/0', 'mac': '00:16:3e:48:2f:5d', 'online': '1', 'frontend-id': '2'} to /local/domain/0/backend/vi
f/2/0.
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) Storing VM details: {'shadow_memory': '0', 'uuid': '6d137699-5651-4836-be87-a9e95e0d911a',
 'on_reboot': 'restart', 'start_time': '1164881835.46', 'on_poweroff': 'destroy', 'name': 'vm01', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', '
memory': '128', 'on_crash': 'restart', 'image': '(linux (kernel /boot/vmlinuz-2.6.16.29-xenU) (ip 10.80.0.2:1.2.3.4:10.80.0.254:255.0.0.0:vm01:eth0:off) (root 
/dev/sda1) (args 3))', 'maxmem': '128'}
[2006-11-30 11:17:15 xend.XendDomainInfo 4785] DEBUG (__init__:1072) Storing domain details: {'console/ring-ref': '225593', 'console/port': '2', 'name': 'vm01'
, 'console/limit': '1048576', 'vm': '/vm/6d137699-5651-4836-be87-a9e95e0d911a', 'domid': '2', 'cpu/0/availability': 'online', 'memory/target': '131072', 'store
/ring-ref': '225594', 'store/port': '1'}
[2006-11-30 11:17:15 xend.XendDomainInfo 3144] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch
[2006-11-30 11:17:15 xend 4790] DEBUG (__init__:1072) Waiting for devices vif.
[2006-11-30 11:17:15 xend 4790] DEBUG (__init__:1072) Waiting for 0.
[2006-11-30 11:17:15 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2006-11-30 11:17:16 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2006-11-30 11:17:16 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-30 11:17:16 xend 4790] DEBUG (__init__:1072) Waiting for devices usb.
[2006-11-30 11:17:16 xend 4790] DEBUG (__init__:1072) Waiting for devices vbd.
[2006-11-30 11:17:16 xend 4790] DEBUG (__init__:1072) Waiting for 2049.
[2006-11-30 11:17:16 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status.
[2006-11-30 11:17:17 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status.
[2006-11-30 11:17:17 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-30 11:17:17 xend 4790] DEBUG (__init__:1072) Waiting for 2050.
[2006-11-30 11:17:17 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/2/2050/hotplug-status.
[2006-11-30 11:17:19 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vbd/2/2050/hotplug-status.
[2006-11-30 11:17:19 xend 3144] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2006-11-30 11:17:19 xend 4790] DEBUG (__init__:1072) Waiting for devices irq.
[2006-11-30 11:17:19 xend 4790] DEBUG (__init__:1072) Waiting for devices pci.
[2006-11-30 11:17:19 xend 4790] DEBUG (__init__:1072) Waiting for devices ioports.
[2006-11-30 11:17:19 xend 4790] DEBUG (__init__:1072) Waiting for devices tap.
[2006-11-30 11:17:19 xend 4790] DEBUG (__init__:1072) Waiting for devices vtpm.
[2006-11-30 11:17:19 xend 5985] INFO (__init__:1072) Domain vm01 (2) unpaused.
some output from "ps uax |grep loop" in dom0:

Code:
root      5441  0.0  0.0     0    0 ?        S<   Nov30   0:00 [loop0]
root      5975  0.0  0.0     0    0 ?        S<   Nov30   0:00 [loop1]
root     14932  0.0  0.1  1532  484 pts/2    R+   22:42   0:00 grep loop
and some from "cat /proc/partitions" in dom0:

Code:
major minor  #blocks  name

   7     0    1024000 loop0
   7     1     512000 loop1
   3     0  156290904 hda
   3     1    5855661 hda1
   3     2     489982 hda2
   3     3   14651280 hda3
   3     4  135291397 hda4
  22     0  156290904 hdc
  22     1  156288321 hdc1
Reply With Quote