Subject: Re: CVS commit: src/sys/dev/usb
To: Christos Zoulas <christos@netbsd.org>
From: Arnaud Lacombe <lists-netbsd@sigfpe.info>
List: source-changes
Date: 06/11/2006 02:01:51
On Sun, Jun 04, 2006 at 07:34:16PM +0000, Christos Zoulas wrote:
> 
> Module Name:	src
> Committed By:	christos
> Date:		Sun Jun  4 19:34:16 UTC 2006
> 
> Modified Files:
> 	src/sys/dev/usb: usb_subr.c
> 
> Log Message:
> Don't allocate 1K on the stack.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.131 -r1.132 src/sys/dev/usb/usb_subr.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
This changes produce a panic when unplugging an usb<->ide adapter (it
happens also with 1.133 and 1.334):

kernel; supervisor trap page fault, code=0
Stopped in pid 4.1 (usb0) netbsd:kprintf+0x82b: repne scasb (%esi)
db> bt
kprintf()
print()
usb_disconnect_port()
uhub_explore()

If I back out to 1.131 everything works fine again.

regards,

Arnaud