Date: Thu, 8 Feb 2001 16:16:06 -0800 (PST) From: carl@xena.ipaustralia.gov.au To: freebsd-gnats-submit@FreeBSD.org Subject: kern/24960: ibcs2_enable="YES" in rc.conf does not enable COFF loader. Message-ID: <200102090016.f190G6F44508@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 24960
>Category: kern
>Synopsis: ibcs2_enable="YES" in rc.conf does not enable COFF loader.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 08 16:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Carl Makin
>Release: 4.2-20010207-STABLE
>Organization:
IP Australia
>Environment:
FreeBSD newton.aipo.gov.au 4.2-STABLE FreeBSD 4.2-STABLE #1: Wed Feb 7 10:07:20 EST 2001 carl@newton.aipo.gov.au:/usr/src/sys/compile/NEWTON i386
>Description:
If you type in "ibcs2" at the shell prompt it loads up both
ibcs2.ko and
ibcs2_coff.ko
however if you specify "ibcs2_enable="YES" then it only loads
ibcs2.ko. To get the coff module loaded you have to specify
"ibcs2_loaders="coff".
>How-To-Repeat:
look in rc.networks.
>Fix:
Roman Shterenzon <roman@harmonic.co.il> came up with the following patch;
--- /etc/rc.i386 Mon Jan 22 18:50:33 2001
+++ rc.i386 Mon Feb 5 17:58:02 2001
@@ -33,6 +33,7 @@
[Yy][Ee][Ss])
echo -n ' ibcs2'
kldload ibcs2 > /dev/null 2>&1
+ kldload ibcs2_coff > /dev/null 2>&1
case ${ibcs2_loaders} in
[Nn][Oo])
;;
which is *very* simple and does the job fine. I can't think of any
cases where you would want ibcs2 and NOT have the coff loader.
>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?200102090016.f190G6F44508>
