WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xen unstable, smp, x64

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen unstable, smp, x64
From: Thomas Schneider <etomsch@xxxxxxxxxx>
Date: Wed, 21 Sep 2005 14:05:47 +0200
Delivery-date: Wed, 21 Sep 2005 12:03:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I've got a PentiumD System (Dual-Core) with EMT64 and am using Gentoo 64Bit on it. I tried xen-unstable on it with every combination of kernel-configs for dom0 and domU and can't get anything to work.

The error messages I get are in the dom0 when trying to start a domU:

Unable to handle kernel NULL pointer dereference at 0000000000000038 RIP:
<ffffffff801623b8>{generic_page_range+93}
PGD 0
Oops: 0000 [1] SMP
CPU 0
Modules linked in:
Pid: 5942, comm: kxbwatch Not tainted 2.6.12-xen0-br11
RIP: e030:[<ffffffff801623b8>] <ffffffff801623b8>{generic_page_range+93}
RSP: e02b:ffff88003a951468  EFLAGS: 00010202
RAX: 0000000000000c20 RBX: ffffc20000518000 RCX: 0000000000000068
RDX: 0000000000000000 RSI: ffffc20000518000 RDI: 0000000000000068
RBP: 00000000ba739000 R08: ffff88003a951530 R09: 0000000000000001
R10: 00000000000000a5 R11: 0000000000000202 R12: 0000000000001000
R13: ffff88003a951538 R14: 0000000000000001 R15: 0000000000000010
FS:  0000000000000000(0000) GS:ffffffff805b9680(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process kxbwatch (pid: 5942, threadinfo ffff88003a950000, task ffff88003e41f6d0)
Stack: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      0000000000000000 0000000000000000 ffffc20000519000 0000000000000c20
      ffff88003a951530 ffffffff801206c0
Call Trace:<ffffffff801206c0>{direct_remap_area_pte_fn+0} <ffffffff80120818>{__direct_remap_pfn_range+280} <ffffffff80352f1b>{ip_route_input+55} <ffffffff803ecdff>{ebt_do_table+1455}
      <ffffffff8034b87d>{nf_iterate+87} <ffffffff80356661>{ip_rcv_finish+0}
      <ffffffff803580c2>{ip_forward+648} <ffffffff80356d60>{ip_rcv+1150}
<ffffffff803e7cf9>{br_pass_frame_up_finish+9} <ffffffff803e7d6b>{br_pass_frame_up+107} <ffffffff803eb57c>{br_nf_pre_routing_finish+885} <ffffffff8034b87d>{nf_iterate+87} <ffffffff803eb207>{br_nf_pre_routing_finish+0} <ffffffff803ebcf5>{br_nf_pre_routing+1827} <ffffffff80119ed9>{monotonic_clock+78} <ffffffff80403df9>{thread_return+0} <ffffffff80403e58>{thread_return+95} <ffffffff8034bc86>{nf_hook_slow+125} <ffffffff803e7d70>{br_handle_frame_finish+0} <ffffffff80119ed9>{monotonic_clock+78} <ffffffff80119ed9>{monotonic_clock+78} <ffffffff80403df9>{thread_return+0} <ffffffff80119ed9>{monotonic_clock+78} <ffffffff80403df9>{thread_return+0} <ffffffff80403e58>{thread_return+95} <ffffffff80403df9>{thread_return+0} <ffffffff80403e58>{thread_return+95} <ffffffff80119ed9>{monotonic_clock+78} <ffffffff80147e6a>{finish_wait+65} <ffffffff802d9775>{xs_input_avail+60} <ffffffff802d993c>{xb_read+440} <ffffffff80147eb1>{autoremove_wake_function+0}
      <ffffffff80244c79>{vsscanf+1596} <ffffffff80244d31>{sscanf+136}
      <ffffffff802d9c44>{xs_talkv+263} <ffffffff802d9cfd>{xs_single+62}
<ffffffff802da4a2>{xenbus_gather+299} <ffffffff80117100>{xen_send_IPI_mask+255} <ffffffff8016a9de>{__get_vm_area+397} <ffffffff802deeb5>{netif_map+137} <ffffffff802de737>{frontend_changed+443} <ffffffff80147934>{keventd_create_kthread+0} <ffffffff802da893>{watch_thread+375} <ffffffff80147eb1>{autoremove_wake_function+0} <ffffffff80147eb1>{autoremove_wake_function+0} <ffffffff802da71c>{watch_thread+0}
      <ffffffff801478f9>{kthread+218} <ffffffff801128d7>{child_rip+8}
<ffffffff80147934>{keventd_create_kthread+0} <ffffffff8014781f>{kthread+0}
      <ffffffff801128cf>{child_rip+0}

Code: 48 8b 52 38 48 89 4c 24 18 48 01 d0 48 89 44 24 38 e8 3a 2c
RIP <ffffffff801623b8>{generic_page_range+93} RSP <ffff88003a951468>
CR2: 0000000000000038

The domU complains with:
VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

after hangig a few seconds at:
xen_blk: Initialising virtual block device driver
xen_blk: Timeout connecting to device!

I can't get domU to work, does anyone know how to solve this? My domU config is following:

xen # cat infra
#  -*- mode: python; -*-
#---------------------------------------------------------------------------
# Kernel image file.
kernel = "/data/xen-kernels/vmlinuz-2.6.12-bU"
# Initial memory allocation (in megabytes) for the new domain.
memory = 512
# A name for your domain. All domains must have different names.
name = "infra"

# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0, script=/etc/xen/scripts/vif-bridge' ]

#disk = [ 'phy:loop0,hda1,w',
#         'phy:hda7,hda2,w' ]

disk = [ 'file:/data/images/xen_infra.img,hda1,w',
        'file:/data/images/xen_infraswap.img,hda2,w' ]
#, 'file:/export/xen/images/xen_infraswap.img,hda2,w' ]
#        'phy:hda7,hda2,w' ]
# Set root device.
root = "/dev/hda1"
#===========================================================================

xend.log:
[2005-09-21 13:42:11 xend] DEBUG (image:164) initDomain: cpu=-1 mem_kb=524288 ssidref=0 dom=1 [2005-09-21 13:42:11 xend] DEBUG (XendDomainInfo:702) init_domain> Created domain=1 name=infra memory=512 [2005-09-21 13:42:12 xend] INFO (image:202) buildDomain os=linux dom=1 vcpus=1
[2005-09-21 13:42:12 xend] DEBUG (image:246) dom            = 1
[2005-09-21 13:42:12 xend] DEBUG (image:247) image = /data/xen-kernels/vmlinuz-2.6.12-bU
[2005-09-21 13:42:12 xend] DEBUG (image:248) store_evtchn   = 1
[2005-09-21 13:42:12 xend] DEBUG (image:249) console_evtchn = 2
[2005-09-21 13:42:12 xend] DEBUG (image:250) cmdline = root=/dev/hda1
[2005-09-21 13:42:12 xend] DEBUG (image:251) ramdisk        =
[2005-09-21 13:42:12 xend] DEBUG (image:252) flags          = 0
[2005-09-21 13:42:12 xend] DEBUG (image:253) vcpus          = 1
[2005-09-21 13:42:12 xend] DEBUG (DevController:181) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'backend': '/domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vbd/06badfb5-b04b-40d3-aa06-828ff25d5972/769'} to /domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vbd/769. [2005-09-21 13:42:12 xend] DEBUG (DevController:183) DevController: writing {'params': '/data/images/xen_infra.img', 'domain': 'infra', 'type': 'file', 'frontend': '/domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vbd/769', 'frontend-id': '1'} to /domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vbd/06badfb5-b04b-40d3-aa06-828ff25d5972/769. [2005-09-21 13:42:12 xend] DEBUG (DevController:181) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'backend': '/domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vbd/06badfb5-b04b-40d3-aa06-828ff25d5972/770'} to /domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vbd/770. [2005-09-21 13:42:12 xend] DEBUG (DevController:183) DevController: writing {'params': '/data/images/xen_infraswap.img', 'domain': 'infra', 'type': 'file', 'frontend': '/domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vbd/770', 'frontend-id': '1'} to /domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vbd/06badfb5-b04b-40d3-aa06-828ff25d5972/770. [2005-09-21 13:42:12 xend] DEBUG (DevController:181) DevController: writing {'backend-id': '0', 'mac': 'aa:00:00:00:00:11', 'handle': '1', 'backend': '/domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vif/06badfb5-b04b-40d3-aa06-828ff25d5972/1'} to /domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vif/1. [2005-09-21 13:42:12 xend] DEBUG (DevController:183) DevController: writing {'bridge': 'xen-br0', 'mac': 'aa:00:00:00:00:11', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'infra', 'frontend': '/domain/06badfb5-b04b-40d3-aa06-828ff25d5972/device/vif/1'} to /domain/3b5ed18d-3032-458c-a2af-42741fb242f5/backend/vif/06badfb5-b04b-40d3-aa06-828ff25d5972/1. [2005-09-21 13:42:12 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['infra', 1] [2005-09-21 13:42:12 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['infra', 1] [2005-09-21 14:03:58 xend] DEBUG (XendDomain:467) domain_restart_schedule> 1 halt 1 [2005-09-21 14:03:58 xend] INFO (XendDomain:481) Cancelling restart for domain: name=infra id=1 [2005-09-21 14:03:58 xend] INFO (XendRoot:141) EVENT> xend.domain.restart ['infra', 1, 'cancel'] [2005-09-21 14:03:58 xend] INFO (XendRoot:141) EVENT> xend.domain.died ['infra', None]


Thanks for your help,

Greetings,

Tom

--
-- So Long, and Thanks for all the Fish
            - Douglas Adams, Hitchhikers Guide to the Galaxy --


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen unstable, smp, x64, Thomas Schneider <=