Re: Crash

Andreas Eversberg <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
kkjoe kkjoe wrote:
> Hello,
>
> i have recompiled the kernel and the module and could reproduce the oops.
>
> [<c1166438>] dsp_function+0x994/0x1e3c [mISDN_dsp]
> [<c0059a88>] bchannel_bh+0x130/0x148 [mISDN_core]
> [<8013dd38>] run_workqueue+0xb4/0x2d0
> [<8013ed64>] worker_thread+0x94/0x140
> [<80143a3c>] kthread+0x80/0xa8
> [<80106010>] kernel_thread_helper+0x10/0x18
>
> // Get Symbol offset
> /mnt/cf0/modules/misdn # cat /sys/module/mISDN_dsp/sections/.init.text
> 0xc0079000
>
> // Load Symbol file
> /mnt/cf0/modules/misdn # /mnt/cf0/bin/gdb mISDN_dsp.ko
> GNU gdb 6.8
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "mipsel-unknown-linux-gnu"...
> (gdb) add-symbol-file /mnt/cf0/modules/misdn/mISDN_dsp.o 0xc0079000
> add symbol table from file "/mnt/cf0/modules/misdn/mISDN_dsp.o" at
>     .text_addr = 0xc0079000
> (y or n) y
> Reading symbols from /mnt/cf0/modules/misdn/mISDN_dsp.o...done.
> (gdb)
>
> // Get source line  - does not work
> (gdb) b *dsp_function + 0x994
> Breakpoint 1 at 0x1438
> -> I do not get any source line
> // get start location
> (gdb) disassemble dsp_function
> Dump of assembler code for function dsp_function:
> 0x00000aa4 <dsp_function+0>:    addiu    sp,sp,-88
>
> (gdb) b *dsp_function + 0x00001e3c
> Breakpoint 3 at 0x28e0: file 
> /home/kkjoe/test/test1/mIsdn/mISDN/standalone/drivers/isdn/mISDN/dsp_cmx.c, 
> line 1922.
>
> best regards and thank you very much for your support
>
>
> 2013/5/9 jolly <[email protected] <mailto:[email protected]>>
>
>     kkjoe kkjoe wrote:
>     > Do i have to rebuild the kernel and the misdn modules with debugging
>     > information ?
>     yes.
>
>
can you try to test some words before and after, like 0x988-0x99f ? area 
there lines close before and after the crash point? did you re-compile 
misdn after adding kernel debugging? anyone else an idea how to find 
that line?

_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.