Date: Wed, 24 Mar 1999 13:06:14 +0900 (JST) From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp> To: FreeBSD-gnats-submit@freebsd.org Cc: kagotani@in.it.okayama-u.ac.jp Subject: i386/10766: obsolete device name wcd is still in kernel Message-ID: <199903240406.NAA04487@deimos.in.it.okayama-u.ac.jp>
next in thread | raw e-mail | index | archive | help
Note: There was a bad value `very' for the field `>Priority:'.
It was set to the default value of `medium'.
>Number: 10766
>Category: i386
>Synopsis: obsolete device name wcd is still left unchanged in kernel code
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 23 20:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Hiroto Kagotani
>Release: FreeBSD 3.1-RELEASE i386
>Organization:
Okayama University
>Environment:
any
>Description:
Although IDE CD-ROM device name "wcd" has been changed to "acd",
kernel may print "trying wcd0 as rootdev (...)" in verbose mode.
>How-To-Repeat:
1. modify loader so that it can handle -C (boot with cdrom root fs).
diff -ru boot-/i386/libi386/bootinfo.c boot/i386/libi386/bootinfo.c
--- boot-/i386/libi386/bootinfo.c Sun Jan 24 09:16:00 1999
+++ boot/i386/libi386/bootinfo.c Wed Mar 24 11:39:47 1999
@@ -76,6 +76,9 @@
case 'a':
howto |= RB_ASKNAME;
break;
+ case 'C':
+ howto |= RB_CDROM;
+ break;
case 'c':
howto |= RB_CONFIG;
break;
2. replace /boot/loader in kern.flp with the binary above.
3. replace /boot/loader.rc in kern.flp with the following 2 lines:
load /kernel
boot -C -v
4. boot with the modified kern.flp.
>Fix:
--- i386/i386/autoconf.c.orig Tue Mar 23 16:53:31 1999
+++ i386/i386/autoconf.c Tue Mar 23 16:54:17 1999
@@ -130,7 +130,7 @@
{ "mcd", 7 },
{ "scd", 16 },
{ "matcd", 17 },
- { "wcd", 19 },
+ { "acd", 19 },
{ 0, 0}
};
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903240406.NAA04487>
