From owner-freebsd-scsi Sat Feb 6 20:15:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA00243 for freebsd-scsi-outgoing; Sat, 6 Feb 1999 20:15:54 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA00237; Sat, 6 Feb 1999 20:15:52 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id VAA61198; Sat, 6 Feb 1999 21:14:01 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199902070414.VAA61198@panzer.plutotech.com> Subject: Re: low level format--how?? In-Reply-To: from "Daren R. Sefcik" at "Feb 6, 1999 5:35: 3 pm" To: daren@sefcik.cc (Daren R. Sefcik) Date: Sat, 6 Feb 1999 21:14:01 -0700 (MST) Cc: obrien@NUXI.com, freebsd-current@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Daren R. Sefcik wrote... > Thanks..I ended up just pulling my old Atari out of the closet and doing > the format on it...that seemed to work and I am now up and running. I > would still like to know how to do it under FreeBSD. First off, someone (can't tell who, because the attributions were deleted) doesn't have the pass driver in their kernel. You won't be able to use camcontrol for most things without it. Second, someone hasn't read the camcontrol man page. The -f option to the defects command is to specify the defect list format. To format a disk, you would do something like this: camcontrol cmd -n da -u 0 -t 3600 -v -c "4 0 0 0 0 0" The -t argument sets the timeout in seconds, you may need more time, depending on what kind of drive you have. > On Sat, 6 Feb 1999, David O'Brien wrote: > > > You will get more mileage by discussing this type of thing on > > freebsd-scsi@freebsd.org > > > > > > > > Is there ``/sbin/scsiformat''? Or may be you have to use camcontrol now? > > > > > > rover# camcontrol defects -f da0 > > > camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed > > > cam_lookup_pass: No such file or directory > > > cam_lookup_pass: either the pass driver isn't in your kernel > > > cam_lookup_pass: or da0 doesn't exist > > > rover# camcontrol defects -f /dev/da0 > > > camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed > > > cam_lookup_pass: No such file or directory > > > cam_lookup_pass: either the pass driver isn't in your kernel > > > cam_lookup_pass: or da0 doesn't exist > > > rover# > > > > -- > > -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) > > Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message