Subject: port-i386/37045: Freezing with IrDA support
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/30/2007 23:05:00
>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
System: NetBSD 4.99.31 (eta.carinae) #0: Thu Sep 13 00:29:41 UTC 2007

IrDA connection : IBM Thinkpad T21 / Palm m505
Once IrDA support is enabled, you can use or not a ir transmitter.
If you use it, connection works else system can freeze.
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 

* 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. 
No fixing at this moment. Just kill the irs application before to shut down the system.