Date: Tue, 14 Jan 2003 12:17:27 -0800 (PST) From: Nate Lawson <nate@root.org> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-scsi@freebsd.org Subject: Re: quirk candidate: SEAGATE ST52160N Message-ID: <Pine.BSF.4.21.0301141212540.39326-100000@root.org> In-Reply-To: <579060000.1042573021@aslan.btc.adaptec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jan 2003, Justin T. Gibbs wrote: > What you should probably do is trace the sense buffer both before > and after the sense is retrieved. Perhaps fill the target sense > buffer with a known pattern, log the transfer residual, and see if > the number of bytes overwritten is as you would expect. i.e. memset(csio.sense_data.sense_buf, 0xa5, sizeof csio.sense_data); before sending the sync cache in camcontrol, then printf("resid %d, sense_resid %d\n", csio.resid, csio.sense_resid); afterwards. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301141212540.39326-100000>