kern/73171: fwohci driver stating cardbus firewire card has incorrect OHCI version

Andrew Reiter arr at watson.org
Tue Oct 26 11:00:45 PDT 2004


>Number:         73171
>Category:       kern
>Synopsis:       fwohci driver stating cardbus firewire card has incorrect OHCI version
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 26 18:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reiter
>Release:        5.3
>Organization:
<none>
>Environment:
FreeBSD snackshop 5.3-STABLE FreeBSD 5.3-STABLE #15: Mon Oct 25 15:12:16 PDT 2004     root at snackshop:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
This is with a RELENG_5 from afternoon of 10/25/2004 PDT using default
GENERIC on a Sony VAIO PCG-7505LSK laptop.  I am attempting to use the
following firewire card:
fwohci1: <Texas Instruments TSB12LV23> mem 0x88004000-0x880047ff,0x88000000-0x88
003fff,0x88004800-0x88004fff irq 9 at device 0.0 on cardbus0

The problem is that it seems cardbus is not mapping the fwohci hardware into
memory properly, so when the driver attempts to validate the hardware, it
fails because OHCI version is ff.ff -- which is deemed invalid.

dmesg output looks like (on bootup):
<snip>
Status is 0x30000820
cbb0: card inserted: event=0x00000000, state=30000820
cbb0: cbb_power: 3V
cardbus0: Expecting link target, got 0x0
cardbus0: Resource not specified in CIS: id=10, size=800
cardbus0: Resource not specified in CIS: id=14, size=4000
cardbus0: Resource not specified in CIS: id=18, size=800
fwohci1: <Texas Instruments TSB12LV23> mem 0x88004000-0x880047ff,0x88000000-0x88
003fff,0x88004800-0x88004fff irq 9 at device 0.0 on cardbus0
fwohci1: OHCI version ff.ff (ROM=1)
fwohci1: invalid OHCI version
fwohci1: fwohci_init failed with err=6
device_attach: fwohci1 attach returned 5
cbb0: cbb_power: 0V
cbb0: CardBus card activation failed
</snip>

Entire dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #15: Mon Oct 25 15:12:16 PDT 2004
    root at snackshop:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (744.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR,SSE>
real memory  = 134152192 (127 MB)
avail memory = 121626624 (115 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 7 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0x40000000-0x40ffffff at d
evice 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfc90-0xfc9f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 9 at dev
ice 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 3 ports with 3 removable, self powered
umass0: Sony USB Memory Stick Slot, rev 1.10/1.31, addr 3
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
fwohci0: <Sony i.LINK (CXD3222)> mem 0xfedf7c00-0xfedf7dff,0xfedf7000-0xfedf77ff
 irq 9 at device 8.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:00:b9:2b:43

fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 0a:00:46:b9:2b:43
fwe0: Ethernet address: 0a:00:46:b9:2b:43
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci0: <multimedia, audio> at device 9.0 (no driver attached)
pci0: <simple comms> at device 10.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xfc40-0xfc7f mem 0xfec00000-0xfecffff
f,0xfedf6000-0xfedf6fff irq 9 at device 11.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 08:00:46:0d:94:dc
cbb0: <RF5C475 PCI-CardBus Bridge> at device 12.0 on pci0
cbb0: Found memory at fc000000
cbb0: Secondary bus is 0

cbb0: Secondary bus set to 2 subbus 3
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: cbb_power: 0V
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0

sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
psmcpnp0: irq resource info is missing; assuming irq 12
Timecounter "TSC" frequency 744467750 Hz quality 800
Timecounters tick every 10.000 msec
fwohci0: txd err= 3 miss Ack err
Status is 0x30000820
cbb0: card inserted: event=0x00000000, state=30000820
cbb0: cbb_power: 3V
cardbus0: Expecting link target, got 0x0
cardbus0: Resource not specified in CIS: id=10, size=800
cardbus0: Resource not specified in CIS: id=14, size=4000
cardbus0: Resource not specified in CIS: id=18, size=800
fwohci1: <Texas Instruments TSB12LV23> mem 0x88004000-0x880047ff,0x88000000-0x88
003fff,0x88004800-0x88004fff irq 9 at device 0.0 on cardbus0
fwohci1: OHCI version ff.ff (ROM=1)
fwohci1: invalid OHCI version
psmcpnp0: irq resource info is missing; assuming irq 12
Timecounter "TSC" frequency 744467750 Hz quality 800
Timecounters tick every 10.000 msec
fwohci0: txd err= 3 miss Ack err
Status is 0x30000820
cbb0: card inserted: event=0x00000000, state=30000820
cbb0: cbb_power: 3V
cardbus0: Expecting link target, got 0x0
cardbus0: Resource not specified in CIS: id=10, size=800
cardbus0: Resource not specified in CIS: id=14, size=4000
cardbus0: Resource not specified in CIS: id=18, size=800
fwohci1: <Texas Instruments TSB12LV23> mem 0x88004000-0x880047ff,0x88000000-0x88
003fff,0x88004800-0x88004fff irq 9 at device 0.0 on cardbus0
fwohci1: OHCI version ff.ff (ROM=1)
fwohci1: invalid OHCI version
fwohci1: fwohci_init failed with err=6
device_attach: fwohci1 attach returned 5
cbb0: cbb_power: 0V
cbb0: CardBus card activation failed

ad0: 19077MB <IBM-DJSA-220/JS4OAC0A> [38760/16/63] at ata0-master UDMA33
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Sony MSC-U01 1.00> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0

(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad0s1a


>How-To-Repeat:

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list