linux-mips
[Top] [All Lists]

Re: kernel boot error.

To: Andrew Clausen <clausen@melbourne.sgi.com>
Subject: Re: kernel boot error.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 5 Feb 2003 15:03:40 +0100
Cc: Tibor Polgar <tpolgar@freehandsystems.com>, Jason Ormes <jormes@wideopenwest.com>, linux-mips@linux-mips.org
In-reply-to: <20030205030625.GM27302@pureza.melbourne.sgi.com>; from clausen@melbourne.sgi.com on Wed, Feb 05, 2003 at 02:06:25PM +1100
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200302041841.10507.jormes@wideopenwest.com> <20030205004345.GI27302@pureza.melbourne.sgi.com> <3E406ABC.A9D0D6F@freehandsystems.com> <20030205030625.GM27302@pureza.melbourne.sgi.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Wed, Feb 05, 2003 at 02:06:25PM +1100, Andrew Clausen wrote:

> >   If so, i do
> > recall we had to do some special casing to get the card to work correctly. 
> 
> Yeah, that would be right.  Have you had a look at pci_fixup_ioc3()?
> (That's the network card that seems to come with the Origin 200).  I
> bet it's something similar.

Pci_fixup_ioc3() is only necessary for the IOC3 nic.  It's a PCI board
that's about as broken are it only can be.  The board runs on in PCI busses
clocked at 33MHz.  It only partially decodes the PCI config address space.
Attempted access to one of the nimplemented registers of the IOC3 will
result in access to another register.  That's too buggy for any OS to cope
with without that special kludge pci_fixup_ioc3.

> Just, the base address the card (PCI bus?) is spitting out is very odd:
> 
>       eth0: SGI AceNIC Gigabit Ethernet at 0xfe7fc000, irq 8
> 
> The card is in slot 6, so I'd expect the base address to be 0x8900000.
> Anyway, it dies on this:

Query the address using the usual Linux PCI bus stuff from <linux/pci.h>.
Anything else is doomed, especially guessing ...

  Ralf

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