From owner-freebsd-bugs Thu Feb 8 16:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F83F37B4EC for ; Thu, 8 Feb 2001 16:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f190K1O44861; Thu, 8 Feb 2001 16:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A04F37B401 for ; Thu, 8 Feb 2001 16:16:07 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f190G6F44508; Thu, 8 Feb 2001 16:16:06 -0800 (PST) (envelope-from nobody) Message-Id: <200102090016.f190G6F44508@freefall.freebsd.org> Date: Thu, 8 Feb 2001 16:16:06 -0800 (PST) From: carl@xena.ipaustralia.gov.au To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24960: ibcs2_enable="YES" in rc.conf does not enable COFF loader. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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