On Monday 18 April 2005 19:47, Shavian Shakes wrote: > On 4/18/05, Jeff Dike <[EMAIL PROTECTED]> wrote: > > On Sun, Apr 17, 2005 at 11:44:20PM -0700, Shavian Shakes wrote: > > > Hi, I recently configured a UML on Suse 9.0. Everything else is fine > > > but from the bash shell whenever I issue any command I get the error > > > in the subject line. > > > > > > I am at a loss of ideas how to debug this. Any help, ideas really > > > appreciated. > > > > First thing is to strace a bash that's doing this, to see what's > > happening at the syscall level. > > Thanks for the pointer. > > I tried the strace (strace ls) and tried to compare it with the same > on the host. Not much difference. One thing I noticed on the guest was > > > set_thread_area({entry_number:-1 -> -1, base_addr:0x40175900, > limit:1048575, seg s:0, read_exec_only:0, limit_in_pages:1, > seg_not_present:0, useable:1}) = -1 ENO implemented) > > Searching through the devel list I gather that this is due to TLS > issues, but that should be ok as long as the UML boots up and runs > fine. Well, when you don't rename /lib/tls to something else, you get "strange" failures, i.e. things *almost* work. If that fixes the problem, don't go further. Otherwise, read below.
> So maybe something else is causing the problem. Here is the > strace I got from the guest for "ls": Hmm, probably to debug this you need to do a strace bash -c "true" Assuming bash -c "true" gives the error. In fact, the stracing starts after bash has finished his work, so it can't help. -- 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-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user