Subject: port-i386/9234: NetBSD 1.4P cannot attach uhci0 USB controller on Vaio laptop
To: None <gnats-bugs@gnats.netbsd.org>
From: Jonathan Stone <jonathan@Cuisinart.DSG.Stanford.EDU>
List: netbsd-bugs
Date: 01/18/2000 21:45:36
>Number:         9234
>Category:       port-i386
>Synopsis:       NetBSD 1.4P cannot attach uhci0 USB controller on Vaio laptop
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 18 21:45:00 2000
>Last-Modified:
>Originator:     Jonathan Stone
>Organization:
	Stanford DSG
>Release:        NetBSD-current as at Jan 18, 2000
>Environment:
	
System: NetBSD Cuisinart.DSG.Stanford.EDU 1.4P NetBSD 1.4P (CARDBUS) #28: Sun Dec 12 15:54:19 PST 1999 jonathan@Cuisinart.DSG.Stanford.EDU:/cuisinart/src/NetBSD/src/sys/arch/i386/compile/CARDBUS i386


>Description:

NetBSD 1.4P cannot attach the USB host controller on Sony Vaio 3xx
seriers laptops.  The PCI BIOS does not correctly align the IOport
address on these machines.

The original Japanese pcibios patches worked around this problem, but
the verison committed by Jason Thorpe does not.

Jason explains that the ioport fixup code was not commited because it
was not complete (e.g., it would not handle PCI-PCI bridges), but it
was at least adequate for this particular problem.

>How-To-Repeat:

Boot 1.4P on a Sony Vaio PCG-350, -360 or -370.
Note the kernel boot messages:

Jan 13 16:54:02 Cuisinart /netbsd: uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
Jan 13 16:54:02 Cuisinart /netbsd: uhci0: can't map i/o space

>Fix:

I dunno how to attack PCI-PCI bridges, but putting the incomplete
ioport fixups would work for me :-;.
>Audit-Trail:
>Unformatted: