Subject: kern/25398: ehci(4)+MPACPI+MPACPI_SCANPCI reboots the machine.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 04/30/2004 00:25:35
>Number:         25398
>Category:       kern
>Synopsis:       ehci(4)+MPACPI+MPACPI_SCANPCI reboots the machine.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 29 22:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD Mandylion 2.0_BETA NetBSD 2.0_BETA (Mandylion) #9: Wed Apr 28 01:46:14 CEST 2004 juan@Mandylion:/home/juan/httpd/nbsd/obj/sys/arch/i386/compile/Mandylion i386
Architecture: i386
Machine: i386
>Description:

	I was trying to play with the MPACPI and MPACPI_SCANPCI options
	in the kernel on my UP Athlon. So I built a new kernel
	with MULTIPROCESSOR, COM_MPLOCK, ioapic*, and ehci(4), uhci(4),
	etc.

	You can see my kernel config here:
	http://xtraeme.unixbsd.org:81/Nocturno

	When booting the new kernel, all was fine before starting the
	ehci(4) driver, the machine rebooted instantly.

	I tried commenting out ehci(4) from the kernel configuration, and
	all works as expected. Probably the same happens in 2.0_BETA, I
	tried that in -current (2.0E).

	The ehci controller in question:

	VIA Technologies VT8237 EHCI USB Controller

	Please let me know if you need some more information about the
	hardware or something like that.

>How-To-Repeat:

	Build a kernel with MULTIPROCESSOR, MPACPI, MPACPI_SCANPCI, and
	ehci(4).

>Fix:
	
	I wish to know why...
>Release-Note:
>Audit-Trail:
>Unformatted: