From owner-freebsd-bugs Sun Jan 14 21:20:59 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA20276 for bugs-outgoing; Sun, 14 Jan 1996 21:20:59 -0800 (PST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA20271 for ; Sun, 14 Jan 1996 21:20:55 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA15206; Mon, 15 Jan 1996 00:20:16 -0500 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Mon, 15 Jan 1996 00:20 EST Received: (rivers@localhost) by ponds.UUCP (8.6.12/8.6.5) id WAA03193; Sun, 14 Jan 1996 22:47:05 -0500 Date: Sun, 14 Jan 1996 22:47:05 -0500 From: Thomas David Rivers Message-Id: <199601150347.WAA03193@ponds.UUCP> To: freebsd-bugs@freefall.FreeBSD.org, rivers@dg-rtp.dg.com Subject: panic: fs dup alloc Content-Type: text Sender: owner-bugs@FreeBSD.ORG Precedence: bulk While installing plain-old 2.1 on a SCSI 386dx-33, I got a panic while trying to newfs the root file system: panic: fs dup alloc Anyway, I had seen this with 2.0.5 with three separate machines, and discovered that if I changed the size of the partitions (FreeBSD partitions, the disk is entirely FreeBSD), or adjusted the geometry - the problem was solved. Just for those interested; the disk in question is a Micropolis 1588: Jan 14 20:31:56 ponds /kernel: (aha0:0:0): "MICROP 1588-15MB1057402 HSP3" type 0 fixed SCSI 1 With an Adaptec 1542B SCSI; 8 megs of memory - running the generic kernel shipped with the install floppy. The mapped geometry is 636x64x32. If I allocate a 60MEG root file system, I get the panic during the newfs. If I allocate a 61MEG root file system, I don't get the panic. I just thought someone who was looking to fix this problem would be happy to know how to reliably reproduce it. My current disklabel, which is with a 61MEG (working) root file system is appended below. Presumably, the 60MEG allocation assigned cylinders 0-59 to the 'a' partition, etc... That particular assignment justs happens to place inodes, etc... (using the newfs as done in the installation) at such locations as to cause the panic. - Dave Rivers - # /dev/sd0c: type: SCSI disk: sd0s1 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 635 sectors/unit: 1302496 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] a: 124928 0 4.2BSD 0 0 0 # (Cyl. 0 - 60) b: 81920 124928 swap # (Cyl. 61 - 100) c: 1302496 0 unused 0 0 # (Cyl. 0 - 635*) e: 1095648 206848 4.2BSD 0 0 0 # (Cyl. 101 - 635*)