Subject: Re: Bug in
To: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 12/16/1997 00:03:02
At 21:15 Uhr +0100 15.12.1997, Matthias Drochner wrote:
>Excerpts from netbsd: 14-Dec-97 Bug in <bsd.kmod.mk> Hauke
>Fath@espresso.rhei (610*)
>
>> 1) "-e${KMOD}_lkmentry" is redundant because /sbin/modload looks for an
>> entry point named "Module Name"_lkmentry, anyway.
>
>Did you try?

I RTSL'ed.  =8)

>> 2) "-e${KMOD}_lkmentry" is used as the symbolic name in the LKM table. Of
>> course, "make unload" does not find the entry and fails.
>
>This should not be the case, and for me, it is not:
>zelz26# make load
>/sbin/modload -o adosfs -eadosfs_lkmentry adosfs.o
>Module loaded as ID 0
>zelz26# modstat
>Type    Id  Off Loadaddr Size Info     Rev Module Name
>VFS       0  30 f0905000 0010 f0908000   1 adosfs
>zelz26# make unload
>/sbin/modunload -n adosfs
>zelz26#
>
>Did I get out of sync?

With a "make build" from a 10 Dec sup (mac68k) it does definitely not work:
modload(8) registers "IWM_lkmentry" (in my case); modunload(8) tries to
remove "IWM" and fails.

	hauke



--
"It's never straight up and down"     (DEVO)