Subject: mesh SCSI
To: None <port-macppc@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 12/27/2005 15:49:02
--Signature_Tue__27_Dec_2005_15_49_02_-0500_MOEdryWm5G+HHWxj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

just before christmas I committed a small fix to the mesh driver which
corrected a typo that would prevent any SCSI status information from
getting passed to the scsipi layer. This should cure a lot of weird
problems that plagued mesh forever.
So anyone with this sort of hardware please try the following things:
- enable synchronous mode and see if it works now ( 1s in the upper 8
  bit in the flags field in mesh* at obio? flags 0xffff disable sync
  negoatiation for each target, flags 0xfeff would enable sync for
  target 0 )=20
- power down a disk and see if it spins up again when needed ( scsictl=20
  sd0 stop ) - run 'sync' before trying this, just in case something =20
  goes wrong. A kernel without a the fix will panic here ( the
  filesystem tries to read, gets no data and no error so it assumes
  something really bad happened )
- try to use a ZIP drive connected to mesh. However, do NOT enable sync
  negotiation for a ZIP drive, it still locks up when scanning the bus.
  Apparently the entry in the SCSI quirks table that should disable
  sync for ZIP drives isn't honoured for some reason.

All these things work fine with my S900, at least the latter two had
massive problems before.

have fun
Michael

--Signature_Tue__27_Dec_2005_15_49_02_-0500_MOEdryWm5G+HHWxj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ7Gow8pnzkX8Yg2nAQLljQf/QEkSq1dKnpzsr2ekdW2jF6s/qRt6z5pE
hC0ho9bM2aOCpjZt4xyL8XQJsfyeYIWlaRkNwFymSpf1JZv2lSyyEdI/Zn9/K3AU
leT8buz+H24IWAhL8NJLUlcFYs9pgJKndl+NsQYnT/shpmojtudVuv4c5UtDCzJn
tIc3rnVm6Ad60sCTsdPu32FeP4Emeho8poH8ZgI+1daHy2YDpO/fxNrSW0AekrCU
6qR0Zn48GSgnJaz7/7ime6gxD1gtSpI8sfX6zxFDVfAosV8zwhdiG8V7nDX1bzjB
okyyCEbVbxj4nKQmvc9vg4bxVRydSyzfMG4teWHGs8rMe297BPWjhQ==
=neJv
-----END PGP SIGNATURE-----

--Signature_Tue__27_Dec_2005_15_49_02_-0500_MOEdryWm5G+HHWxj--