mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Barry K. Nathan" <barryn@pobox.com>
Cc: mingo@elte.hu, arjan@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.17-rc5-mm1-lockdep: a rather strange oops
Date: Wed, 31 May 2006 18:14:30 -0700	[thread overview]
Message-ID: <20060531181430.bfe25ad5.akpm@osdl.org> (raw)
In-Reply-To: <986ed62e0605311747qb8f7a58ybde5d3a87de74309@mail.gmail.com>

On Wed, 31 May 2006 17:47:35 -0700
"Barry K. Nathan" <barryn@pobox.com> wrote:

> Unfortunately I haven't had a chance to set up a serial console on the
> box in question, so here's a picture instead (it oopses almost
> instantly during boot):
> 
> http://static.flickr.com/46/157552842_ddb0c61d56_b_d.jpg
> 
> Since there have been multiple versions of
> lockdep-combo-2.6.17-rc5-mm1.patch without any name changes, I'll
> identify the version I used by noting that it is 25646 bytes long,
> with md5sum ac96729e1586c1c82127c9fe796a2350. I compiled the kernel
> with gcc 4.1.1.
> 
> I got essentially the same oops on 2.6.17-rc5-mm1 plus the 3 hotfixes,
> with Debian sarge gcc 3.3.5-13. (Since -lockdep enabled KALLSYMS_ALL,
> gcc 3.3.5 compiled a kernel that is too large to boot off a floppy. In
> order to get the -lockdep kernel onto a floppy for booting, I had to
> debloat it by moving to gcc 4.1.1.)
> 
> Oh, one other change I made to both kernels (but I've been doing this
> since 2.6.14-mm or so with no problems until now -- it appears to be
> needed in order for me to use the Promise PATA libata driver, or at
> least, it was necessary the last time I checked):
> --- include/linux/libata.h.old  2006-05-30 22:48:39.000000000 -0700
> +++ include/linux/libata.h      2006-05-30 22:50:48.000000000 -0700
> @@ -43,7 +43,7 @@
>  #undef ATA_VERBOSE_DEBUG       /* yet more debugging output */
>  #undef ATA_IRQ_TRAP            /* define to ack screaming irqs */
>  #undef ATA_NDEBUG              /* define to disable quick runtime checks */
> -#undef ATA_ENABLE_PATA         /* define to enable PATA support in some
> +#define ATA_ENABLE_PATA                /* define to enable PATA
> support in some                                 * low-level drivers */
> 
> (The above patch is probably mangled because I cut-and-pasted it, but
> I'm really including it for human viewing...)
> 
> 2.6.17-rc4-mm[13] have been perfectly stable on this box.
> 
> I'm attaching my .config for 2.6.17-rc5-mm1-lockdep; hopefully GMail
> will include it inline. I guess I'll go ahead and recompile with the
> lockdep stuff disabled, and see if that still oopses. (I'll do that
> recompile in another directory, so that if anyone needs the System.map
> or anything like that, I can provide it.)

We oopsed, probably in the sata code.  And then, very irritatingly, we
oopsed again while trying to display the backtrace.

The original oops was a jump-to-null.  I had a few of those when getting
the latest git-libata-all tree working, due to missing
ata_port_operations.data_xfer vectors.  But it appears that both sata_sil.c
and sata_promise.c do have those filled in.

Perhaps what you could do is to perturb the flakey backtrace code in such a
manner as to avoid the second oops - change the value of
CONFIG_FRAME_POINTER, for example.

  reply	other threads:[~2006-06-01  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01  0:47 Barry K. Nathan
2006-06-01  1:14 ` Andrew Morton [this message]
2006-06-01  2:47   ` Barry K. Nathan
2006-06-01  4:33     ` Andrew Morton

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=20060531181430.bfe25ad5.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=barryn@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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

Powered by JetHome