From owner-freebsd-bugs Thu Feb 27 14:30:32 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B6C037B401 for ; Thu, 27 Feb 2003 14:30:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E5843FBF for ; Thu, 27 Feb 2003 14:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1RMU7NS095388 for ; Thu, 27 Feb 2003 14:30:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1RMU7vn095387; Thu, 27 Feb 2003 14:30:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2086937B401 for ; Thu, 27 Feb 2003 14:21:04 -0800 (PST) Received: from unia.3lo.lublin.pl (unia.3lo.lublin.pl [212.182.70.2]) by mx1.FreeBSD.org (Postfix) with SMTP id E004E43F75 for ; Thu, 27 Feb 2003 14:21:02 -0800 (PST) (envelope-from pawmal@unia.3lo.lublin.pl) Received: (qmail 56788 invoked by uid 1007); 27 Feb 2003 22:22:22 -0000 Message-Id: <20030227222222.56787.qmail@unia.3lo.lublin.pl> Date: 27 Feb 2003 22:22:22 -0000 From: Pawel Malachowski Reply-To: Pawel Malachowski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/48759: kldstat shows module after unsuccessfull kldload Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48759 >Category: kern >Synopsis: kldstat shows module after unsuccessfull kldload >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 27 14:30:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Paweł Małachowski >Release: FreeBSD 4.7-STABLE i386 >Organization: ASK ZiN >Environment: System: FreeBSD unia.3lo.lublin.pl 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 27 22:08:42 CET 2002 root@unia.3lo.lublin.pl:/usr/src/sys/compile/UNIA i386 >Description: Loading of driver.ko fails (because it was previously linked with kernel), but driver.ko is now shown by kldstat. >How-To-Repeat: Try to load a module that is known to be compiled in kernel. % grep gif /usr/src/sys/i386/conf/THISPCCONFIG pseudo-device gif # IPv6 and IPv4 tunneling % kldstat Id Refs Address Size Name 1 5 0xc0100000 3032c8 kernel 3 3 0xc6f47000 e000 miibus.ko 4 1 0xc6f5b000 9000 if_xl.ko 5 1 0xc6f64000 18000 ipl.ko 6 1 0xc7090000 6000 if_rl.ko % kldload if_gif kldload: can't load if_gif: File exists Feb 27 23:14:46 ciach /kernel: can't re-use a leaf (gifttl)! Feb 27 23:14:46 ciach /kernel: module_register: module if_gif already exists! Feb 27 23:14:46 ciach /kernel: linker_file_sysinit "if_gif.ko" failed to register! 17 % kldstat Id Refs Address Size Name 1 6 0xc0100000 3032c8 kernel 3 3 0xc6f47000 e000 miibus.ko 4 1 0xc6f5b000 9000 if_xl.ko 5 1 0xc6f64000 18000 ipl.ko 6 1 0xc7090000 6000 if_rl.ko 7 1 0xc72b5000 5000 if_gif.ko >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message