Date: Sun, 14 Jan 1996 22:47:05 -0500 From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: freebsd-bugs@freefall.FreeBSD.org, rivers@dg-rtp.dg.com Subject: panic: fs dup alloc Message-ID: <199601150347.WAA03193@ponds.UUCP>
next in thread | raw e-mail | index | archive | help
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*)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601150347.WAA03193>