From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 16 12:40:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66DD6106566B for ; Sun, 16 Mar 2008 12:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA9B8FC1F for ; Sun, 16 Mar 2008 12:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2GCe1Pu048980 for ; Sun, 16 Mar 2008 12:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2GCe1Lb048979; Sun, 16 Mar 2008 12:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 16 Mar 2008 12:40:01 GMT Resent-Message-Id: <200803161240.m2GCe1Lb048979@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, lunarbase Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 474361065671 for ; Sun, 16 Mar 2008 12:30:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 519178FC21 for ; Sun, 16 Mar 2008 12:30:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2GCRSIK059657 for ; Sun, 16 Mar 2008 12:27:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2GCRSut059656; Sun, 16 Mar 2008 12:27:28 GMT (envelope-from nobody) Message-Id: <200803161227.m2GCRSut059656@www.freebsd.org> Date: Sun, 16 Mar 2008 12:27:28 GMT From: lunarbase To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/121760: [7.0R][pccard][cardbus] an ed1 network pccard's CIS wasn't read unless a cardbus network card dc0 had been inserted X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2008 12:40:01 -0000 >Number: 121760 >Category: kern >Synopsis: [7.0R][pccard][cardbus] an ed1 network pccard's CIS wasn't read unless a cardbus network card dc0 had been inserted >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 16 12:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: lunarbase >Release: 7.0R >Organization: >Environment: FreeBSD 7.0-RELEASE #9: Sun Mar 9 19:46:49 JST 2008 i386 >Description: A file 'cardbus_cis.c' is already patched with following one because dc0 initialization always failed. http://www.freebsd.org/cgi/query-pr.cgi?pr=115623 Inserting a network pccard (pcmcia) ed1, FreeBSD said the card's CIS wasn't read. But after inserting a CARDBUS network card, then reinserting the pccard again, the CIS was read successfully. At insertion of the network pccard only: Status is 0x30000411 cbb1: card inserted: event=0x00000000, state=30000411 pccard1: chip_socket_enable cbb_pcic_socket_enable: cbb1: cbb_power: 5V interrupt storm detected on "irq9:"; throttling interrupt source pccard1: read_cis cis mem map 0xcaa4d000 (resource: 0x88000000) pccard1: CIS tuple chain: CISTPL_NONE 00 unhandled CISTPL 0 [snips] CISTPL_NONE 00 unhandled CISTPL 0 TOO MANY CIS_NONE unhandled CISTPL 0 unhandled CISTPL 0 [snips] unhandled CISTPL 0 unhandled CISTPL 0 CIS is too long -- truncating CISTPL_END ff cis mem map caa4d000 CISTPL_LINKTARGET expected, code 00 observed pccard1: check_cis_quirks pccard1: Card has no functions! cbb1: PC Card card activation failed Reinsertion after insertion of a cardbus network card dc0: Status is 0x30000411 cbb1: card inserted: event=0x00000000, state=30000411 pccard1: chip_socket_enable cbb_pcic_socket_enable: cbb1: cbb_power: 5V interrupt storm detected on "irq9:"; throttling interrupt source pccard1: read_cis cis mem map 0xcaa66000 (resource: 0x88010000) pccard1: CIS tuple chain: CISTPL_DEVICE type=funcspec speed=100ns 01 03 d4 0a ff CISTPL_DEVICE_A type=eeprom speed=250ns 17 03 41 00 ff CISTPL_MANFID 20 04 49 01 ab c1 CISTPL_VERS_1 15 23 04 01 44 75 61 6c 20 53 70 65 65 64 00 31 30 2f 31 30 30 20 50 43 20 43 61 72 64 00 31 2e 30 00 20 00 ff CISTPL_CONFIG 1a 05 01 20 00 04 01 CISTPL_CFTABLE_ENTRY 1b 07 d0 81 18 45 30 fc be CISTPL_CFTABLE_ENTRY 1b 07 01 08 ca 60 00 03 1f CISTPL_CFTABLE_ENTRY 1b 07 02 08 ca 60 20 03 1f CISTPL_CFTABLE_ENTRY 1b 07 03 08 ca 60 40 03 1f CISTPL_CFTABLE_ENTRY 1b 07 04 08 ca 60 80 03 1f CISTPL_CFTABLE_ENTRY 1b 07 05 08 ca 60 00 02 1f CISTPL_CFTABLE_ENTRY 1b 07 06 08 ca 60 20 02 1f CISTPL_CFTABLE_ENTRY 1b 07 07 08 ca 60 40 02 1f CISTPL_FUNCID 21 02 06 00 unhandled CISTPL 14 CISTPL_NO_LINK 14 00 CISTPL_END ff pccard1: check_cis_quirks pccard1: CIS version PCCARD 2.0 or 2.1 pccard1: CIS info: Dual Speed, 10/100 PC Card, 1.0, pccard1: Manufacturer code 0x149, product 0xc1ab pccard1: function 0: network adapter, ccr addr 400 mask 1 pccard1: function 0, config table entry 16: I/O card; irq mask befc; iomask 5, iospace 0-1f; mwait_required io16 irqlevel pccard1: function 0, config table entry 1: I/O card; irq mask befc; iomask a, iospace 300-31f; mwait_required io16 irqlevel pccard1: function 0, config table entry 2: I/O card; irq mask befc; iomask a, iospace 320-33f; mwait_required io16 irqlevel pccard1: function 0, config table entry 3: I/O card; irq mask befc; iomask a, iospace 340-35f; mwait_required io16 irqlevel pccard1: function 0, config table entry 4: I/O card; irq mask befc; iomask a, iospace 380-39f; mwait_required io16 irqlevel pccard1: function 0, config table entry 5: I/O card; irq mask befc; iomask a, iospace 200-21f; mwait_required io16 irqlevel pccard1: function 0, config table entry 6: I/O card; irq mask befc; iomask a, iospace 220-23f; mwait_required io16 irqlevel pccard1: function 0, config table entry 7: I/O card; irq mask befc; iomask a, iospace 240-25f; mwait_required io16 irqlevel pccard1: functions scanning pccard1: Card has 1 functions. pccard_mfc is 0 pccard1: I/O rid 0 start 0 end ffffffff cbb_pcic_socket_enable: pccard1: ccr_res == 88002000-880023ff, base=400 pccard1: function 0 CCR at 0 offset 400: 0 0 0 0, 0 0 0 0, 0 ed1: at port 0x100-0x11f irq 9 function 0 config 16 on pccard1 ed1: [ITHREAD] ed1: using obsoleted if_watchdog interface ed1: Ethernet address: xx:xx:xx:xx:xx:xx miibus1: on ed1 ukphy0: PHY 4 on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pccard1: function 0 CCR at 0 offset 400 mask 1: 0 0 0 0, 0 0 0 0, 0 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: