From owner-freebsd-hackers Mon Feb 10 00:05:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA17212 for hackers-outgoing; Mon, 10 Feb 1997 00:05:16 -0800 (PST) Received: from bofh.cybercity.dk (bofh.cybercity.dk [195.8.128.254]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA17177; Mon, 10 Feb 1997 00:05:03 -0800 (PST) Received: from critter.dk.tfs.com ([140.145.230.252]) by bofh.cybercity.dk (8.8.3/8.7.3) with ESMTP id JAA14962; Mon, 10 Feb 1997 09:06:53 +0100 (MET) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.2/8.8.2) with ESMTP id IAA11992; Mon, 10 Feb 1997 08:47:40 +0100 (MET) To: Thomas David Rivers cc: dg@root.com, hackers@freebsd.org, joerg@freebsd.org Subject: Re: daily panics, ffs_valloc: dup alloc - Good news! In-reply-to: Your message of "Sun, 09 Feb 1997 13:53:34 EST." <199702091853.NAA24339@lakes.water.net> Date: Mon, 10 Feb 1997 08:47:39 +0100 Message-ID: <11990.855560859@critter.dk.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199702091853.NAA24339@lakes.water.net>, Thomas David Rivers writes: > >I built a new "newfs", with NTRACKS bumped to 2 and NSECTORS dropped >to 2048. > >It worked like a champ! No more panic: ffs_valloc: dup alloc. > >I'd say the problem is that the underlying code can't handle one >track (head). > >We should probably go ahead and use this work-around in 2.1.7 and >2.2. Perhaps, if we're so inclined, we can determine what a >better fix would be to keep the 1 track idea. [It could possibly >be simply setting fs->fs_cgmask to 0 if the number of tracks is 1; but >I'm not sure.] That investigation could wait until after 2.2 and >2.1.7. I've looked at the code, and I cannot see how it could be because of fs_cgmask being 0xffffffff. There must be some other explanation. Do you have the first couple of hundred lines from a dumpfs on the filesystem (when made with heads=1 ?) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.