From owner-freebsd-current Sat Jun 30 0:17: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id AA46B37B405 for ; Sat, 30 Jun 2001 00:17:05 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.247.139.198.Dial1.SanJose1.Level3.net [209.247.139.198]) by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id AAA08464 for ; Sat, 30 Jun 2001 00:16:57 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f5U7Grc01686 for freebsd-current@freebsd.org; Sat, 30 Jun 2001 00:16:53 -0700 (PDT) (envelope-from cjc) Date: Sat, 30 Jun 2001 00:16:53 -0700 From: "Crist J. Clark" To: freebsd-current@freebsd.org Subject: fd0c mount(8) Race Message-ID: <20010630001653.D348@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 I mount a floppy at boot time. The entry was, /dev/fd0c /twfloppy ufs ro 0 0 However, as of a recent CURRENT build I started getting, [normal kernel boot messages] Mounting root from ufs:/dev/ad0s1a Entropy harvesting: interrupts ethernet point_to_point. Using /entropy as an entropy file swapon: adding /dev/ad0s1b as swap device Automatic boot in progress... /dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: clean, 33463 free (647 frags, 4102 blocks, 0.7% fragmentation) /dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1e: clean, 446216 free (12512 frags, 54213 blocks, 1.2% fragmentation) mount: /dev/fd0c: No such file or directory Mounting /etc/fstab filesystems failed, startup aborted Enter full pathname of shell or RETURN for /bin/sh: # ls -l /dev/fd0* crw-r----- 1 root operator 9, 0 Jun 29 23:26 /dev/fd0 lrw-rw-rw- 1 root wheel 4 Jun 29 23:26 /dev/fd0c -> fd0 # That is, even though once I drop into single-user mode we see the symlink for /dev/fd0c, it does not seem like it was there when 'mount -a -t nonfs' is run in /etc/rc. It seems there is some type of race to get the fd0c symlink in place and I am not winning it. I switched to /dev/fd0 and the boot went fine, but if this is real, it should be fixed. Can anyone else reproduce the problem? Or is it well known (I can't find it in the mail archive)? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message