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

[Xen-devel] xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide



Hi,

i have tested the following setup:

System: gentoo_2008, xen-sources-2.6.18-r12, x86_64

1. Hide one port from the d-link quad nic via pci.hide in dom0.

module: sundance

grub.conf: pciback.hide=(06:07.0)

2. Use it within a domU.

domu.conf: pci = [ '06:07.0' ]

Tools:
------
Gnu C                  4.1.2
Gnu make               3.81
binutils               Binutils
util-linux             2.13.1.1
mount                  2.13.1.1
module-init-tools      3.4
e2fsprogs              1.40.9
xfsprogs               2.9.7
Linux C Library        6.1
Dynamic linker (ldd)   2.6.1
Procps                 3.2.7
Net-tools              1.60
Kbd                    1.13
Sh-utils               6.10
udev                   124
Modules Loaded         sundance

Result see attachment.

I have tested the same setup with the original xen
linux-2.6.18-xen-3.3.0 upstream kernel and it crashed too. With the
vanilla 2.6.27 kernel it doesn't crashed, but the device is not
available in the booted domU.

Is there any chance to get such a setup working?
Do you need more informations?

TIA
Michael
 * Starting eth0
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:377
invalid opcode: 0000 [1] SMP
CPU 0
Modules linked in: sundance
Pid: 3730, comm: ip Not tainted 2.6.18.8-U #1
RIP: e030:[<ffffffff81010bf1>]  [<ffffffff81010bf1>] dma_map_single+0x15a/0x1aa
RSP: e02b:ffff88000d709c78  EFLAGS: 00010292
RAX: 000000000000002f RBX: 00000000b4a5aa72 RCX: ffff88000d708000
RDX: ffffffffff5fd000 RSI: 0000000000000001 RDI: ffffffff81690880
RBP: ffff88000dccea72 R08: ffffffff81690888 R09: 00000000000029fd
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000600
R13: ffff880001fccc90 R14: 0000000000000003 R15: ffff88000e832000
FS:  0000000000000000(0000) GS:ffffffff8178f000(0063) knlGS:0000000000000000
CS:  e033 DS: 002b ES: 002b
Process ip (pid: 3730, threadinfo ffff88000d708000, task ffff88000f95a040)
Stack:  ffff88000e832500 ffff88000e832528 ffff88000e832500 ffff88000e031000
 0000000000000030 ffffffff880022a0 00000009f308c122 0000000000000003
 0000000000000000 000000000001e480 00000000816971d0 ffffffff8105a335
Call Trace:
 [<ffffffff880022a0>] :sundance:netdev_open+0x1aa/0x48d
 [<ffffffff8105a335>] get_page_from_freelist+0x9c/0x47f
 [<ffffffff81429677>] dev_open+0x2d/0x6c
 [<ffffffff8142761a>] dev_change_flags+0x5c/0x11b
 [<ffffffff8148127f>] devinet_ioctl+0x217/0x598
 [<ffffffff810587a5>] filemap_nopage+0x187/0x316
 [<ffffffff8141e10b>] sock_ioctl+0x1b1/0x1d6
 [<ffffffff8108b8cd>] do_ioctl+0x21/0x6b
 [<ffffffff8108bb54>] vfs_ioctl+0x23d/0x256
 [<ffffffff8108bbc6>] sys_ioctl+0x59/0x7b
 [<ffffffff810a5438>] dev_ifsioc+0xd1/0x1f4
 [<ffffffff8107870d>] fd_install+0x25/0x5f
 [<ffffffff810a384b>] compat_sys_ioctl+0x26e/0x2b2
 [<ffffffff8101b05e>] sysenter_do_call+0x1b/0x25


Code: 0f 0b 68 9b 98 5a 81 c2 79 01 4d 85 ed 74 11 49 8b 85 f0 01
RIP  [<ffffffff81010bf1>] dma_map_single+0x15a/0x1aa
 RSP <ffff88000d709c78>
 /lib/rcscripts/net/iproute2.sh: line 7:  3730 Segmentation fault      LC_ALL=C 
/sbin/ip "$@"
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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