* aic7xxx revisited...
@ 2003-12-19 9:22 Alec Wood
2003-12-19 10:42 ` Benjamin Herrenschmidt
2003-12-19 17:01 ` Gavin Hemphill
0 siblings, 2 replies; 4+ messages in thread
From: Alec Wood @ 2003-12-19 9:22 UTC (permalink / raw)
To: linuxppc-dev
I'm attempting to compile a stock 2.4.23 on my PowerMac G4/667, and
appear to be hitting the same bug that Ethan Weinstein reported a while
back. Have there been any insights into the source of the problem?
I haven't been able to get any good diagnostic information yet (other
than the SRR1=149030 bit), and Ben's advice on getting xmon to print to
the screen doesn't appear to be germaine to the newer kernel.
I actually first hit the problem whilst installing YDL 3.0.1 -- the
installer crashed at every boot until I pulled the SCSI card out
(Adaptec AHA-7850 (rev 3)).
I've also found that the same crash occurs with both the new and old
aic7xxx drivers, and also as a compiled-in driver or at insmod time. My
old 2.4.18 works great (new aic7xxx), but I'd like to get up-to-date...
Any thoughts?
-Alec
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aic7xxx revisited...
2003-12-19 9:22 aic7xxx revisited Alec Wood
@ 2003-12-19 10:42 ` Benjamin Herrenschmidt
2003-12-19 16:55 ` Alec Wood
2003-12-19 17:01 ` Gavin Hemphill
1 sibling, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2003-12-19 10:42 UTC (permalink / raw)
To: Alec Wood; +Cc: linuxppc-dev list
On Fri, 2003-12-19 at 20:22, Alec Wood wrote:
> I'm attempting to compile a stock 2.4.23 on my PowerMac G4/667, and
> appear to be hitting the same bug that Ethan Weinstein reported a while
> back. Have there been any insights into the source of the problem?
>
> I haven't been able to get any good diagnostic information yet (other
> than the SRR1=149030 bit), and Ben's advice on getting xmon to print to
> the screen doesn't appear to be germaine to the newer kernel.
>
> I actually first hit the problem whilst installing YDL 3.0.1 -- the
> installer crashed at every boot until I pulled the SCSI card out
> (Adaptec AHA-7850 (rev 3)).
>
> I've also found that the same crash occurs with both the new and old
> aic7xxx drivers, and also as a compiled-in driver or at insmod time. My
> old 2.4.18 works great (new aic7xxx), but I'd like to get up-to-date...
Try to find all occurences of
#define MMAPIO
in drivers/aic7xxx/* and replace them with
#undef MMAPIO
Then let me know.
Justin Gibbs claim there is a HW bug in the PCI bridge of those machines
causing write coalescing while that shouldn't happen, and he has code
that triggers that crash (a machine check caused by a PCI target abort)
on bridges that have this problem.
While I agree that an early crash is better than silent malfunction, I
still think something weird is going on here, maybe we are misconfiguring
something in the CPU (not broadcasting eieo to the bus) or the apple
nortbridge isn't doing things right... Unfortunately, I haven't had
direct access to HW showing the problem and thus couldn't investigate
more.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aic7xxx revisited...
2003-12-19 10:42 ` Benjamin Herrenschmidt
@ 2003-12-19 16:55 ` Alec Wood
0 siblings, 0 replies; 4+ messages in thread
From: Alec Wood @ 2003-12-19 16:55 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
Thus spake Benjamin Herrenschmidt:
> Try to find all occurences of
>
> #define MMAPIO
>
> in drivers/aic7xxx/* and replace them with
>
> #undef MMAPIO
>
> Then let me know.
Yeah, it boots fine after doing that!
<snip>
> While I agree that an early crash is better than silent malfunction, I
> still think something weird is going on here, maybe we are misconfiguring
> something in the CPU (not broadcasting eieo to the bus) or the apple
> nortbridge isn't doing things right... Unfortunately, I haven't had
> direct access to HW showing the problem and thus couldn't investigate
> more.
Well, I don't have any kernel development experience per se, but I'd
like to make myself useful... please advise!
Cheers,
Alec
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aic7xxx revisited...
2003-12-19 9:22 aic7xxx revisited Alec Wood
2003-12-19 10:42 ` Benjamin Herrenschmidt
@ 2003-12-19 17:01 ` Gavin Hemphill
1 sibling, 0 replies; 4+ messages in thread
From: Gavin Hemphill @ 2003-12-19 17:01 UTC (permalink / raw)
To: Alec Wood, linuxppc-dev
I also have a similar machine, and can confirm that the YDL 2.4.22
series kernels machine check if either/or both cards are installed.
The old adaptec driver works on 22-2a, 22-2f, and 22-2g (built as a
module, as long as you don't build the new driver at all and of course
rename the object file), and Ben's latest kernel 2.4.22-ben1 from bk
does not exhibit the problem with the new adaptec driver built as a
module (It however blanks my screen (22" cinema on an ATI 7500) as soon
as I try and start x - can't even switch consoles). All of the kernels
except the benh one were built using the config file in the configs
directory changing only the adaptec driver with menuconfig. The benh
kernel was built with the config from 22-2f and an oldconfig done.
cpuinfo is as follows:
cpu : 7450, altivec supported
clock : 733MHz
revision : 2.0 (pvr 8000 0200)
bogomips : 730.72
machine : PowerMac3,4
motherboard : PowerMac3,4 MacRISC2 MacRISC Power Macintosh
board revision : 00000000
detected as : 69 (PowerMac G4 Silver)
pmac flags : 00000000
L2 cache : 256K unified
memory : 1536MB
pmac-generation : NewWorld
Card Spec's are:
10:12.0 SCSI storage controller: Adaptec AHA-7850 (rev 03)
Subsystem: Adaptec AHA-2904/Integrated AIC-7850
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (1000ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 52
Region 0: I/O ports at 1000 [size=256]
Region 1: Memory at 80083000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 80090000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
10:15.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
Subsystem: Adaptec 29160 Ultra160 SCSI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (10000ns min, 6250ns max), cache line size 08
Interrupt: pin A routed to IRQ 58
BIST result: 00
Region 0: I/O ports at 1400 [size=256]
Region 1: Memory at 80082000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at 800a0000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Alec Wood wrote:
> I'm attempting to compile a stock 2.4.23 on my PowerMac G4/667, and
> appear to be hitting the same bug that Ethan Weinstein reported a while
> back. Have there been any insights into the source of the problem?
>
> I haven't been able to get any good diagnostic information yet (other
> than the SRR1=149030 bit), and Ben's advice on getting xmon to print to
> the screen doesn't appear to be germaine to the newer kernel.
>
> I actually first hit the problem whilst installing YDL 3.0.1 -- the
> installer crashed at every boot until I pulled the SCSI card out
> (Adaptec AHA-7850 (rev 3)).
>
> I've also found that the same crash occurs with both the new and old
> aic7xxx drivers, and also as a compiled-in driver or at insmod time. My
> old 2.4.18 works great (new aic7xxx), but I'd like to get up-to-date...
>
> Any thoughts?
> -Alec
>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-19 17:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 9:22 aic7xxx revisited Alec Wood
2003-12-19 10:42 ` Benjamin Herrenschmidt
2003-12-19 16:55 ` Alec Wood
2003-12-19 17:01 ` Gavin Hemphill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).