[Asterisk-bsd] Panic on dahdi restart

Ian FREISLICH ianf at clue.co.za
Wed Aug 25 02:56:53 CDT 2010


Hi

Upon reloading the dahdi modules:

dahdi_enable="YES"
dahdi_modules="dahdi_echocan_mg2 wctdm.ko"

I get the following panic:

Unread portion of the kernel message buffer:
Registered echo canceler 'MG2'
wctdm0: vendor=e159 device=1 subvendor=b1d9
wctdm0: <Wildcard TDM400P REV I> port 0xd600-0xd6ff mem 0xe8122000-0xe8122fff irq 21 at device 1.0 on pci2
wctdm0: [FILTER]


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x48
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc056acdd
stack pointer           = 0x28:0xe7a518c4
frame pointer           = 0x28:0xe7a518c8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 19596 (kldload)
trap number             = 12
panic: page fault
KDB: stack backtrace:
db_trace_self_wrapper(c07a1a27,e7a5175c,c05af99f,c079f9ba,c0820340,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c079f9ba,c0820340,c078c223,e7a51768,e7a51768,...) at kdb_backtrace+0x29
panic(c078c223,c07b9903,c5765b68,1,1,...) at panic+0xaf
trap_fatal(c5c1c828,0,1,0,0,...) at trap_fatal+0x353
trap_pfault(e7a51824,c06dc0c9,c07a12b7,37,c5bffaa0,...) at trap_pfault+0x25b
trap(e7a51884) at trap+0x423
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc056acdd, esp = 0xe7a518c4, ebp = 0xe7a518c8 ---
dev_dependsl(e7a5190c,c69630db,0,c68f3200,0,...) at dev_dependsl+0xd
dev_depends(0,c68f3200,0,0,1a4,...) at dev_depends+0x13
dahdi_register(c695000c,0,a,e7a51950,2,...) at dahdi_register+0x29b
wctdm_device_attach(c5175180,c5e0705c,c07d78d8,c07a131e,80000000,...) at wctdm_device_attach+0x655
device_attach(c5175180) at device_attach+0x387
device_probe_and_attach(c5175180,c5170a00,e7a519cc,c53e0410,4,...) at device_probe_and_attach+0x2c
pci_driver_added(c5175280,c6a31dd4,1,c6a31dd4,c5dcda40,...) at pci_driver_added+0x104
devclass_driver_added(c6a31dd4,c07e2fa8,101,c6a31dbc,c501ad40,...) at devclass_driver_added+0x74
driver_module_handler(c5d4d0c0,0,c6a31dbc,0,0,...) at driver_module_handler+0x16b
module_register_init(c6a31da4,c079d890,e7a51c1c,e7a51c18,0,...) at module_register_init+0x105
linker_load_module(0,e7a51c4c,c1155c80,0,2,...) at linker_load_module+0xa19
kern_kldload(c5765a00,c5119800,e7a51c70,0,bfbfe6c0,...) at kern_kldload+0xec
kldload(c5765a00,e7a51cf8,c,c,c,...) at kldload+0x74
syscall(e7a51d38) at syscall+0x2c7
Xint0x80_syscall() at Xint0x80_syscall+0x21
--- syscall (304, FreeBSD ELF32, kldload), eip = 0x280d5c77, esp = 0xbfbfe6bc, ebp = 0xbfbfeba8 ---
Uptime: 17m25s
Physical memory: 2007 MB
Dumping 183 MB: 168 152 136 120 104 88 72 56 40 24 8
(kgdb) bt
#0  doadump () at pcpu.h:231
#1  0xc05af7c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc05af9ef in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:590
#3  0xc074d6c3 in trap_fatal (frame=0xe7a51884, eva=72)
    at /usr/src/sys/i386/i386/trap.c:938
#4  0xc074d92b in trap_pfault (frame=0xe7a51884, usermode=0, eva=72)
    at /usr/src/sys/i386/i386/trap.c:851
#5  0xc074e273 in trap (frame=0xe7a51884) at /usr/src/sys/i386/i386/trap.c:533
#6  0xc073237c in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc056acdd in dev_dependsl (pdev=0x0, cdev=0xc68f3200)
    at /usr/src/sys/kern/kern_conf.c:796
#8  0xc056ae63 in dev_depends (pdev=0x0, cdev=0xc68f3200)
    at /usr/src/sys/kern/kern_conf.c:806
#9  0xc69630db in dahdi_register () from /usr/local/lib/dahdi/dahdi.ko
#10 0xc6a2cb85 in wctdm_device_attach () from /usr/local/lib/dahdi/wctdm.ko

Ian

-- 
Ian Freislich



More information about the Asterisk-BSD mailing list