From owner-freebsd-bugs Sat Mar 18 22:20: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8007D37B527 for ; Sat, 18 Mar 2000 22:20:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA32824; Sat, 18 Mar 2000 22:20:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from galahad.camelot.com (Galahad.Camelot.com [192.55.203.135]) by hub.freebsd.org (Postfix) with ESMTP id B800937B6A6 for ; Sat, 18 Mar 2000 22:10:29 -0800 (PST) (envelope-from root@camelot.com) Received: by galahad.camelot.com (Postfix, from userid 0) id 7717612C30; Sun, 19 Mar 2000 01:10:24 -0500 (EST) Message-Id: <20000319061024.7717612C30@galahad.camelot.com> Date: Sun, 19 Mar 2000 01:10:24 -0500 (EST) From: cjohnson@camelot.com Reply-To: cjohnson@camelot.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/17483: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17483 >Category: kern >Synopsis: >Confidential: yes >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 18 22:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Christopher T. Johnson >Release: FreeBSD 4.0-RELEASE >Organization: Paladin Software >Environment: FreeBSD 4.0-RELEASE and prior. P233 SMP (Fails with UP as well) Pure SCSI system. at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 4 lun 0 (pass1,sa0) at scbus0 target 5 lun 0 (pass2,cd0) at scbus0 target 6 lun 0 (pass3,cd1) at scbus1 target 0 lun 0 (pass4,da1) at scbus1 target 1 lun 0 (pass5,da2) at scbus1 target 2 lun 0 (pass6,da3) at scbus1 target 3 lun 0 (pass7,da4) at scbus1 target 5 lun 0 (pass8,da5) at scbus1 target 6 lun 0 (pass9,da6) >Description: The Fujitsu just came back from repair. It had no partition, no labels no nothing. Used camcontrol cmd -n da -u 3 -v -t 7200 -c "4 0 0 0 0 0" To prep the drive as it seemed to have some media errors. After that ran "fdisk -e" Which reported that -e still exists but the man page says "fdisk -I" is what I want now. (Thank you for the change, I destroyed my slice table once trying to edit it with fdisk -e) Ran fdisk -I and the results were: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 8498322 (4149 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 528/ sector 63/ head 254 This looks good, so I try to write a disklabel: su-2.03# disklabel -w -r da1s1 auto disklabel: ioctl DIOCGDINFO: Invalid argument disklabel: auto: unknown disk type and: su-2.03# disklabel -w -r da1 auto disklabel: No space left on device I've never been able to get disklabel to work on a virgin disk... >How-To-Repeat: See description >Fix: work around is to use a current version of sysinstall. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message