Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 1997 10:35:50 +0100
From:      regnauld@deepo.prosa.dk (Philippe Regnauld)
To:        freebsd-current@freebsd.org
Subject:   2.2-B hang on serial DTR/CTS ? transition
Message-ID:  <Mutt.19970130103550.regnauld@deepo.prosa.dk>

next in thread | raw e-mail | index | archive | help
Hi,

I've been noticing this for some time in -current (and in 2.2-B):
whenever the modem is unavailable in some way for some time (power
cycle, unplugged, ...), the machine would totally freeze up for some
seconds, and sometimes never recovered at all.  I've also seen this
during bad connections when the modem retrained.  

This behavior appeared I think sometime late last year, and I haven't 
changed my rc.serial (still uses dtrwait 100 drainwait 180).

This is particularly obvious under X when suddenly the cursor
and _everything_ else freezes (console switching, numlock et al.). 

I resorteed to hitting O/A (ZyXEL) when this happens, since sometimes
it never recovers...


I could until yesterday say, "I can live with it", but I recompiled
a new kernel for my work machine here (2.2-B, 486-133 AMD, IDlE disks),
and it kept freezing _right_ after 'starting local daemons: .' and
the display of the date. (the change between the two kernels was
the addition of a 3Com ep device).

I finally traced it to getty hanging on ttyd1 because I had turned
the modem _off_!  Logging in right away and running top showed
getty using 65% CPU and going down.

What bothers me is that that with only one ep0, it doesn't hang...

Sorry for the prose, maybe I should do a PR, but I found no
concise way to explain this :-)


-- 
							-- Phil

-[ Philippe Regnauld   /   Systems Administrator   /   regnauld@.prosa.dk ]-
-[ Location.: +55.4N +11.3E       PGP Key: finger regnauld@deepo.prosa.dk ]-




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970130103550.regnauld>