On Monday 07 November 2005 09:28, Hayim Shaul wrote: > On Fri, 4 Nov 2005, Blaisorblade wrote: > > On Thursday 03 November 2005 08:19, Hayim Shaul wrote: > >> I saw the problem recurring. > > > > Wait a moment, just noticed after all the rest - you are another user (we > > discussed the rmmod crash, I've finished and maybe posted a patch for it) > > and getting the same problem? You talk like being the same...
> > Anyway, I'm answering assuming this is the same problem. > From a previous mail I understand that changing the path has worked for > Eyal. > > Try "strace -f gdb", give "run" at the gdb prompt and see it going nuts > > (never tested)... > I am not sure how reliable this trace is. When I run gdb on linux it > receives a SIGTRAP and breaks almost immediately. It's totally fine. Read "debugging UML" -> "in SKAS mode" on the website. This and a few other things are documented there. If you get many _repeated_ SIGTRAP under GDB, that's another problem, but I found a workaround which worked on anything I tested (starting from 2.6.13-bs). > Is the UML generating trap signals? > If so, is there a way not to generate them, or tell gdb to ignore them? > > *) pass mode=tt. It's slower but more tested. It should be a workaround > > for you (make sure you enable TT mode first). > This has worked. Nice, you're not using a SKAS patch on the host right? Then the problem is in SKAS0 mode - it's a relatively new feature and there are some environments on which it doesn't work. > > *) Try using a different UML version - there is my -bs tree, on my > > homepage (see signature), which is more up-to-date than -stable kernels > > (applies on them though). It has fixes for -skas0 mode (it's a recent > > introduction so still to be perfected a bit) > I'll do it later and let you know. -- 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: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user