From: Rob Landley <rob@landley.net>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net,
Gerd Knorr <kraxel@bytesex.org>
Subject: Re: [uml-devel] SIGSEGV and SA_NODEFER
Date: Mon, 24 Jan 2005 20:38:05 -0500 [thread overview]
Message-ID: <200501242038.06299.rob@landley.net> (raw)
In-Reply-To: <200501242045.09164.blaisorblade@yahoo.it>
On Monday 24 January 2005 02:45 pm, Blaisorblade wrote:
> On Saturday 22 January 2005 17:34, Rob Landley wrote:
> > On Friday 21 January 2005 02:58 pm, Blaisorblade wrote:
> > > That is -mm1, I've already looked at both... the patches listed below
> > > are minor fixes / improvements...
> > >
> > > The name of the 2.6.11-rc1-mm2 patch which probably fixed your issue
> > > is:
> > >
> > > uml-fix-a-stack-corruption-crash.patch
> >
> > I reverted that patch, rebuilt vmlinux, tried again, and it's happily
> > halfway through the binutils build as I type. That fix doesn't seem to
> > be it. (Makes a certain amount of sense, since I wasn't seeing a crash, I
> > was seeing a hang.)
>
> Hmm, and so what is fixing your problem? It's difficult to tell in this
> case...
I know.
I can try a binary search, but the work week has returned, and with it the
dreaded day job...
> > Another interesting point is that with -mm2 (patched or unpatched), I'm
> > seeing output hiccups when the system swaps.
>
> Host or guest? If it's the host system, then my idea about it (a locking
> problem) is a good explaination, but if it's the guest system to swap I
> haven't clear why it works (not investigated well yet, through).
The host system is swapping. The guest is configured without swap support.
> > I'm
> > using stdin/stdout as the console. (And even though you put it into raw
> > mode, I still can't ctrl-c out of the processs I'm running, either.)
>
> Does this happen in -bb4 too? Also, does it happen even if you use a xterm
> console?
I didn't see it in -bb4 (doesn't prove it didn't happen, but it's pretty
noticeable in -rc1-mm2). I haven't tried an xterm console yet.
By the way, just confirming: file I/O support is now compiled in all the time,
right? (I noticed that there's no longer a config option for them, but
setting console to fd0/fd1 seems to be working. Well, run as root anyway,
there's some kind of permissions problem if I fire up hostfs as a normal user
that makes the console refuse to open. I'm off completely rewriting busybox
mount now that UML revealed that --bind and --move mounts don't work with
busybox mount if /proc/filesystems consists entirely of "nodev" filesystems,
so it'll take me a bit to come back to thumping on this...)
> > Rob
>
> Well, am I right if I suppose the other version you tested (with success)
> is only 2.6.9-bb4, for this console issue?
I didn't see it on -bb4. I could try again and stress the system a bit, but I
suspect it wasn't there.
> There is a patch which was merged in 2.6.10-mm1 (IIRC), which changes
> heavily the I/O core... I'm CC:ing the author for more investigation.
>
> However, I'm not sure that patch is at fault... there is a locking problem
> which *could* maybe be responsible of this...; I actually wonder about why
> this locking problem has never shown up in reports or in testing (it
> exists, only it's a race condition)... there is a situation where it shows
> up with a side effect, indeed, so the problem exists...
Okay, a little about me.
I am the "linux on the desktop" nightmare scenario. I buy cheap used hardware
(currently using a thinkpad with 128 megs of ram which I got for $400), and
then stress it way beyond its limits.
For example, I use Konqueror for my web browsing, which is very nice from a
user perspective but has a couple of really HORRIBLE internal design issues
to do with opening lots of windows/tabs at once. (Which I do.) It cycles
through all the open windows/tabs for various things, swapping through memory
round-robin. Opening a new window has been known to make the VM sit there
and swap for 30 seconds, so badly that the mouse cursor doesn't move at all.
Currently, konqueror only has 17 tabs open, in only one window, which is
actually fairly light for me. (I'm fairly certain konqueror pins memory
somehow, and I know it never actually frees any until you exit the darn
thing.)
On top of that, kmail is up. I have over 10,000 threaded messages in the
linux-kernel mailing list alone. (I have to catch up soon and delete the
excess, kmail used to corrupt its indexing if you deleted messages from a
mbox folder with over about 20,000 of them. And, of course, I have xmms up
to play mp3's.)
Strangely enough, compiling software in a background window adds negligible
load, it's all the desktop stuff I'm doing that makes it swap its brains out.
Back under the 2.4.4 kernel or so, it took me about 15 seconds to make the
system swap so badly I could go to lunch and come back with it still frozen
and swapping. Now in the 2.6 series, the swap is _much_ better, it's never
completely frozen for longer than about 45 seconds.
The early releases of XFree86 4.something had a bug where if an internal wait
timed out the X server would exit back to text mode. I used to hit that
_daily_.
So if there are any weird latency bugs lurking where inserting a second or
three delay somewhere causes something to hiccup, I bump into them as a
matter of course. :)
Rob
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-01-25 2:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 21:28 [uml-devel] SIGSEGV and SA_NODEFER Jeff Dike
2005-01-20 0:07 ` Blaisorblade
2005-01-20 3:52 ` Rob Landley
2005-01-21 12:35 ` Blaisorblade
2005-01-21 18:18 ` Rob Landley
2005-01-21 19:58 ` Blaisorblade
2005-01-22 16:34 ` Rob Landley
2005-01-24 19:45 ` Blaisorblade
2005-01-25 1:38 ` Rob Landley [this message]
[not found] ` <20050125084506.GA562@bytesex>
2005-01-25 10:16 ` Blaisorblade
2005-01-25 10:16 ` Rob Landley
2005-01-25 11:40 ` Blaisorblade
2005-01-25 17:30 ` Rob Landley
2005-01-25 19:34 ` Blaisorblade
2005-01-25 19:30 ` Rob Landley
2005-01-25 20:50 ` Blaisorblade
2005-01-25 22:43 ` Rob Landley
2005-01-21 13:09 ` Blaisorblade
2005-01-21 16:56 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501242038.06299.rob@landley.net \
--to=rob@landley.net \
--cc=blaisorblade@yahoo.it \
--cc=kraxel@bytesex.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.