From owner-freebsd-scsi Wed Sep 15 11:51: 9 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 66AA715344 for ; Wed, 15 Sep 1999 11:50:33 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id UAA27467; Wed, 15 Sep 1999 20:50:11 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id UAA06239; Wed, 15 Sep 1999 20:22:38 +0200 (MET DST) (envelope-from j) Message-ID: <19990915202237.13604@uriah.heep.sax.de> Date: Wed, 15 Sep 1999 20:22:38 +0200 From: J Wunsch To: scsi@FreeBSD.ORG Cc: Kris Kirby Subject: Re: Reformatting a 520-byte-per-sector drive Reply-To: Joerg Wunsch References: <37DF2E67.B9F54D28@airnet.net> <199909150535.XAA40299@panzer.kdm.org> <19990915194941.G30655@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <19990915194941.G30655@freebie.lemis.com>; from Greg Lehey on Wed, Sep 15, 1999 at 07:49:41PM +0930 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Greg Lehey wrote: > The block size change requires a format. It changes the number of > sectors, for example. IIRC, it does require an _immediate_ format command right after the blocksize change, with nothing like an intervening bus reset etc. (or at least with only a very limited number of actions allowed between, like status inquiries). This defeats the idea to use the controller's BIOS in order to format the drive after the mode page change. Instead, use "camcontrol cmd daX -t 7200 -c '4 0 0 0 0 0'" right after changing the blocksize. I'm pretty sure i've done this before successfully (pre-CAM, using the old scsi(8) command). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message