From owner-freebsd-questions Fri Mar 26 10:58:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aeon.conundrum.com (aeon.conundrum.com [207.34.222.15]) by hub.freebsd.org (Postfix) with ESMTP id 6D21014E70 for ; Fri, 26 Mar 1999 10:58:47 -0800 (PST) (envelope-from mattp@conundrum.com) Received: from smtp.conundrum.com (IDENT:mattp@smtp.conundrum.com [207.34.222.5]) by aeon.conundrum.com (8.9.2/8.9.2) with ESMTP id NAA04244 for ; Fri, 26 Mar 1999 13:58:27 -0500 (EST) (envelope-from mattp@conundrum.com) Date: Fri, 26 Mar 1999 13:58:27 -0500 (EST) From: Matt of the Long Red Hair To: freebsd-questions@freebsd.org Subject: newfs of ccd0 crashes Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've trying to get ccd set up on my home box with a pair of large drives, but every time I try to newfs the ccd the machine crashes. I've gone through my setup a number of times (I'm working from the instructions at http://www.freebsd.org/tutorials/diskformat/diskformat.html) but can't see what might be going wrong. I'm including all the seemingly relevant info I can below. From dmesg: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 16479MB (33750864 sectors), 33483 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 16479MB (33750864 sectors), 33483 cyls, 16 heads, 63 S/T, 512 B/S The labels of the two drives after changing the drive type: --- # /dev/rwd0c: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 228 sectors/cylinder: 14364 cylinders: 2349 sectors/unit: 33750864 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] c: 33750864 0 4.2BSD 0 0 0 # (Cyl. 0 - 2349*) --- --- # /dev/rwd2c: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 228 sectors/cylinder: 14364 cylinders: 2349 sectors/unit: 33750864 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] c: 33750864 0 4.2BSD 0 0 0 # (Cyl. 0 - 2349*) --- I noticed that the drive geometry set by `disklabel -r -w wd0 auto` (and on wd2) is slightly different than that reported by the drivers at boot. Is this a possible source of trouble? Setting up ccd0 goes well: [mattp :: 13:44:29] flux:/usr/home/mattp# ccdconfig -Cv ccd0: 2 components (wd0c, wd2c), 67501696 blocks concatenated --- # # /etc/ccd.conf # Configuration file for concatenated disk devices # # ccd ileave flags component devices ccd0 0 0 /dev/wd0c /dev/wd2c --- Finally, the newfs itself: [mattp :: 13:45:22] flux:/root# newfs /dev/rccd0c Warning: 384 sector(s) in last cylinder unallocated /dev/rccd0c: 67501696 sectors in 16480 cylinders of 1 tracks, 4096 sectors 32959.8MB in 1030 cyl groups (16 c/g, 32.00MB/g, 7396 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104,[crash here] Can anyone suggest what might be causing this? I'm completely at a loss at this point. Thanks! Matt ----------------------------------------------------------------------------- Matthew Pounsett (MP1229) mattp@conundrum.com PGP Fingerprint = 40 E8 24 BC C1 98 00 F2 56 2F F6 7B 36 34 58 01 http://www.conundrum.com/~mattp ``Chaos often breeds life, when order breeds habit.'' -- Henry Brooks Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message