From: Andrew Morton <akpm@zip.com.au>
To: BURJAN Gabor <burjang@elte.hu>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.17-rc1 kernel panic at boot
Date: Tue, 18 Dec 2001 11:24:51 -0800 [thread overview]
Message-ID: <3C1F9803.73A03973@zip.com.au> (raw)
In-Reply-To: <3C1E2B61.3F9A685E@zip.com.au> <2375.1008649127@kao2.melbourne.sgi.com>, <2375.1008649127@kao2.melbourne.sgi.com> <20011218142339.GA12011@csoma.elte.hu>
BURJAN Gabor wrote:
>
> Hello,
>
> On Tue, Dec 18, Keith Owens wrote:
>
> > Not need to go quite that far. It is not necessary to recompile the
> > entire kernel nor do you need to boot a kernel to get the source code
> > for an instruction.
> >
> > cd linux
> > rm drivers/net/3c59x.o
> > make CFLAGS_3c59x.o=-g vmlinux
> > s=$(sed -ne '/vortex_probe1/s/ .*//p' System.map | tr '[a-z]' '[A-Z]')
> > e=$(echo -e "obase=16\nibase=16\n$s+500" | bc)
> > objdump -S --start-address=0x$s --stop-address=0x$e vmlinux
>
> I did this.
>
> c0264048: 39 32 00 0e addi r9,r18,14
> c026404c: 7d 29 52 14 add r9,r9,r10
> c0264050: 91 7d 01 90 stw r11,400(r29) <==
> vp->options = option;
> c0264054: 93 fd 01 8c stw r31,396(r29)
>
> Full output: http://www.csoma.elte.hu/~burjang/objdump-2001-12-18.out
That particular statement looks OK. I'd be suspecting the
next line:
EL3WINDOW(0);
which is a rather sickly macro which does an outw(N, ioaddr), where
ioaddr was passed into the probe function from the PCI layer.
It seems that this is the first IO instruction which the driver
executes, and that's a likely place for it to crash.
My guess would be that something has gone wrong with the PPC
emulation of `outw' to this PCI device's IO space.
What I suggest you do is to add a
printk("ioaddr=%lx\n", ioaddr);
immediately before that EL3WINDOW statement, then take it up
on the appropriate PPC mailing list.
-
next prev parent reply other threads:[~2001-12-18 19:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 12:08 2.4.17-rc1 kernel panic at boot BURJAN Gabor
2001-12-17 17:29 ` Andrew Morton
2001-12-18 4:18 ` Keith Owens
2001-12-18 14:23 ` BURJAN Gabor
2001-12-18 19:24 ` Andrew Morton [this message]
2001-12-19 13:29 ` BURJAN Gabor
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=3C1F9803.73A03973@zip.com.au \
--to=akpm@zip.com.au \
--cc=burjang@elte.hu \
--cc=linux-kernel@vger.kernel.org \
/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