Skip site navigation (1)Skip section navigation (2)
Date:      27 Feb 2003 22:22:22 -0000
From:      Pawel Malachowski <pawmal@unia.3lo.lublin.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/48759: kldstat shows module after unsuccessfull kldload
Message-ID:  <20030227222222.56787.qmail@unia.3lo.lublin.pl>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227222222.56787.qmail>