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, 11 Feb 2009, Matthias Drochner wrote:

> As said, CompactFlash works for me. Seems I'm just lucky.

Although I didn't have 5.0 on my old laptop (Tecra 8100 - dmesg is on
wiki) it worked fine there with a pre-branch -current. It barely boots now
(and I've wiped the disk) but I can set it up for testing with a bunch of
kernels on CD if required.

> plunky%rya-online.net@localhost said:
> >     RBUS_IO_BASE = 0x4000   # default, does not work
> >     RBUS_IO_BASE = 0x0a00   # works.
>
> Perhaps there is some problem with incomplete decoding?
> The i386 CARDBUS config file suggests 0x600 btw.

32-bit cards seem to work normally with GENERIC anyway and I tried that
CARDBUS config but found no change with the 16-bit ones.

I took the 0x0a00 value from PRs kern/32327 and kern/32328 (and, all over
the internet when searching for RBUS_IO_BASE :), which also suggests
reducing RBUS_IO_SIZE and that worked fine for the 16-bit cards but both
32-bit cards paniced the machine in that case (from "cbb0: <rbus> no bus
space")

I also tried the patch from kern/32938 which Sverre suggested might help
with kern/32328 but that didn't seem to help :)

> > [3] I haven't worked out how to make the message buffer persist
> > through a reboot on this machine yet
>
> Yes this sucks. It used to work until not so long ago.

Mmm, I was blaming the BIOS, thinking that perhaps for 'security' it
blanked memory on reboot (there is a significant pause)

iain


Home | Main Index | Thread Index | Old Index