From owner-freebsd-current Fri Nov 15 10:53: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8984037B404; Fri, 15 Nov 2002 10:52:58 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F42B43E4A; Fri, 15 Nov 2002 10:52:57 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gAFIqZ06031257; Fri, 15 Nov 2002 13:52:35 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gAFIqZRj031256; Fri, 15 Nov 2002 13:52:35 -0500 (EST) (envelope-from hiten) Date: Fri, 15 Nov 2002 13:52:35 -0500 From: Hiten Pandya To: Doug Barton Cc: freebsd-current@FreeBSD.ORG Subject: Re: mdconfig /tmp problem Message-ID: <20021115135235.A74925@angelica.unixdaemons.com> References: <3DD37DA0.44F1D099@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DD37DA0.44F1D099@FreeBSD.org>; from DougB@FreeBSD.ORG on Thu, Nov 14, 2002 at 02:40:32AM -0800 X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 14, 2002 at 02:40:32AM -0800, Doug Barton wrote the words in effect of: > Folks, > > I have been using an mdconfig /tmp for quite a while. Today, running > -current from 11/14 I got the following errors while doing an > installworld after testing my bind 8.3.3-patched import stuff: > > kernel: swap_pager_strategy: bp 0xc2f34480 blk 0 size 0, not page > bounded > (plus lots more) > > During the installworld whatever binary was being read from the > /tmp/install.foo directory would segfault, and I'd get one or more of > those in my log. > > Here is my little script for creating the mem disk. It hasn't changed in > a long time. > > # Usually a noop, but just in case > mdconfig -d -u 10 2>/dev/null > > mdconfig -a -t swap -s 8M -u 10 > > disklabel -r -w md10 auto >/dev/null > newfs -U /dev/md10c >/dev/null > mount /dev/md10c /tmp > /bin/chmod 1777 /tmp > There is also another problem. mdconfig/md driver messes up when a 0 byte file is passed: # touch /tmp/tmp.fake; mdconfig -a -t vnode -f /tmp/tmp.fake I have not been able to collect debugging data, but when I have some, I will pass it on. FYI. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message