linux-mips
[Top] [All Lists]

Re: Problems with PCMCIA on AMD Alchemy DB1100

To: linux-mips@linux-mips.org
Subject: Re: Problems with PCMCIA on AMD Alchemy DB1100
From: "Robin H. Johnson" <robbat2@orbis-terrarum.net>
Date: Tue, 01 Feb 2005 17:16:14 -0800
In-reply-to: <1107304567.2912.34.camel@SillyPuddy.localdomain>
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1107304567.2912.34.camel@SillyPuddy.localdomain>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
On Tue, Feb 01, 2005 at 04:36:07PM -0800, Josh Green wrote:
> I'm using the latest Linux MIPS CVS (2.6.11-rc2) on an AMD Alchemy
> DB1100 with a tool chain created with buildroot (gcc 3.4.3, binutils
> 2.15.91.0.2) and found a bug in drivers/pcmcia/au1000_generic.c that
> was causing the following error during initialization (not exact text,
> close as I can remember), and subsequently the PCMCIA hardware was
> unavailable (pcmcia_register_socket() was failing due to NULL
> resource_opts field).
> 
> au1x00_pcmcia: probe of au1x00-pcmcia0 failed with error -22
I can confirm this. I thought it was my error in trying to implement
PCMCIA for the XXS1500 board.
A fuller log available here:
http://dev.gentoo.org/~robbat2/xxs1500/linux-xxs1500-20050130.4.status

The preliminary patch that status report refers to is:
http://dev.gentoo.org/~robbat2/xxs1500/linux-xxs1500-20050130.4.gz
(not ready for any merging yet, still contains extra debug code)

> The other problem I've experienced is a kernel oops when ejecting a
> card.  While it isn't a problem for my project (should never be
> inserting/ejecting cards) I thought I'd mention it.  Here is the oops
> output, I wasn't able to use ksymoops since I'm having trouble
> building a cross compiled version (buildroot didn't install libbfd,
> etc from binutils), so this may or may not be useful:
For your ksymoops, i find it very useful to build my host binutils (not
the cross-compiler chain) with '--enable-targets=all' as then it's
possible to use your regular ksymoops (as of 2.4.10, see the INSTALL
document for more details, I wrote up 'Building ksymoops for
cross-debugging only' section ;-) without having to jump thru hoops for
a cross-ksymoops.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgp9BN21eBoEL.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>