Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xen wont boot domu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
maxtaager
n00b
n00b


Joined: 06 May 2006
Posts: 7
Location: Denmark/århus

PostPosted: Sun Oct 22, 2006 4:46 pm    Post subject: xen wont boot domu Reply with quote

Got a freshly installed gentoo box which i would like to run a domu with clarkconnect. So what i did was that i got the xen-sources etc booted gentoo as a dom0(which works perfectly btw) and pop in the clarkconnect cd and installed it on a newly created software raid device (/dev/md0). For now i can boot clarkconnect fine directly with out xen. But the thing is when i boot gentoo as a dom0 and try to boote clarkconnect with "xm create /etc/xen/cc -c" all i see is this:

Code:
Using config file "/etc/xen/cc".
Started domain clarkconnect
Linux version 2.6.16.28-xen (root@gateway.pillerten.dk) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #6 Sun Oct 22 17:57:08 CEST 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010000000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/md0
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2393.992 MHz processor.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: 89000000-fb7fe000, maxmem 7bffe000
Memory: 254720k/270336k available (2737k kernel code, 7148k reserved, 915k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4791.44 BogoMIPS (lpj=2395724)
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Checking 'hlt' instruction... OK.
Grant table initialized
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
audit: initializing netlink socket (disabled)
audit(1161541867.178:1): initialized
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.6)
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
vga16fb: mapped to 0xfbf8f000

It sems like it hangs at vga16fb which in my head seems a bit strange.

