Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2000 23:23:50 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        Erik de Zeeuw <erik@usishealth.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: MAKEDEV warning with sysinstall ? 
Message-ID:  <20842.957821030@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 08 May 2000 16:15:42 CDT." <20000508161542.A25981@dan.emsphone.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20842.957821030>