Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 22:08:45 +0200 (MEST)
From:      Oliver Nissen <olli@graal.camelot.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7664: scsiformat reports '0' for all parameters
Message-ID:  <199808172008.WAA10202@gradalis.local.net>

next in thread | raw e-mail | index | archive | help

>Number:         7664
>Category:       kern
>Synopsis:       scsiformat reports '0' for all parameters
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 18 12:20:00 PDT 1998
>Last-Modified:
>Originator:     Oliver Nissen
>Organization:
CameloT Online Services
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

FreeBSD 3.0-CURRENT i386 as of 07/27/98

Excerpt from dmesg:
[...]
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0: target 0 Tagged Queuing Device
sd0 at scbus0 target 0 lun 0
sd0: <IBM DCAS-34330 S61A> type 0 fixed SCSI 2
sd0: Direct-Access 4134MB (8467200 512 byte sectors)
od0 at scbus0 target 2 lun 0
od0: <FUJITSU M2513E 0040> type 7 removable SCSI 2
od0: Optical od not present
cd0 at scbus0 target 4 lun 0
cd0: <PIONEER CD-ROM DR-U12X 1.06> type 5 removable SCSI 2
cd0: CD-ROM can't get the size
pt0 at scbus0 target 5 lun 0
pt0: <HP C5110A 3638> type 3 fixed SCSI 2
pt0: Processor
[...]

>Description:

	When I issue the scsiformat command for the od0 device trying to format a 640MB magneto-optical medium (2048 Bytes per sector), I get:

%scsiformat /dev/od0
FUJITSU
M2513E
0040

SCIOCCOMMAND ioctl: Command accepted.
return status 3 (Sense Returned) host adapter status 2
Command out (6 of 6):
1a 00 04 00 64 00

Data in (0 of 72):

Error code is "current errors"
Segment number is 00
Sense key is "Illegal request"
The Information field is not valid but contains 00000000 (0).
The Command Specific Information field is 00000000 (0).
Additional sense code: 24
Additional sense code qualifier: 00
sense (32 of 48):
70 00 05 00 00 00 00 18 00 00 00 00 24 00 00 00
22 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Mode data length:  0
Medium type:  0
Device Specific Parameter:  0
Block descriptor length:  0
Density code:  0
Number of blocks:  0
Reserved:  0
Block length:  0
PS:  0
Reserved:  0
Page code:  0
Page length:  0
Number of Cylinders:  0
Number of Heads:  0
Starting Cylinder-Write Precompensation:  0
Starting Cylinder-Reduced Write Current:  0
Drive Step Rate:  0
Landing Zone Cylinder:  0
Reserved:  0
RPL:  0
Rotational Offset:  0
Reserved:  0
Medium Rotation Rate:  0
Reserved:  0
Reserved:  0


>How-To-Repeat:

	issue scsiformat command

>Fix:
	
	Anyway, actually formatting a 640MB disk DOES work

>Audit-Trail:
>Unformatted:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808172008.WAA10202>