From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by ozlabs.org (Postfix) with SMTP id D8DD92BDB5 for ; Sun, 2 Jan 2005 10:56:35 +1100 (EST) From: Sebastian Heutling To: Sven Luther In-Reply-To: <20041231222808.GB8078@pegasos> References: <200412261435.13562.marc.dietrich@ap.physik.uni-giessen.de> <41CF77A9.9040405@gmx.net> <20041231095557.GA16480@pegasos> <1104505249.6794.5.camel@weizen.left.earth> <20041231222808.GB8078@pegasos> Content-Type: text/plain; charset=ISO-8859-15 Date: Sun, 02 Jan 2005 00:56:29 +0100 Message-Id: <1104623790.10369.14.camel@weizen.left.earth> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Marc Dietrich Subject: Re: [FYI] linux 2.6 still not working with PReP (ppc32) Reply-To: sheutlin@gmx.de List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2004-12-31 at 23:28 +0100, Sven Luther wrote: > On Fri, Dec 31, 2004 at 04:00:49PM +0100, Sebastian Heutling wrote: > > On Fri, 2004-12-31 at 10:55 +0100, Sven Luther wrote: > > > On Mon, Dec 27, 2004 at 03:47:05AM +0100, Christian wrote: > > > > Marc Dietrich schrieb: > > > > >Hi all, > > > > > > > > > >I read this thread about booting a PowerStack with newer kernels. > > > > >Motivated by this, I tried to compile a 2.6.10 kernel on my machine (with > > > > >sym53c825a onboard). Sadly, the scsi controller always timeouts during > > > > >initialisation. I > > > > > > I also have some strange issues with network support using the standard debian > > > 2.6.8 kernel. ifconfig upping the decchip ethernet on the powerstack freezes > > > the kernel, and i hear reports of problems on IBM PReP hardware too with not > > > working ethernet, altough there is no freeze. > > > > > > Any idea on this ? > > > > Does it contain the IRQ patch? Where does it boot from SCSI or net? What > > PCI-Devices are installed? > > Probably not, just the standard debian kernel, i donĂ't remember any irq > patches, but there where a bunch of patches from leighbb. it is done The patch is the one that is included in 2.6.10 which is mentioned above and this thread already has somewhere in the beginning. I attached it below. I haven't had the time yet to test the 2.6.10 kernel. Maybe there is another problem now ... > netbooting, and the only pci device installed is the cirruss logic graphic > card. If you use the standard debian kernel - ok, it doesn't work because of wrong IRQs on the PowerstackII (Utah). BTW: The onboard Winbond IDE chip works as well although no connector is provided. You only need a little bit of soldering and adjusting the IRQ of Slot 1 from 0 to 4. :-) Sebastian Heutling -- diff -puN arch/ppc/platforms/prep_pci.c~ppc32-fix-motorola-prep-powerstackii-utah-pci-irq-map arch/ppc/platforms/prep_pci.c --- 25/arch/ppc/platforms/prep_pci.c~ppc32-fix-motorola-prep-powerstackii-utah-pci-irq-map 2004-12-07 01:01:16.000000000 -0800 +++ 25-akpm/arch/ppc/platforms/prep_pci.c 2004-12-07 01:01:16.000000000 -0800 @@ -49,10 +49,10 @@ static char Utah_pci_IRQ_map[23] __prepd 0, /* Slot 1 - unused */ 5, /* Slot 2 - SCSI - NCR825A */ 0, /* Slot 3 - unused */ - 1, /* Slot 4 - Ethernet - DEC2114x */ + 3, /* Slot 4 - Ethernet - DEC2114x */ 0, /* Slot 5 - unused */ - 3, /* Slot 6 - PCI Card slot #1 */ - 4, /* Slot 7 - PCI Card slot #2 */ + 2, /* Slot 6 - PCI Card slot #1 */ + 3, /* Slot 7 - PCI Card slot #2 */ 5, /* Slot 8 - PCI Card slot #3 */ 5, /* Slot 9 - PCI Bridge */ /* added here in case we ever support PCI bridges */