Hi,
I was writing a small filesystem module. But whenever i try to mount
it on -o loop i get the device as busy. I don't know what is using the
/dev/loop0.
Below is the error.
[EMAIL PROTECTED] fs]# mount -t myfs myfs_device mnt -o loop
ioctl: LOOP_CLR_FD: Device or resource busy
mount: permission denied
[EMAIL PROTECTED] fs]#
EIP: 0073:[<080a8ca5>] CPU: 0 Not tainted ESP: 007b:088b7f00 EFLAGS: 00210202
Not tainted
EAX: 6b6b6b6b EBX: 096d32b8 ECX: 00000000 EDX: 096d32f4
ESI: 096d32f4 EDI: 088b7f3c EBP: 088b7f08 DS: 007b ES: 007b
081ecbbc: [<0806a584>] show_regs+0xb4/0xb9
081ecbe8: [<080588c3>] segv+0x60/0x272
081ecc8c: [<0805885e>] segv_handler+0x55/0x5a
081eccac: [<080681b8>] sig_handler_common_skas+0xd4/0xfc
081eccd4: [<080651d4>] sig_handler+0x34/0x44
081eccec: [<08065366>] handle_signal+0x4c/0x7a
081ecd0c: [<08066f6b>] hard_handler+0xf/0x14
081ecd1c: [<ffffe420>] _etext+0xf7e70304/0x0
Kernel panic - not syncing: Segfault with no mm
EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP: 007b:b7e2cfb4 EFLAGS: 00200246
Not tainted
EAX: 00000000 EBX: 0000455b ECX: 00000013 EDX: 0000455b
ESI: 00004557 EDI: 00000011 EBP: b7e2cfd8 DS: 007b ES: 007b
081ecb2c: [<0806a584>] show_regs+0xb4/0xb9
081ecb58: [<08058d18>] panic_exit+0x25/0x3f
081ecb6c: [<0807bab8>] notifier_call_chain+0x21/0x46
081ecb8c: [<0807bb53>] __atomic_notifier_call_chain+0x17/0x19
081ecba8: [<0807bb6a>] atomic_notifier_call_chain+0x15/0x17
081ecbc4: [<08070876>] panic+0x52/0xdd
081ecbe4: [<0805896d>] segv+0x10a/0x272
081ecc8c: [<0805885e>] segv_handler+0x55/0x5a
081eccac: [<080681b8>] sig_handler_common_skas+0xd4/0xfc
081eccd4: [<080651d4>] sig_handler+0x34/0x44
081eccec: [<08065366>] handle_signal+0x4c/0x7a
081ecd0c: [<08066f6b>] hard_handler+0xf/0x14
081ecd1c: [<ffffe420>] _etext+0xf7e70304/0x0
Any suggestions ??
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user