On Wed, Oct 6, 2010 at 19:30, Adil Mujeeb <[email protected]> wrote:
> Module loading is successful but unloading fails.
>
> [r...@tom linux-2.6.30]# /sbin/lsmod | grep rkfs
> rkfs_mod                1452  0 [permanent]
> [r...@tom linux-2.6.30]# /sbin/rmmod rkfs_mod
> ERROR: Removing 'rkfs_mod': Device or resource busy
> [r...@tom linux-2.6.30]#
> [r...@tom linux-2.6.30]# /sbin/rmmod -f rkfs_mod
> ERROR: Removing 'rkfs_mod': Device or resource busy
> [r...@tom linux-2.6.30]#
> I checked config and found “CONFIG_MODULE_UNLOAD=y”
>
> What are the possible causes for this error?

Ehm, forced module unload is enabled?

Other than that, right now I see no bugs in your code...yet...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to