Next-in-Thread Next Message

Question Panic on card insert on ppc g3, 3.1.11 / 2.2.x 

Forum: Non-x86 PCMCIA Issues
Date: 2000, Feb 21
From: Wim Lewis wiml

I'm getting a kernel panic when I insert a pcmcia card on my PowerBook G3 (Lombard). Is this a known problem?

It happens with pcmcia-cs 3.1.11 and kernel 2.2.15pre7 from linuxcare.com.au, as well as with 3.1.1 and 2.2.14 (from which I upgraded). The panic looks basically the same with either a Lucent Wavelan 802.11HR card or an old Megahertz 14.4kbps modem.

I apologize for not including actual ksymoops output; I can't paste into this web browser. The panic is due to a NULL dereference in pcmcia_core, invoked by cardmgr through an ioctl. The bottom few routines vary but tend to include parse_cftable_entry(), validate_cis(), add_interval(), read_cis_cache(), get_{first,next}_tuple(), etc. I can post the read ksymoops output if necessary.

By playing around and running insmod, cardctl, etc. by hand, I did get pcmcia-cs to initialize the Wavelan card twice, once as an "anonymous memory device" and once as a "Melco WLI-PCM-L11", but inserting the card into the slot after loading the modules & starting cardmgr invariably causes a panic.

Next-in-Thread Next Message

Messages Inline: 0 1

None PCMCIA on PowerPC is problematic

Re: Question Panic on card insert on ppc g3, 3.1.11 / 2.2.x (Wim Lewis)
Date: 2000, Feb 22
From: David Hinds <dhinds@pcmcia.sourceforge.org>

PCMCIA setup on PowerBooks is sketchy, because I can't test it and get
very little feedback from users.

Only a subset of PCMCIA drivers have had any testing on PowerPC
systems.  The supported-cards list shows which drivers are reported to
work on PowerPC; I have not heard that the Wavelan driver works.  It
may be ok, or it may have big-endian/little-endian issues that need to
be sorted out.

/etc/pcmcia/config.opts also needs to be configured specially.  I
would try changing the default memory and IO port windows to something
like:

    include memory 0x80000000-0x80ffffff
    include port 0x100-0x1ff

(remove the 0xc0000-0xfffff memory window, and the other IO port
windows), and see if that works any better, at least for the modem
card.

-- Dave

Feedback PCMCIA on PowerPC

Re: None PCMCIA on PowerPC is problematic (David Hinds)
Date: 2000, Feb 23
From: Wim Lewis wiml

Ah! That works --- thanks. No more panics. (I'm a little confused about the `port' range, since ppc doesn't have a separate I/O space like intel --- maybe it's a PCI thing.)

Of course, there are other problems: the modem doesn't work because Mac serial ports are Zilog Z8530-based and the kernel doesn't seem to support having both z8530 and 8250/1655x based ports in the same system.

The wavelan doesn't produce any errors but isn't moving any packets either; I probably just don't have it configured right.

I think it would be handy to have a README.non-i86 in the distribution with reported problems, workarounds, etc. on non-Intel platfdorms. (In particular, setting the memory range, which is obvious in retrospect.) I could write up a brief section on powerbooks.

None Yes, some tips would be a good idea

Re: Feedback PCMCIA on PowerPC (Wim Lewis)
Date: 2000, Feb 23
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I agree that there should be a section in the HOWTO about Powerbooks,
but since I have so little information, I have not been comfortable
with writing it.  I would welcome contributions.

-- Dave

Note WaveLAN on ppc

Re: Feedback PCMCIA on PowerPC (Wim Lewis)
Date: 2000, Feb 24
From: Wim Lewis wiml

There seem to be severe endianness problems with the WaveLAN driver (for example, all the MAC addresses and the ESSID, etc., are byteswapped). I found a link to a pahe which claims that someone has the WaveLAN working on their ppc, but the server's down right now...

Question WaveLAN on PPC url?

Re: Note WaveLAN on ppc (Wim Lewis)
Date: 2000, Mar 26
From: Peter pfolk

What patch is that you're referring to?

None 3C589C works fine with changed memory address (Apple pismo)

Re: None PCMCIA on PowerPC is problematic (David Hinds)
Date: 2000, May 25
From: Christoph Eyrich eyrich

Just to let others know:

Changing config.opts as proposed by David Hinds in

http://pcmcia.sourceforge.org/cgi-bin/HyperNews/get/pcmcia/ports/2/1.html

<quote> /etc/pcmcia/config.opts also needs to be configured specially. I would try changing the default memory and IO port windows to something like:

     include memory 0x80000000-0x80ffffff
     include port 0x100-0x1ff

(remove the 0xc0000-0xfffff memory window, and the other IO port windows), and see if that works any better, at least for the modem card. </quote>

gives a working ethernet. No more kernel crashes ... (so far)

(Apple PB G3-400 Pismo, 2.2.15, pcmcia-cs-3.1.8)

(Adaptec 1460 still crashes the kernel)

Christoph Eyrich

Panic on card insert on ppc g3, 3.1.11 / 2.2.x


Add Message to: "Panic on card insert on ppc g3, 3.1.11 / 2.2.x"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10