1 Nov 2006 02:46
how to rmmod modules safely
jonghne <jonghne <at> 163.com>
2006-11-01 01:46:43 GMT
2006-11-01 01:46:43 GMT
Hi, I use 2.6.15.7 kernel(at91rm9200 cpu). I use "cdev_add" registering a char device and "cdev_del" removing it, with "mknod" "/dev" file. "insmod" looks like right , but after "rmmod" , I cannot "insmod" this module again. Then I try "devfs_mk_cdev" and "devfs_remove" , the same result, after "rmmod" I cannot "insmod" this module again. Why? after "rmmod" when "cat /proc/devices" , it result in wrong. Help, thanks. ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
RSS Feed