mount -o remount,ro cause error "device is busy"

From: Michael Cheung (vividy@justware.co.jp)
Date: Wed Mar 06 2002 - 02:40:10 EST


hi, all;
        I have upgraded my kernel to version 2.4.
And i have tested 2.4.16 and 2.4.18. Both of these
two version have the same problem when system reboot.
"/: device is busy";
in shutdown script:
umount -a
mount -n -o ro,remount /
these two line result error: device is busy.

I switch to init 1, and all user process go away.
except the following:
root 1 0.1 0.7 1056 484 ? S 15:46 0:04 init [S]
root 2 0.0 0.0 0 0 ? SW 15:46 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 15:46 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 15:46 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 15:46 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 15:46 0:00 [kupdated]
root 1042 0.0 0.7 1056 484 tty1 S 16:33 0:00 init [S]
root 1043 0.6 1.5 1840 1004 tty1 S 16:33 0:00 /bin/sh
root 1045 0.0 1.0 2260 680 tty1 R 16:33 0:00 ps aux

then i try
mount -o ro,remount /
error occurs: device is busy.

and i try
mount -o ro,remount /usr
(another partition)
also error occurs: device is busy.

but when i try umount /usr,
it works.

certainly, there is error
device is busy for command umount /.

How can i resolve this problem?

Regards;
Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:53 EST