All of lore.kernel.org
 help / color / mirror / Atom feed
* Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
@ 2009-09-15 23:56 Nathan Stratton
  2009-09-16  3:11 ` Jiang, Yunhong
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Stratton @ 2009-09-15 23:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Jeremy Fitzhardinge


Running Xen 3.4.1 on Fedora 11, upgraded from 2.6.31 rc-6 to 2.6.31 and 
ran into:

[    1.974072] usb usb2: usb_probe_device
[    1.974074] usb usb2: no configuration chosen from 0 choices
[    1.974076] drivers/usb/core/inode.c: creating file '001'
[    1.974096] uhci_hcd 0000:00:1d.0: HC died; cleaning up
[    1.974105] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000098
[    1.974108] IP: [<ffffffff812e2327>] usb_kick_khubd+0xb/0x20
[    1.974117] PGD 0
[    1.974119] Oops: 0000 [#1] SMP
[    1.974121] last sysfs file:
[    1.974124] CPU 0
[    1.974126] Modules linked in:
[    1.974129] Pid: 665, comm: work_for_cpu Not tainted 2.6.31 #1 X7DW3
[    1.974131] RIP: e030:[<ffffffff812e2327>]  [<ffffffff812e2327>] 
usb_kick_khubd+0xb/0x20
[    1.974136] RSP: e02b:ffff8803e81f7de0  EFLAGS: 00010046
[    1.974138] RAX: 0000000000000000 RBX: ffff8803e85dcc00 RCX: 
000000000000024f
[    1.974140] RDX: ffffffff818edf6c RSI: 0000000000000023 RDI: 
ffff8803e85c6000
[    1.974143] RBP: ffff8803e81f7de0 R08: 0000000000000002 R09: 
0000000000000000
[    1.974145] R10: 0000000000000005 R11: 0000000000000000 R12: 
0000000000000241
[    1.974147] R13: ffff8803e85c6000 R14: ffff8803e85c6000 R15: 
0000000000000014
[    1.974153] FS:  0000000000000000(0000) GS:ffffc90000000000(0000) 
knlGS:0000000000000000
[    1.974155] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[    1.974157] CR2: 0000000000000098 CR3: 0000000001001000 CR4: 
0000000000002660
[    1.974160] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
[    1.974163] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 
0000000000000400
[    1.974166] Process work_for_cpu (pid: 665, threadinfo 
ffff8803e81f6000, task ffff8803ea29f100)
[    1.974167] Stack:
[    1.974171]  ffff8803e81f7e00 ffffffff812e7581 ffff8803e85dcc00 
0000000000000000
[    1.974174] <0> ffff8803e81f7e60 ffffffff812e851b ffff8803e81f7e40 
0000000000001800
[    1.974178] <0> ffffffff8164876b ffff8803e9806880 ffff8803e85dcc00 
ffff8803e9806800
[    1.974182] Call Trace:
[    1.974187]  [<ffffffff812e7581>] usb_hc_died+0x60/0x74
[    1.974191]  [<ffffffff812e851b>] usb_add_hcd+0x546/0x60c
[    1.974195]  [<ffffffff812f4c31>] usb_hcd_pci_probe+0x252/0x305
[    1.974201]  [<ffffffff81055976>] ? do_work_for_cpu+0x0/0x25
[    1.974206]  [<ffffffff811b9117>] local_pci_probe+0x12/0x16
[    1.974209]  [<ffffffff81055989>] do_work_for_cpu+0x13/0x25
[    1.974213]  [<ffffffff8105926d>] kthread+0x8c/0x94
[    1.974217]  [<ffffffff81013b0a>] child_rip+0xa/0x20
[    1.974221]  [<ffffffff81012ce7>] ? int_ret_from_sys_call+0x7/0x1b
[    1.974225]  [<ffffffff8101349d>] ? retint_restore_args+0x5/0x6
[    1.974228]  [<ffffffff81013b00>] ? child_rip+0x0/0x20
[    1.974229] Code: 48 c7 c7 90 13 71 81 e8 ba 60 d5 ff 48 89 de 48 c7 c7 
68 df 8e 81 e8 d0 71 1a 00 5b 41 5c c9 c3 55 48 8b 87 08 02 00 00 48 89 e5 
<48> 8b 80 98 00 00 00 48 8b b8 b8 00 00 00 e8 57 ff ff ff c9 c3
[    1.974261] RIP  [<ffffffff812e2327>] usb_kick_khubd+0xb/0x20
[    1.974265]  RSP <ffff8803e81f7de0>
[    1.974266] CR2: 0000000000000098
[    1.974274] ---[ end trace 3c92d0fd04a9e00f ]---
[    1.974279] work_for_cpu used greatest stack depth: 4936 bytes left
[    2.284320] scsi 2:0:0:0: Direct-Access     ATA      WDC WD1600BEVS-2 
11.0 PQ: 0 ANSI: 5
[    2.292878] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    2.298351] sd 2:0:0:0: [sda] 312581808 512-byte logical blocks: (160 
GB/149 GiB)
[    2.305918] sd 2:0:0:0: [sda] Write Protect is off
[    2.306836] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.315812] sd 2:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    2.325041]  sda:


><>
Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
  2009-09-15 23:56 Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11 Nathan Stratton
@ 2009-09-16  3:11 ` Jiang, Yunhong
  2009-09-16 19:14   ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 6+ messages in thread
From: Jiang, Yunhong @ 2009-09-16  3:11 UTC (permalink / raw)
  To: Nathan Stratton, xen-devel@lists.xensource.com; +Cc: Jeremy Fitzhardinge

The real reason is the UHCI DMA error and maybe caused by swiotlb.

I'm not sure if following patch is in your code or not.

http://article.gmane.org/gmane.comp.emulators.xen.devel/71324

--jyh

xen-devel-bounces@lists.xensource.com wrote:
> Running Xen 3.4.1 on Fedora 11, upgraded from 2.6.31 rc-6 to
> 2.6.31 and
> ran into:
> 
> [    1.974072] usb usb2: usb_probe_device
> [    1.974074] usb usb2: no configuration chosen from 0 choices
> [    1.974076] drivers/usb/core/inode.c: creating file '001'
> [    1.974096] uhci_hcd 0000:00:1d.0: HC died; cleaning up
> [    1.974105] BUG: unable to handle kernel NULL pointer
> dereference at
> 0000000000000098
> [    1.974108] IP: [<ffffffff812e2327>] usb_kick_khubd+0xb/0x20 [   
> 1.974117] PGD 0 [    1.974119] Oops: 0000 [#1] SMP
> [    1.974121] last sysfs file:
> [    1.974124] CPU 0
> [    1.974126] Modules linked in:
> [    1.974129] Pid: 665, comm: work_for_cpu Not tainted 2.6.31 #1
> X7DW3 [    1.974131] RIP: e030:[<ffffffff812e2327>] 
> [<ffffffff812e2327>] usb_kick_khubd+0xb/0x20 [    1.974136] RSP:
> e02b:ffff8803e81f7de0  EFLAGS: 00010046 [    1.974138] RAX:
> 0000000000000000 RBX: ffff8803e85dcc00 RCX: 000000000000024f [   
> 1.974140] RDX: ffffffff818edf6c RSI: 0000000000000023 RDI:
> ffff8803e85c6000 [    1.974143] RBP: ffff8803e81f7de0 R08:
> 0000000000000002 R09: 0000000000000000 [    1.974145] R10:
> 0000000000000005 R11: 0000000000000000 R12: 0000000000000241 [   
> 1.974147] R13: ffff8803e85c6000 R14: ffff8803e85c6000 R15:
> 0000000000000014 [    1.974153] FS:  0000000000000000(0000)
> GS:ffffc90000000000(0000) knlGS:0000000000000000 [    1.974155] CS: 
> e033 DS: 0000 ES: 0000 CR0: 000000008005003b [    1.974157] CR2:
> 0000000000000098 CR3: 0000000001001000 CR4: 0000000000002660 [   
> 1.974160] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000 [    1.974163] DR3: 0000000000000000 DR6:
> 00000000ffff0ff0 DR7: 0000000000000400 [    1.974166] Process
> work_for_cpu (pid: 665, threadinfo ffff8803e81f6000, task
> ffff8803ea29f100) [    1.974167] Stack: [    1.974171] 
> ffff8803e81f7e00 ffffffff812e7581 ffff8803e85dcc00 0000000000000000 [
> 1.974174] <0> ffff8803e81f7e60 ffffffff812e851b ffff8803e81f7e40
> 0000000000001800 [    1.974178] <0> ffffffff8164876b ffff8803e9806880
> ffff8803e85dcc00 ffff8803e9806800 [    1.974182] Call Trace: [   
> 1.974187]  [<ffffffff812e7581>] usb_hc_died+0x60/0x74 [    1.974191] 
> [<ffffffff812e851b>] usb_add_hcd+0x546/0x60c [    1.974195] 
> [<ffffffff812f4c31>] usb_hcd_pci_probe+0x252/0x305 [    1.974201] 
> [<ffffffff81055976>] ? do_work_for_cpu+0x0/0x25 [    1.974206] 
> [<ffffffff811b9117>] local_pci_probe+0x12/0x16 [    1.974209] 
> [<ffffffff81055989>] do_work_for_cpu+0x13/0x25 [    1.974213] 
> [<ffffffff8105926d>] kthread+0x8c/0x94 [    1.974217] 
> [<ffffffff81013b0a>] child_rip+0xa/0x20 [    1.974221] 
> [<ffffffff81012ce7>] ? int_ret_from_sys_call+0x7/0x1b [    1.974225] 
> [<ffffffff8101349d>] ? retint_restore_args+0x5/0x6 [    1.974228] 
> [<ffffffff81013b00>] ? child_rip+0x0/0x20 [    1.974229] Code: 48 c7
> c7 90 13 71 81 e8 ba 60 d5 ff 48 89   
> de 48 c7 c7
> 68 df 8e 81 e8 d0 71 1a 00 5b 41 5c c9 c3 55 48 8b 87 08 02 00 00 48
> 89 e5 <48> 8b 80 98 00 00 00 48 8b b8 b8 00 00 00 e8 57 ff ff ff c9 c3
> [    1.974261] RIP  [<ffffffff812e2327>] usb_kick_khubd+0xb/0x20
> [    1.974265]  RSP <ffff8803e81f7de0>
> [    1.974266] CR2: 0000000000000098
> [    1.974274] ---[ end trace 3c92d0fd04a9e00f ]---
> [    1.974279] work_for_cpu used greatest stack depth: 4936 bytes left
> [    2.284320] scsi 2:0:0:0: Direct-Access     ATA      WDC
> WD1600BEVS-2 
> 11.0 PQ: 0 ANSI: 5
> [    2.292878] sd 2:0:0:0: Attached scsi generic sg0 type 0
> [    2.298351] sd 2:0:0:0: [sda] 312581808 512-byte logical
> blocks: (160
> GB/149 GiB)
> [    2.305918] sd 2:0:0:0: [sda] Write Protect is off
> [    2.306836] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    2.315812] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [    2.325041]  sda:
> 
> 
>> <>
> Nathan Stratton                                CTO, BlinkMind, Inc.
> nathan at robotics.net                         nathan at blinkmind.com
> http://www.robotics.net                       
> http://www.blinkmind.com 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
  2009-09-16  3:11 ` Jiang, Yunhong
@ 2009-09-16 19:14   ` Jeremy Fitzhardinge
  2009-09-16 23:58     ` Nathan Stratton
  2009-09-17 20:13     ` Nathan Stratton
  0 siblings, 2 replies; 6+ messages in thread
From: Jeremy Fitzhardinge @ 2009-09-16 19:14 UTC (permalink / raw)
  To: Jiang, Yunhong; +Cc: xen-devel@lists.xensource.com, Nathan Stratton

On 09/15/09 20:11, Jiang, Yunhong wrote:
> The real reason is the UHCI DMA error and maybe caused by swiotlb.
>
> I'm not sure if following patch is in your code or not.
>
> http://article.gmane.org/gmane.comp.emulators.xen.devel/71324
>   

I've committed this change now.

    J

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
  2009-09-16 19:14   ` Jeremy Fitzhardinge
@ 2009-09-16 23:58     ` Nathan Stratton
  2009-09-17  2:41       ` Jeremy Fitzhardinge
  2009-09-17 20:13     ` Nathan Stratton
  1 sibling, 1 reply; 6+ messages in thread
From: Nathan Stratton @ 2009-09-16 23:58 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Jiang, Yunhong, xen-devel@lists.xensource.com

On Wed, 16 Sep 2009, Jeremy Fitzhardinge wrote:

> On 09/15/09 20:11, Jiang, Yunhong wrote:
>> The real reason is the UHCI DMA error and maybe caused by swiotlb.
>>
>> I'm not sure if following patch is in your code or not.
>>
>> http://article.gmane.org/gmane.comp.emulators.xen.devel/71324
>
> I've committed this change now.

Hmm, now I get a new crash:

[    0.160975] 	(start_freq - end_freq @ bandwidth), (max_antenna_gain, 
max_eirp)
[    0.160975] 	(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 
mBm)
[    0.160975] 	(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 
mBm)
[    0.160975] 	(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 
mBm)
[    0.160975] 	(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 
mBm)
[    0.160975] 	(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 
mBm)
[    0.160975] 	(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 
mBm)
[    0.160984] cfg80211: Calling CRDA for country: US
[    0.161985] NetLabel: Initializing
[    0.162975] NetLabel:  domain hash size = 128
[    0.162975] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.162993] NetLabel:  unlabeled traffic allowed by default
[    0.164006] PCI-DMA: Using Xen software bounce buffering for IO 
(Xen-SWIOTLB)
[    0.164974] ------------[ cut here ]------------
[    0.164974] WARNING: at mm/bootmem.c:541 
alloc_arch_preferred_bootmem+0x33/0x52()
[    0.164974] Hardware name: X7DW3
[    0.164974] Modules linked in:
[    0.164974] Pid: 1, comm: swapper Not tainted 2.6.31 #1
[    0.164974] Call Trace:
[    0.164974]  [<ffffffff81044f7f>] warn_slowpath_common+0x77/0x8f
[    0.164974]  [<ffffffff81044fa6>] warn_slowpath_null+0xf/0x11
[    0.164974]  [<ffffffff8177f407>] 
alloc_arch_preferred_bootmem+0x33/0x52
[    0.164974]  [<ffffffff8177f952>] ___alloc_bootmem_nopanic+0x3d/0xce
[    0.164974]  [<ffffffff8100ea0f>] ? xen_restore_fl_direct_end+0x0/0x1
[    0.164974]  [<ffffffff8148950a>] ? _spin_unlock_irqrestore+0x13/0x15
[    0.164974]  [<ffffffff8177f9f4>] ___alloc_bootmem+0x11/0x39
[    0.164974]  [<ffffffff8177fa8a>] __alloc_bootmem_low+0xe/0x10
[    0.164974]  [<ffffffff8176945d>] xen_swiotlb_alloc_boot+0x10/0x12
[    0.164974]  [<ffffffff8176949b>] 
xen_swiotlb_init_with_default_size+0x3c/0x142
[    0.164974]  [<ffffffff8176c29d>] ? pci_iommu_init+0x0/0x2b
[    0.164974]  [<ffffffff817695d3>] xen_swiotlb_init+0x32/0x49
[    0.164974]  [<ffffffff8176c2ab>] pci_iommu_init+0xe/0x2b
[    0.164974]  [<ffffffff8100a05f>] do_one_initcall+0x59/0x15d
[    0.164974]  [<ffffffff81764e5a>] kernel_init+0x163/0x1b9
[    0.164974]  [<ffffffff81013b0a>] child_rip+0xa/0x20
[    0.164974]  [<ffffffff81012ce7>] ? int_ret_from_sys_call+0x7/0x1b
[    0.164974]  [<ffffffff8101349d>] ? retint_restore_args+0x5/0x6
[    0.164974]  [<ffffffff81013b00>] ? child_rip+0x0/0x20
[    0.164974] ---[ end trace 4eaa2a86a8e2da22 ]---
[    0.186971] Kernel panic - not syncing: <3>xen_create_contiguous_region 
failed
[    0.186971]
[    0.186971] Pid: 1, comm: swapper Tainted: G        W  2.6.31 #1
[    0.186971] Call Trace:
[    0.186971]  [<ffffffff81487693>] panic+0x75/0x122
[    0.186971]  [<ffffffff8100d4e2>] ? 
xen_create_contiguous_region+0xd3/0xee
[    0.186971]  [<ffffffff8100f571>] xen_swiotlb_fixup+0xc0/0xcf
[    0.186971]  [<ffffffff817694cf>] 
xen_swiotlb_init_with_default_size+0x70/0x142
[    0.186971]  [<ffffffff8176c29d>] ? pci_iommu_init+0x0/0x2b
[    0.186971]  [<ffffffff817695d3>] xen_swiotlb_init+0x32/0x49
[    0.186971]  [<ffffffff8176c2ab>] pci_iommu_init+0xe/0x2b
[    0.186971]  [<ffffffff8100a05f>] do_one_initcall+0x59/0x15d
[    0.186971]  [<ffffffff81764e5a>] kernel_init+0x163/0x1b9
[    0.186971]  [<ffffffff81013b0a>] child_rip+0xa/0x20
[    0.186971]  [<ffffffff81012ce7>] ? int_ret_from_sys_call+0x7/0x1b
[    0.186971]  [<ffffffff8101349d>] ? retint_restore_args+0x5/0x6
[    0.186971]  [<ffffffff81013b00>] ? child_rip+0x0/0x20

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
  2009-09-16 23:58     ` Nathan Stratton
@ 2009-09-17  2:41       ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 6+ messages in thread
From: Jeremy Fitzhardinge @ 2009-09-17  2:41 UTC (permalink / raw)
  To: Nathan Stratton; +Cc: Jiang, Yunhong, xen-devel@lists.xensource.com

On 09/16/09 16:58, Nathan Stratton wrote:
> On Wed, 16 Sep 2009, Jeremy Fitzhardinge wrote:
>
>> On 09/15/09 20:11, Jiang, Yunhong wrote:
>>> The real reason is the UHCI DMA error and maybe caused by swiotlb.
>>>
>>> I'm not sure if following patch is in your code or not.
>>>
>>> http://article.gmane.org/gmane.comp.emulators.xen.devel/71324
>>
>> I've committed this change now.
>
> Hmm, now I get a new crash:
>
> [    0.160975]     (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> [    0.160975]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi,
> 2700 mBm)
> [    0.160975]     (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi,
> 2300 mBm)
> [    0.160975]     (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi,
> 2300 mBm)
> [    0.160975]     (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi,
> 2300 mBm)
> [    0.160975]     (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi,
> 2300 mBm)
> [    0.160975]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi,
> 3000 mBm)
> [    0.160984] cfg80211: Calling CRDA for country: US
> [    0.161985] NetLabel: Initializing
> [    0.162975] NetLabel:  domain hash size = 128
> [    0.162975] NetLabel:  protocols = UNLABELED CIPSOv4
> [    0.162993] NetLabel:  unlabeled traffic allowed by default
> [    0.164006] PCI-DMA: Using Xen software bounce buffering for IO
> (Xen-SWIOTLB)
> [    0.164974] ------------[ cut here ]------------
> [    0.164974] WARNING: at mm/bootmem.c:541
> alloc_arch_preferred_bootmem+0x33/0x52()

I committed a fix for this a couple of hours ago.  Update and try again.

Thanks,
    J

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11
  2009-09-16 19:14   ` Jeremy Fitzhardinge
  2009-09-16 23:58     ` Nathan Stratton
@ 2009-09-17 20:13     ` Nathan Stratton
  1 sibling, 0 replies; 6+ messages in thread
From: Nathan Stratton @ 2009-09-17 20:13 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Jiang, Yunhong, xen-devel@lists.xensource.com

On Wed, 16 Sep 2009, Jeremy Fitzhardinge wrote:

> On 09/15/09 20:11, Jiang, Yunhong wrote:
>> The real reason is the UHCI DMA error and maybe caused by swiotlb.
>>
>> I'm not sure if following patch is in your code or not.
>>
>> http://article.gmane.org/gmane.comp.emulators.xen.devel/71324
>
> I've committed this change now.

Works, thanks!


><>
Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-17 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 23:56 Oops: 0000 [#1] SMP - Xen 3.4.1, Linux 2.6.31, Fedora 11 Nathan Stratton
2009-09-16  3:11 ` Jiang, Yunhong
2009-09-16 19:14   ` Jeremy Fitzhardinge
2009-09-16 23:58     ` Nathan Stratton
2009-09-17  2:41       ` Jeremy Fitzhardinge
2009-09-17 20:13     ` Nathan Stratton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.