* [uml-devel] stdin lockup using con0=fd:0,fd:1 (guest 2.4.26-3um)
@ 2005-03-02 22:10 D. Bahi
2005-03-05 15:52 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: D. Bahi @ 2005-03-02 22:10 UTC (permalink / raw)
To: uml devel
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
did i miss the console cleanup crew?
i have a UML guest command line that uses con0=fd:0,fd:1
(or not, as this is the default for CONFIG_CON_ZERO_CHAN)
i launch new xterms using -- xterm -e '<guest cmdline>' &
(side note - can lock it w/o this too.) and users leaning on
the keyboard (most notably <enter>) while the new xterms pop
up and steal the window focus have experienced unresponsive
UML prompts.
no further keyboard input is processed...
uml_mconsole <id> reboot and things can be made better.
so the UML isn't locked up just the stdin....
i've tried to go thru stdio_init -> open_console -> line_open
to see if there was a likely place to drop a 'flush' of stdin
before we try attaching 0 -> 1 and 1 -> 0 (line_setup_irq)...
but i don't understand it all enough <frown>.
this is redhat 9 + SKAS - NPTL 2.4.20-31 host kernel
linux 2.4.26-3um guest kernel.
thank you.
--
db
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 187 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] stdin lockup using con0=fd:0,fd:1 (guest 2.4.26-3um)
2005-03-02 22:10 [uml-devel] stdin lockup using con0=fd:0,fd:1 (guest 2.4.26-3um) D. Bahi
@ 2005-03-05 15:52 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2005-03-05 15:52 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: D. Bahi
On Wednesday 02 March 2005 23:10, D. Bahi wrote:
> did i miss the console cleanup crew?
? Not understood, 2.4 didn't get the big cleanup.
> i have a UML guest command line that uses con0=fd:0,fd:1
> (or not, as this is the default for CONFIG_CON_ZERO_CHAN)
>
> i launch new xterms using -- xterm -e '<guest cmdline>' &
> (side note - can lock it w/o this too.)
Describe the other scenario please...
> and users leaning on
> the keyboard (most notably <enter>) while the new xterms pop
> up and steal the window focus have experienced unresponsive
> UML prompts.
Hmm, can you exclude this is some X11 problem? I get problems in my Opera
browser when a Java applet is started (which makes a Java progress window
appear for a while). No, I'm not joking. Please try getting the same thing
inside normal consoles, or getting the same thing with xterms and without
UML.
> no further keyboard input is processed...
>
> uml_mconsole <id> reboot and things can be made better.
> so the UML isn't locked up just the stdin....
>
> i've tried to go thru stdio_init -> open_console -> line_open
> to see if there was a likely place to drop a 'flush' of stdin
? I don't think stdin is flushable (but I don't understand what you mean, so I
could be wrong).
> before we try attaching 0 -> 1 and 1 -> 0 (line_setup_irq)...
Hmm, line_setup_irq makes sure that a IRQ is triggered when a event is
received on the fd. That fd is provided by the channel driver (the one in
con=xterm/pty/fd).
> but i don't understand it all enough <frown>.
> this is redhat 9 + SKAS - NPTL 2.4.20-31 host kernel
> linux 2.4.26-3um guest kernel.
> thank you.
--
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2005-03-05 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 22:10 [uml-devel] stdin lockup using con0=fd:0,fd:1 (guest 2.4.26-3um) D. Bahi
2005-03-05 15:52 ` Blaisorblade
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.