From owner-freebsd-bugs Tue Aug 18 12:20:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10601 for freebsd-bugs-outgoing; Tue, 18 Aug 1998 12:20:08 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10539 for ; Tue, 18 Aug 1998 12:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA07921; Tue, 18 Aug 1998 12:20:01 -0700 (PDT) Received: from mail.camelot.de (mail.camelot.de [195.30.224.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09811 for ; Tue, 18 Aug 1998 12:16:22 -0700 (PDT) (envelope-from olli@graal.camelot.de) Received: from robin.camelot.de (uucp@robin.camelot.de [195.30.224.3]) by mail.camelot.de (8.8.8/8.8.8) with ESMTP id VAA20743 for ; Tue, 18 Aug 1998 21:15:45 +0200 (CEST) (envelope-from olli@graal.camelot.de) Received: (from uucp@localhost) by robin.camelot.de (8.8.8/8.8.8) with UUCP id VAA20740 for FreeBSD-gnats-submit@freebsd.org; Tue, 18 Aug 1998 21:15:45 +0200 (CEST) (envelope-from olli@graal.camelot.de) Received: from gradalis.local.net (gradalis [192.168.0.44]) by graal.camelot.de (8.8.5/8.8.5) with ESMTP id WAA25614 for ; Mon, 17 Aug 1998 22:06:39 +0200 (MET DST) Received: (from olli@localhost) by gradalis.local.net (8.8.8/8.8.5) id WAA10202; Mon, 17 Aug 1998 22:08:45 +0200 (MEST) Message-Id: <199808172008.WAA10202@gradalis.local.net> Date: Mon, 17 Aug 1998 22:08:45 +0200 (MEST) From: Oliver Nissen Reply-To: olli@graal.camelot.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7664: scsiformat reports '0' for all parameters Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: type 0 fixed SCSI 2 sd0: Direct-Access 4134MB (8467200 512 byte sectors) od0 at scbus0 target 2 lun 0 od0: type 7 removable SCSI 2 od0: Optical od not present cd0 at scbus0 target 4 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM can't get the size pt0 at scbus0 target 5 lun 0 pt0: 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