On Saturday 09 September 2006 07:20, you wrote: > On Fri, Sep 01, 2006 at 06:52:39PM +0200, Ondrej Zary wrote: > > Hello, > > my home router crashed after about a month. It does this sometimes but > > this time I was able to capture the oops. Here is the result of running > > ksymoops on it (took a photo of the screen and then manually converted to > > plain-text). Does it look like a bug or something other? > > I have another problem with your oops. It looks like you used a /proc/ksyms > from another running kernel. The symbol decoding does not match the code. > For instance, in the disassembled code, you'll see that two functions are > indicated for the same sequence of instructions (init_or_cleanup then > ip_conntrack_protocol_register). And the difference does not look like a > small offset, since neither of those functions seem to produce comparable > code here. Sorry, it's the first time I tried to use ksymoops (was reporting only 2.6 oopses before) and I probably screwed up. The problem is that there is no /proc/ksyms (maybe because CONFIG_MODULES is disabled?): root@router:~# ls -l /proc/k* -r-------- 1 root root 33558528 2006-09-09 11:58 /proc/kcore -r-------- 1 root root 0 2006-09-07 14:32 /proc/kmsg I also didn't have the System.map file but found it in the tree on my desktop machine (where that kernel was compiled) - haven't touched that directory since the kernel compile so it should be correct one. > You should backup the /proc/ksyms from your currently running kernel, and > reuse it to decode the next oops when it occurs. BTW, could you provide > the full config file and tell us what version of GCC you're using ? Maybe > we can try to find the same code sequence in a module and identify it > without waiting for further oops. I've used GCC 2.95.3. Attached is dmesg and config file. > > > ksymoops 2.4.11 on i486 2.4.31. Options used > > -V (default) > > -k /proc/ksyms (default) > > -l /proc/modules (default) > > -o /lib/modules/2.4.31/ (default) > > -m System.map (specified) > > > > Error (regular_file): read_ksyms stat /proc/ksyms failed > > No modules in ksyms, skipping objects > > No ksyms, skipping lsmod > > Unable to handle kernel paging request at virtual address c2000000 > > *pde = 00000000 > > Oops: 0000 > > CPU: 0 > > EIP: 0010:[] Not tainted > > Using defaults from ksymoops -t elf32-i386 -a i386 > > EFLAGS: 00010a96 > > eax: db1cec0a ebx: 7af4a90b ecx: fff113e8 edx: 00000008 > > esi: c1ffffe8 edi: c17835a4 ebp: c0b4b8b4 esp: c0227cd0 > > ds: 0018 es: 0018 ss: 0018 > > Process swapper (pid: 0, stackpage=c0227000) > > Stack: fd00a8c0 c17835a4 c01e6587 c0227ce8 00000008 0000a0c5 0000dff0 > > 0000200f c01e8757 0000dff0 0000200f 00005f3a 00000000 00000028 c1783590 > > c0b4b8b4 c01e7162 c1783590 00000028 c0b4b8b4 00000000 00000006 c0b4b810 > > 00000000 Call Trace: [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] [] > > [] [] [] [] > > Code: 8b 5e 18 11 d8 8b 5e 1c 11 d8 8d 76 20 49 75 d3 83 d0 00 89 > > > > >>EIP; c01eeb9e <===== > > >> > > >>esp; c0227cd0 > > > > Trace; c01e6587 > > Trace; c01e8757 > > Trace; c01e7162 > > Trace; c01e72ea > > Trace; c017fda8 > > Trace; c01baca0 > > Trace; c01e5ed4 > > Trace; c01baca0 > > Trace; c01e5fba > > Trace; c01baca0 > > Trace; c01afe00 > > Trace; c01baca0 > > Trace; c01baca0 > > Trace; c01b00d0 > > Trace; c01baca0 > > Trace; c01b8270 > > Trace; c01b9652 > > Trace; c01baca0 > > Trace; c01b8270 > > Trace; c01b82ba > > Trace; c01b0110 > > Trace; c01b05dc > > Trace; c01b8214 > > Trace; c01b8270 > > Trace; c01b7220 > > Trace; c01b739b > > Trace; c01b7220 > > Trace; c01b0110 > > Trace; c01b70a6 > > Trace; c01b7220 > > Trace; c01a87bb > > Trace; c01a885d > > Trace; c01a8970 > > Trace; c011427a > > Trace; c01081cd > > Trace; c0105250 > > Trace; c010a3b8 > > Trace; c0105250 > > Trace; c0105273 > > Trace; c01052d8 > > Trace; c0105000 <_stext+0/0> > > Trace; c0105027 > > > > Code; c01eeb9e > > 00000000 <_EIP>: > > Code; c01eeb9e <===== > > 0: 8b 5e 18 mov 0x18(%esi),%ebx <===== > > Code; c01eeba1 > > 3: 11 d8 adc %ebx,%eax > > Code; c01eeba3 > > 5: 8b 5e 1c mov 0x1c(%esi),%ebx > > Code; c01eeba6 > > 8: 11 d8 adc %ebx,%eax > > Code; c01eeba8 > > a: 8d 76 20 lea 0x20(%esi),%esi > > Code; c01eebab > > d: 49 dec %ecx > > Code; c01eebac > > e: 75 d3 jne ffffffe3 <_EIP+0xffffffe3> > > Code; c01eebae > > 10: 83 d0 00 adc $0x0,%eax > > Code; c01eebb1 > > 13: 89 00 mov %eax,(%eax) > > > > <0>Kernel panic: Aiee, killing interrupt handler! > > > > 1 error issued. Results may not be reliable. > > > > > > -- > > Ondrej Zary > > Regards, > Willy -- Ondrej Zary