From owner-freebsd-bugs Thu Nov 18 17:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 66F851556C for ; Thu, 18 Nov 1999 17:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA44915; Thu, 18 Nov 1999 17:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id CC5AF15018; Thu, 18 Nov 1999 17:34:39 -0800 (PST) Message-Id: <19991119013439.CC5AF15018@hub.freebsd.org> Date: Thu, 18 Nov 1999 17:34:39 -0800 (PST) From: nn@broadcom.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/14988: kldload loads from /modules even if exists locally Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14988 >Category: kern >Synopsis: kldload loads from /modules even if exists locally >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: Thu Nov 18 17:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: neal nuckolls >Release: 3.2 >Organization: broadcom corporation >Environment: FreeBSD bofur 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Fri Aug 20 13:43:39 PDT 1999 gmo@thorin:/home1/bsd/src-3.2/sys/compile/EPICLNT i386 >Description: Very non-intuitively, "kldload file.ko" ignores the file "file.ko" if it exists in the current directly and instead loads file.ko from /modules if it exists there. bofur# pwd /home/nn/w/src/bcm42xx/freebsd bofur# ls -l if_il.ko -rwxr-xr-x 1 nn epi 179942 Nov 18 17:24 if_il.ko bofur# ls -l /modules/if_il* ls: No match. bofur# kldload if_il.ko kldload: can't load if_il.ko: No such file or directory bofur# kldload ./if_il.ko bofur# >How-To-Repeat: see above >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message