Re: PROBLEM: umount report "busy" on r/o remount of root filesystem

From: Pavel Machek (pavel@suse.cz)
Date: Wed Sep 20 2000 - 09:00:46 EST


Hi!

> Umount report "busy" when i try r/o remount the root filesystem at end
> of
> halt script. My halt script ends with:
>
> # Begin of halt
> kill -9 -1
> umount -a
> mount -n -o remount,ro /

BTW is this right? Does kill -9 guarantee that all syscalls are dead by
the time it returns from kernel? Because if not, then race is pretty clear.

[And I'm pretty sure that kill -9 does *NOT* guarantee that.]

Try adding sleep 1 before umount -a

> halt
> # End of halt
>
> Umount (and mount on next line too) report "/: device is busy" and the
> root filesystem
> stay not correctly unmounted. But when i press magic key "u" (emergency
> remount),
> the filesystem is correctly remounted. All other mounted filesystems are
> correctly unmounted by "umount -a". This bug is present only on my
> motherboard with SiS5513

I've seen this in past with various -testX and older. I doubt it is
mainoard-specific.
                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:25 EST