[Bugme-new] [Bug 8937] New: BUG prempt in workqueue.c

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Sat Aug 25 03:38:06 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=8937

           Summary: BUG prempt in workqueue.c
           Product: Process Management
           Version: 2.5
     KernelVersion: 2.6.22.5 + cfs20
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Preemption
        AssignedTo: rlove at rlove.org
        ReportedBy: casteyde.christian at free.fr


Most recent kernel where this bug did not occur: unknown
Distribution: Slackware 12.0
Hardware Environment: Athlon64 3000, nForce3, Aspire 1511LMi
Software Environment: linux/crash at boot
Problem Description:

I got once a kernel BUG at boot in workqueue.c, which blocked the computer.
However, syslog had the time to log the following dump:

-- parts of dmesg --
Aug 25 12:08:43 athor kernel:  BIOS-e820: 0000000000000000 - 000000000009b800
(usable)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 000000000009b800 - 00000000000a0000
(reserved)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 00000000000d2000 - 0000000000100000
(reserved)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 0000000000100000 - 000000004ff70000
(usable)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 000000004ff70000 - 000000004ff7f000
(ACPI data)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 000000004ff7f000 - 000000004ff80000
(ACPI NVS)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 000000004ff80000 - 0000000050000000
(reserved)
Aug 25 12:08:43 athor kernel:  BIOS-e820: 00000000fff80000 - 0000000100000000
(reserved)
Aug 25 12:08:43 athor kernel: end_pfn_map = 1048576
Aug 25 12:08:43 athor kernel: ACPI: RSDP 000F6EA0, 0014 (r0 PTLTD )
Aug 25 12:08:43 athor kernel: ACPI: RSDT 4FF792FD, 0034 (r1 PTLTD    RSDT   
6040000  LTP        0)
Aug 25 12:08:43 athor kernel: ACPI: FACP 4FF7EE3E, 0074 (r1 NVIDIA CK8      
6040000 PTL_    F4240)
Aug 25 12:08:43 athor kernel: ACPI: DSDT 4FF79331, 5B0D (r1 NVIDIA      CK8 
6040000 MSFT  100000E)
Aug 25 12:08:43 athor kernel: ACPI: FACS 4FF7FFC0, 0040
Aug 25 12:08:43 athor kernel: ACPI: APIC 4FF7EEB2, 0050 (r1 NVIDIA NV_APIC_ 
6040000  LTP        0)
Aug 25 12:08:43 athor kernel: ACPI: SSDT 4FF7EF02, 00D6 (r1 PTLTD  POWERNOW 
6040000  LTP        1)
Aug 25 12:08:43 athor kernel: ACPI: BOOT 4FF7EFD8, 0028 (r1 PTLTD  $SBFTBL$ 
6040000  LTP        1)
Aug 25 12:08:43 athor kernel: Zone PFN ranges:
Aug 25 12:08:43 athor kernel:   DMA             0 ->     4096
Aug 25 12:08:43 athor kernel:   DMA32        4096 ->  1048576
Aug 25 12:08:43 athor kernel:   Normal    1048576 ->  1048576
Aug 25 12:08:43 athor kernel: early_node_map[2] active PFN ranges
Aug 25 12:08:43 athor kernel:     0:        0 ->      155
Aug 25 12:08:43 athor kernel:     0:      256 ->   327536
Aug 25 12:08:43 athor kernel: Built 1 zonelists.  Total pages: 321465
Aug 25 12:08:43 athor kernel: Initializing CPU#0
Aug 25 12:08:43 athor kernel: PID hash table entries: 4096 (order: 12, 32768
bytes)
Aug 25 12:08:43 athor kernel: Console: colour VGA+ 80x25
Aug 25 12:08:43 athor kernel: Dentry cache hash table entries: 262144 (order:
9, 2097152 bytes)
Aug 25 12:08:43 athor kernel: Inode-cache hash table entries: 131072 (order: 8,
1048576 bytes)
Aug 25 12:08:43 athor kernel: Checking aperture...
Aug 25 12:08:43 athor kernel: CPU 0: aperture @ d8000000 size 128 MB
Aug 25 12:08:43 athor kernel: Memory: 1282320k/1310144k available (3739k kernel
code, 27060k reserved,
 1679k data, 200k init)
