NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/48018: modunload gets confused with unloading buildin modules



        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         48018
>Category:       kern
>Synopsis:       modunload gets confused with unloading buildin modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 05 20:10:00 +0000 2013
>Originator:     Reinoud Zandijk
>Release:        NetBSD 6.99.23
>Organization:
NetBSD
        
>Environment:
        
        
>Description:

When running `modunload udf' on a kernel where udf happened to be build into
the kernel modunload doesn't report an error. On the next modstat i read :

udf              vfs        builtin    -1    0                -        -

A reference count of -1 ?

        
>How-To-Repeat:
`modunload' on a build in kernel module.
        
>Fix:

Report error on trying to unload a build in kernel module or better still do
the right thing and unload it to allow for a module replacement.
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index