From owner-freebsd-questions Tue Nov 2 12:19:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from forrie.net (forrie.net [216.67.12.69]) by hub.freebsd.org (Postfix) with ESMTP id 98AB215462 for ; Tue, 2 Nov 1999 12:19:34 -0800 (PST) (envelope-from forrie@forrie.com) Received: from Forrest (getbent@forrie.ne.mediaone.net [24.128.72.15]) by forrie.net (8.9.3/8.9.3) with ESMTP id PAA07844 for ; Tue, 2 Nov 1999 15:19:30 -0500 (EST) Message-Id: <4.2.1.19991102151252.00a6be40@216.67.12.69> X-Sender: forrie@216.67.12.69 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1 Date: Tue, 02 Nov 1999 15:16:50 -0500 To: freebsd-questions@freebsd.org From: Forrest Aldrich Subject: Problems with disklabel, swap, and Invalid Argument Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've only received 2 responses to my previous question. The problem still persists, and I'd like to report it now as a bug. None of the diagnostics reflects anything out of the ordinary. These disks were worked on using /stand/sysinstall and the manual utilities fdisk, disklabel, etc. And the following error is generated, and is not in the swapon.c code: bash-2.03# swapon /dev/da10s1b swapon: /dev/da10s1b: Invalid argument I'd appreciate any pointers as to what needs to be fixed here. This is FreeBSD-3.3-STABLE. Did a buildworld yesterday. Diagnostic output appended. _F FDISK: bash-2.03# fdisk da10 ******* Working on device /dev/rda10 ******* parameters extracted from in-core disklabel are: cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 35551782 (17359 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 1023/ sector 63/ head 254 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: DISKLABEL: bash-2.03# disklabel da10 # /dev/rda10c: type: SCSI disk: da10s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2212 sectors/unit: 35551782 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 2097152 0 swap # (Cyl. 0 - 130*) c: 35551782 0 unused 0 0 # (Cyl. 0 - 2212*) e: 33454630 2097152 4.2BSD 0 0 0 # (Cyl. 130*- 2212*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message