public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: Willy Tarreau <w@1wt.eu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	kaber@trash.net
Subject: Re: Oops after 30 days of uptime
Date: Sat, 9 Sep 2006 12:43:38 +0200	[thread overview]
Message-ID: <200609091243.39220.linux@rainbow-software.org> (raw)
In-Reply-To: <20060909101927.GA12986@1wt.eu>

On Saturday 09 September 2006 12:19, Willy Tarreau wrote:
> On Sat, Sep 09, 2006 at 12:15:25PM +0200, Ondrej Zary wrote:
> > 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
>
> Yes, that's very likely the reason.
>
> > 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.
>
> This is strange, because as I said, the symbols do not seem to match the
> dumped data. If you still have your directory intact, could you please
> send me offlist (or put at some URL) your System.map and vmlinux (not
> bzImage) ? Please gzip them BTW.

Uhm, found the problem. The running kernel is not the last one I compiled. I 
added HTB to the kernel and recompiled it but the running version is without 
that. I have the old config file - so it might be possible to recreate the 
System.map - going to try that now.

>
> > > 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.
>
> Thanks, this can constitute a good starting point.
>
> Regards,
> Willy

-- 
Ondrej Zary

  reply	other threads:[~2006-09-09 10:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01 16:52 Oops after 30 days of uptime Ondrej Zary
2006-09-01 17:00 ` Patrick McHardy
2006-09-01 18:00   ` Ondrej Zary
2006-09-03 20:03 ` Ondrej Zary
2006-09-09  5:10   ` Willy Tarreau
2006-09-09  5:20 ` Willy Tarreau
2006-09-09 10:15   ` Ondrej Zary
2006-09-09 10:19     ` Willy Tarreau
2006-09-09 10:43       ` Ondrej Zary [this message]
2006-09-09 11:38         ` Ondrej Zary
2006-09-10  8:26           ` Willy Tarreau
2006-09-10 10:43             ` Ondrej Zary
2006-09-10 13:16               ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609091243.39220.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox