Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27753 - pcmcia default memory/ports are for x86 not ppc
Summary: pcmcia default memory/ports are for x86 not ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High minor
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-01 21:44 UTC by David Bryson (RETIRED)
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ranges (pcmcia,1.26 KB, text/plain)
2004-07-28 07:36 UTC, Joe Jezak (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Bryson (RETIRED) gentoo-dev 2003-09-01 21:44:58 UTC
the default values for pcmcia port and memory is for x86 machines, gentoo should
atleast patch the ppc ebuild for ppc memory/ports like the howto notes:

include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0x80000000-0x80ffffff

instead of the default

Reproducible: Always
Steps to Reproduce:
1.emerge pcmcia
2. cat /etc/pcmcia/config.opts
3.
Comment 1 Kevyn Shortell (RETIRED) gentoo-dev 2003-09-01 21:52:51 UTC
Mutex, which laptop do you have? Some of the differant models have i/o controllers at differant addresses, so trying to collect the list for all the known ones that work. 
Comment 2 David Bryson (RETIRED) gentoo-dev 2003-09-02 10:45:52 UTC
I've got the TiPB 1ghz.  The HOWTO didn't give me the impression there was different ones for different powerbooks... 
this is what the HOWTO says:

  2.4.1.  PowerBook specific settings
 
  On PowerPC based PowerBook systems, the default system resources in
  /etc/pcmcia/config.opts file are no good at all.  Replace all the IO
  port and window definitions with something like:
 
       include port 0x100-0x4ff, port 0x1000-0x17ff
       include memory 0x80000000-0x80ffffff
 
but I wouldn't rule out other memory ports.
Comment 3 Kevyn Shortell (RETIRED) gentoo-dev 2003-09-02 13:06:40 UTC
I only learned about it from Paulus when he was helping me get pcmcia working on my lombard box. So it looks like I need to start collecting io ranges for ppc to add to the install doc.
Comment 4 Mark Guertin 2003-09-16 09:10:15 UTC
There are radically different sets of ranges for powerbooks, it may be a lot of collection to 
get a comprehensive list ... something i started long ago and never got anywhere on as 
no one was using pcmcia ;)
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2004-02-15 15:15:38 UTC
Status of this bug?  What should we do?
Comment 6 Timothy Weiand 2004-06-28 16:24:13 UTC
I am having an identical issue.  Fixing it was just adding the correct parameters to config.opts.

PowerBook G4, 1.25GHZ Superdrive.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2004-07-28 07:36:07 UTC
Created attachment 36325 [details]
Ranges

I've collected a bunch of ranges from google, hopefully this will help.  I've
also included the sites that these came from in case you need more information.
Comment 8 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 17:48:00 UTC
Included what we have so far.