[asterisk-bugs] [DAHDI-linux 0013487]: oops at loading tor2

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 15 14:58:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13487 
====================================================================== 
Reported By:                heyuqi
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13487
Category:                   Utilities/NewFeature
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-09-16 05:59 CDT
Last Modified:              2008-10-15 14:58 CDT
====================================================================== 
Summary:                    oops at loading tor2
Description: 
Several users report issues with loading the tor2 module.

BUG: unable to handle kernel NULL pointer dereference at 00000000
IP: [<e08e3de6>] :tor2:tor2_probe+0x4b4/0x962

...

Call Trace:
 [<c017ca5d>] sysfs_create_link+0x85/0xc8
 [<c01f5d61>] kobject_get+0xf/0x13
 [<c01ff9fa>] pci_device_probe+0x36/0x57
 [<c024faad>] driver_probe_device+0xb5/0x126
 [<c024fbae>] __driver_attach+0x0/0x83
 [<c024fbfe>] __driver_attach+0x50/0x83
 [<c024f0ae>] bus_for_each_dev+0x34/0x56
 [<c024f948>] driver_attach+0x11/0x13
 [<c024fbae>] __driver_attach+0x0/0x83
 [<c024f76d>] bus_add_driver+0x8a/0x1a5
 [<c017c17d>] sysfs_addrm_finish+0x13/0x163
 [<c024fd95>] driver_register+0x45/0x99
 [<c01ffb90>] __pci_register_driver+0x2b/0x57
 [<e088c015>] tor2_init+0x15/0x26 [tor2]
 [<c0130477>] sys_init_module+0x1414/0x1575
 [<e089e201>] dahdi_lboname+0x0/0x14 [dahdi]
 [<c01504af>] sys_read+0x3c/0x63
 [<c01040aa>] sysenter_past_esp+0x5f/0x85
====================================================================== 

---------------------------------------------------------------------- 
 (0093755) leroi05 (reporter) - 2008-10-15 14:58
 http://bugs.digium.com/view.php?id=13487#c93755 
---------------------------------------------------------------------- 
I have the same issue

