Subject: Re: SPARCbook and PCMCIA
To: Michael <macallan18@earthlink.net>
From: None <christer@a-son.net>
List: port-sparc
Date: 06/28/2005 01:12:28
On Sun, Jun 26, 2005 at 07:22:42PM -0400, Michael wrote:
> Hello,
> 
> I finally got the PCMCIA controller to do The Right Thing(tm) - at least enough to run wi(4):
> 
> So I guess other PCMCIA devices should just work now. 
> In case anyone wants to play with this - a kernel for a SPARCbook 3GX is here:
> ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/sparc/SPARCbook3GX_06_26.bz2
> 

Hello,

My 3TX works fine, if I leave my PCMCIA's out. If I have them inserted
while booting I end up in the debugger. Unfortunately it doesn't care
about the keyboard, so I have to remove the battery. I have two PCMCIA's,
one is a Xircom ethernet card, the other is a modem, Diva. I get the same
result with either one or both inserted. If I insert a card after boot
I also end up in the debugger, but then the keyboard works at least.

The message I get is:

tslot0[4]: trap 0x29: pc 0xf0189a74 sfsr=0xb36 sfva=0xfe435000
data fault: pc0xf0189a74 addr=0xfe435000 sfsr=b36<PERR=0,TO,LVL=3,AT=1,FT=5,FAV,OW>
panic: kernel fault
Stopped in pid 4.12 (tslot0) at  netbsd:cpu_Debugger+0x4:	or	%o7, %g0, %g1
db>

beginning of trace says:

cpu_Debugger(0xf01e3ce8, 0xf0189a74, 0xfe435000, 0xf286b980, 0x100, 0xf0202000) at
netbsd:mem_access_fault4m+0x148
mem_access_fault4m(0x29, 0xb36, 0xfe435000, 0xf286ba28, 0xf286bca4, 0xf0189a74) at
0xf0006254
0xf0006254(0xf04f4800, 0xfe435000, 0x0, 0x0, 0x400, 0xf286bca0) at netbsd:pcmcia_
scan_cis+0xc8

I net booted and used an nfs mounted root.


-- 
Christer O. Andersson
Odensbacken