From owner-freebsd-current Sat Oct 17 19:35:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22719 for freebsd-current-outgoing; Sat, 17 Oct 1998 19:35:04 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from tor-dev1.nbc.netcom.ca (tor-dev1.nbc.netcom.ca [207.181.89.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22464 for ; Sat, 17 Oct 1998 19:33:20 -0700 (PDT) (envelope-from taob@tor-dev1.nbc.netcom.ca) Received: (from taob@localhost) by tor-dev1.nbc.netcom.ca (8.8.8/8.8.8) id WAA21286; Sat, 17 Oct 1998 22:30:37 -0400 (EDT) Date: Sat, 17 Oct 1998 22:30:37 -0400 (EDT) From: Brian Tao X-Sender: taob@tor-dev1.nbc.netcom.ca To: Simon Shapiro cc: "Jordan K. Hubbard" , freebsd-current@FreeBSD.ORG, mike@smith.net.au, Bruce Evans Subject: Re: Show Stopper? Failure to Install 19981014 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Oct 1998, Simon Shapiro wrote: > > Please note that: > > a. At least here, newfs, in and by itself, in an installed system > does not exhibit any of these messages, nor the faulty behavior. > Only the context of sysinstall, from the boot floppy does. Not here. I picked up an old 1GB drive and by habit, I disklablled the first filesystem as swap, and then root. Newfs'ing from the command line always prints the error (contrary to prior observations saying the error does not appear on second and subsequent tries, while in /stand/sysinstall): # disklabel -r da1s1 | fgrep -A 2 fstype # size offset fstype [fsize bsize bps/cpg] a: 204800 262144 4.2BSD 0 0 0 # (Cyl. 16*- 29*) b: 262144 0 swap # (Cyl. 0 - 16*) # newfs da1s1a /dev/rda1s1a: 204800 sectors in 50 cylinders of 1 tracks, 4096 sectors 100.0MB in 4 cyl groups (16 c/g, 32.00MB/g, 6272 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104, 196640, newfs: ioctl (WDINFO): Cross-device link newfs: /dev/rda1s1a: can't rewrite disk label # newfs da1s1a /dev/rda1s1a: 204800 sectors in 50 cylinders of 1 tracks, 4096 sectors 100.0MB in 4 cyl groups (16 c/g, 32.00MB/g, 6272 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104, 196640, newfs: ioctl (WDINFO): Cross-device link newfs: /dev/rda1s1a: can't rewrite disk label If I reverse the / and swap filesystems so that / starts at cylinder 0, the error is not printed: # disklabel -r da1s1 | fgrep -A 2 fstype # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 0 0 0 # (Cyl. 0 - 16*) b: 204800 262144 swap # (Cyl. 16*- 29*) # newfs da1s1a /dev/rda1s1a: 262144 sectors in 64 cylinders of 1 tracks, 4096 sectors 128.0MB in 4 cyl groups (16 c/g, 32.00MB/g, 7936 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104, 196640, # In both cases, the filesystem appears to be created correctly. This happens with both 3.0-19981004 and 3.0-19981016 newfs. -- Brian Tao (BT300, taob@risc.org) "Though this be madness, yet there is method in't" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message