Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2001 09:19:43 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Thomas Stromberg <thomas@stromberg.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: da0: invalid sector size 520
Message-ID:  <20010416091943.A9649@wantadilla.lemis.com>
In-Reply-To: <01c345844160f41FE6@Mail6.nc.rr.com>; from thomas@stromberg.org on Sun, Apr 15, 2001 at 12:45:32PM -0400
References:  <01c345844160f41FE6@Mail6.nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 15 April 2001 at 12:45:32 -0400, Thomas Stromberg wrote:
> I'm trying to add the following Seagate Barracuda to my FreeBSD box:
>
> da0: <SEAGATE ST15150N 3514> Fixed Direct Access SCSI-2 device
> da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> da0: 4087MB (8242659 520 byte sectors: 255H 63S/T 513C)
>
> notice the 520 byte sectors? This occurs whenever I try to do any
> operations (sysinstall, dd, disklabel) with da0:
>
> da0: invalid sector size 520
>
> The machine is 5.0-CURRENT as of Wednesday, but I dont think that will
> matter much. Is there something I'm missing? Please CC any replies to
> me, I'm not on this particular list.

Try this:

========================================================================
Yup, there's some other way to change it.  Set the current values,
then immediately issue a format command:

  # camcontrol cmd da1 -v -c "15 10 0 0 v:i1 0" 12 -o 12 "0 0 0 8  0 0:i3 0 v:i3" 512
  # camcontrol cmd -n da -u 1 -v -t 7200 -c "4 0 0 0 0 0"
  # camcontrol modepage da1 -m 3
  Tracks per Zone:  19
  Alternate Sectors per Zone:  12
  Alternate Tracks per Zone:  0
  Alternate Tracks per Logical Unit:  38
  Sectors per Track:  84
  Data Bytes per Physical Sector:  512
  Interleave:  1
  Track Skew Factor:  13
  Cylinder Skew Factor:  22
  SSEC:  0
  HSEC:  1
  RMB:  0
  SURF:  0


========================================================================

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

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?20010416091943.A9649>