lkml.org 
[lkml]   [2000]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: umount report "busy" on r/o remount of root filesystem
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.078 / U:1.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site