Module getting loaded although init fuction returns error

Daniel O'Connor doconnor at gsoft.com.au
Thu Jan 13 17:19:26 PST 2005


On Thu, 13 Jan 2005 18:12, Tejas Sumant wrote:
> I am working on a FreeBSD loadable module.
>
> While loading if I encounter any error I just have returned ENXIO error.
>
> I run commond kldstat after kldload.
>
> What I observed was kldstat still shows my module in the list of loaded
> modules.
>
> Can anybody pls explain me this?

What does dmesg say after you loaded it?

> Is it a problem with my module?

Probably.

Do you have any source code that we can look at?

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050114/e48b7d53/attachment.bin


More information about the freebsd-hackers mailing list