Hi Rohit,
rohit verma wrote:
> Hi,
> 
> I am trying to run nlsTest on 2.6.23 kernel.I am getting the following
> error when i try to insert the module in the kernel.
> 
> *insmod: -1 Device or Resource Busy*
> 
> Now, i change the major no from 253 to 260.
> 
> I am unable to rmmod
> 
> *ERROR: module nlsTest is in Use.*
> 
> Can you pls help me out to run the test

Please read ltp/testcases/kernel/device-drivers/nls/README. There you can
find that the output of nlsTest.ko can be found in "dmesg".

The first error you get at insmod is maybe because the register_blkdev() 
function
returns error in test_init_module(). But any case the "dmesg" is your friend.

The "rmmod" is not working for you maybe because the nlsTest.ko executes a test
case which ends in "BUG: unable to handle kernel NULL pointer dereference at 
00000000"
(at least it does on my computer on 2.6.28). If this happens then you will not 
able
to unload the nlsTest.ko module anymore, the best practice is to reboot the 
system
so you get a clean state again.

Please check the "dmesg" output. If you have further questions, please send 
"dmesg"
output also.

Regards,

        Márton Németh





------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to