Date: Tue, 5 Jul 2005 12:21:54 +0400 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-current@freebsd.org, Roman Kurakin <rik@cronyx.ru> Subject: Re: TTY code problems in current Message-ID: <20050705082154.GA80025@zxy.spb.ru> In-Reply-To: <29842.1120480672@phk.freebsd.dk> References: <42C925A5.8060901@cronyx.ru> <29842.1120480672@phk.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 04, 2005 at 02:37:52PM +0200, Poul-Henning Kamp wrote: > In message <42C925A5.8060901@cronyx.ru>, Roman Kurakin writes: > >Hi, > > > > I observe some problems with my driver in async mode. > >One of the panics I see is in function putc() from tty_subr.c. > >It seems that this panic due to the fact that clist is not protected > >by any locks if driver works in smpsafe mode without Giant. > > > > The panic occur beacuse of pointer modification (the new value > >of the pointer eq. to NULL. > >Any comments? > > We do not support smpsafe tty drivers yet. IMHO, this problem related to sio (or puc) too. I got 'clist reservation botch' on SMP kernel.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050705082154.GA80025>