From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 26 18:00:44 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B534516A4D1 for ; Tue, 26 Oct 2004 18:00:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A7C43D41 for ; Tue, 26 Oct 2004 18:00:44 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9QI0i1i079278 for ; Tue, 26 Oct 2004 18:00:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9QI0iMQ079274; Tue, 26 Oct 2004 18:00:44 GMT (envelope-from gnats) Resent-Date: Tue, 26 Oct 2004 18:00:44 GMT Resent-Message-Id: <200410261800.i9QI0iMQ079274@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Reiter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F12016A4CE for ; Tue, 26 Oct 2004 17:59:12 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0175D43D2D for ; Tue, 26 Oct 2004 17:59:12 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9QHxBNm008466 for ; Tue, 26 Oct 2004 17:59:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9QHxBV4008462; Tue, 26 Oct 2004 17:59:11 GMT (envelope-from nobody) Message-Id: <200410261759.i9QHxBV4008462@www.freebsd.org> Date: Tue, 26 Oct 2004 17:59:11 GMT From: Andrew Reiter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/73171: fwohci driver stating cardbus firewire card has incorrect OHCI version X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 18:00:45 -0000 >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: >Environment: FreeBSD snackshop 5.3-STABLE FreeBSD 5.3-STABLE #15: Mon Oct 25 15:12:16 PDT 2004 root@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: 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): 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: 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 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@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 real memory = 134152192 (127 MB) avail memory = 121626624 (115 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0x40000000-0x40ffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: 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: port 0xfca0-0xfcbf irq 9 at dev ice 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: at device 7.3 (no driver attached) fwohci0: 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: on fwohci0 fwe0: 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: 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: at device 9.0 (no driver attached) pci0: at device 10.0 (no driver attached) fxp0: port 0xfc40-0xfc7f mem 0xfec00000-0xfecffff f,0xfedf6000-0xfedf6fff irq 9 at device 11.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 08:00:46:0d:94:dc cbb0: 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: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: cbb_power: 0V cpu0 on motherboard orm0: at iomem 0xdc000-0xdffff,0xc0000-0xcffff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 ppc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: 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: 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: 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 [38760/16/63] at ata0-master UDMA33 da0 at umass-sim0 bus 0 target 0 lun 0 da0: 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: