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] 2.6.37 dom0 non-fatal BUG: sleeping function called from

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 6 Jan 2011 09:42:42 -0800 (PST)
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Thu, 06 Jan 2011 09:44:26 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294335762; bh=shN92heSjGFW103/EL1je6L35ORkkDgnE4MwdxNdsv0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=2Y3esLIx/fCPrG0SH7qNFlP5rjpBS0nox18oDY0wqFnCII5123JE4lrYoFYCxcLdrEz/STrupL9DymO6gqabn8+BDKpd6X6q+les/m/ScbpkobpSRu81tDkDF9YyrIpfJNFlQ4BaRbG2KV5vO5J9rOyfuw6+91F0SYr5bs0YWqY=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=0JHW8pDAP/ISpNgAUqZc1HX9S13T30NFeQqLC5H/Lf7vKrFklFGhqJiHotsnCsqvnUEMwFAw4S0YXU5IxxTPR6OOIZZC5qmPpTWVOJdXBEt2IVQzVo342vM+tyDTiz3CHnBiP5wXc5OeGcAiGtMnIKc5EccUA/bnyx8LxXFY0r4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: [Xen-devel] 2.6.37 dom0 non-fatal BUG: sleeping function called from invalid context at kernel/mutex.c:85
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: "Ian Campbell" <Ian.Campbell@xxxxxxxxxx>, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

Attachment: dmesg.37-1.xen.log.gz
Description: GNU Zip compressed data

Attachment: dmesg.37-1.vanilla.log.gz
Description: GNU Zip compressed data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>