From owner-freebsd-current Mon May 8 14:24:11 2000 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 90E4937BCBC for ; Mon, 8 May 2000 14:24:04 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id XAA20844; Mon, 8 May 2000 23:23:50 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Dan Nelson Cc: Erik de Zeeuw , freebsd-current@FreeBSD.ORG Subject: Re: MAKEDEV warning with sysinstall ? In-reply-to: Your message of "Mon, 08 May 2000 16:15:42 CDT." <20000508161542.A25981@dan.emsphone.com> Date: Mon, 08 May 2000 23:23:50 +0200 Message-ID: <20842.957821030@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000508161542.A25981@dan.emsphone.com>, Dan Nelson writes: >In the last episode (May 08), Poul-Henning Kamp said: >> In message <39172693.3F8BB151@usishealth.com>, Erik de Zeeuw writes: >> > >> >I installed FreeBSD 5.0-20000506-CURRENT on an AMD K6-2, 64Mb, 4Gb, and >> >when I first launch /stand/sysinstall after the system has start, the >> >following message appears : >> > >> >... /kernel: WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of >> >block devices >> > >> >I searched the list archives and find some informations about this, but >> >nothing that helps me understand why I get this message. >> >> >Any idea about what could cause this message to come up ? >> >> 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!) Index: kern_conf.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_conf.c,v retrieving revision 1.75 diff -u -r1.75 kern_conf.c --- kern_conf.c 2000/03/25 21:10:20 1.75 +++ kern_conf.c 2000/05/06 15:06:33 @@ -270,7 +270,8 @@ if (!whine) { printf("WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of block devices\n"); whine++; } + printf("Whine: %d/%d\n", umajor(x), uminor(x)); return makebdev(umajor(x), uminor(x)); default: Debugger("udev2dev(...,X)"); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message