linux-mips
[Top] [All Lists]

Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.
From: Chris Dearman <chris@mips.com>
Date: Mon, 03 Sep 2007 16:50:06 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20070904.000501.41013092.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S20024438AbXHGQ1m/20070807162742Z+2733@ftp.linux-mips.org> <20070904.000501.41013092.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Atsushi Nemoto wrote:
Why pci_get_class() in ide_default_io_base() cause crash on SMTC?

The bug wasn't really SMTC specific, it was just that it showed up on SMTC builds. The failure was caused by the early parsing of the idebus=xx argument. The argument parser ended up calling
pci_scan that unconditionally enabled interrupts prematurely.

Ralf says this has now been fixed in head of tree:
Turns out our dear friends at Intel recently had trouble with some JVC CDROM
drive and their changes made a proper fix for us fairly easy.

master: 00cc123703425aa362b0af75616134cbad4e0689
2.6.22: 50a32ae87aed46b01c8e0c2e90cd6f06a3800c33

For older kernels the generic PCI code doesn't have the necessary bits in so
that'd be somewhat more surgery than I want in lmo.

Chris

--
Chris Dearman          7200 Cambridge Research Park     +44 1223 203108
MIPS Technologies (UK) Waterbeach, Cambs CB25 9TL  fax  +44 1223 203181


<Prev in Thread] Current Thread [Next in Thread>