Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sun2/sun3/sun4c/sun4u emulator



On Tue, Jun 08, 2010 at 09:12:02AM -0400, fredette%csail.mit.edu@localhost 
wrote:
> 
> >this is what I did. Attached is my config file, I don't think I
> >missed anything ...
> 
> That config file looks right.
> 
> >--noninteractive doesn't work either.
> >ktrace shows it's looping on __sigprocmask14:
> >  9446      1 tmesh    CALL  __sigprocmask14(3,0x7f7ffdb117e8,0)
> >  9446      1 tmesh    RET   __sigprocmask14 0
> >  9446      1 tmesh    CALL  __sigprocmask14(0,0,0x7f7ffdb117e8)
> >  9446      1 tmesh    RET   __sigprocmask14 0
> >  9446      1 tmesh    CALL  __sigprocmask14(0,0,0x7f7ffc9020a0)
> >  9446      1 tmesh    RET   __sigprocmask14 0
> >
> >just after reading a line from terminal. ktrace shows it's reading
> >from file descriptor 7 and not 0, I guess that's expected ...
> 
> What was open()ed on fd 7?

root     tmesh      17973    7 /        2057146 crw-rw-rw-   ttyr0 rw

I did not connect to ttyr0 yet, but connecting to ttyr0 with cu doesn't
change anything (BTW, shouldn't tme have ptyr0 opened instead or
ttyr0 ?)


> Can you attach gdb and get a backtrace
> when it spins?

Here is what I got:
0x00007f7ffd53414a in _sys___sigprocmask14 () from /usr/lib/libc.so.12
(gdb) where
#0  0x00007f7ffd53414a in _sys___sigprocmask14 () from /usr/lib/libc.so.12
#1  0x00007f7ffd554719 in __longjmp14 () from /usr/lib/libc.so.12
#2  0x0000000000000001 in ?? ()
#3  0x00007f7ffce10d3a in tme_sparc_redispatch ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#4  0x00007f7ffce1bec2 in _tme_stp103x_external_check ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#5  0x00007f7ffce11993 in tme_sparc_thread ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#6  0x00007f7ffda050c1 in tme_sjlj_dispatch () from /usr/pkg/lib/libtme.so.0
#7  0x00007f7ffda05874 in tme_sjlj_threads_run () from /usr/pkg/lib/libtme.so.0
#8  0x000000000040169d in ?? ()
#9  0x000000000040117f in ?? ()
#10 0x00007f7ffdffa000 in ?? ()
#11 0x0000000000000002 in ?? ()
#12 0x00007f7ffffff8e0 in ?? ()
#13 0x00007f7ffffff8e6 in ?? ()
#14 0x0000000000000000 in ?? ()

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index