Hiya,

from the code the zcons module is supposed to be unloadable.

    314 _fini(void)
    315 {
    316         int err;
    317 
    318         if ((err = mod_remove(&modlinkage)) != 0) {
    319                 return (err);
    320         }
    321 
    322         ddi_soft_state_fini(&zc_soft_state);
    323         return (0);
    324 }

however once it is loaded, and no zlogin, no zoneadmd running etc.
a modunload fails with EBUSY.

osoldev.batschul./tank/stuff/sw/isos.=> pfexec zlogin -C zone2
[Connected to zone 'zone2' console]
~.
[Connection to zone 'zone2' console closed]

osoldev.batschul./tank/stuff/sw/isos.=> modinfo | grep zcons
276 fffffffff86f0000   1ad0   0   1  zcons (Zone console driver)

osoldev.batschul./tank/stuff/sw/isos.=> pfexec modunload -i 276
can't unload the module: Device busy

is there an obvious, wellknown explanation for this fact perhaps ?
just thought to ask before wasting time...

thanks
frankB

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to