NetBSD Problem Report #7550

Received: (qmail 3339 invoked from network); 11 May 1999 05:44:38 -0000
Message-Id: <199905110544.WAA25196@nooksack.ldc.cs.wwu.edu>
Date: Mon, 10 May 1999 22:44:36 -0700 (PDT)
From: mcn@engarde.com
Reply-To: mcn@engarde.com
To: gnats-bugs@gnats.netbsd.org
Subject: USB doesn't support Intel 82371AB
X-Send-Pr-Version: www-1.0

>Number:         7550
>Category:       kern
>Synopsis:       USB doesn't support Intel 82371AB
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 10 22:50:00 +0000 1999
>Closed-Date:    Tue May 11 06:43:45 +0000 1999
>Last-Modified:  Tue May 11 06:44:21 +0000 1999
>Originator:     Mike Neuman
>Release:        1.4
>Organization:
>Environment:
NetBSD voyager 1.4 NetBSD 1.4 (MCNVGR) ... i386
>Description:
The 82371AB supports the UHCI interface, but it isn't properly enabled by NetBSD. In particular, the PCI_FLAGS_IO_ENABLED are set to 0 in the Command Status Register. As a result, uhci_pci_attach() fails in the first pci_mapreg_map().

>How-To-Repeat:
The 82371AB is found in the Sony Vaio laptop series, as well as several Intel produced Motherboards.
>Fix:


>Release-Note:
>Audit-Trail:

From: Michael Graff <explorer@flame.org>
To: mcn@engarde.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/7550: USB doesn't support Intel 82371AB
Date: 10 May 1999 22:57:24 -0700

 Do you mean it isn't found?

 This is from my Sony 818:

 uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
 uhci0: interrupting at irq 9
 uhci0: USB version 1.0
 usb0 at uhci0
 uhub0 at usb0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered

 --Michael

From: "Mike Neuman" <mcn@EnGarde.com>
To: "Michael Graff" <explorer@flame.org>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: kern/7550: USB doesn't support Intel 82371AB
Date: Tue, 11 May 1999 00:09:43 -0600

 > Do you mean it isn't found?
 >
 > uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4)
 (rev. 0x01)
 > uhci0: interrupting at irq 9
 > uhci0: USB version 1.0

   From my Sony 505TX:

 uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4)
 (rev. 0x01)
 pci_mapreg_map: PCI IO flags not enabled
 uhci0: can't map i/o space

   I added the printf in pci_mapreg_map:

 if ((pa->pa_flags & PCI_FLAGS_IO_ENABLED) == 0) {
     printf("pci_mapreg_map: PCI IO flags not enabled\n");
     return(1);
 }

   Any suggestions I can try for debugging?

 -Mike



From: Michael Graff <explorer@flame.org>
To: "Mike Neuman" <mcn@EnGarde.com>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: kern/7550: USB doesn't support Intel 82371AB
Date: 10 May 1999 23:19:20 -0700

 I hate to ask the obvious, but is it by chance disabled in your BIOS?

 --Michael

From: "Mike Neuman" <mcn@EnGarde.com>
To: "Michael Graff" <explorer@flame.org>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: kern/7550: USB doesn't support Intel 82371AB
Date: Tue, 11 May 1999 00:34:08 -0600

 > I hate to ask the obvious, but is it by chance disabled in your
 > BIOS?

   Yes, but that question lead down an interesting path. My BIOS has a "Plug
 & Play OS?" which defaults to yes. I set it to no, and it detects the USB
 just fine. No other devices were affected by the 'yes' setting.

   I guess this one can be considered closed, but I would have thought NetBSD
 wouldn't need the BIOS to configure the devices? In any case, it might make
 for a good FAQ, or tech note, or something. :-)

   Thanks for your help!

 -Mike


State-Changed-From-To: open->closed 
State-Changed-By: explorer 
State-Changed-When: Mon May 10 23:43:45 PDT 1999 
State-Changed-Why:  
Another situation of the wonderful "Plug and Play OS?" setting in 
modern BIOSs. 

--Michael 

From: Michael Graff <explorer@flame.org>
To: "Mike Neuman" <mcn@EnGarde.com>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: kern/7550: USB doesn't support Intel 82371AB
Date: 10 May 1999 23:43:12 -0700

 "Mike Neuman" <mcn@EnGarde.com> writes:

 >   Yes, but that question lead down an interesting path. My BIOS has a "Plug
 > & Play OS?" which defaults to yes. I set it to no, and it detects the USB
 > just fine. No other devices were affected by the 'yes' setting.

 This is normal, in fact.  According to the PCI spec, the firmware is
 responsible for configuring the PCI system.  Of course, in the PeeCee
 world, standards give so many options to choose from.  :/

 >   I guess this one can be considered closed, but I would have thought NetBSD
 > wouldn't need the BIOS to configure the devices? In any case, it might make
 > for a good FAQ, or tech note, or something. :-)

 Certainly.  Would you please mail the BSD FAQ maintainer?  :)

 --Michael
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.