Skip to contentSkip to conversation

[2.6.15] New ATA error messages on upgrade to 2.6.15

PATCH RESEND Mikael Pettersson 2 participants 2 messages Apr 3, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Alan Cox

Unless anyone else is seeing the same problem with the same card variant or you have two cards that do it then there isn't much that can be done I suspect other than assume the hardware is iffy, rightly or wrongly. I'd have expected a lot more reports if it were the controller.

(Having said that if you are reading this and your controller is a Promise and does the same, please say so it might be vital to deducing a pattern to problems)

I have a Beige G3 PowerMac upgraded with a 1GHz G4 CPU (a 7455 on a Sonnet board) and a standard (for x86) Promise 20269 PCI controller card. The 20269+cable+disk does udma5 just fine in a PC, but throws a few BadCRCs at bootup on the PowerMac, resets and drops to udma4, and then things work OK for me, but I don't stress it very much (no RAID).

Since the card's bios doesn't get run at powerup, I always suspected that the driver fails to initialize some timing thing.

Another possibility is the "data coherency" issue in some G4 CPUs which requires mappings of memory shared with other agents to use some additional magic in the page table. This issue caused file system corruption when I used my G4 + 20269 combo under load with 2.4 kernels, until I found and backported a fix from 2.6 to 2.4.28. It's supposed to be handled transparently by arch/{ppc,powerpc}, but it's possible the driver is mapping things incorrectly. (This is just speculation.)

I can provide bootup logs and lspci dumps if you want.

/Mikael

#1 lore raw
Quoted 4 lines · Mikael Pettersson

20269 PCI controller card. The 20269+cable+disk does udma5 just fine in a PC, but throws a few BadCRCs at bootup on the PowerMac, resets and drops to udma4, and then things work OK for me, but I don't stress it very much (no RAID).

Interesting.

Quoted 2 lines

Since the card's bios doesn't get run at powerup, I always suspected that the driver fails to initialize some timing thing.

The BIOS does various bits of PCI bus setup on some systems including latency setting. That might be relevant, especially latency to get bursting.

Quoted 3 lines

Another possibility is the "data coherency" issue in some G4 CPUs which requires mappings of memory shared with other agents to use some additional magic in the page table.

The CRC is computed between the controller as the bits get fired over the cable and drive so it shouldn't be caused by any weird bus timings.

More info would be useful although it may be a while before I can look at it