From owner-freebsd-current Sat May 13 12:13:29 2000 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 759E837B5EA for ; Sat, 13 May 2000 12:13:25 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 82416 invoked by uid 1001); 13 May 2000 19:13:23 +0000 (GMT) To: phk@critter.freebsd.dk Cc: dnelson@emsphone.com, erik@usishealth.com, freebsd-current@FreeBSD.ORG Subject: Re: MAKEDEV warning with sysinstall ? From: sthaug@nethelp.no In-Reply-To: Your message of "Mon, 08 May 2000 23:23:50 +0200" References: <20842.957821030@critter.freebsd.dk> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sat, 13 May 2000 21:13:23 +0200 Message-ID: <82414.958245203@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> No, I havn't tracked down the last couple of causes of this, but I > >> will try to reproduce it as you describe it with some debugging added. > > > >How hard would it be to print the filename (or the device/inode) that > >triggers the warning? > > Not at all (warning: cut&pasted patch, tabs are screwed up!) A similar message is in /sys/miscfs/specfs/spec_vnops.c now. Anyway, there is still at least one case of devices being opened in block mode in the *kernel*, namely the following VFS_MOUNT call at line 215 of vfs_mountroot_try() (/sys/kern/vfs_conf.c): error = VFS_MOUNT(mp, NULL, NULL, NULL, curproc); Typical message: May 13 20:36:29 bp6 /kernel: Mounting root from ufs:/dev/ad0s1d May 13 20:36:29 bp6 /kernel: Device char-major=116 minor=131075 opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01 (Yes, I have -current root on ad0s1d, and -stable root on ad0s1a.) Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message