NetBSD Problem Report #37045

From martin@duskware.de  Sun Sep 30 23:00:35 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id EB99A63B8C2
	for <gnats-bugs@gnats.netbsd.org>; Sun, 30 Sep 2007 23:00:34 +0000 (UTC)
Message-Id: <20070930201437.67C3D63B8C2@narn.NetBSD.org>
Date: Sun, 30 Sep 2007 20:14:37 +0000 (UTC)
From: chets@NetBSD-fr.org
Reply-To: chets@NetBSD-fr.org
To: netbsd-bugs-owner@NetBSD.org
Subject: Freezing with IrDA support
X-Send-Pr-Version: www-1.0

>Number:         37045
>Category:       port-i386
>Synopsis:       Freezing with IrDA support
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 30 23:05:00 +0000 2007
>Originator:     Ulrich Etile
>Release:        NetBSD 4.99.31 i386
>Organization:
>Environment:
System: NetBSD 4.99.31 (eta.carinae) #0: Thu Sep 13 00:29:41 UTC 2007
	daemon@carinae:/stand/src/sys/arch/i386/compile/eta.carinae

IrDA connection : IBM Thinkpad T21 / Palm m505
>Description:
Once IrDA support is enabled, you can use or not a ir transmitter.
If you use it, connection works else system can freeze.
>How-To-Repeat:
Of course first enable IrDA support in the BIOS:

* enable IrDA support in the kernel

	irframe* at oboe? 
	irframe* at uirda? 
	irframe* at ustir? 
	pseudo-device irframetty

* enable IrDA support in the userland

	set "irdaattach=YES" in the /etc/rc.conf file

* add the following lines in the /etc/rc.local file

	if [ -f /usr/pkg/bin/irs ]; then 
		/usr/pkg/bin/irs -c -m 115200 -Y -y /dev/ptyqf 
	fi

* reboot the system

Now if I don't use ir device and I want to disable irdaattach daemon, system freezes.

I precise 3 things :

	* that bug don't work everytime.
	* i've just tested on NetBSD -current.
 	* if i use a Ir device (by exemple, my Palm m505) so i have no problem. 
>Fix:
No fixing at this moment. Just kill the irs application before to shut down the system.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.