[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-bugs
Subject:    [Xen-bugs] [Bug 1474] New: tapdisk Not tainted 2.6.18.8-xen #2
From:       bugzilla-daemon () lists ! xensource ! com
Date:       2009-06-06 0:47:52
Message-ID: bug-1474-3 () http ! bugzilla ! xensource ! com/bugzilla/
[Download RAW message or body]

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1474

           Summary: tapdisk Not tainted 2.6.18.8-xen #2
           Product: Xen
           Version: unspecified
          Platform: x86-64
        OS/Version: Linux-2.6
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@lists.xensource.com
        ReportedBy: peter@zzservers.com


trying to boot domU with tap:aio, domU cannot see disk.  Using Xen 3.3.1 with
2.6.18.8 from source.  file: works but when I change config to tap:aio, domU
does not boot.  Results are as follows:

domU console:
Begin: Waiting for root file system... ...
Done.
        Check root= bootarg cat /proc/cmdline
        or missing modules, devices: cat /proc/modules ls /dev
ALERT! /dev/sda1 does not exist. Dropping to a shell!


BusyBox v1.1.3 (Debian 1:1.1.3-3ubuntu3) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off


Kernel Message:
 Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP:
 [<ffffffff80269c59>] get_user_pages+0x35a/0x51b
PGD 194d3067 PUD 195e6067 PMD 0
Oops: 0000 [1] SMP
CPU 3
Modules linked in: xt_tcpudp xt_physdev bridge iptable_filter ip_tables
x_tables ib_iser rdma_cm ib_addr ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi
scsi_transport_iscsi sr_mod cdrom parport_pc lp parport loop e1000e serio_raw
pcspkr ext3 jbd sg sd_mod usb_storage ehci_hcd ata_piix libata scsi_mod
uhci_hcd usbcore dm_mirror dm_snapshot dm_mod processor fuse
Pid: 3770, comm: tapdisk Not tainted 2.6.18.8-xen #2
RIP: e030:[<ffffffff80269c59>]  [<ffffffff80269c59>] get_user_pages+0x35a/0x51b
RSP: e02b:ffff8800196b1bc8  EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000001 RCX: ffff88002ff6f090
RDX: ffff88001a7e1000 RSI: 00002ad7fd8a8000 RDI: ffff88002e7cac00
RBP: ffff88002ff6f090 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000ffffff R11: 0000000000000001 R12: 0000000000000000
R13: 00002ad7fd8a8000 R14: 0000000000000000 R15: 000000000000000c
FS:  00002ad7fe7bdaf0(0000) GS:ffffffff804db180(0000) knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process tapdisk (pid: 3770, threadinfo ffff8800196b0000, task ffff880027cda860)
Stack:  0000000000000000 0000000000000002 0000000100000001 ffff88002e7cac00
 ffff880027cda860 0000000000000001 ffff88002e3e1c00 00000000ffff1000
 0000000000000000 0000000000000000 000000000000000c ffffffff802a0276
Call Trace:
 [<ffffffff802a0276>] dio_get_page+0x8a/0x1a2
 [<ffffffff802a0e97>] __blockdev_direct_IO+0x49b/0xb7c
 [<ffffffff880fe629>] :ext3:ext3_direct_IO+0xf6/0x17c
 [<ffffffff880fcbc0>] :ext3:ext3_get_block+0x0/0xe3
 [<ffffffff8025ba29>] generic_file_direct_IO+0x9f/0xe6
 [<ffffffff8025bc45>] __generic_file_aio_read+0xc5/0x1ae
 [<ffffffff80279e30>] cache_alloc_refill+0x9e/0x55d
 [<ffffffff8025bd62>] generic_file_aio_read+0x34/0x39
 [<ffffffff80299e30>] aio_pread+0x34/0x97
 [<ffffffff80299dfc>] aio_pread+0x0/0x97
 [<ffffffff8029aab2>] aio_run_iocb+0x105/0x1a6
 [<ffffffff8029b460>] io_submit_one+0x262/0x2d6
 [<ffffffff8029ba90>] sys_io_submit+0x9b/0x108
 [<ffffffff8020a5e4>] system_call+0x68/0x6d
 [<ffffffff8020a57c>] system_call+0x0/0x6d


Code: 48 8b 00 48 85 c0 74 43 48 83 7c 24 60 00 74 1e 48 8b 4c 24
RIP  [<ffffffff80269c59>] get_user_pages+0x35a/0x51b
 RSP <ffff8800196b1bc8>
CR2: 0000000000000008
 <6>xenbr0: topology change detected, propagating
xenbr0: port 2(vif1.0) entering forwarding state

xend.log:
[2009-06-05 19:54:20 3534] INFO (SrvDaemon:331) Xend Daemon started
[2009-06-05 19:54:20 3534] INFO (SrvDaemon:335) Xend changeset: unavailable.
[2009-06-05 19:54:20 3534] DEBUG (XendDomainInfo:137)
XendDomainInfo.recreate({'max_vcpu_id': 3, 'cpu_time': 6066135595L, 'ssidref':
0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 4, 'domid': 0,
'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown':
0, 'mem_kb': 784720L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0], 'blocked': 0, 'name': 'Domain-0'})
[2009-06-05 19:54:20 3534] INFO (XendDomainInfo:154) Recreating domain 0, UUID
00000000-0000-0000-0000-000000000000. at /local/domain/0
[2009-06-05 19:54:20 3534] DEBUG (XendDomainInfo:2731) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image':
'(linux (kernel ))', 'on_poweroff': 'destroy', 'bootloader_args': '',
'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0',
'vcpus': '4', 'vcpu_avail': '15', 'bootloader': '', 'name': 'Domain-0'}
[2009-06-05 19:54:20 3534] DEBUG (XendDomainInfo:1359) Storing domain details:
{'cpu/3/availability': 'online', 'name': 'Domain-0', 'console/limit':
'1048576', 'memory/target': '784720', 'cpu/2/availability': 'online', 'vm':
'/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability':
'online', 'cpu/1/availability': 'online',
'control/platform-feature-multiprocessor-suspend': '1', 'console/type':
'xenconsoled'}
[2009-06-05 19:54:20 3534] DEBUG (XendDomain:449) Adding Domain: 0
[2009-06-05 19:54:20 3534] DEBUG (XendDomain:383) number of vcpus to use is 0
[2009-06-05 19:54:20 3534] INFO (SrvServer:177) unix
path=/var/lib/xend/xend-socket
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VBD.set_device not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VBD.set_type not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call:
session.get_all_records not found
[2009-06-05 19:54:20 3534] DEBUG (XendDomainInfo:1443)
XendDomainInfo.handleShutdownWatch
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: event.get_record not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: event.get_all not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VM.get_auto_power_on
not found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VM.set_auto_power_on
not found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VIF.get_network not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VIF.set_device not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VIF.set_MAC not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: VIF.set_MTU not
found
[2009-06-05 19:54:20 3534] WARNING (XendAPI:684) API call: debug.get_all not
found
[2009-06-05 19:54:20 3534] INFO (XMLRPCServer:156) Opening Unix domain socket
XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled
for this server.
[2009-06-05 19:54:20 3534] INFO (XMLRPCServer:156) Opening Unix domain socket
XML-RPC server on /var/run/xend/xmlrpc.sock.
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:89)
XendDomainInfo.create(['vm', ['name', 'zz-dev1'], ['memory', '256'],
['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'],
['vcpus', '2'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.22-14-xen'], ['ramdisk',
'/boot/initrd.img-2.6.22-14-xen'], ['root', '/dev/sda1 ro'], ['args',
'xencons=tty']]], ['device', ['tap', ['uname',
'tap:aio:/home/xen/domains/zz-dev1/disk.img'], ['dev', 'sda1'], ['mode',
'w']]], ['device', ['vif', ['ip', '192.168.1.15'], ['mac',
'00:16:3e:6E:b9:5c'], ['bridge', 'xenbr0']]]])
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:2036)
XendDomainInfo.constructDomain
[2009-06-05 20:12:21 3534] DEBUG (balloon:132) Balloon: 7466588 KiB free; need
2048; done.
[2009-06-05 20:12:21 3534] DEBUG (XendDomain:449) Adding Domain: 1
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:2142)
XendDomainInfo.initDomain: 1 256
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:2223)
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000,
memory_static_min=0x0.
[2009-06-05 20:12:21 3534] DEBUG (balloon:132) Balloon: 7466580 KiB free; need
263168; done.
[2009-06-05 20:12:21 3534] INFO (image:166) buildDomain os=linux dom=1 vcpus=2
[2009-06-05 20:12:21 3534] DEBUG (image:631) domid          = 1
[2009-06-05 20:12:21 3534] DEBUG (image:632) memsize        = 256
[2009-06-05 20:12:21 3534] DEBUG (image:633) image          =
/boot/vmlinuz-2.6.22-14-xen
[2009-06-05 20:12:21 3534] DEBUG (image:634) store_evtchn   = 1
[2009-06-05 20:12:21 3534] DEBUG (image:635) console_evtchn = 2
[2009-06-05 20:12:21 3534] DEBUG (image:636) cmdline        = root=/dev/sda1 ro
xencons=tty
[2009-06-05 20:12:21 3534] DEBUG (image:637) ramdisk        =
/boot/initrd.img-2.6.22-14-xen
[2009-06-05 20:12:21 3534] DEBUG (image:638) vcpus          = 2
[2009-06-05 20:12:21 3534] DEBUG (image:639) features       =
[2009-06-05 20:12:21 3534] INFO (XendDomainInfo:1900) createDevice: tap :
{'bootable': 1, 'uname': 'tap:aio:/home/xen/domains/zz-dev1/disk.img', 'mode':
'w', 'dev': 'sda1', 'uuid': '40a9eab2-8989-c18a-5273-93937fdfd5ff'}
[2009-06-05 20:12:21 3534] DEBUG (DevController:122) DevController: writing
{'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_64-abi',
'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/tap/1/2049'} to /local/domain/1/device/vbd/2049.
[2009-06-05 20:12:21 3534] DEBUG (DevController:124) DevController: writing
{'domain': 'zz-dev1', 'frontend': '/local/domain/1/device/vbd/2049', 'uuid':
'40a9eab2-8989-c18a-5273-93937fdfd5ff', 'dev': 'sda1', 'state': '1', 'params':
'aio:/home/xen/domains/zz-dev1/disk.img', 'mode': 'w', 'online': '1',
'frontend-id': '1', 'type': 'tap'} to /local/domain/0/backend/tap/1/2049.
[2009-06-05 20:12:21 3534] INFO (XendDomainInfo:1900) createDevice: vif :
{'ip': '192.168.1.15', 'mac': '00:16:3e:6E:b9:5c', 'uuid':
'32251bc4-4164-ae4e-0ed3-ed05065439f3', 'bridge': 'xenbr0'}
[2009-06-05 20:12:21 3534] DEBUG (DevController:122) DevController: writing
{'mac': '00:16:3e:6E:b9:5c', 'handle': '0', 'protocol': 'x86_64-abi',
'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'}
to /local/domain/1/device/vif/0.
[2009-06-05 20:12:21 3534] DEBUG (DevController:124) DevController: writing
{'bridge': 'xenbr0', 'domain': 'zz-dev1', 'handle': '0', 'uuid':
'32251bc4-4164-ae4e-0ed3-ed05065439f3', 'script':
'/etc/xen/scripts/vif-bridge', 'ip': '192.168.1.15', 'mac':
'00:16:3e:6E:b9:5c', 'frontend-id': '1', 'state': '1', 'online': '1',
'frontend': '/local/domain/1/device/vif/0'} to /local/domain/0/backend/vif/1/0.
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:2731) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'b3dfc679-b518-3315-f9ab-16c55d180ce4', 'on_reboot': 'restart', 'start_time':
'1244247141.46', 'on_poweroff': 'destroy', 'bootloader_args': '',
'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0',
'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': "(linux (kernel
/boot/vmlinuz-2.6.22-14-xen) (ramdisk /boot/initrd.img-2.6.22-14-xen) (args
'root=/dev/sda1 ro xencons=tty') (notes (FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
 (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET
18446744071562067968) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564189696)
(LOADER generic) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION
xen-3.0)))", 'name': 'zz-dev1'}
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:2731) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'b3dfc679-b518-3315-f9ab-16c55d180ce4', 'on_reboot': 'restart', 'start_time':
'1244247141.46', 'on_poweroff': 'destroy', 'bootloader_args': '',
'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0',
'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': "(linux (kernel
/boot/vmlinuz-2.6.22-14-xen) (ramdisk /boot/initrd.img-2.6.22-14-xen) (args
'root=/dev/sda1 ro xencons=tty') (notes (FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
 (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET
18446744071562067968) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564189696)
(LOADER generic) (SUSPEND_CANCEL 1) (ENTRY 18446744071564165120) (XEN_VERSION
xen-3.0)))", 'name': 'zz-dev1'}
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:1359) Storing domain details:
{'console/ring-ref': '2244561', 'image/entry': '18446744071564165120',
'console/port': '2', 'store/ring-ref': '2244562', 'image/loader': 'generic',
'vm': '/vm/b3dfc679-b518-3315-f9ab-16c55d180ce4',
'control/platform-feature-multiprocessor-suspend': '1', 'image/guest-os':
'linux', 'cpu/1/availability': 'online',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'18446744071562067968', 'memory/target': '262144', 'image/guest-version':
'2.6', 'image/features/supervisor-mode-kernel': '1', 'console/limit':
'1048576', 'image/paddr-offset': '18446744071562067968',
'image/hypercall-page': '18446744071564189696', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1',
'image/features/writable-page-tables': '1', 'console/type': 'xenconsoled',
'image/features/auto-translated-physmap': '1', 'name': 'zz-dev1', 'domid': '1',
'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2009-06-05 20:12:21 3534] DEBUG (DevController:122) DevController: writing
{'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0.
[2009-06-05 20:12:21 3534] DEBUG (DevController:124) DevController: writing
{'domain': 'zz-dev1', 'frontend': '/local/domain/1/device/console/0', 'uuid':
'ff2125eb-170c-468c-d973-e3b29ad88efa', 'frontend-id': '1', 'state': '1',
'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/1/0.
[2009-06-05 20:12:21 3534] DEBUG (XendDomainInfo:1443)
XendDomainInfo.handleShutdownWatch
[2009-06-05 20:12:21 3534] DEBUG (DevController:166) Waiting for devices vif.
[2009-06-05 20:12:21 3534] DEBUG (DevController:171) Waiting for 0.
[2009-06-05 20:12:21 3534] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2009-06-05 20:12:22 3534] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2009-06-05 20:12:22 3534] DEBUG (DevController:670) hotplugStatusCallback 1.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices vscsi.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices vbd.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices irq.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices vkbd.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices vfb.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices
console.
[2009-06-05 20:12:22 3534] DEBUG (DevController:171) Waiting for 0.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices pci.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices
ioports.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices tap.
[2009-06-05 20:12:22 3534] DEBUG (DevController:171) Waiting for 2049.
[2009-06-05 20:12:22 3534] DEBUG (DevController:656) hotplugStatusCallback
/local/domain/0/backend/tap/1/2049/hotplug-status.
[2009-06-05 20:12:22 3534] DEBUG (DevController:670) hotplugStatusCallback 1.
[2009-06-05 20:12:22 3534] DEBUG (DevController:166) Waiting for devices vtpm.
[2009-06-05 20:12:22 3534] INFO (XendDomain:1174) Domain zz-dev1 (1) unpaused.


-- 
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic