[Home]

Summary:DAHLIN-00073: kernel panic on VMWare
Reporter:Dmitry Andrianov (dimas)Labels:
Date Opened:2009-01-19 03:37:37.000-0600Date Closed:2009-01-28 11:23:02.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Running Asterisk on VMWare, playing with features and ChannelRedirect+MeetMe.
Took latest DAHDI trunk from SVN.

****** ADDITIONAL INFORMATION ******

divide error: 0000 [#1]
SMP
last sysfs file: /block/dm-1/range
Modules linked in: ipv6 autofs4 dahdi_dummy(U) wctc4xxp(U) dahdi_transcode(U) wcb4xxp(U) wctdm(U) wcfxo(U) wctdm24xxp(U) wcte11xp(U) wct1xxp(U) wcte12xp(U) wct4xxp(U) dahdi(U) crc_ccitt rfcomm l2cap bluetooth sunrpc ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables video sbs i2c_ec button battery asus_acpi ac lp snd_ens1371 gameport snd_rawmidi snd_ac97_codec snd_ac97_bus sg snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd pcnet32 soundcore floppy i2c_piix4 parport_pc i2c_core snd_page_alloc mii pcspkr ide_cd parport cdrom serio_raw dm_snapshot dm_zero dm_mirror dm_mod mptspi mptscsih mptbase scsi_transport_spi sd_mod scsi_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd
CPU:    0
EIP:    0060:[<d0bc7273>]    Not tainted VLI
EFLAGS: 00210002   (2.6.18-8.1.15.el5 #1)
EIP is at __dahdi_transmit_chunk+0x181/0x11b5 [dahdi]
eax: 00000001   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: 00000000   edi: c0737f5c   ebp: c7650000   esp: c0737f10
ds: 007b   es: 007b   ss: 0068
Process asterisk (pid: 2172, ti=c0737000 task=c75dcaa0 task.ti=c75dd000)
Stack: 00000000 00000001 00000008 c041d20d c0737f5c c7650000 00000008 c06ca200
      00000000 c040802c c0737f5c 00000000 ffffffff c0662c40 c042c890 00000000
      00000000 00000000 00000000 7f7f7f7f 7f7f7f7f 00200082 00000003 00000002
Call Trace:
[<c041d20d>] __wake_up+0x2a/0x3d
[<c040802c>] enable_8259A_irq+0xd/0x42
[<c042c890>] do_timer+0x793/0x8a9
[<d0bcbc03>] dahdi_receive+0x430/0x762 [dahdi]
[<c042c9ca>] lock_timer_base+0x15/0x2f
[<d0bbb373>] dahdi_dummy_rtc_interrupt+0x60/0x8c [dahdi_dummy]
[<c0531605>] rtc_interrupt+0xa1/0xda
[<c040774b>] timer_interrupt+0x4b/0x70
[<c044a28f>] handle_IRQ_event+0x23/0x49
[<c044a348>] __do_IRQ+0x93/0xe8
[<c04063f4>] do_IRQ+0x93/0xae
[<c040492e>] common_interrupt+0x1a/0x20
[<c05fc5d8>] _write_unlock_irqrestore+0x9/0xa
[<d0bc3378>] dahdi_chan_reg+0x9c/0xe3 [dahdi]
[<d0bc3d81>] dahdi_open+0x17b/0x1ca [dahdi]
[<c047205a>] chrdev_open+0x117/0x132
[<c0471f43>] chrdev_open+0x0/0x132
[<c04692c3>] __dentry_open+0xc7/0x1ab
[<c046940b>] nameidata_to_filp+0x19/0x28
[<c0469445>] do_filp_open+0x2b/0x31
[<c0469489>] do_sys_open+0x3e/0xae
[<c0469526>] sys_open+0x16/0x18
[<c0403eff>] syscall_call+0x7/0xb
=======================
Code: 85 94 04 00 00 01 54 24 28 29 54 24 18 8b 9d e0 01 00 00 8b 84 9d 94 04 00 00 3b 84 9d 14 04 00 00 0f 8c 16 03 00 00 89 d8 40 99 <f7> bd 14 05 00 00 f6 45 36 08 c7 84 9d 94 04 00 00 00 00 00 00
EIP: [<d0bc7273>] __dahdi_transmit_chunk+0x181/0x11b5 [dahdi] SS:ESP 0068:c0737f10
<0>Kernel panic - not syncing: Fatal exception in interrupt
BUG: warning at kernel/panic.c:137/panic() (Not tainted)
[<c0423867>] panic+0x15c/0x171
[<c04054dd>] die+0x262/0x296
[<c0405a12>] do_divide_error+0x0/0x9a
[<c0405aa0>] do_divide_error+0x8e/0x9a
[<d0bc7273>] __dahdi_transmit_chunk+0x181/0x11b5 [dahdi]
[<c0404a71>] error_code+0x39/0x40
[<d0bc7273>] __dahdi_transmit_chunk+0x181/0x11b5 [dahdi]
[<c041d20d>] __wake_up+0x2a/0x3d
[<c040802c>] enable_8259A_irq+0xd/0x42
[<c042c890>] do_timer+0x793/0x8a9
[<d0bcbc03>] dahdi_receive+0x430/0x762 [dahdi]
[<c042c9ca>] lock_timer_base+0x15/0x2f
[<d0bbb373>] dahdi_dummy_rtc_interrupt+0x60/0x8c [dahdi_dummy]
[<c0531605>] rtc_interrupt+0xa1/0xda
[<c040774b>] timer_interrupt+0x4b/0x70
[<c044a28f>] handle_IRQ_event+0x23/0x49
[<c044a348>] __do_IRQ+0x93/0xe8
[<c04063f4>] do_IRQ+0x93/0xae
[<c040492e>] common_interrupt+0x1a/0x20
[<c05fc5d8>] _write_unlock_irqrestore+0x9/0xa
[<d0bc3378>] dahdi_chan_reg+0x9c/0xe3 [dahdi]
[<d0bc3d81>] dahdi_open+0x17b/0x1ca [dahdi]
[<c047205a>] chrdev_open+0x117/0x132
[<c0471f43>] chrdev_open+0x0/0x132
[<c04692c3>] __dentry_open+0xc7/0x1ab
[<c046940b>] nameidata_to_filp+0x19/0x28
[<c0469445>] do_filp_open+0x2b/0x31
[<c0469489>] do_sys_open+0x3e/0xae
[<c0469526>] sys_open+0x16/0x18
[<c0403eff>] syscall_call+0x7/0xb
=======================
Comments:By: Shaun Ruffell (sruffell) 2009-01-19 09:30:47.000-0600

Could you try if this also happens on dahdi-linux 2.0.0?  I fear this may be related to http://bugs.digium.com/view.php?id=14183.

By: Dmitry Andrianov (dimas) 2009-01-19 10:34:25.000-0600

I also think it may be related - that is why I monitoring your issue. unfortunately I found it after i already submitted my.

The problem is that I do not know how to reliably reproduce the problem - so installing dahdi-2.0.0 and testing may not crash not because there is no bug tehre but only because I did not trigger it...

By: Shaun Ruffell (sruffell) 2009-01-20 09:38:59.000-0600

I'm linking this to Issue: 14183 and will come back to it after resolving that in case they are in fact the same issue.

By: Shaun Ruffell (sruffell) 2009-01-27 09:16:00.000-0600

dimas:  Could you try the trunk of dahdi-linux and let me know if you still see this problem?

By: Dmitry Andrianov (dimas) 2009-01-27 09:23:10.000-0600

sruffell: sure I will :)
Do not worry, I'm monitoring related issue as well. I just had not time to test your patch sorry about that.
Will do in the next two days.

By: Dmitry Andrianov (dimas) 2009-01-28 01:19:41.000-0600

Looks like my problem is fixed in the dahdi trunk. Thanks.