tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PCMCIA broken (was Re: no ndis* at cardbus?)



On Wed, Feb 11, 2009 at 06:14:24PM -0800, John Nemeth wrote:

>      Is your dmesg available somewhere?  Have you tried PCI_BUS_FIXUP?
> The issue is that some BIOSes don't initialise (assign bus numbers) to
> all PCI buses.


I have PCI_BUS_FIXUP on a 5.0_RC1 kernel; I can boot it when I
use userconf to disable firewire (else I get NMI); the cardbus 
bridges complain about wrong VCC request and disable themselves.
As a result, no pcmcia, either.

NetBSD-4 (which works) shows:

cbb0 at pci0 dev 12 function 0: Ricoh 5C478 PCI-CardBus bridge (rev. 0x80)
cbb1 at pci0 dev 12 function 1: Ricoh 5C478 PCI-CardBus bridge (rev. 0x80)
cbb0: interrupting at irq 9
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 9
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1

NetBSD-5RC1 shows

> dmesg | egrep '(cbb|pcm)'
cbb0 at pci0 dev 12 function 0: vendor 0x1180 product 0x0478 (rev. 0x80)
cbb1 at pci0 dev 12 function 1: vendor 0x1180 product 0x0478 (rev. 0x80)
cbb0: bad Vcc request. sock_ctrl 0xf000ff00, sock_status 0xf000e2c3
cbb0: disabling socket
cbb0: cacheline 0x0 lattimer 0x10
cbb0: bhlc 0x821000
cbb0: interrupting at irq 9
cardslot0 at cbb0
pcmcia0 at cardslot0
cbb1: bad Vcc request. sock_ctrl 0xf000ff00, sock_status 0xf000e2c3
cbb1: disabling socket
cbb1: cacheline 0x0 lattimer 0x10
cbb1: bhlc 0x821000
cbb1: interrupting at irq 9
cardslot1 at cbb1
pcmcia1 at cardslot1

That's a GENERIC with:

options         PCIVERBOSE      # verbose PCI device autoconfig messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
# IDE controller on Toshiba Portege 3000 series (crippled PCI device)
# PCI bus support
# Configure PCI using BIOS information
options         PCIBIOS                 # PCI BIOS support
options         PCIBIOSVERBOSE          # PCI BIOS verbose info
#options        PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
options         PCIBIOS_INTR_GUESS      # see pcibios(4)
#options        PCIINTR_DEBUG           # super-verbose PCI interrupt fixup
# PCI fixups, for both PCIBIOS and ACPI
options         PCI_ADDR_FIXUP          # fixup PCI I/O addresses
options         PCI_BUS_FIXUP           # fixup PCI bus numbering
options         PCI_INTR_FIXUP          # fixup PCI interrupt routing

Hope this helps.

        -is
-- 
seal your e-mail: http://www.gnupg.org/


Home | Main Index | Thread Index | Old Index