Subject: problem with HiNT HB1 PCI-PCI bridge on DS10
To: None <port-alpha@netbsd.org>
From: Miles Nordin <carton@Ivy.NET>
List: port-alpha
Date: 03/31/2004 18:49:50
I have a problem with a USB/Firewire card.  This is with
current-20031213.  The card is an USB 2.0 chip and an fwohci behind a
PCI-PCI bridge.  The kernel probes the bridge, but sees no devices
attached to the PCI bus behind the bridge.

I see dmesg where someone else has what looks like the same card
working in a different alpha:

  http://www.google.com/search?q=cache:8oUD6MEkV9sJ:www.unixmagic.org/ml/netbsd/200403/msg00002.html

Part of my config file:
-----8<-----
pci*	at	ppb?
ppb*	at	pci? dev ? function ?		# PCI-PCI Bridges
fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
ohci*	at	pci? dev ? function ?		# USB Open Host Controller
ehci*	at	pci? dev ? function ?		# USB 2.0 parent controller
-----8<-----

Here's the boot messages (search for ^pci1):

-----8<-----
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6ZG (CASTROVALVA-$Revision: 1.3 $) #0: Wed Mar 31 17:14:05 EST 2004
	carton@castrovalva:/scratch/src/sys/arch/alpha/compile/CASTROVALVA
AlphaServer DS10 466 MHz, s/n 4006DQMZ10
8192 byte page size, 1 processor.
total memory = 512 MB
(2896 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 467 MB
using 3271 buffers containing 26168 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 512MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
tlp0 at pci0 dev 9 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at dec 6600 irq 29
tlp0: DEC , Ethernet address 08:00:2b:86:af:46
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 11 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at dec 6600 irq 30
tlp1: DEC , Ethernet address 08:00:2b:86:b0:d2
tlp1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
isp0 at pci0 dev 14 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 6600 irq 35
scsibus0 at isp0: 16 targets, 8 luns per target
isp1 at pci0 dev 15 function 0: QLogic 1020 Fast Wide SCSI HBA
isp1: interrupting at dec 6600 irq 39
scsibus1 at isp1: 16 targets, 8 luns per target
ppb0 at pci0 dev 17 function 0: HiNT HB1 PCI-PCI Bridge (rev. 0x11)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
stray isa irq 15
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4081B, K2I3C9E5609, A100> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
sd0 at scsibus0 target 0 lun 0: <COMPAQ, BD009222C7, B016> disk fixed
sd0: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <COMPAQ, BB01821AC3, 3B05> disk fixed
sd1: async, 8-bit transfers
sd1(isp0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required
     FRU CODE:  0x2

sd1: drive offline
sd1: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 2 lun 0: <COMPAQ, BB01821AC3, 3B05> disk fixed
sd2: async, 8-bit transfers
sd2(isp0:0:2:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required
     FRU CODE:  0x2

sd2: drive offline
sd2: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs
sd1(isp0:0:1:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required
     FRU CODE:  0x2

sd2(isp0:0:2:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Initialization Command Required
     FRU CODE:  0x2

IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
-----8<-----

-- 
Only the Polytron reduces an entire mouse to a soup-like homogenate 
in 30 seconds.