Port-sparc64 archive

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

Re: sun2/sun3/sun4c/sun4u emulator




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 ?)

I usually have tme open the slave side, after tip has opened the
master side (the comments in MY-SUN4U get master/slave backwards,
although the console0 line is right).  Try starting cu on the master
side (/dev/ptyr0) before starting tme.

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

Here is what I got:

I think it's spinning because console0 is always finding /dev/ttyr0
readable (or maybe exceptional) in select() because that master side
isn't open.

--
Matt Fredette




Home | Main Index | Thread Index | Old Index