device busy -- no locks?

Jo Rhett jrhett at svcolo.com
Tue Jul 25 20:22:34 UTC 2006


On Jul 23, 2006, at 11:57 PM, Bruce Evans wrote:
> Killing all processes sleeping in serial device open unwedges the  
> port for
> the bug that I know about (provided the close doesn't hang).  This and
> making the open succeed by raising DCD in hardware are the only  
> ways that
> I know of to unwedge the port once the open gets stuck.

Hm.  So I just noticed that ttyd0 was locked even though nothing was  
using it.  I shut down qpage and disabled the getty (vi /etc/ttys and  
kill -1 1) and now there's no processes to use it and its still locked.

Anything else I can gather to help debug this?  Or in particular, get  
a bug open on this and perhaps get it fixed?

-- 
Jo Rhett
senior geek
Silicon Valley Colocation



More information about the freebsd-hardware mailing list