[FYI] linux 2.6 still not working with PReP (ppc32)

Sven Luther sven.luther at wanadoo.fr
Sun Jan 2 20:39:09 EST 2005


On Sun, Jan 02, 2005 at 12:56:29AM +0100, Sebastian Heutling wrote:
> 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 ...

The one with three lines of modified irq lines from tom rini ? I found it in
google, but i also saw another bunch of prep changes which got in 2.6.9 i
think. Since debian is still using 2.6.8 and a bunch of backports, these may
be relevant, i think.

Also, i think for some reason i was unsubscribed while the list moved to
ozlab, and lost maybe the start of the thread, thanks for the attachement.

> > 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).

Which i will now fix now that i am aware of the problem. There seem to be also
a problem on IBM prep hardware, may it be related ?

> 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. :-)

Ah, wondered about that, and saw the slots are not soldered. I wonder why go
to all the trouble including a IDE chip, but not solder the connectors. Seems
to me like peanut savings or something.

Friendly,

Sven Luther
> 
> 
> 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 */
> 
> 
> 




More information about the Linuxppc-dev mailing list