Aug 25 12:08:43 athor kernel: Calibrating delay using timer specific routine..
3593.81 BogoMIPS (lpj=5
986903)
Aug 25 12:08:43 athor kernel: Mount-cache hash table entries: 256
Aug 25 12:08:43 athor kernel: CPU: AMD Athlon 64 Processor 3000+ stepping 0a
Aug 25 12:08:43 athor kernel: result 12467786
Aug 25 12:08:43 athor kernel: PCI: Bus #03 (-#06) is hidden behind  bridge #02
(-#02) (try 'pci=assign
-busses')
Aug 25 12:08:43 athor kernel: Please report the result to linux-kernel to fix
this permanently
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK1] (IRQs 16 17 18
19) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK2] (IRQs 16 17 18
19) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK3] (IRQs 16 17 18
19) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK4] (IRQs 16 17 18
19) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK5] (IRQs 16 17 18
19) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS0] (IRQs 20 21) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS1] (IRQs 20 21) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS2] (IRQs 20 21) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21) *0,
disabled.
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LACI] (IRQs 22) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LMCI] (IRQs 20 21) *0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LPID] (IRQs 20 21) *0,
disabled.
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LTID] (IRQs 20 21) *0,
disabled.
Aug 25 12:08:43 athor kernel: PCI: Cannot allocate resource region 0 of device
0000:00:00.0
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 19
Aug 25 12:08:43 athor kernel: PCI: Failed to allocate mem resource
#10:4000000 at d4000000 for 0000:02:07
.0
Aug 25 12:08:43 athor kernel: PCI: Bus 3, cardbus bridge: 0000:02:07.0
Aug 25 12:08:43 athor kernel:   IO window: 00003000-000030ff
Aug 25 12:08:43 athor kernel:   IO window: 00003400-000034ff
Aug 25 12:08:43 athor kernel:   PREFETCH window: 60000000-63ffffff
Aug 25 12:08:43 athor kernel: PCI: Failed to allocate mem resource
#6:20000 at f0000000 for 0000:01:00.0
Aug 25 12:08:43 athor kernel: PCI: Enabling device 0000:02:07.0 (0106 -> 0107)
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 18
Aug 25 12:08:43 athor kernel: IP route cache hash table entries: 65536 (order:
7, 524288 bytes)
Aug 25 12:08:43 athor kernel: TCP established hash table entries: 262144
(order: 10, 4194304 bytes)
Aug 25 12:08:43 athor kernel: TCP bind hash table entries: 65536 (order: 7,
524288 bytes)
Aug 25 12:08:43 athor kernel: fuse init (API version 7.8)
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LMCI] enabled at IRQ 21
Aug 25 12:08:43 athor kernel: Marking TSC unstable due to possible TSC halt in
C2
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 17
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 16
Aug 25 12:08:43 athor kernel: NFORCE3-150: BIOS didn't set cable bits
correctly. Enabling workaround.
Aug 25 12:08:43 athor kernel: hda: IC25N060ATMR04-0, ATA DISK drive
Aug 25 12:08:43 athor kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Aug 25 12:08:43 athor kernel: hdc: MATSHITADVD-RAM UJ-820S, ATAPI CD/DVD-ROM
drive
Aug 25 12:08:43 athor kernel: ide1 at 0x170-0x177,0x376 on irq 15
Aug 25 12:08:43 athor kernel: NOTE: The dv1394 driver is unsupported and may be
removed in a future Li
nux release. Use raw1394 instead.
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 20
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 21
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LUS1] enabled at IRQ 20
Aug 25 12:08:43 athor kernel: psmouse.c: Failed to enable mouse on
isa0060/serio1
Aug 25 12:08:43 athor kernel: ACPI: PCI Interrupt Link [LACI] enabled at IRQ 22
Aug 25 12:08:43 athor kernel: nf_conntrack version 0.5.0 (8192 buckets, 65536
max)
Aug 25 12:08:43 athor kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Aug 25 12:08:43 athor kernel: VFS: Mounted root (ext3 filesystem) readonly.

-- fsck has not be done yet, since the fs is RO --
-- here is the bug, ho là là ! --

