From: Jeff Garzik <jgarzik@pobox.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Daniel Craig <dancraig@internode.on.net>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test9-bk16 ALi M5229 kernel boot error
Date: Tue, 11 Nov 2003 22:50:04 -0500 [thread overview]
Message-ID: <3FB1ADEC.80600@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0311111901490.1694-100000@home.osdl.org>
Linus Torvalds wrote:
> On Wed, 12 Nov 2003, Daniel Craig wrote:
>
>>Does anyone have any idea what might be going wrong...?
>
>
> Yes. The ALI driver has some really strange code to avoid tweaking non-ALI
> southbridges.
>
> But the thing is, it breaks even _with_ ALI southbridges, if we just don't
> find the ALI bridge we expect.
>
> Does this patch fix it?
>
> Linus
>
> ---
> --- 1.15/drivers/ide/pci/alim15x3.c Sun Aug 24 15:33:30 2003
> +++ edited/drivers/ide/pci/alim15x3.c Tue Nov 11 19:03:21 2003
> @@ -578,7 +578,6 @@
> {
> unsigned long flags;
> u8 tmpbyte;
> - struct pci_dev *north = pci_find_slot(0, PCI_DEVFN(0,0));
>
> pci_read_config_byte(dev, PCI_REVISION_ID, &m5229_revision);
>
> @@ -625,11 +624,9 @@
>
> /*
> * We should only tune the 1533 enable if we are using an ALi
> - * North bridge. We might have no north found on some zany
> - * box without a device at 0:0.0. The ALi bridge will be at
> - * 0:0.0 so if we didn't find one we know what is cooking.
> + * south bridge.
> */
> - if (north && north->vendor != PCI_VENDOR_ID_AL) {
> + if (!isa_dev) {
> local_irq_restore(flags);
> return 0;
For a little bit of history, this 'if' test succeeds on Alpha. We
return here on Alpha to avoid x86-specific stuff.
Al, any chance you could test Linus's patch? It hinges on whether the
Alpha will match the southbridge (isa_dev), rather than the northbridge.
This seems like a safe bet, but better to test and be sure...
Jeff
next prev parent reply other threads:[~2003-11-12 3:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 2:46 2.6.0-test9-bk16 ALi M5229 kernel boot error Daniel Craig
2003-11-12 3:04 ` Linus Torvalds
2003-11-12 3:50 ` Jeff Garzik [this message]
2003-11-12 4:36 ` viro
2003-11-12 5:29 ` Linus Torvalds
2003-11-12 4:21 ` Daniel Craig
2003-11-12 4:31 ` viro
2003-11-12 6:58 ` David S. Miller
2003-11-12 15:06 ` Ivan Kokshaysky
2003-11-12 15:52 ` Linus Torvalds
2003-11-12 16:39 ` Ivan Kokshaysky
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=3FB1ADEC.80600@pobox.com \
--to=jgarzik@pobox.com \
--cc=dancraig@internode.on.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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