Google Groups Home
Help | Sign in
da0: invalid sector size 520
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Thomas Stromberg  
View profile
 More options Apr 15 2001, 1:52 pm
Newsgroups: mailing.freebsd.scsi
From: tho...@stromberg.org (Thomas Stromberg)
Date: 16 Apr 2001 01:51:11 +0800
Local: Sun, Apr 15 2001 1:51 pm
Subject: da0: invalid sector size 520
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.

/ Thomas Stromberg

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilko Bulte  
View profile
 More options Apr 15 2001, 2:00 pm
Newsgroups: mailing.freebsd.scsi
From: w...@freebie.demon.nl (Wilko Bulte)
Date: 16 Apr 2001 01:59:27 +0800
Local: Sun, Apr 15 2001 1:59 pm
Subject: Re: da0: invalid sector size 520

On Sun, Apr 15, 2001 at 12:45:32PM -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

Guessing:

Could be a disk from a machine that uses hardware RAID or extra checksumming
in the 8 bytes beyond 512 bytes/sector. You can try to reformat the drive
while first selecting 512 bytes/sector.

W/

--
|   / o / /  _           Arnhem, The Netherlands        email: wi...@freebsd.org
|/|/ / / /( (_) Bulte    FreeBSD/alpha Powered          http://www.freebsd.org        

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Stromberg  
View profile
 More options Apr 15 2001, 2:18 pm
Newsgroups: mailing.freebsd.scsi
From: tho...@stromberg.org (Thomas Stromberg)
Date: 16 Apr 2001 02:16:52 +0800
Local: Sun, Apr 15 2001 2:16 pm
Subject: Re: da0: invalid sector size 520

Not sure where this disk came from, got it from Ebay. The problem I have
is I'm getting this error while trying to reformat it.. from sysinstall,
disklabel, newfs, and dd.. Any advice on how to re-format this disk that
I'm missing? I'm not very experieced with SCSI stuff.

BTW, I'm not on the SCSI mailing list, so any replies should be CC'd to
me

/ Thomas

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Jacob  
View profile
 More options Apr 15 2001, 2:28 pm
Newsgroups: mailing.freebsd.scsi
From: mja...@feral.com (Matthew Jacob)
Date: 16 Apr 2001 02:28:05 +0800
Local: Sun, Apr 15 2001 2:28 pm
Subject: Re: da0: invalid sector size 520

This is a drive that was in a raid unit. Reformat to to 512 byte
sectors. There's some camcontrol magic for doing this, but, frankly, I just
use Solaris.

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Samplonius  
View profile
 More options Apr 15 2001, 2:52 pm
Newsgroups: mailing.freebsd.scsi
From: t...@sdf.com (Tom Samplonius)
Date: 16 Apr 2001 02:50:14 +0800
Local: Sun, Apr 15 2001 2:50 pm
Subject: Re: da0: invalid sector size 520

On Sun, 15 Apr 2001, Thomas Stromberg wrote:
> Not sure where this disk came from, got it from Ebay. The problem I have
> is I'm getting this error while trying to reformat it.. from sysinstall,
> disklabel, newfs, and dd.. Any advice on how to re-format this disk that
> I'm missing? I'm not very experieced with SCSI stuff.

  disklabel, newsfs and dd don't format the disk though.  You will need to
do a low-level SCSI re-format in order to change the sector size to 512
bytes.

  If you read the manpage for "camcontrol", the section on the format
option specifically mentions changing the sector size.  If looks like you
should change the sector size in the modepage, then issue the format
command.

Tom

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilko Bulte  
View profile
 More options Apr 15 2001, 3:14 pm
Newsgroups: mailing.freebsd.scsi
From: w...@freebie.demon.nl (Wilko Bulte)
Date: 16 Apr 2001 03:12:40 +0800
Local: Sun, Apr 15 2001 3:12 pm
Subject: Re: da0: invalid sector size 520

See the man page for 'camcontrol'. You need to give it a low-level SCSI
format. Things like 'dd' etc don't do that for you..

W/

--
|   / o / /  _           Arnhem, The Netherlands        email: wi...@freebsd.org
|/|/ / / /( (_) Bulte    FreeBSD/alpha Powered          http://www.freebsd.org        

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Lehey  
View profile
 More options Apr 15 2001, 7:56 pm
Newsgroups: mailing.freebsd.scsi
From: g...@lemis.com (Greg Lehey)
Date: 16 Apr 2001 07:51:32 +0800
Local: Sun, Apr 15 2001 7:51 pm
Subject: Re: da0: invalid sector size 520

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 g...@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majord...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google