[ 2333.876751] dahdi: Telephony Interface Registered on major 196
[ 2333.876754] dahdi: Version: 2.0.0
[ 2333.880733] ACPI: PCI Interrupt 0000:04:01.0[A] -> Link [LNKB] -> GSI
15 (level, low) -> IRQ 15
[ 2333.880744] Detected Tormenta 2 Quad T1/PRI or E1/PRA at
0xfebef000/0xfebee800 irq 15
[ 2333.993184] Xilinx Chip successfully loaded, configured and started!!
[ 2333.993237] Tormenta 2 Quad E1/PRA Card
[ 2333.993239] BUG: unable to handle kernel NULL pointer dereference at
00000000
[ 2333.993295] IP: [<f8c4468f>] :tor2:tor2_probe+0x77f/0xca5
[ 2333.993331] *pdpt = 0000000036881001 *pde = 0000000000000000
[ 2333.993334] Oops: 0002 [http://bugs.digium.com/view.php?id=1]
[ 2333.993358] Modules linked in: tor2(+) dahdi crc_ccitt
nf_conntrack_ipv4 xt_state nf_conntrack xt_limit xt_comment iptable_filter
ip_tables x_tables loop evdev
[ 2333.993480]
[ 2333.993506] Pid: 6097, comm: modprobe Not tainted (2.6.25.18
http://bugs.digium.com/view.php?id=1)
[ 2333.993539] EIP: 0060:[<f8c4468f>] EFLAGS: 00010286 CPU: 0
[ 2333.993572] EIP is at tor2_probe+0x77f/0xca5 [tor2]
[ 2333.993603] EAX: f6443000 EBX: 00000000 ECX: f8c4468b EDX: f6443000
[ 2333.993637] ESI: 00000000 EDI: f68b8000 EBP: 00000000 ESP: f69e5da4
[ 2333.993670]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 2333.993702] Process modprobe (pid: 6097, ti=f69e4000 task=f6879640
task.ti=f69e4000)
[ 2333.993737] Stack: f8c56340 f68b8000 febef000 febee800 0000000f
f7ce98d0 c01aa813 f8c57b38
[ 2333.993810]        00000080 00000800 00000800 00000000 c01ab56f
f68b8000 f78474c0 00000000
[ 2333.993887]        c01f6a4f f8c43f10 f7d04c00 f8c57a80 c0434200
c02060d6 f7d04c54 00000000
[ 2333.993961] Call Trace:
[ 2333.994018]  [<c01aa813>] sysfs_add_one+0x43/0xa0
[ 2333.994057]  [<c01ab56f>] sysfs_create_link+0x6f/0xd0
[ 2333.994094]  [<c01f6a4f>] kobject_get+0xf/0x20
[ 2333.994140]  [<f8c43f10>] tor2_probe+0x0/0xca5 [tor2]
[ 2333.994178]  [<c02060d6>] pci_device_probe+0x56/0x80
[ 2333.994180]  [<c02537d1>] driver_probe_device+0x81/0x170
[ 2333.994180]  [<c033f8f1>] klist_next+0x51/0xb0
[ 2333.994180]  [<c02539f6>] __driver_attach+0x76/0x80
[ 2333.994180]  [<c0252b7a>] bus_for_each_dev+0x3a/0x60
[ 2333.994180]  [<c0206080>] pci_device_probe+0x0/0x80
[ 2333.994180]  [<c0253656>] driver_attach+0x16/0x20
[ 2333.994180]  [<c0253980>] __driver_attach+0x0/0x80
[ 2333.994180]  [<c02534f1>] bus_add_driver+0x1a1/0x220
[ 2333.994180]  [<c0206020>] pci_device_remove+0x0/0x40
[ 2333.994180]  [<c0206080>] pci_device_probe+0x0/0x80
[ 2333.994180]  [<c0253b7b>] driver_register+0x3b/0xe0
[ 2333.994180]  [<c02062c6>] __pci_register_driver+0x36/0x70
[ 2333.994180]  [<f8c03018>] tor2_init+0x18/0x2d [tor2]
[ 2333.994180]  [<c0137383>] sys_init_module+0x113/0x1740
[ 2333.994180]  [<f8c11480>] dahdi_lboname+0x0/0x20 [dahdi]
[ 2333.994180]  [<c015d831>] do_mmap_pgoff+0x351/0x380
[ 2333.994180]  [<c0105eca>] sys_mmap2+0xca/0xd0
[ 2333.994180]  [<c0103af6>] sysenter_past_esp+0x5f/0x85
[ 2333.994180]  =======================
[ 2333.994180] Code: 7d da 8b 54 24 3c b8 e0 b0 44 c0 8b 4c 24 34 8d 34 ad
00 00 00 00 8b 9c 91 44 07 00 00 ba d0 00 00 00 e8 a5 70 52 c7 01 f3 85 c0
<89> 03 0f 84 2b fb ff ff 8b 7c 24 34 31 c0 b9 23 02 00 00 8b 5c
[ 2333.994180] EIP: [<f8c4468f>] tor2_probe+0x77f/0xca5 [tor2] SS:ESP
0068:f69e5da4
[ 2333.994183] ---[ end trace 624a8a24d234bf12 ]---
[ 2334.016712] dahdi_dummy: Trying to load High Resolution Timer
[ 2334.016775] dahdi_dummy: Initialized High Resolution Timer
[ 2334.016856] dahdi_dummy: Starting High Resolution Timer
[ 2334.016917] dahdi_dummy: High Resolution Timer started, good to go

lsmod
Module                  Size  Used by
tor2                   89933  1
dahdi                 194440  1 tor2
crc_ccitt               2304  1 dahdi
nf_conntrack_ipv4      17800  3
xt_state                2688  3
nf_conntrack           62756  2 nf_conntrack_ipv4,xt_state
xt_limit                2816  1
xt_comment              2048  9
iptable_filter          3584  1
ip_tables              13328  1 iptable_filter
x_tables               16516  4 xt_state,xt_limit,xt_comment,ip_tables
loop                   17796  0
evdev                  11776  0

ls -la /dev/dahdi/
total 0
drwxr-xr-x  2 root root      120 2008-10-15 22:28 .
drwxr-xr-x 10 root root    13380 2008-10-15 22:28 ..
crw-rw----  1 root root 196, 254 2008-10-15 22:28 channel
crw-rw----  1 root root 196,   0 2008-10-15 22:28 ctl
crw-rw----  1 root root 196, 255 2008-10-15 22:28 pseudo
crw-rw----  1 root root 196, 253 2008-10-15 22:28 timer


tor2 module cannot be unloaded, even with rmmod -f 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-15 14:58 leroi05        Note Added: 0093755                          
======================================================================




More information about the asterisk-bugs mailing list