my xend.log
Code:
cat /var/log/xend.log
[2006-10-22 20:35:07 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-10-22 20:35:07 xend] INFO (SrvDaemon:282) Xend changeset: Sat Apr  8 12:14:27 2006 +0100 9598:1bce05ff1e52.
[2006-10-22 20:35:07 xend.XendDomainInfo] DEBUG (XendDomainInfo:200) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 138122421458L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 1544192, 'maxmem_kb': -4, 'max_vcpu_id': 0, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0})
[2006-10-22 20:35:07 xend.XendDomainInfo] INFO (XendDomainInfo:212) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2006-10-22 20:35:07 xend] DEBUG (XendDomain:152) number of vcpus to use is 0
[2006-10-22 20:35:07 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:178) XendDomainInfo.create(['vm', ['name', 'clarkconnect'], ['memory', 256], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']]], ['device', ['vbd', ['uname', 'phy:md0'], ['dev', 'md0'], ['mode', 'w']]]])
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:284) parseConfig: config is ['vm', ['name', 'clarkconnect'], ['memory', 256], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']]], ['device', ['vbd', ['uname', 'phy:md0'], ['dev', 'md0'], ['mode', 'w']]]]
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:380) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']], 'on_poweroff': None, 'cpus': None, 'name': 'clarkconnect', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'phy:md0'], ['dev', 'md0'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) XendDomainInfo.construct: None 0
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196) XendDomainInfo.initDomain: 15 1.0
[2006-10-22 20:35:21 xend] DEBUG (balloon:126) Balloon: free 511; need 257; done.
[2006-10-22 20:35:21 xend] INFO (image:135) buildDomain os=linux dom=15 vcpus=1
[2006-10-22 20:35:21 xend] DEBUG (image:173) dom            = 15
[2006-10-22 20:35:21 xend] DEBUG (image:174) image          = /boot/vmlinuz-cc
[2006-10-22 20:35:21 xend] DEBUG (image:175) store_evtchn   = 1
[2006-10-22 20:35:21 xend] DEBUG (image:176) console_evtchn = 2
[2006-10-22 20:35:21 xend] DEBUG (image:177) cmdline        =  root=/dev/md0
[2006-10-22 20:35:21 xend] DEBUG (image:178) ramdisk        =
[2006-10-22 20:35:21 xend] DEBUG (image:179) vcpus          = 1
[2006-10-22 20:35:21 xend] DEBUG (image:180) features       =
[2006-10-22 20:35:21 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '2304', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/15/2304'} to /local/domain/15/device/vbd/2304.
[2006-10-22 20:35:21 xend] DEBUG (DevController:105) DevController: writing {'domain': 'clarkconnect', 'frontend': '/local/domain/15/device/vbd/2304', 'dev': 'md0', 'state': '1', 'params': 'md0', 'mode': 'w', 'frontend-id': '15', 'type': 'phy'} to /local/domain/0/backend/vbd/15/2304.
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM details: {'ssidref': '0', 'uuid': '30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b', 'on_reboot': 'restart', 'start_time': '1161542121.87', 'on_poweroff': 'destroy', 'name': 'clarkconnect', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': '(linux (kernel /boot/vmlinuz-cc) (root /dev/md0))', 'maxmem': '256'}
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing domain details: {'console/ring-ref': '384903', 'console/port': '2', 'name': 'clarkconnect', 'console/limit': '1048576', 'vm': '/vm/30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b', 'domid': '15', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '388200', 'store/port': '1'}
[2006-10-22 20:35:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch
[2006-10-22 20:35:21 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-10-22 20:35:21 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-10-22 20:35:21 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-10-22 20:35:21 xend] DEBUG (DevController:138) Waiting for 2304.
[2006-10-22 20:35:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/15/2304/hotplug-status.
[2006-10-22 20:35:22 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/15/2304/hotplug-status.
[2006-10-22 20:35:22 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-10-22 20:35:22 xend] DEBUG (DevController:132) Waiting for devices irq.
[2006-10-22 20:35:22 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-10-22 20:35:22 xend] DEBUG (DevController:132) Waiting for devices ioports.
[2006-10-22 20:35:22 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-10-22 20:35:22 xend] INFO (XendDomain:363) Domain clarkconnect (15) unpaused.
[2006-10-22 20:35:22 xend.XendDomainInfo] WARNING (XendDomainInfo:819) Domain has crashed: name=clarkconnect id=15.
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) XendDomainInfo.destroyDomain(15)
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:178) XendDomainInfo.create(['domain', ['domid', 15], ['uuid', '30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'clarkconnect'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']]], ['device', ['vbd', ['backend', 0], ['dev', 'md0'], ['uname', 'phy:md0'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 0.117336966], ['online_vcpus', 1], ['up_time', '0.389694929123'], ['start_time', '1161542121.87'], ['store_mfn', 388200], ['console_mfn', 384903]])
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:284) parseConfig: config is ['domain', ['domid', 15], ['uuid', '30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 256], ['maxmem', 256], ['name', 'clarkconnect'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']]], ['device', ['vbd', ['backend', 0], ['dev', 'md0'], ['uname', 'phy:md0'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 0.117336966], ['online_vcpus', 1], ['up_time', '0.389694929123'], ['start_time', '1161542121.87'], ['store_mfn', 388200], ['console_mfn', 384903]]
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:380) parseConfig: result is {'ssidref': 0, 'uuid': '30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-cc'], ['root', '/dev/md0']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'clarkconnect', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 256, 'device': [('vbd', ['vbd', ['backend', 0], ['dev', 'md0'], ['uname', 'phy:md0'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 256}
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164) XendDomainInfo.construct: None 0
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:1196) XendDomainInfo.initDomain: 16 1.0
[2006-10-22 20:35:22 xend] DEBUG (balloon:126) Balloon: free 257; need 257; done.
[2006-10-22 20:35:22 xend] INFO (image:135) buildDomain os=linux dom=16 vcpus=1
[2006-10-22 20:35:22 xend] DEBUG (image:173) dom            = 16
[2006-10-22 20:35:22 xend] DEBUG (image:174) image          = /boot/vmlinuz-cc
[2006-10-22 20:35:22 xend] DEBUG (image:175) store_evtchn   = 1
[2006-10-22 20:35:22 xend] DEBUG (image:176) console_evtchn = 2
[2006-10-22 20:35:22 xend] DEBUG (image:177) cmdline        =  root=/dev/md0
[2006-10-22 20:35:22 xend] DEBUG (image:178) ramdisk        =
[2006-10-22 20:35:22 xend] DEBUG (image:179) vcpus          = 1
[2006-10-22 20:35:22 xend] DEBUG (image:180) features       =
[2006-10-22 20:35:22 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '2304', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/16/2304'} to /local/domain/16/device/vbd/2304.
[2006-10-22 20:35:22 xend] DEBUG (DevController:105) DevController: writing {'domain': 'clarkconnect', 'frontend': '/local/domain/16/device/vbd/2304', 'dev': 'md0', 'state': '1', 'params': 'md0', 'mode': 'w', 'frontend-id': '16', 'type': 'phy'} to /local/domain/0/backend/vbd/16/2304.
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM details: {'ssidref': '0', 'uuid': '30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b', 'on_reboot': 'restart', 'start_time': '1161542122.5', 'on_poweroff': 'destroy', 'name': 'clarkconnect', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': '(linux (kernel /boot/vmlinuz-cc) (root /dev/md0))', 'maxmem': '256'}
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing domain details: {'console/ring-ref': '367408', 'console/port': '2', 'name': 'clarkconnect', 'console/limit': '1048576', 'vm': '/vm/30e6f6bf-7c7a-32f5-f6c4-fde7ce4a654b', 'domid': '16', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '367409', 'store/port': '1'}
[2006-10-22 20:35:22 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch
[2006-10-22 20:35:23 xend.XendDomainInfo] WARNING (XendDomainInfo:819) Domain has crashed: name=clarkconnect id=16.
[2006-10-22 20:35:23 xend.XendDomainInfo] ERROR (XendDomainInfo:1467) VM clarkconnect restarting too fast (1.097569 seconds since the last restart).  Refusing to restart to avoid loops.
[2006-10-22 20:35:23 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327) XendDomainInfo.destroy: domid=16
[2006-10-22 20:35:23 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) XendDomainInfo.destroyDomain(16)

/var/log/xend-debug and /var/logxen-hotplug.log is empty.
my config:
Code:

cat /etc/xen/cc
kernel = "/boot/vmlinuz-cc"
memory = 256
name = "clarkconnect"
disk = [ 'phy:md0,md0,w' ]
root = "/dev/md0"
pci = "(0000:03:02.0)(0000:03:04.0)"


For the record i have tried to boot clarkconnect with the kernel compile within clark it self and my gentoo install. What i really need is some pointers to a solution. Ive spend days and days trying to figure out what the problem is. Pleas do tell if you need more info etc.
Thanks.
Back to top
View user's profile Send private message
Age_M
n00b
n00b


Joined: 25 Aug 2003
Posts: 16
Location: germany

PostPosted: Wed Oct 25, 2006 12:56 pm    Post subject: Reply with quote

Hi,

i don't know if it works but try this:

disk = [ 'phy:/dev/md0,md0,w' ]

or

disk = [ 'phy:/dev/md/0,md0,w' ]

greetz Age_M
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Wed Oct 25, 2006 1:59 pm    Post subject: Reply with quote

Like you said, it seems to be getting hung up at vga16b, which looks like a framebuffer driver, trying going into your kernel for the domu, and remove the framebuffer stuff.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum