All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85
@ 2011-01-06 17:42 Boris Derzhavets
  2011-01-06 17:50 ` Gerry Reno
  0 siblings, 1 reply; 14+ messages in thread
From: Boris Derzhavets @ 2011-01-06 17:42 UTC (permalink / raw)
  To: xen-devel, Pasi Kärkkäinen; +Cc: Ian Campbell, Konrad Rzeszutek Wilk


[-- Attachment #1.1: Type: text/plain, Size: 4120 bytes --]

In response to Michael Young post fedora-xen list :-

> There is a 2.6.37 kernel to test (2.6.37-1.xendom0.fc15)

Works for me under Xen 4.0.1 , but attempt to "startx" causes stack trace.
Works as vanilla as well . Allows to run KVMs been built with standard fedora kernel.

Boris.

--- On Thu, 1/6/11, Pasi Kärkkäinen <pasik@iki.fi> wrote:

From: Pasi Kärkkäinen <pasik@iki.fi>
Subject: [Xen-devel] 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85
To: xen-devel@lists.xensource.com
Cc: "Ian Campbell" <Ian.Campbell@citrix.com>, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Date: Thursday, January 6, 2011, 12:36 PM

Hello,

First of all.. big thanks to everyone involved in upstreaming Xen dom0 bits! 

I just tried upstream pvops 2.6.37 dom0 kernel on one of my machines, and it worked
out-of-the-box ! Even nouveau kms/modesetting worked just fine.

There was non-fatal BUG/traceback though:

Full dmesg log available at: http://pasik.reaktio.net/xen/logs/dmesg-2.6.37-1.xendom0.fc15.x86_64-kms-modesetting.txt

[    9.930809] BUG: sleeping function called from invalid context at kernel/mutex.c:85
[    9.931616] in_atomic(): 0, irqs_disabled(): 1, pid: 572, name: kworker/0:2
[    9.932403] Pid: 572, comm: kworker/0:2 Not tainted 2.6.37-1.xendom0.fc15.x86_64 #1
[    9.933188] Call Trace:
[    9.933973]  [<ffffffff81042005>] __might_sleep+0xeb/0xf0
[    9.934758]  [<ffffffff81476e9e>] mutex_lock+0x24/0x50
[    9.935533]  [<ffffffff810abe14>] free_desc+0x2e/0x5f
[    9.936296]  [<ffffffff810abe80>] irq_free_descs+0x3b/0x71
[    9.937064]  [<ffffffff812ac0c8>] irq_free_desc+0x13/0x15
[    9.937812]  [<ffffffff812aca85>] xen_destroy_irq+0xe1/0xf5
[    9.938545]  [<ffffffff81477d3f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    9.939270]  [<ffffffff813b70b9>] xen_teardown_msi_irq+0xe/0x10
[    9.939982]  [<ffffffff81255630>] default_teardown_msi_irqs+0x57/0x80
[    9.940674]  [<ffffffff812550f6>] free_msi_irqs+0x8b/0xe9
[    9.941352]  [<ffffffff81255ff4>] pci_disable_msix+0x35/0x39
[    9.942030]  [<ffffffffa005111a>] xhci_cleanup_msix+0x31/0x51 [xhci_hcd]
[    9.942705]  [<ffffffffa0051d35>] xhci_suspend+0x199/0x1ab [xhci_hcd]
[    9.943370]  [<ffffffffa00565ce>] xhci_pci_suspend+0x23/0x25 [xhci_hcd]
[    9.944029]  [<ffffffff81350355>] suspend_common+0x65/0xe2
[    9.944677]  [<ffffffff810073df>] ? xen_restore_fl_direct_end+0x0/0x1
[    9.945318]  [<ffffffff813503eb>] hcd_pci_runtime_suspend+0x19/0x43
[    9.945955]  [<ffffffff8124549b>] pci_pm_runtime_suspend+0x58/0xea
[    9.946587]  [<ffffffff81245443>] ? pci_pm_runtime_suspend+0x0/0xea
[    9.947221]  [<ffffffff812ef7a0>] rpm_suspend+0x285/0x3c5
[    9.947836]  [<ffffffff810073df>] ? xen_restore_fl_direct_end+0x0/0x1
[    9.948445]  [<ffffffff8107d31f>] ? arch_local_irq_restore+0xb/0xd
[    9.949051]  [<ffffffff81477d3f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    9.949648]  [<ffffffff8107d32c>] ? arch_local_irq_disable+0xb/0xd
[    9.950230]  [<ffffffff812f0357>] __pm_runtime_suspend+0x51/0x6d
[    9.950801]  [<ffffffff8124515b>] ? pci_pm_runtime_idle+0x0/0x4d
[    9.951359]  [<ffffffff812451a2>] pci_pm_runtime_idle+0x47/0x4d
[    9.951906]  [<ffffffff812efaa5>] rpm_idle+0x14d/0x18f
[    9.952445]  [<ffffffff812f042e>] ? pm_runtime_work+0x0/0xa0
[    9.952970]  [<ffffffff812f0499>] pm_runtime_work+0x6b/0xa0
[    9.953490]  [<ffffffff810665ab>] process_one_work+0x18c/0x285
[    9.954010]  [<ffffffff810673b2>] worker_thread+0x104/0x1a4
[    9.954526]  [<ffffffff810672ae>] ? worker_thread+0x0/0x1a4
[    9.955038]  [<ffffffff8106a9e3>] kthread+0x82/0x8a
[    9.955545]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    9.956060]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    9.956575]  [<ffffffff814782dd>] ? retint_restore_args+0x5/0x6
[    9.957088]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10


-- Pasi


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



      

[-- Attachment #1.2: Type: text/html, Size: 5838 bytes --]

[-- Attachment #2: dmesg.37-1.xen.log.gz --]
[-- Type: application/x-gzip, Size: 16492 bytes --]

[-- Attachment #3: dmesg.37-1.vanilla.log.gz --]
[-- Type: application/x-gzip, Size: 16936 bytes --]

[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85
@ 2011-01-06 17:36 Pasi Kärkkäinen
  2011-01-06 18:23 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 14+ messages in thread
From: Pasi Kärkkäinen @ 2011-01-06 17:36 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell, Konrad Rzeszutek Wilk

Hello,

First of all.. big thanks to everyone involved in upstreaming Xen dom0 bits! 

I just tried upstream pvops 2.6.37 dom0 kernel on one of my machines, and it worked
out-of-the-box ! Even nouveau kms/modesetting worked just fine.

There was non-fatal BUG/traceback though:

Full dmesg log available at: http://pasik.reaktio.net/xen/logs/dmesg-2.6.37-1.xendom0.fc15.x86_64-kms-modesetting.txt

[    9.930809] BUG: sleeping function called from invalid context at kernel/mutex.c:85
[    9.931616] in_atomic(): 0, irqs_disabled(): 1, pid: 572, name: kworker/0:2
[    9.932403] Pid: 572, comm: kworker/0:2 Not tainted 2.6.37-1.xendom0.fc15.x86_64 #1
[    9.933188] Call Trace:
[    9.933973]  [<ffffffff81042005>] __might_sleep+0xeb/0xf0
[    9.934758]  [<ffffffff81476e9e>] mutex_lock+0x24/0x50
[    9.935533]  [<ffffffff810abe14>] free_desc+0x2e/0x5f
[    9.936296]  [<ffffffff810abe80>] irq_free_descs+0x3b/0x71
[    9.937064]  [<ffffffff812ac0c8>] irq_free_desc+0x13/0x15
[    9.937812]  [<ffffffff812aca85>] xen_destroy_irq+0xe1/0xf5
[    9.938545]  [<ffffffff81477d3f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    9.939270]  [<ffffffff813b70b9>] xen_teardown_msi_irq+0xe/0x10
[    9.939982]  [<ffffffff81255630>] default_teardown_msi_irqs+0x57/0x80
[    9.940674]  [<ffffffff812550f6>] free_msi_irqs+0x8b/0xe9
[    9.941352]  [<ffffffff81255ff4>] pci_disable_msix+0x35/0x39
[    9.942030]  [<ffffffffa005111a>] xhci_cleanup_msix+0x31/0x51 [xhci_hcd]
[    9.942705]  [<ffffffffa0051d35>] xhci_suspend+0x199/0x1ab [xhci_hcd]
[    9.943370]  [<ffffffffa00565ce>] xhci_pci_suspend+0x23/0x25 [xhci_hcd]
[    9.944029]  [<ffffffff81350355>] suspend_common+0x65/0xe2
[    9.944677]  [<ffffffff810073df>] ? xen_restore_fl_direct_end+0x0/0x1
[    9.945318]  [<ffffffff813503eb>] hcd_pci_runtime_suspend+0x19/0x43
[    9.945955]  [<ffffffff8124549b>] pci_pm_runtime_suspend+0x58/0xea
[    9.946587]  [<ffffffff81245443>] ? pci_pm_runtime_suspend+0x0/0xea
[    9.947221]  [<ffffffff812ef7a0>] rpm_suspend+0x285/0x3c5
[    9.947836]  [<ffffffff810073df>] ? xen_restore_fl_direct_end+0x0/0x1
[    9.948445]  [<ffffffff8107d31f>] ? arch_local_irq_restore+0xb/0xd
[    9.949051]  [<ffffffff81477d3f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    9.949648]  [<ffffffff8107d32c>] ? arch_local_irq_disable+0xb/0xd
[    9.950230]  [<ffffffff812f0357>] __pm_runtime_suspend+0x51/0x6d
[    9.950801]  [<ffffffff8124515b>] ? pci_pm_runtime_idle+0x0/0x4d
[    9.951359]  [<ffffffff812451a2>] pci_pm_runtime_idle+0x47/0x4d
[    9.951906]  [<ffffffff812efaa5>] rpm_idle+0x14d/0x18f
[    9.952445]  [<ffffffff812f042e>] ? pm_runtime_work+0x0/0xa0
[    9.952970]  [<ffffffff812f0499>] pm_runtime_work+0x6b/0xa0
[    9.953490]  [<ffffffff810665ab>] process_one_work+0x18c/0x285
[    9.954010]  [<ffffffff810673b2>] worker_thread+0x104/0x1a4
[    9.954526]  [<ffffffff810672ae>] ? worker_thread+0x0/0x1a4
[    9.955038]  [<ffffffff8106a9e3>] kthread+0x82/0x8a
[    9.955545]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    9.956060]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    9.956575]  [<ffffffff814782dd>] ? retint_restore_args+0x5/0x6
[    9.957088]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10


-- Pasi

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

end of thread, other threads:[~2011-01-06 19:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 17:42 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85 Boris Derzhavets
2011-01-06 17:50 ` Gerry Reno
2011-01-06 17:58   ` Boris Derzhavets
2011-01-06 18:02     ` Gerry Reno
2011-01-06 18:46       ` Ian Campbell
2011-01-06 18:00   ` Pasi Kärkkäinen
2011-01-06 18:12     ` Gerry Reno
2011-01-06 18:22       ` Pasi Kärkkäinen
2011-01-06 18:47       ` Boris Derzhavets
2011-01-06 19:10   ` Konrad Rzeszutek Wilk
2011-01-06 19:41     ` Gerry Reno
  -- strict thread matches above, loose matches on Subject: below --
2011-01-06 17:36 Pasi Kärkkäinen
2011-01-06 18:23 ` Pasi Kärkkäinen
2011-01-06 19:35   ` Pasi Kärkkäinen

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.