Date: Mon, 25 Jan 1999 14:46:33 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: current@freebsd.org, hackers@freebsd.org Subject: Same module loaded twice? Message-ID: <199901252246.OAA18293@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
In the output below, notice there are two modules named "ng_sync_sr" loaded in the "kernel" object (due to a typo), and moreover there's a "netgraph" module loaded in both the "kernel" object and the "netgraph.ko" object.. $ kldstat -v Id Refs Address Size Name 1 4 0xf0100000 1be82c kernel Contains modules: Id Name 1 rootbus 2 netgraph 3 ng_sync_sr 4 ng_sync_sr 5 ufs 6 nfs 7 msdos 8 procfs 9 cd9660 10 ipfw 11 if_tun 12 if_sl 13 if_ppp 14 if_loop 15 shell 16 execgzip 17 elf 18 aout 2 1 0xf07f1000 3000 ng_socket.ko Contains modules: Id Name 20 ng_socket 3 2 0xf07f5000 4000 netgraph.ko Contains modules: Id Name 19 netgraph Why and how does the linker allow this? It seems like: - When the kernel was compiled, the ng_sync_sr conflict should have caused a failure - When the netgraph.ko was kldloaded, there should have been an error from the conflicting module names Curiously, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901252246.OAA18293>