kern/121759: [7.0R][cardbus][dc] cardbus dc0 initialization failure at only first boot

lunarbase lunarbase+unx at gmail.com
Sun Mar 16 12:30:01 UTC 2008


>Number:         121759
>Category:       kern
>Synopsis:       [7.0R][cardbus][dc] cardbus dc0 initialization failure at only first boot
>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:30: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 the initialization always failed.
http://www.freebsd.org/cgi/query-pr.cgi?pr=115623

After powering on my laptop ThinkPad i1400 (2611-436), the cardbus dc0 initialization alway fails. But after rebooting FreeBSD or reinserting the card, it's successfully initialized.
The initialization failure sometimes becomes a pagefault.

At powering on:

cbb0: <O2Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.0 on pci0
cbb0: Found memory at 80000000
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: [ITHREAD]
cbb1: <O2Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.1 on pci0
cbb1: Found memory at 80001000
cbb1: Secondary bus is 0
cbb1: Secondary bus set to 4 subbus 5
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [ITHREAD]
..
Status is 0x30000821
cbb0: card inserted: event=0x00000000, state=30000821
cbb0: cbb_power: 3V
Status is 0x30000007
interrupt storm detected on "irq9:"; throttling interrupt source
cardbus0: CIS pointer is 0xff7
cardbus0: CIS in option rom
cardbus0: Bad header in rom 0: [0] ffff
cardbus0: Unable to allocate resources for CIS
cardbus0: Warning: Bogus CIS ignored
cardbus0: <network, ethernet> at device 0.0 (no driver attached)
cbb0: cbb_power: 0V


Reinserting the card:

Status is 0x30000827
Status is 0x30000821
cbb0: card inserted: event=0x00000000, state=30000821
cbb0: cbb_power: 3V
interrupt storm detected on "irq9:"; throttling interrupt source
cardbus0: CIS pointer is 0x107
cardbus0: CIS in option rom
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: IBM | 10/100 EtherJet CardBus | IBMC-10/100 | 1.04 | 
TUPLE: Unknown(0x88) [4]: xx xx xx xx
TUPLE: Unknown(0x8a) [12]: xx xx xx xx xx xx xx xx xx xx xx xx
TUPLE: Unknown(0x8b) [4]: 00 00 00 00
Manufacturer ID: a400130181
TUPLE: Unknown(0x44) [4]: c1 bd 9c 27
Functions: Network Adaptor, Multi-Functioned
Function Extension: 0406xxxxxxxxxxxx
Function Extension: 0102
Function Extension: 0280969800
Function Extension: 0200e1f505
Function Extension: 0301
Function Extension: 0303
Function Extension: 0501
TUPLE: Unknown(0x1c) [4]: 02 4f 02 ff
TUPLE: Unknown(0x04) [7]: 03 02 03 01 00 00 ff
TUPLE: Unknown(0x05) [8]: 41 b0 b0 bc 8e 0e fb 04
TUPLE: Unknown(0x05) [9]: 02 b8 02 b0 bc 8e 1c fb 04
TUPLE: Unknown(0x14) [0]:
CIS reading done
dc0: <Xircom X3201 10/100BaseTX> port 0x1000-0x107f mem 0x88000000-0x880007ff,0x88001000-0x880017ff irq 9 at device 0.0 on cardbus0
miibus0: <MII bus> on dc0
tdkphy0: <TDK 78Q2120 media interface> PHY 0 on miibus0
tdkphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: xx:xx:xx:xx:xx:xx
dc0: [ITHREAD]

>How-To-Repeat:
Insert dc0 and power on the laptop.
A system boot after CTRL+ALT+DEL or 'shutdown -r now' doesn't cause the initialization failure.
>Fix:


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


More information about the freebsd-bugs mailing list