* [uml-devel] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode
@ 2005-06-21 10:05 Alex LIU
2005-06-21 15:41 ` Blaisorblade
0 siblings, 1 reply; 4+ messages in thread
From: Alex LIU @ 2005-06-21 10:05 UTC (permalink / raw)
To: UML-dev
Hi,all:
When I fork() in UML TT mode,it always said "the sleeping process xxx received unexpedted signal 11" and the UML hang...before fork I also set the signal handler...
My UML is 2.6.7 and I used TT mode.Thanks a lot!
Alex
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op�k
_______________________________________________
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] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode
2005-06-21 10:05 [uml-devel] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode Alex LIU
@ 2005-06-21 15:41 ` Blaisorblade
2005-06-24 9:57 ` Alex LIU
0 siblings, 1 reply; 4+ messages in thread
From: Blaisorblade @ 2005-06-21 15:41 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Alex LIU
On Tuesday 21 June 2005 12:05, Alex LIU wrote:
> Hi,all:
>
> When I fork() in UML TT mode,it always said "the sleeping process xxx
> received unexpedted signal 11" and the UML hang...before fork I also set
> the signal handler... My UML is 2.6.7 and I used TT mode.Thanks a lot!
> Alex
Have you a good reason to use UML 2.6.7? We can't know by heart the list of
all fixed bugs in previous UML releases, really, and you'll be doing yourself
a favor by upgrading to 2.6.11-bs5 or 2.6.12 (which contains almost
everything from -bs).
That said, you are talking about userspace code, right? It's anyway strange
that your system boots but you can't write a simple code that fork()'s.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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] 4+ messages in thread
* RE: [uml-devel] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode
2005-06-21 15:41 ` Blaisorblade
@ 2005-06-24 9:57 ` Alex LIU
2005-06-24 10:17 ` Blaisorblade
0 siblings, 1 reply; 4+ messages in thread
From: Alex LIU @ 2005-06-24 9:57 UTC (permalink / raw)
To: 'Blaisorblade', user-mode-linux-devel
I just let the SIGSEVG go and return from the sleeping_process_signal function instead of tracer_panic and hanging the UML.
It seems ok. Is it dangerous? Thanks a lot!
Alex
-----Original Message-----
From: Blaisorblade [mailto:blaisorblade@yahoo.it]
Sent: Tuesday, June 21, 2005 11:42 PM
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Alex LIU
Subject: Re: [uml-devel] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode
On Tuesday 21 June 2005 12:05, Alex LIU wrote:
> Hi,all:
>
> When I fork() in UML TT mode,it always said "the sleeping process xxx
> received unexpedted signal 11" and the UML hang...before fork I also
> set the signal handler... My UML is 2.6.7 and I used TT mode.Thanks a
> lot!
> Alex
Have you a good reason to use UML 2.6.7? We can't know by heart the list of
all fixed bugs in previous UML releases, really, and you'll be doing yourself
a favor by upgrading to 2.6.11-bs5 or 2.6.12 (which contains almost
everything from -bs).
That said, you are talking about userspace code, right? It's anyway strange
that your system boots but you can't write a simple code that fork()'s.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op�k
_______________________________________________
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] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode
2005-06-24 9:57 ` Alex LIU
@ 2005-06-24 10:17 ` Blaisorblade
0 siblings, 0 replies; 4+ messages in thread
From: Blaisorblade @ 2005-06-24 10:17 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Alex LIU
On Friday 24 June 2005 11:57, Alex LIU wrote:
> I just let the SIGSEVG go and return from the sleeping_process_signal
> function instead of tracer_panic and hanging the UML. It seems ok. Is it
> dangerous? Thanks a lot!
The sleeping process will get the SIGSEGV, with whatever content it has;
hopefully it should handle it in kernel code but I'm not too sure about the
situation. To ignore the signal you'll need a PTRACE_CONT (or PTRACE_SYSCALL,
depending on the situation) with a 0 signal value.
However, is this related to the below problem? Did you try the other way
around (i.e. upgrading) to solve it?
> Alex
> -----Original Message-----
> From: Blaisorblade [mailto:blaisorblade@yahoo.it]
> Sent: Tuesday, June 21, 2005 11:42 PM
> To: user-mode-linux-devel@lists.sourceforge.net
> Cc: Alex LIU
> Subject: Re: [uml-devel] Question about the unexpected signal 11 when fork
> in UML-2.6.7 TT mode
>
> On Tuesday 21 June 2005 12:05, Alex LIU wrote:
> > Hi,all:
> >
> > When I fork() in UML TT mode,it always said "the sleeping process xxx
> > received unexpedted signal 11" and the UML hang...before fork I also
> > set the signal handler... My UML is 2.6.7 and I used TT mode.Thanks a
> > lot!
> >
> > Alex
>
> Have you a good reason to use UML 2.6.7? We can't know by heart the list of
> all fixed bugs in previous UML releases, really, and you'll be doing
> yourself a favor by upgrading to 2.6.11-bs5 or 2.6.12 (which contains
> almost everything from -bs).
>
> That said, you are talking about userspace code, right? It's anyway strange
> that your system boots but you can't write a simple code that fork()'s.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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] 4+ messages in thread
end of thread, other threads:[~2005-06-24 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 10:05 [uml-devel] Question about the unexpected signal 11 when fork in UML-2.6.7 TT mode Alex LIU
2005-06-21 15:41 ` Blaisorblade
2005-06-24 9:57 ` Alex LIU
2005-06-24 10:17 ` 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.