From nobody@FreeBSD.org  Sun Mar 27 08:25:34 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED88716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Mar 2005 08:25:34 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 919C043D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Mar 2005 08:25:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2R8PYMs013636
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Mar 2005 08:25:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2R8PYVw013630;
	Sun, 27 Mar 2005 08:25:34 GMT
	(envelope-from nobody)
Message-Id: <200503270825.j2R8PYVw013630@www.freebsd.org>
Date: Sun, 27 Mar 2005 08:25:34 GMT
From: Jukka Ukkonen <jau@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Autoconfigure fails for O2Micro OZ6812/6872 PCI-CardBus Bridge
X-Send-Pr-Version: www-2.3

>Number:         79274
>Category:       i386
>Synopsis:       Autoconfigure fails for O2Micro OZ6812/6872 PCI-CardBus Bridge
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 27 08:30:02 GMT 2005
>Closed-Date:    
>Last-Modified:  Wed Apr 27 21:40:10 UTC 2011
>Originator:     Jukka Ukkonen
>Release:        FreeBSD 5.4-PRERELEASE
>Organization:
>Environment:
FreeBSD mimir 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #3: Sat Mar 26 12:23:43 EET 2005     root@mimir:/usr/obj/usr/src/sys/GENERIC  i386


>Description:
      At boot time autoconfigure of an O2 Micro single slot PCI-CardBus bridge
fails. The output from autoconfigure goes as follows...

cbb0: <O2Micro OZ6812/6872 PCI-CardBus Bridge> at device 9.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: unable to route slot 9 INTA
cbb: Unable to map IRQ...
device_attach: cbb0 attach returned 12

So, there is something odd about how the IRQs work.


When the system has booted a quick check with pciconf (pciconf -l -v)
reports the card as shown below. This gives me the impression that
the card should be a known one.

cbb0@pci0:9:0:  class=0x060700 card=0x00000000 chip=0x68721217 rev=0x05 hdr=0x02
    vendor   = 'O2 Micro Inc'
    device   = 'OZ6812 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus



>How-To-Repeat:
      You need only the OZ6812/6872 card and boot.
If there is a need for more debug info, just let me know.
For the moment the system in which I found this problem is
just a testing environment. So, producing more test data
should be relatively quick and easy.

>Fix:
      None known yet.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-i386 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 3 08:28:53 GMT 2005 
Responsible-Changed-Why:  
This sounds like it might be i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79274 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 17 09:07:00 UTC 2007 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-i386->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jun 17 09:07:00 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=79274 
State-Changed-From-To: feedback->suspended 
State-Changed-By: linimon 
State-Changed-When: Wed Jun 20 07:19:05 UTC 2007 
State-Changed-Why:  
Submitter notes that the code has not changed, so this is probably still 
a problem.  If a committer wants to work on this, he still has the system. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79274 
Responsible-Changed-From-To: linimon->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 23 03:48:03 UTC 2007 
Responsible-Changed-Why:  
Now that feedback has been received, turn this back over to the pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79274 

From: John Baldwin <jhb@FreeBSD.org>
To: bug-followup@FreeBSD.org, jau@iki.fi
Cc:  
Subject: Re: i386/79274: Autoconfigure fails for O2Micro OZ6812/6872 PCI-CardBus
 Bridge
Date: Wed, 27 Apr 2011 17:30:49 -0400

 If this is still an issue, please capture a full verbose dmesg.
 
 -- 
 John Baldwin
>Unformatted:
