linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [uml-devel] unable to unmount tmpfs problem lives on
@ 2004-12-17  0:05 Christopher S. Aker
       [not found] ` <200412170115.15731.blaisorblade_personal@yahoo.it>
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher S. Aker @ 2004-12-17  0:05 UTC (permalink / raw)
  To: uml-devel

I'm still seeing the "unable to unmount tmpfs" problem like we had before the
fix-kill patch.  All my UMLs have the fix-kill fixes, and yet under some
circumstances (yet unknown), the host kernel refuses to unmount the tmpfs mount that
a UML had used for its VM file.

It's happening under a number of kernels:

2.6.9
2.6.9-ck3
2.6.10-rc2-bk7

lsof shows nothing, but umount still complains that the mountpoint is in-use.

-Chris



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] unable to unmount tmpfs problem lives on
       [not found] ` <200412170115.15731.blaisorblade_personal@yahoo.it>
@ 2004-12-17  0:24   ` Christopher S. Aker
  2004-12-17  0:30     ` Paolo Giarrusso
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher S. Aker @ 2004-12-17  0:24 UTC (permalink / raw)
  To: Paolo Giarrusso; +Cc: uml-devel

> Well, this is yet undiagnosed, but definitely it's not a UML bug... you should
> certainly run a 2.6.8.1 based kernel...

That is unfortunate.

> There is some kind of security bug fixed in 2.6.9, but it was a littler one
> probably (an overflow when handling file position...).
>
> Do you remember when UML crashed and left the unkillable 'D' thread? That's a
> local DoS bug, and this one you're speaking about is a worse one... I and
> Bodo have complained about this one (not on LKML) and didn't get any answer
> yet...

I could try and get a response from LKML, but you would probably present the problem
better...

-Chris



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] unable to unmount tmpfs problem lives on
  2004-12-17  0:24   ` Christopher S. Aker
@ 2004-12-17  0:30     ` Paolo Giarrusso
  2004-12-17  3:08       ` Christopher S. Aker
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Giarrusso @ 2004-12-17  0:30 UTC (permalink / raw)
  To: Christopher S. Aker; +Cc: uml-devel

On Friday 17 December 2004 01:24, Christopher S. Aker wrote:
> > Well, this is yet undiagnosed, but definitely it's not a UML bug... you
> > should certainly run a 2.6.8.1 based kernel...
>
> That is unfortunate.
>
> > There is some kind of security bug fixed in 2.6.9, but it was a littler
> > one probably (an overflow when handling file position...).
> >
> > Do you remember when UML crashed and left the unkillable 'D' thread?
> > That's a local DoS bug, and this one you're speaking about is a worse
> > one... I and Bodo have complained about this one (not on LKML) and didn't
> > get any answer yet...
>
> I could try and get a response from LKML, but you would probably present
> the problem better...
I've been away from the net one week, and I've posted the message before it. 
Now, I *do* want to wait before posting to LKML... I'll maybe complain 
louder. I'll post to LKML as a last resort, if they show not enough care of 
the problem, to urge them to fix it.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] unable to unmount tmpfs problem lives on
  2004-12-17  0:30     ` Paolo Giarrusso
@ 2004-12-17  3:08       ` Christopher S. Aker
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher S. Aker @ 2004-12-17  3:08 UTC (permalink / raw)
  To: uml-devel; +Cc: Paolo Giarrusso

A little more info...

My method for causing the problem every time (example works under 2.6.9-ck3 and
2.6.10-rc2-bk7)

# mount tmpfs tmp/ -t tmpfs
# TMPDIR=./tmp/ /kernels/non-fix-kill-patched-kernel rootfs=debian.fs
# uml_mconsole .uml/xxx/mconsole cad
# kill -KILL <pid1> <pid2>
# umount tmp/
umount: /root/tmp: device is busy

(cad is set to shutdown in the UML's inittab.  After sending CAD, it hangs, which
requires kill)

Under 2.6.10-rc3-bk10 this works fine --the tmpfs mount is unmounted without
problems.  Perhaps it's fixed in recent patches. :)

-Chris



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-17  3:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-17  0:05 [uml-devel] unable to unmount tmpfs problem lives on Christopher S. Aker
     [not found] ` <200412170115.15731.blaisorblade_personal@yahoo.it>
2004-12-17  0:24   ` Christopher S. Aker
2004-12-17  0:30     ` Paolo Giarrusso
2004-12-17  3:08       ` Christopher S. Aker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).