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-devel

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

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen kernel 2.6.18 bug with a d-link DFE 580TX - pci hide
From: Michael Kapp <tquarkk@xxxxxxxxxx>
Date: Sun, 26 Oct 2008 09:58:07 +0100
Cc: xen-dev <xen-devel@xxxxxxxxxxxxxxxxxxx>, Frank Mundinger <f.mundinger@xxxxxxx>
Delivery-date: Sun, 26 Oct 2008 01:58:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C529DC5D.1E879%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C529DC5D.1E879%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080914)
Keir Fraser wrote:
> On 26/10/08 08:40, "Michael Kapp" <tquarkk@xxxxxxxxxx> wrote:
> 
>> Keir Fraser wrote:
>>> On 25/10/08 21:05, "Michael Kapp" <tquarkk@xxxxxxxxxx> wrote:
>>>
>>>> ----------- [cut here ] --------- [please bite here ] ---------
>>>> Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:377
>>> What's at line 377 in that source file in your kernel source tree?
>> See attachment of the specific part from pci-dma-xen.c.
> 
> Add swiotlb=force to your domain's kernel command line.

I set swiotlb=force in the domU conf, that doesn't fix it - also with
noirqdebug.

Michael
----------- [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: 3697, comm: ip Not tainted 2.6.18.8-U #1
RIP: e030:[<ffffffff81010bf1>]  [<ffffffff81010bf1>] dma_map_single+0x15a/0x1aa
RSP: e02b:ffff88000dba3c78  EFLAGS: 00010292
RAX: 000000000000002f RBX: 00000000b4858a72 RCX: ffff88000dba2000
RDX: ffffffffff5fd000 RSI: 0000000000000001 RDI: ffffffff81690880
RBP: ffff88000ded0a72 R08: ffffffff81690888 R09: 0000000000002a4d
R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000600
R13: ffff880001fccc90 R14: 0000000000000000 R15: ffff88000e832000
FS:  0000000000000000(0000) GS:ffffffff8178f000(0063) knlGS:0000000000000000
CS:  e033 DS: 002b ES: 002b
Process ip (pid: 3697, threadinfo ffff88000dba2000, task ffff88000f962800)
Stack:  ffff88000e832500 ffff88000e832510 ffff88000e832500 ffff88000e21f000
 0000000000000000 ffffffff880022a0 00000009f308c122 0000000000000000
 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 <ffff88000dba3c78>
 /lib/rcscripts/net/iproute2.sh: line 7:  3697 Segmentation fault      LC_ALL=C 
/sbin/ip "$@"
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel