Subject: Re: PREP sym53c8xx sym53c8xx brokeness due to 2.6.9-rc1-bk1 introduced residual data patch ...

From: Tom Rini <[email-masked]>
Date: Tue, 5 Apr 2005 07:38:02 -0700

On Tue, Apr 05, 2005 at 07:39:31AM +0200, Sven Luther wrote:
> On Tue, Apr 05, 2005 at 02:03:06AM +0200, Christian wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Sven Luther wrote:
> > >>># This is a BitKeeper generated diff -Nru style patch.
> > >>>#
> > >>># ChangeSet
> > >>>#   2004/08/16 10:35:18-07:00 [email-masked]
> > >>>#   ppc32: On PReP, use residual data for PCI dev -> IRQ, and use it.
> > >
> > > I got through all the changesets one by one, and it is most definitively this
> > > one. i unapply it and it works, i apply it and it breaks.
> > 
> > i can confirm this one.
> > 
> > the changesets are listed here:
> > http://linux.bkbits.net:8080/linux-2.6/[email-masked]
> > 
> > ...and because i had some troubles getting a GNU diff-style patch with
> > /usr/bin/bk, i made one against 2.6.11.6:
> > 
> > http://nerdbynature.de/bits/hal/2.6.11.6/1.1803.125.6.diff
> > 
> > more info and dmesg under:
> > 
> > http://nerdbynature.de/bits/hal/2.6.11.6/
> > 
> > to summarize: i don't know exactly which changes, but *some* changes had
> > to be made to arch/ppc/platforms/prep_pci.c to get the network card
> > working [1] again (network code kept locking up the machine). after this
> > issue was resolved, i too noticed the scsi errors [2] others were
> > complaing about.
> 
> The issue seems obvious, the patch adds some different way of setting the
> irqs, based on the residual data, which fails to do what it should on the
> powerstack, and thus the irqs are fully left uninitialized. 

Can either of you verify that say 2.6.11.6 w/ "noresidual" on the
command-line works?  Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/