Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 20:25:45 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Robert Watson <rwatson@freebsd.org>, stable@freebsd.org
Cc:        imp@freebsd.org
Subject:   Re: NULL pointer deref in sioopen() suggests a close/open race on sio device?
Message-ID:  <p06200736be19fd51435b@[128.113.24.47]>
In-Reply-To: <Pine.NEB.3.96L.1050123164550.46157O-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1050123164550.46157O-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:51 PM +0000 1/23/05, Robert Watson wrote:
>
>The ps list is a bit boring, but the primary interesting thing is
>that it looks like the close was going on in one thread just about
>when the sio swi was scheduled to run also:

    [...]

>   This in turn suggests that something has called ttyrel/tty_close
>on the TTY in a race with the open, or otherwise NULL'd that pointer
>via knlist_destroy().  Anyone have any pointers on this one?  The
>TTY code is not my forte...

FWIW, I just recently setup some of my freebsd boxes with serial
consoles.  It *seems* to me that if I type in 'shutdown -r now'
when I am logged into a serial console, there's often some long
delay before the reboot happens.  It's long enough to be annoying,
but not long enough to motivate me to look into it.  My machines
usually have a monitor/keyboard also setup on them, so my solution
has been to avoid using the serial console...

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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