Subject: Re: CVS commit: [netbsd-4] src/sys/dev/usb
To: Liam J. Foy <>
From: Andreas Burghardt <>
List: current-users
Date: 06/27/2007 00:17:21
On Mon, Jun 25, 2007 at 10:01:01AM +0000, Liam J. Foy wrote:
> Module Name:	src
> Committed By:	liamjfoy
> Date:		Mon Jun 25 10:01:01 UTC 2007
> Modified Files:
> 	src/sys/dev/usb [netbsd-4]: usb_subr.c
> Log Message:
> Pull up following revision(s) (requested by mlelstv in ticket #745):
> 	sys/dev/usb/usb_subr.c: revision 1.147
> Retry set_address function for very slow (out of spec) devices, just
> like FreeBSD.
> To generate a diff of this commit:
> cvs rdiff -r1.138.2.1 -r1.138.2.2 src/sys/dev/usb/usb_subr.c


I'm not absolutely sure if this commit is the reason, but since I've compiled
it into my GENERIC.MP, my kernel takes up to 3 minutes to boot. It's booting
as normal until:

cd0 at atapibus0 drive 0: <TSSTcorpCD/DVDW SH-S182D, , SB04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(ixpide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)

after this it does nothing for around 3 minutes until I see:

uhub5: device problem, disabling port 5

This doesn't happen before this commit.