Re: [FYI] linux 2.6 still not working with PReP (ppc32)
From: Sebastian Heutling <hidden>
Date: 2005-01-01 23:56:35
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:quoted
On Fri, 2004-12-31 at 10:55 +0100, Sven Luther wrote:quoted
On Mon, Dec 27, 2004 at 03:47:05AM +0100, Christian wrote:quoted
Marc Dietrich schrieb:quoted
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. II 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-0701: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 */