Subject: kern/33177: USB devices seem to freeze the system
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <msid@daemons.gr>
List: netbsd-bugs
Date: 04/01/2006 00:05:00
>Number:         33177
>Category:       kern
>Synopsis:       USB devices seem to freeze the system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 01 00:05:00 +0000 2006
>Originator:     Sideris Michael
>Release:        3.0.0_STABLE
>Organization:
>Environment:
NetBSD snail.lan 3.0.0_STABLE NetBSD 3.0.0_STABLE (SNAIL) #3: Sat Apr  1 03:44:50 EEST 2006  root@snail.lan:/usr/src/sys/arch/i386/compile/SNAIL i386
>Description:
In order to get audio to work on my laptop I need to use the auich driver. Now, to achieve this I use this kernel configuration:

include "arch/i386/conf/GENERIC_LAPTOP"

acpi0          at mainbus0
options        ACPI_PCI_FIXUP
options        WSDISPLAY_SCROLLSUPPORT
ioapic*        at mainbus?
options        MPACPI

This is the only kernel configuration that seems to boot fine and have audio working. 

So, in order to listen to music I need to connect one of my two hard drives(using an IDEtoUSB converter) or iPod Shuffle via USB. The system recognizes them fine, but... Whenever I boot the system with my iPod or any of the hard drives connected the system recognizes them and it freezes later on while configuring my network interface(rtk). It is obvious that I cannot boot that way so I unplug everything and I boot again without any problem. 

The second case is when I connect the hard drives or the iPod after the boot. The system recognizes them again, I can mount them and unmount them with no problem but when I start listening to music, after a while, from 5-20 minutes, the system freezes and I need to reboot it by pressing the power button.

This is what happens more or less with these devices and I guess it must be happening with all USB devices. I don't think that audio causes the problem. It is more like, when the system is interacting with these USB devices at some point they lock and the system freezes. Playing music from the hard drive seems to work fine till now. For the record, the two hard drives have ext3fs and the iPod msdofs, if this is any way relevant.
>How-To-Repeat:

>Fix: