Skip to contentSkip to conversation

kondemand: kernel BUG at kernel/workqueue.c:258!

DISCUSSION Jiri Slaby 3 participants 5 messages Nov 29, 2007 – Nov 30, 2007

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

Hi,

while trying to evoke another bug by endlessly change governors, this appeared:
kernel BUG at .../kernel/workqueue.c:258!
invalid opcode: 0000 [1] PREEMPT SMP
CPU 0

Modules linked in: iwl3945 mac80211 cfg80211 tun cpufreq_userspace rfcomm

l2cap hci_usb bluetooth kvm_intel arc4 ecb blkcipher kvm cryptomgr crypto_algapi acpi_cpufreq fglrx(P) asus_laptop sr_mod cdrom ehci_hcd uhci_hcd battery
Pid: 443, comm: kondemand/0 Tainted: P 2.6.23 #38

RIP: 0010:[<ffffffff802484ba>]  [<ffffffff802484ba>] run_workqueue+0xca/0x120
RSP: 0000:ffff81003ff3bea0  EFLAGS: 00010283
RAX: ffff81003fc08200 RBX: ffff810001e0a300 RCX: 0000000000000000
RDX: ffff810001e0a300 RSI: ffff81003ff3bed0 RDI: ffff81003fc08180
RBP: ffff81003fc08180 R08: ffff81003ff3a000 R09: 0000000000000000
R10: 0000003a18d529f0 R11: 0000000000000001 R12: ffff810001e0a2f8
R13: ffffffff803c7160 R14: ffff81003fc08188 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff805db000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000003a18a9afa0 CR3: 000000002e431000 CR4: 00000000000026e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kondemand/0 (pid: 443, threadinfo ffff81003ff3a000, task
ffff81003fe67560)
Stack:  ffff81003fc08198 ffff81003fc08180 ffffffff80249060 ffff81003fc08188
 0000000000000000 ffffffff80249125 0000000000000000 ffff81003fe67560
 ffffffff8024cb20 ffff81003ff3bee8 ffff81003ff3bee8 00000000fffffffc
Call Trace:
 [<ffffffff80249060>] worker_thread+0x0/0x130
 [<ffffffff80249125>] worker_thread+0xc5/0x130
 [<ffffffff8024cb20>] autoremove_wake_function+0x0/0x30
 [<ffffffff80249060>] worker_thread+0x0/0x130
 [<ffffffff80249060>] worker_thread+0x0/0x130
 [<ffffffff8024c71b>] kthread+0x4b/0x80
 [<ffffffff8020cbb8>] child_rip+0xa/0x12
 [<ffffffff8021fff0>] flat_send_IPI_mask+0x0/0x70
 [<ffffffff8024c6d0>] kthread+0x0/0x80
 [<ffffffff8020cbae>] child_rip+0x0/0x12


Code: 0f 0b eb fe 66 90 65 48 8b 34 25 00 00 00 00 48 c7 c7 10 98
RIP  [<ffffffff802484ba>] run_workqueue+0xca/0x120
 RSP <ffff81003ff3bea0>
#1 lore raw
Quoted 57 lines

-----Original Message-----
From: Jiri Slaby [mailto:[email protected]]
Sent: Thursday, November 29, 2007 1:43 PM
To: Pallipadi, Venkatesh; Nakajima, Jun
Cc: Linux kernel mailing list
Subject: kondemand: kernel BUG at kernel/workqueue.c:258!

Hi,

while trying to evoke another bug by endlessly change governors, this appeared:
kernel BUG at .../kernel/workqueue.c:258! invalid opcode: 0000 [1] PREEMPT SMP
CPU 0

Modules linked in: iwl3945 mac80211 cfg80211 tun 

cpufreq_userspace rfcomm
l2cap hci_usb bluetooth kvm_intel arc4 ecb blkcipher kvm cryptomgr crypto_algapi acpi_cpufreq fglrx(P) asus_laptop sr_mod cdrom ehci_hcd uhci_hcd battery
Pid: 443, comm: kondemand/0 Tainted: P 2.6.23 #38

RIP: 0010:[<ffffffff802484ba>]  [<ffffffff802484ba>] 
run_workqueue+0xca/0x120
RSP: 0000:ffff81003ff3bea0  EFLAGS: 00010283
RAX: ffff81003fc08200 RBX: ffff810001e0a300 RCX: 0000000000000000
RDX: ffff810001e0a300 RSI: ffff81003ff3bed0 RDI: ffff81003fc08180
RBP: ffff81003fc08180 R08: ffff81003ff3a000 R09: 0000000000000000
R10: 0000003a18d529f0 R11: 0000000000000001 R12: ffff810001e0a2f8
R13: ffffffff803c7160 R14: ffff81003fc08188 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff805db000(0000) 

knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000003a18a9afa0 CR3: 000000002e431000 CR4: 00000000000026e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process kondemand/0 (pid: 443, threadinfo ffff81003ff3a000, task ffff81003fe67560)

Stack:  ffff81003fc08198 ffff81003fc08180 ffffffff80249060 
ffff81003fc08188
0000000000000000 ffffffff80249125 0000000000000000 ffff81003fe67560
ffffffff8024cb20 ffff81003ff3bee8 ffff81003ff3bee8 00000000fffffffc
Call Trace:
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff80249125>] worker_thread+0xc5/0x130
[<ffffffff8024cb20>] autoremove_wake_function+0x0/0x30
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff8024c71b>] kthread+0x4b/0x80
[<ffffffff8020cbb8>] child_rip+0xa/0x12
[<ffffffff8021fff0>] flat_send_IPI_mask+0x0/0x70
[<ffffffff8024c6d0>] kthread+0x0/0x80
[<ffffffff8020cbae>] child_rip+0x0/0x12


Code: 0f 0b eb fe 66 90 65 48 8b 34 25 00 00 00 00 48 c7 c7 10 98
RIP  [<ffffffff802484ba>] run_workqueue+0xca/0x120
Quoted 2 lines

RSP <ffff81003ff3bea0>

Kernel version?

Thanks,
Venki

author
#2 lore raw
Quoted 11 lines · Venkatesh
Quoted 11 lines

-----Original Message-----
From: Jiri Slaby [mailto:[email protected]]
Sent: Thursday, November 29, 2007 1:43 PM
To: Pallipadi, Venkatesh; Nakajima, Jun
Cc: Linux kernel mailing list
Subject: kondemand: kernel BUG at kernel/workqueue.c:258!

Hi,

Quoted 11 lines
Quoted 11 lines

while trying to evoke another bug by endlessly change governors, this appeared:
kernel BUG at .../kernel/workqueue.c:258! invalid opcode: 0000 [1] PREEMPT SMP
CPU 0

Modules linked in: iwl3945 mac80211 cfg80211 tun 

cpufreq_userspace rfcomm
l2cap hci_usb bluetooth kvm_intel arc4 ecb blkcipher kvm cryptomgr crypto_algapi acpi_cpufreq fglrx(P) asus_laptop sr_mod cdrom ehci_hcd uhci_hcd battery
Pid: 443, comm: kondemand/0 Tainted: P 2.6.23 #38

Here :).

Quoted 33 lines
Quoted 33 lines
RIP: 0010:[<ffffffff802484ba>]  [<ffffffff802484ba>] 
run_workqueue+0xca/0x120
RSP: 0000:ffff81003ff3bea0  EFLAGS: 00010283
RAX: ffff81003fc08200 RBX: ffff810001e0a300 RCX: 0000000000000000
RDX: ffff810001e0a300 RSI: ffff81003ff3bed0 RDI: ffff81003fc08180
RBP: ffff81003fc08180 R08: ffff81003ff3a000 R09: 0000000000000000
R10: 0000003a18d529f0 R11: 0000000000000001 R12: ffff810001e0a2f8
R13: ffffffff803c7160 R14: ffff81003fc08188 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffffffff805db000(0000) 

knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000003a18a9afa0 CR3: 000000002e431000 CR4: 00000000000026e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process kondemand/0 (pid: 443, threadinfo ffff81003ff3a000, task ffff81003fe67560)

Stack:  ffff81003fc08198 ffff81003fc08180 ffffffff80249060 
ffff81003fc08188
0000000000000000 ffffffff80249125 0000000000000000 ffff81003fe67560
ffffffff8024cb20 ffff81003ff3bee8 ffff81003ff3bee8 00000000fffffffc
Call Trace:
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff80249125>] worker_thread+0xc5/0x130
[<ffffffff8024cb20>] autoremove_wake_function+0x0/0x30
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff80249060>] worker_thread+0x0/0x130
[<ffffffff8024c71b>] kthread+0x4b/0x80
[<ffffffff8020cbb8>] child_rip+0xa/0x12
[<ffffffff8021fff0>] flat_send_IPI_mask+0x0/0x70
[<ffffffff8024c6d0>] kthread+0x0/0x80
[<ffffffff8020cbae>] child_rip+0x0/0x12
Quoted 6 lines
Quoted 4 lines
Code: 0f 0b eb fe 66 90 65 48 8b 34 25 00 00 00 00 48 c7 c7 10 98
RIP  [<ffffffff802484ba>] run_workqueue+0xca/0x120

RSP <ffff81003ff3bea0>

Kernel version?

above, thanks,

Signature · 2 lines
Jiri Slaby ([email protected])
Faculty of Informatics, Masaryk University
#3 lore raw
In reply to Pallipadi, Venkatesh
Quoted 23 lines · Venkatesh
Quoted 16 lines

-----Original Message-----
From: Jiri Slaby [mailto:[email protected]]
Sent: Thursday, November 29, 2007 1:43 PM
To: Pallipadi, Venkatesh; Nakajima, Jun
Cc: Linux kernel mailing list
Subject: kondemand: kernel BUG at kernel/workqueue.c:258!

Hi,

while trying to evoke another bug by endlessly change governors, this appeared:
kernel BUG at .../kernel/workqueue.c:258! invalid opcode: 0000 [1] PREEMPT SMP
CPU 0

Quoted 6 lines
Modules linked in: iwl3945 mac80211 cfg80211 tun 

cpufreq_userspace rfcomm
l2cap hci_usb bluetooth kvm_intel arc4 ecb blkcipher kvm cryptomgr crypto_algapi acpi_cpufreq fglrx(P) asus_laptop sr_mod cdrom ehci_hcd uhci_hcd battery
Pid: 443, comm: kondemand/0 Tainted: P 2.6.23 #38

Quoted 1 line

Kernel version?

on the same line as the tainted flag and 2 below the binary module that is in use.... I assume Jiri is now working on reproducing this untainted ... ;)

author
#4 lore raw
Quoted 13 lines · Arjan van de Ven
Quoted 11 lines · Venkatesh
Quoted 11 lines

while trying to evoke another bug by endlessly change governors, this appeared:
kernel BUG at .../kernel/workqueue.c:258! invalid opcode: 0000 [1] PREEMPT SMP
CPU 0

Modules linked in: iwl3945 mac80211 cfg80211 tun 

cpufreq_userspace rfcomm
l2cap hci_usb bluetooth kvm_intel arc4 ecb blkcipher kvm cryptomgr crypto_algapi acpi_cpufreq fglrx(P) asus_laptop sr_mod cdrom ehci_hcd uhci_hcd battery
Pid: 443, comm: kondemand/0 Tainted: P 2.6.23 #38

Quoted 6 lines
Quoted 1 line

Kernel version?

on the same line as the tainted flag and 2 below the binary module that is in use.... I assume Jiri is now working on reproducing this untainted ... ;)

I've posted it even tainted, since this happened once after 50 h of reproducing another bug so I guess I'll never have untainted "version" of it, because I need to use the laptop in real life too :). If Venkatesh wants to fwd it to /dev/null, it won't bother me, maybe somebody else will come with untainted report some later...