2.6.31-0.1-default-07068-g43c1266 lockdep warning and schedulingwhile atomic BUG

From: Henk Martijn
Date: Mon Sep 21 2009 - 15:53:43 EST


This is a i7 based DELL and current git throws the following warning and bug at me during boot:

config attached.

[ 13.905024] PM: Adding info for No Bus:hidraw1
[ 13.905118] generic-usb 0003:0D62:2106.0002: input,hidraw1: USB HID v1.10 Keyboard [USB Multimedia Keyboard] on usb-0000:00:1d.0-2/input0
[ 13.942228] driver: '0003:0D62:2106.0002': driver_bound: bound to device 'generic-usb'
[ 13.942233] bus: 'hid': really_probe: bound device 0003:0D62:2106.0002 to driver generic-usb
[ 13.942301] driver: '4-2:1.0': driver_bound: bound to device 'usbhid'
[ 13.942306] bus: 'usb': really_probe: bound device 4-2:1.0 to driver usbhid
[ 13.942310] bus: 'usb': driver_probe_device: matched device 4-2:1.1 with driver usbhid
[ 13.942312] bus: 'usb': really_probe: probing driver usbhid with device 4-2:1.1
[ 13.942396] device: '0003:0D62:2106.0003': device_add
[ 13.942422] bus: 'hid': add device 0003:0D62:2106.0003
[ 13.942485] PM: Adding info for hid:0003:0D62:2106.0003
[ 13.942546] bus: 'hid': driver_probe_device: matched device 0003:0D62:2106.0003 with driver generic-usb
[ 13.942548] bus: 'hid': really_probe: probing driver generic-usb with device 0003:0D62:2106.0003
[ 13.978016] ------------[ cut here ]------------
[ 14.014518] WARNING: at kernel/lockdep.c:2457 lockdep_trace_alloc+0x96/0xc3()
[ 14.051564] Hardware name: Studio XPS 435MT
[ 14.088517] Modules linked in: usbhid(+) usb_libusual dcdbas ehci_hcd uhci_hcd sd_mod usbcore edd ext3 mbcache jbd fan ata_generic ata_piix thermal processor
[ 14.127811] Pid: 0, comm: swapper Not tainted 2.6.31-0.1-default-07068-g43c1266 #25
[ 14.166977] Call Trace:
[ 14.205599] <IRQ> [<ffffffff81063570>] ? lockdep_trace_alloc+0x96/0xc3
[ 14.244469] [<ffffffff8103e227>] warn_slowpath_common+0x77/0xa4
[ 14.282978] [<ffffffff8103e263>] warn_slowpath_null+0xf/0x11
[ 14.320837] [<ffffffff81063570>] lockdep_trace_alloc+0x96/0xc3
[ 14.358269] [<ffffffff810c9af3>] kmem_cache_alloc+0x31/0x12f
[ 14.395248] [<ffffffff81265e62>] ? hid_input_report+0x8e/0x2d4
[ 14.431762] [<ffffffff81265e62>] hid_input_report+0x8e/0x2d4
[ 14.467764] [<ffffffffa00f4fe6>] hid_ctrl+0xaa/0x180 [usbhid]
[ 14.503265] [<ffffffffa0087c83>] usb_hcd_giveback_urb+0x84/0xbb [usbcore]
[ 14.538766] [<ffffffffa00c28c8>] uhci_giveback_urb+0x114/0x257 [uhci_hcd]
[ 14.573767] [<ffffffff810c2904>] ? dma_pool_free+0x1ce/0x1da
[ 14.608146] [<ffffffffa00c32b5>] uhci_scan_schedule+0x5ad/0x868 [uhci_hcd]
[ 14.642116] [<ffffffffa00c5329>] uhci_irq+0x134/0x14e [uhci_hcd]
[ 14.675410] [<ffffffffa008764c>] usb_hcd_irq+0x38/0x93 [usbcore]
[ 14.708595] [<ffffffff81084832>] handle_IRQ_event+0x54/0x12d
[ 14.741681] [<ffffffff81086329>] handle_fasteoi_irq+0x8b/0xcb
[ 14.774501] [<ffffffff8100dacf>] handle_irq+0x89/0x92
[ 14.806831] [<ffffffff8100cc54>] do_IRQ+0x5a/0xba
[ 14.838698] [<ffffffff8100b993>] ret_from_intr+0x0/0xf
[ 14.870502] <EOI> [<ffffffff811c7b0d>] ? acpi_hw_validate_io_request+0x71/0x153
[ 14.902707] [<ffffffffa00030ff>] ? acpi_idle_enter_simple+0x12d/0x15b [processor]
[ 14.935371] [<ffffffffa00030f5>] ? acpi_idle_enter_simple+0x123/0x15b [processor]
[ 14.967892] [<ffffffffa0002e0e>] ? acpi_idle_enter_bm+0xd3/0x297 [processor]
[ 15.000367] [<ffffffff81336afd>] ? __atomic_notifier_call_chain+0x78/0x87
[ 15.032797] [<ffffffff8126286f>] ? cpuidle_idle_call+0x93/0xf0
[ 15.065101] [<ffffffff8100a30c>] ? cpu_idle+0x89/0xca
[ 15.097244] [<ffffffff8132e13a>] ? start_secondary+0x290/0x2db
[ 15.129253] ---[ end trace 427177f6fb7d2a3d ]---
[ 15.161208] BUG: scheduling while atomic: swapper/0/0x10010000
[ 15.193419] INFO: lockdep is turned off.
[ 15.225415] Modules linked in: usbhid(+) usb_libusual dcdbas ehci_hcd uhci_hcd sd_mod usbcore edd ext3 mbcache jbd fan ata_generic ata_piix thermal processor
[ 15.259383] irq event stamp: 100508
[ 15.292529] hardirqs last enabled at (100507): [<ffffffffa00030f5>] acpi_idle_enter_simple+0x123/0x15b [processor]
[ 15.326939] hardirqs last disabled at (100508): [<ffffffff8100ade7>] save_args+0x67/0x70
[ 15.361106] softirqs last enabled at (100496): [<ffffffff810440ce>] __do_softirq+0x1a3/0x1b5
[ 15.395335] softirqs last disabled at (100481): [<ffffffff8100c17c>] call_softirq+0x1c/0x34
[ 15.429297] CPU 3:
[ 15.462587] Modules linked in: usbhid(+) usb_libusual dcdbas ehci_hcd uhci_hcd sd_mod usbcore edd ext3 mbcache jbd fan ata_generic ata_piix thermal processor
[ 15.497904] Pid: 0, comm: swapper Tainted: G W 2.6.31-0.1-default-07068-g43c1266 #25 Studio XPS 435MT
[ 15.533540] RIP: 0010:[<ffffffffa00030ff>] [<ffffffffa00030ff>] acpi_idle_enter_simple+0x12d/0x15b [processor]
[ 15.569867] RSP: 0018:ffff8800be6bde28 EFLAGS: 00000206
[ 15.606233] RAX: ffff8800be6bdfd8 RBX: ffff8800be6bde68 RCX: 00000000000f4240
[ 15.643177] RDX: ffff8800068c0000 RSI: 0000000000000004 RDI: ffff8800be6c8000
[ 15.680292] RBP: ffffffff8100b98e R08: ffff8800b9ce2090 R09: 0000000000000000
[ 15.717613] R10: ffffffff811c7b0d R11: ffff8800be6bde08 R12: ffffffff8152eed0
[ 15.754834] R13: 0000000000000086 R14: 0000000000000046 R15: ffff8800be6bddb8
[ 15.792046] FS: 0000000000000000(0000) GS:ffff8800068c0000(0000) knlGS:0000000000000000
[ 15.828930] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 15.865108] CR2: 00000000023e2c78 CR3: 00000000b98bc000 CR4: 00000000000006e0
[ 15.901501] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 15.937058] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 15.971439] Call Trace:
[ 16.004630] [<ffffffffa00030f5>] ? acpi_idle_enter_simple+0x123/0x15b [processor]
[ 16.037876] [<ffffffffa0002e0e>] ? acpi_idle_enter_bm+0xd3/0x297 [processor]
[ 16.070344] [<ffffffff81336afd>] ? __atomic_notifier_call_chain+0x78/0x87
[ 16.102634] [<ffffffff8126286f>] ? cpuidle_idle_call+0x93/0xf0
[ 16.134673] [<ffffffff8100a30c>] ? cpu_idle+0x89/0xca
[ 16.165749] [<ffffffff8132e13a>] ? start_secondary+0x290/0x2db

I can provide more information or test patches if needed,

Regards,

Henk

Attachment: config.gz
Description: GNU Zip compressed data