From owner-freebsd-current@FreeBSD.ORG Mon Jul 4 12:09:34 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CC6E16A41C for ; Mon, 4 Jul 2005 12:09:34 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id A29F743D45 for ; Mon, 4 Jul 2005 12:09:33 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru (8.13.0/vak/3.0) id j64C6UXv044506 for freebsd-current@freebsd.org.checked; Mon, 4 Jul 2005 16:06:30 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from [144.206.181.94] (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru (8.13.0/vak/3.0) with ESMTP id j64C3aCY044483 for ; Mon, 4 Jul 2005 16:03:37 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <42C925A5.8060901@cronyx.ru> Date: Mon, 04 Jul 2005 16:03:49 +0400 From: Roman Kurakin User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: TTY code problems in current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 12:09:34 -0000 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? rik