Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 13:09:23 -0600 (MDT)
From:      Warner Losh <imp@bsdimp.com>
To:        madkiss@madkiss.org
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Problems getting my pcmcia-card to work
Message-ID:  <20060517.130923.104103765.imp@bsdimp.com>
In-Reply-To: <20060514000739.GA2456@martin-loschwitzs-computer.local>
References:  <20060514000739.GA2456@martin-loschwitzs-computer.local>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Martin Loschwitz <madkiss@madkiss.org>
Subject: Problems getting my pcmcia-card to work
Date: Sun, 14 May 2006 02:07:39 +0200

> Hi all, I am desperately trying to get my pccard to work together with FreeBSD
> 6.1. With all debug mechanisms enabled, this is what I see in the dmesg:
> 
> cbb0: <RF5C475 PCI-CardBus Bridge> irq 23 at device 11.0 on pci2
> pcib2: cbb0 requested memory range 0xeb000000-0xed7fffff: good
> cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xeb001000
> cbb0: Found memory at eb001000
> cbb0: Secondary bus is 0
> cbb0: Setting primary bus to 2
> cbb0: Secondary bus set to 3 subbus 4
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> ioapic0: routing intpin 23 (PCI IRQ 23) to vector 50
> cbb0: [MPSAFE]
> cbb0: PCI Configuration space:
>   0x00: 0x04751180 0x02100007 0x06070081 0x00022000 
>   0x10: 0xeb001000 0x020000dc 0x20040302 0xfffff000 
>   0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 
>   0x30: 0x00000000 0xfffffffc 0x00000000 0x07000117 
>   0x40: 0x00000000 0x00000001 0x00000000 0x00000000 
>   0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0x80: 0x00000001 0x00000000 0x04630463 0x00000000 
>   0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0xa0: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 
>   0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001 
>   0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
>   0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
> ...
> Status is 0x30000410
> cbb0: card inserted: event=0x00000000, state=30000410
> pccard0: chip_socket_enable
> cbb_pcic_socket_enable:
> cbb0: cbb_power: 5V
> pccard0: read_cis
> pcib2: pccard0 requested memory range 0xeb000000-0xed7fffff: good
> cis mem map 0xe52a7000 (resource: 0xeb010000)
> pccard0: CIS tuple chain:
> CISTPL_END
>  ff
> cis mem map e52a7000
> CISTPL_LINKTARGET expected, code ff observed
> pccard0: check_cis_quirks
> pccard0: Card has no functions!
> cbb0: PC Card card activation failed

This sounds like the region used for the reading of the CIS doesn't
work for some reason.  You should try another one.  I believe this can
be tweaked with the hw.cbb.start_memory sysctl.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060517.130923.104103765.imp>