[asterisk-users] Asterisk 1.4 and kernel panic and IRQ interrupts

Vieri rentorbuy at yahoo.com
Mon Nov 23 11:40:23 CST 2009


Hi,

I'm having trouble with one machine that kernel panics with Asterisk 1.4.

The motherboard is an Asus P5W Deluxe.

I reported the kernel panic here:
http://lists.digium.com/pipermail/asterisk-users/2009-November/241006.html

I'm now trying to understand if the problem can be an IRQ issue or not.

I disabled APIC in the BIOS because I thought that maybe it could be buggy (not sure though).
My interrupts are now as follows:

# more /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:         93          0          0          0    XT-PIC-XT        timer
  1:       1531          0          0          0    XT-PIC-XT        i8042
  2:          0          0          0          0    XT-PIC-XT        cascade
  3:          0          0          0          0    XT-PIC-XT        uhci_hcd:us
b3
  5:    4012524          0          0          0    XT-PIC-XT        ehci_hcd:us
b1, uhci_hcd:usb2
  6:          3          0          0          0    XT-PIC-XT        floppy
  7:    4341422          0          0          0    XT-PIC-XT        ahci, HFC-multi
  8:          2          0          0          0    XT-PIC-XT        rtc
  9:          1          0          0          0    XT-PIC-XT        acpi
 10:   10306916          0          0          0    XT-PIC-XT        eth1, eth2
 11:   30845499          0          0          0    XT-PIC-XT        eth0, wcte12xp0
 12:       3137          0          0          0    XT-PIC-XT        i8042
 14:        213          0          0          0    XT-PIC-XT        ide0
NMI:          0          0          0          0
LOC:    3049870    3049859    3049855    3049853
ERR:          0
MIS:          0

This "doesn't look good for 3 reasons (I think):
1. only one core out of a quad-core CPU handles the interrupts
2. the telephony cards share IRQs with other devices (HFC-multi and wcte12xp0)
3. wcte12xp0 and eth0 are sharing the same IRQ and eth0 is particularly active on this system

Note that on another system (Asus P5B motherboard with APIC enabled) I have a very stable Asterisk 1.2 and the IRQs are as follows:

# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:        104          0          0          0   IO-APIC-edge      timer
  1:       1558          0          0          0   IO-APIC-edge      i8042
  6:          3          0          0          0   IO-APIC-edge      floppy
  8:          2          0          0          0   IO-APIC-edge      rtc
  9:          1          0          0          0   IO-APIC-fasteoi   acpi
 16:      50387          0          0          0   IO-APIC-fasteoi   ahci
 17:    4710977   11071200   16425243    3430308   IO-APIC-fasteoi   ide0, eth0
 18:   64081335   65109221   31317172   33363907   IO-APIC-fasteoi   ahci, eth1
 20:  114824294   87784625   79980388   99000512   IO-APIC-fasteoi   wcte12xp0
 21:     645793          0          0          0   IO-APIC-fasteoi   eth2
 22:    9499612    7398138   10889760    6725944   IO-APIC-fasteoi   HFC-multi
NMI:          0          0          0          0
LOC:   37865864   37865853   37857176   37857173
ERR:          0
MIS:          0

Each telephony card is on its own IRQ.

Can IRQ sharing actually cause a kernel panic? or does it usually only cause voice distortion, "ticks", etc.?

What do you suggest I should try?
Should I enable APIC again and try to get each card on a different IRQ?

Is anyone using an Asus P5W Deluxe? If so, could you please share your /proc/interrupts and BIOS settings?

Thanks,

Vieri



      



More information about the asterisk-users mailing list