Aug 25 12:08:49 athor kernel: ------------[ cut here ]------------
Aug 25 12:08:49 athor kernel: kernel BUG at kernel/workqueue.c:258!
Aug 25 12:08:49 athor kernel: invalid opcode: 0000 [1] PREEMPT
Aug 25 12:08:49 athor kernel: CPU 0
Aug 25 12:08:49 athor kernel: Modules linked in:
Aug 25 12:08:49 athor kernel: Pid: 4, comm: events/0 Not tainted
2.6.22.5-cfs-v20.3 #4
Aug 25 12:08:49 athor kernel: RIP: 0010:[<ffffffff80240bea>] 
[<ffffffff80240bea>] run_workqueue+0x13a
/0x1a0
Aug 25 12:08:49 athor kernel: RSP: 0018:ffff81004ff0deb0  EFLAGS: 00010286
Aug 25 12:08:49 athor kernel: RAX: 0000000000000000 RBX: ffff81004eb776f0 RCX:
0000000000110c8c
Aug 25 12:08:49 athor kernel: RDX: ffff81004c23dd70 RSI: ffff81004ff00040 RDI:
ffff81004f50f790
Aug 25 12:08:49 athor kernel: RBP: ffff81004eb776e8 R08: ffff81004ff0c000 R09:
00000000ffffffff
Aug 25 12:08:49 athor kernel: R10: 0000000000000093 R11: 00000000ffffffff R12:
ffff81004ff671c0
Aug 25 12:08:49 athor kernel: R13: ffff81004eb776f8 R14: 0000000000000000 R15:
0000000000000000
Aug 25 12:08:49 athor kernel: FS:  00002aac2a0d0d30(0000)
GS:ffffffff8074b000(0000) knlGS:000000000000
0000
Aug 25 12:08:49 athor kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Aug 25 12:08:49 athor kernel: CR2: 00007fff8a62aef8 CR3: 000000004c7ab000 CR4:
00000000000006e0
Aug 25 12:08:49 athor kernel: Process events/0 (pid: 4, threadinfo
ffff81004ff0c000, task ffff81004ff0
0040)
Aug 25 12:08:49 athor kernel: Stack:  ffffffff80241260 ffff81004ff671d0
ffff81004ff671c0 ffffffff80241
260
Aug 25 12:08:49 athor kernel:  0000000000000000 ffffffff80241323
0000000000000000 ffff81004ff00040
Aug 25 12:08:49 athor kernel:  ffffffff80244cc0 ffff81004ff0def8
ffff81004ff0def8 0000000000000000
Aug 25 12:08:49 athor kernel: Call Trace:
Aug 25 12:08:49 athor kernel:  [<ffffffff80241260>] worker_thread+0x0/0x130
Aug 25 12:08:49 athor kernel:  [<ffffffff80241260>] worker_thread+0x0/0x130
Aug 25 12:08:49 athor kernel:  [<ffffffff80241323>] worker_thread+0xc3/0x130
Aug 25 12:08:49 athor kernel:  [<ffffffff80244cc0>]
autoremove_wake_function+0x0/0x30
Aug 25 12:08:49 athor kernel:  [<ffffffff80241260>] worker_thread+0x0/0x130
Aug 25 12:08:49 athor kernel:  [<ffffffff8024485b>] kthread+0x4b/0x80
Aug 25 12:08:49 athor kernel:  [<ffffffff8020a388>] child_rip+0xa/0x12
Aug 25 12:08:49 athor kernel:  [<ffffffff80244810>] kthread+0x0/0x80
Aug 25 12:08:49 athor kernel:  [<ffffffff8020a37e>] child_rip+0x0/0x12
Aug 25 12:08:49 athor kernel:
Aug 25 12:08:49 athor kernel:
Aug 25 12:08:49 athor kernel: Code: 0f 0b eb fe 66 90 65 48 8b 34 25 00 00 00
00 8b 8e 38 01 00
Aug 25 12:08:49 athor kernel: RIP  [<ffffffff80240bea>]
run_workqueue+0x13a/0x1a0
Aug 25 12:08:49 athor kernel:  RSP <ffff81004ff0deb0>

-- forced to reboot here --

I only saw this bug once, while regtesting another bug (8934), with
2.6.22.5-cfs. 2.6.22 was used quite a lot before. 2.6.23-rc was booted several
times also, without the problem, but I cannot quarantee anything.

I still have the kernel image and System.map if you want.

Steps to reproduce:
Well, I got it only once, but it is in core components...


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Bugme-new mailing list