SCSI breakage on PowerMac 9500 (oldworld) between 2.6.19.7 and 2.6.20
Hi,
it seems SCSI got broken somewhere on the way from 2.6.19.7 to 2.6.20 on oldworld Apple PowerMacs 9500 using the internal mesh-controller. The kernel fails to read the partition table from the drive(s) with the following messages:
| mesh_host_reset | mesh: target 0 synchronous at 10.0 MB/s | sd 0:0:0:0: scsi: Device offlined - not ready after error recovery | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sda : READ CAPACITY failed. | sda : status=0, message=00, host=1, driver=00 | sda : sense not available. | sd 0:0:0:0: rejecting I/O to offline device | sda: Write Protect is off | sd 0:0:0:0: rejecting I/O to offline device | sda: asking for cache data failed | sda: assuming drive cache: write through | sd 0:0:0:0: Attached scsi disk sda
(...)
mesh.c and mesh.h (in drivers/scsi/) are identical between the two versions, so it seems that this is something at a different layer...
Maybe it's connected to http://marc.info/?l=linux-scsi&m=117596425706527&w=2
but my test of 2.6.21-rc5 failed similarly to the test of 2.6.20.
You can find kernel-config, full boot-time-output and build-logs at
http://www.geweb.net/tmp/linux-kernel/
README contains the commands used (on a debian r3.1 sarge box) if you'd like to check the builds (see linux-$VERSION for precise make-calls).
I can test a version between the two mentioned above if you let me know which one.
Martin
Signature · 7 lines
/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\ | PGP-Key 0x0F10B493 available via www.de.pgp.net, see header for fpr | \___________________________________________________________________/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 29 lines · On Wed, 11 Apr 2007 00:12:17 +0200 Martin Geier wrote:
Hi,
it seems SCSI got broken somewhere on the way from 2.6.19.7 to 2.6.20 on oldworld Apple PowerMacs 9500 using the internal mesh-controller. The kernel fails to read the partition table from the drive(s) with the following messages:
| mesh_host_reset | mesh: target 0 synchronous at 10.0 MB/s | sd 0:0:0:0: scsi: Device offlined - not ready after error recovery | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sd 0:0:0:0: rejecting I/O to offline device | sda : READ CAPACITY failed. | sda : status=0, message=00, host=1, driver=00 | sda : sense not available. | sd 0:0:0:0: rejecting I/O to offline device | sda: Write Protect is off | sd 0:0:0:0: rejecting I/O to offline device | sda: asking for cache data failed | sda: assuming drive cache: write through | sd 0:0:0:0: Attached scsi disk sda(...)
mesh.candmesh.h(indrivers/scsi/) are identical between the two versions, so it seems that this is something at a different layer...
Maybe it's connected to http://marc.info/?l=linux-scsi&m=117596425706527&w=2
but my test of 2.6.21-rc5 failed similarly to the test of 2.6.20.
Quoted 7 lines
You can find kernel-config, full boot-time-output and build-logs at
http://www.geweb.net/tmp/linux-kernel/
README contains the commands used (on a debian r3.1 sarge box) if you'd like to check the builds (see linux-$VERSION for precise make-calls).I can test a version between the two mentioned above if you let me know which one.
There was a similar report for the imm driver, with a follow-up report that 2.6.21-rc5 works. Could you test 2.6.21-rc6?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Hi
Quoted 1 line · Randy Dunlap
On Wed, 11 Apr 2007 00:12:17 +0200 Martin Geier wrote:
(..)
Quoted 2 lines
Quoted 2 lines
Maybe it's connected to http://marc.info/?l=linux-scsi&m=117596425706527&w=2
but my test of 2.6.21-rc5 failed similarly to the test of 2.6.20.
(..)
Quoted 2 lines
There was a similar report for the imm driver, with a follow-up report that 2.6.21-rc5 works. Could you test 2.6.21-rc6?
I think I saw that one (in case you mean the one mentioned above). rc5 (*) didn't work, but fortunately rc6 does work. Do you have any idea which commit fixed this (and if I can apply it against 2.6.20.6)?
Martin
*)
http://www.de.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc5.tar.bz2
vs.
http://www.de.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc6.tar.bz2
Signature · 7 lines
/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\ | PGP-Key 0x0F10B493 available via www.de.pgp.net, see header for fpr | \___________________________________________________________________/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · On Wed, 11 Apr 2007 03:08:50 +0200 Martin Geier wrote:
Hi
Quoted 1 line · Randy Dunlap
On Wed, 11 Apr 2007 00:12:17 +0200 Martin Geier wrote:
(..)
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Maybe it's connected to http://marc.info/?l=linux-scsi&m=117596425706527&w=2
but my test of 2.6.21-rc5 failed similarly to the test of 2.6.20.(..)
Quoted 2 lines
There was a similar report for the imm driver, with a follow-up report that 2.6.21-rc5 works. Could you test 2.6.21-rc6?
I think I saw that one (in case you mean the one mentioned above). rc5 (*) didn't work, but fortunately rc6 does work. Do you have any idea which commit fixed this (and if I can apply it against 2.6.20.6)?
No, sorry, I don't know what patch fixes it. I just know that I can reproduce the failure + fix using the imm driver.
Quoted 6 lines
Martin
*)
http://www.de.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc5.tar.bz2
vs.
http://www.de.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.21-rc6.tar.bz2
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Hi Randy, hi David, hi all
Quoted 6 lines · Randy Dunlap
Quoted 3 lines · On Wed, 11 Apr 2007 03:08:50 +0200 Martin Geier wrote:
I think I saw that one (in case you mean the one mentioned above). rc5 (*) didn't work, but fortunately rc6 does work. Do you have any idea which commit fixed this (and if I can apply it against 2.6.20.6)?
No, sorry, I don't know what patch fixes it. I just know that I can reproduce the failure + fix using the imm driver.
Ok, I think I got it: 2.6.20.6 (current -stable) patched with git-commit 8cc574a3c5cea70229f243a6b57fd69e60491d82 (see * for full link) works. So apparently this commit fixed more than it originally was tought of (I added David S. Miller, the committer of the patch, to CC).
Martin
Signature · 7 lines
/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\ | PGP-Key 0x0F10B493 available via www.de.pgp.net, see header for fpr | \___________________________________________________________________/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html