From: "Samuel Masham" <samuel.masham@gmail.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: "Rob Landley" <rob@landley.net>,
linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org
Subject: Re: 2.6.24 panics initializing ne2k in mips.
Date: Fri, 22 Feb 2008 23:17:44 +0900 [thread overview]
Message-ID: <93564eb70802220617x4de21db0g3291cfc4905c48c5@mail.gmail.com> (raw)
In-Reply-To: <20080129111622.GC7237@linux-mips.org>
Hi all,
On Tue, Jan 29, 2008 at 8:16 PM, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Mon, Jan 28, 2008 at 02:17:37AM -0600, Rob Landley wrote:
>
> > The 2.6.23 kernel built for mips with the attached .config works fine for me
> > under qemu (both big endian and little endian), but a 2.6.24 mips kernel
> > segfaults initializing the ne2k driver (again when run under qemu).
> >
> > I've traced it to this commit:
>
> Known problem. The issue only hits when probing IRQs as the NE2000 driver
> does. This got dropped on the floor in December.
In 2.6.24.2 under qemu (default config as well as my one) its still
dies at this point.
Unfortunately just reversing this patch dosen't help for me.
It seems that handle_IRQ_event is passed a null pointer for the action.
[17179569.896000] [<80067544>] handle_IRQ_event+0x148/0x154
[17179569.896000] [<800692dc>] handle_percpu_irq+0x4c/0xbc
[17179569.896000] [<80010d88>] plat_irq_dispatch+0xe8/0x110
[17179569.896000] [<80011424>] ret_from_irq+0x0/0x4
[17179569.896000] [<80069680>] probe_irq_on+0xe0/0x304
[17179569.896000] [<80384148>] ne_probe1+0x5c0/0x798
[17179569.896000] [<80384434>] do_ne_probe+0x114/0x1f8
[17179569.896000] [<80384568>] ne_probe+0x50/0x94
[17179569.896000] [<803839b8>] probe_list2+0x70/0x9c
[17179569.896000] [<80383a98>] net_olddevs_init+0xb4/0xf0
[17179569.896000] [<80367b44>] kernel_init+0x14c/0x3b0
[17179569.896000] [<80013350>] kernel_thread_helper+0x10/0x18
....
If i just avoid the probing by giving the correct irq (23?) to the ne
driver things still look very odd...
eg:-
[17179569.908000] eth0: interrupt from stopped card
and when trying to mount the root fs
[17179574.636000] eth0: Interrupted while interrupts are masked!
isr=0x40 imr=0x0.
[17179574.640000] eth0: Interrupted while interrupts are masked!
isr=0x0 imr=0x0.
[17179574.644000] eth0: Interrupted while interrupts are masked!
isr=0x2 imr=0x0.
[17179574.648000] eth0: Interrupted while interrupts are masked!
isr=0x0 imr=0x0.
[17179574.652000] eth0: Interrupted while interrupts are masked!
isr=0x40 imr=0x0.
though it has mounted the root fs a few times with all that going on....
Is this all known issues or should I dig further?
Samuel
>
> Ralf
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2008-02-22 14:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 8:17 Rob Landley
2008-01-29 5:51 ` Rob Landley
2008-01-29 11:16 ` Ralf Baechle
2008-01-29 11:20 ` [PATCH 1/2] IRQ_NOPROBE helper functions Ralf Baechle
2008-01-29 11:21 ` [PATCH 2/2] MIPS: Mark all but i8259 interrupts as no-probe Ralf Baechle
2008-01-31 7:56 ` [PATCH 1/2] IRQ_NOPROBE helper functions Rob Landley
2008-02-22 14:17 ` Samuel Masham [this message]
2008-02-22 22:19 ` 2.6.24 panics initializing ne2k in mips Rob Landley
2008-02-23 7:56 ` Samuel Masham
2008-02-23 21:43 ` Rob Landley
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=93564eb70802220617x4de21db0g3291cfc4905c48c5@mail.gmail.com \
--to=samuel.masham@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=rob@landley.net \
/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
all inboxes | Powered by JetHome®