Subject: port-i386/13628: "com* at isa" attach routine hangs if no com device present
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 08/04/2001 20:35:28
>Number:         13628
>Category:       port-i386
>Synopsis:       "com* at isa" attach routine hangs if no com device present
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 04 11:32:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        NetBSD 1.5.1
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Environment:
	
System: NetBSD smaug 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (SMAUG) #5: Mon Mar 19 21:52:42 MET 2001 feyrer@smaug:/disk1/cvs/src-1.5/sys/arch/sparc/compile/SMAUG sparc


>Description:
	When booting NetBSD 1.5, 1.5.1 and -current as of 20010804 (1.5X)
	on a machine that has no "com" device, the machine will hang after
	printing "isa0 at pcib0". Comparing with a dmesg from a machine
 	that has a "com" device, the next device to probe would be "com0".

>How-To-Repeat:
	Boot NetBSD on a Toshiba Satellite 3000.

>Fix:
	Make the "com at isa" probe routine not hang if no com device is
	found.

	Given the spread of USB, it's more likely to see machine with no
	"com" (and PS/2) devices in the future, so this is likely to happen
	more often on new machines now. ;(
>Release-Note:
>Audit-Trail:
>Unformatted: