Date: Wed, 15 Sep 1999 19:49:41 +0930 From: Greg Lehey <grog@lemis.com> To: "Kenneth D. Merry" <ken@kdm.org> Cc: Kris Kirby <kris@airnet.net>, scsi@FreeBSD.ORG Subject: Re: Reformatting a 520-byte-per-sector drive Message-ID: <19990915194941.G30655@freebie.lemis.com> In-Reply-To: <199909150535.XAA40299@panzer.kdm.org>; from Kenneth D. Merry on Tue, Sep 14, 1999 at 11:35:28PM -0600 References: <37DF2E67.B9F54D28@airnet.net> <199909150535.XAA40299@panzer.kdm.org>
index | next in thread | previous in thread | raw e-mail
On Tuesday, 14 September 1999 at 23:35:28 -0600, Kenneth D. Merry wrote:
> Kris Kirby wrote...
>> Kenneth D. Merry wrote:
>>> Kris Kirby wrote...
>>>> #root:orgy: {15} camcontrol cmd da0 -v -c "15 10 0 0 c 0" -o 0xc "b 0 0
>>>> 8 0 v:i3 0 v:i3" 1962030 512
>>>> camcontrol: error sending command
>>>> (pass0:aha0:0:0:0): MODE SELECT(06). CDB: 15 10 0 0 c 0
>>>> (pass0:aha0:0:0:0): ILLEGAL REQUEST asc:26,0
>>>> (pass0:aha0:0:0:0): Invalid field in parameter list sks:80,0
>>>
>>> Well, I neglected the fact that the length parameter in the mode page
>>> header is reserved for mode select. The above error is pointing to the
>>> first byte in the parameter list. So, try this instead:
>>>
>>> camcontrol cmd da0 -v -c "15 10 0 0 c 0" -o 0xc "0 0 0 8 0 v:i3 0 v:i3" 1962030 512
>>
>>
>>> Good deal. Let me know whether this works.
>>
>> As of now, it is running this command. Until the machine hangs... (I
>> have a bad widdle 1542CF. But three good 1542Bs. Well, the CF is the
>> only one with a BIOS more intelligent than mud. :-)
>
> I'm not sure I understand. Is the drive doing anything? Does the
> machine/card normally hang?
>
> I would expect the blocksize change to go pretty quickly, unless the drive
> automatically does a format or something similar when you change the
> blocksize. (With other drives, you change the blocksize and then format.)
The block size change requires a format. It changes the number of
sectors, for example.
> Can you tell if the drive is doing anything?
The 1542B doesn't illuminate the LED when formatting. The CF could be
the same.
Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990915194941.G30655>
