Skip to contentSkip to conversation

2.6.21.5-rt15: BUG: scheduling with irqs disabled

DISCUSSION Fernando Lopez-Lezcano 1 participant 2 messages Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

Hi Ingo, I'm seeing this on 2.6.21.5-rt14 and 2.6.21.5-rt15, this problem did not happen in 2.6.21.3-rt9 (last I checked on this hardware). The computer is an athlon x2 and eth0 is "alias eth0 skge", the BUGs trigger on network activity (but not a constant stream of them)...

BUG: scheduling with irqs disabled: IRQ-20/0x00000000/1246
caller is wait_for_completion+0x65/0x9b
 [<c0105f44>] dump_trace+0x64/0x105
 [<c0105ffd>] show_trace_log_lvl+0x18/0x2c
 [<c010660a>] show_trace+0xf/0x11
 [<c010668b>] dump_stack+0x12/0x14
 [<c032ba36>] schedule+0x86/0xfa
 [<c032bb0f>] wait_for_completion+0x65/0x9b
 [<c0125f24>] set_cpus_allowed+0x71/0x8f
 [<c012f867>] do_softirq_from_hardirq+0xbd/0xda
 [<c015a336>] do_irqd+0x1ff/0x24d
 [<c013be5c>] kthread+0xb0/0xd8
 [<c0105b7b>] kernel_thread_helper+0x7/0x10
 =======================
[root@cmn34 ~]# cat /proc/interrupts
           CPU0       CPU1
  0:        251          1   IO-APIC-edge      timer
  1:          0          2   IO-APIC-edge      i8042
  6:          0          6   IO-APIC-edge      floppy
  7:          1          0   IO-APIC-edge      parport0
  8:          0          1   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0          4   IO-APIC-edge      i8042
 14:          0       3724   IO-APIC-edge      ide0
 16:       7591       5688   IO-APIC-fasteoi   ohci_hcd:usb1, libata
 17:          1        238   IO-APIC-fasteoi   ohci_hcd:usb2, NVidia
CK8S
 18:          0          3   IO-APIC-fasteoi   ehci_hcd:usb3
 19:          0          0   IO-APIC-fasteoi   libata
 20:          0       3028   IO-APIC-fasteoi   eth0
 21:          0          2   IO-APIC-fasteoi   ohci1394, ICE1712
 22:      17253       5916   IO-APIC-fasteoi   radeon@pci:0000:01:00.0
NMI:          0          0
LOC:      32953      36858
ERR:          1
MIS:          0

-- Fernando

#1 lore raw
Quoted 5 lines · Fernando Lopez-Lezcano

Hi Ingo, I'm seeing this on 2.6.21.5-rt14 and 2.6.21.5-rt15, this problem did not happen in 2.6.21.3-rt9 (last I checked on this hardware). The computer is an athlon x2 and eth0 is "alias eth0 skge", the BUGs trigger on network activity (but not a constant stream of them)...

Seems to have been fixed in 2.6.21.5-rt17! (briefly booted into one machine with the new build and so far no BUGs reported).

Thanks!!!
-- Fernando

Quoted 36 lines
BUG: scheduling with irqs disabled: IRQ-20/0x00000000/1246
caller is wait_for_completion+0x65/0x9b
 [<c0105f44>] dump_trace+0x64/0x105
 [<c0105ffd>] show_trace_log_lvl+0x18/0x2c
 [<c010660a>] show_trace+0xf/0x11
 [<c010668b>] dump_stack+0x12/0x14
 [<c032ba36>] schedule+0x86/0xfa
 [<c032bb0f>] wait_for_completion+0x65/0x9b
 [<c0125f24>] set_cpus_allowed+0x71/0x8f
 [<c012f867>] do_softirq_from_hardirq+0xbd/0xda
 [<c015a336>] do_irqd+0x1ff/0x24d
 [<c013be5c>] kthread+0xb0/0xd8
 [<c0105b7b>] kernel_thread_helper+0x7/0x10
 =======================
[root@cmn34 ~]# cat /proc/interrupts
           CPU0       CPU1
  0:        251          1   IO-APIC-edge      timer
  1:          0          2   IO-APIC-edge      i8042
  6:          0          6   IO-APIC-edge      floppy
  7:          1          0   IO-APIC-edge      parport0
  8:          0          1   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0          4   IO-APIC-edge      i8042
 14:          0       3724   IO-APIC-edge      ide0
 16:       7591       5688   IO-APIC-fasteoi   ohci_hcd:usb1, libata
 17:          1        238   IO-APIC-fasteoi   ohci_hcd:usb2, NVidia
CK8S
 18:          0          3   IO-APIC-fasteoi   ehci_hcd:usb3
 19:          0          0   IO-APIC-fasteoi   libata
 20:          0       3028   IO-APIC-fasteoi   eth0
 21:          0          2   IO-APIC-fasteoi   ohci1394, ICE1712
 22:      17253       5916   IO-APIC-fasteoi   radeon@pci:0000:01:00.0
NMI:          0          0
LOC:      32953      36858
ERR:          1
MIS:          0