From owner-freebsd-questions Wed Nov 3 8:44:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id C344614DD9 for ; Wed, 3 Nov 1999 08:44:29 -0800 (PST) (envelope-from ales@megared.net.mx) Received: from ales (pix.megared.net.mx [207.249.162.253] (may be forged)) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id KAA52595; Wed, 3 Nov 1999 10:44:05 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <024201bf261a$515b3400$bdc3fea9@megared.net.mx> Reply-To: "Alejandro Ramirez" From: "Alejandro Ramirez" To: , "Forrest Aldrich" References: <4.2.1.19991102151252.00a6be40@216.67.12.69> Subject: RE: Problems with disklabel, swap, and Invalid Argument Date: Wed, 3 Nov 1999 10:41:46 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, If you are trying to mount a second disk as your swap partition, I think that FreeBSD its not capable of doing this right now in the stable branch. Have Fun... Ales ----- Original Message ----- From: Forrest Aldrich To: Sent: Tuesday, November 02, 1999 2:16 PM Subject: Problems with disklabel, swap, and Invalid Argument > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message