Bug 19746

Summary: Problem with PCMCIA Ethernet card.
Product: [Retired] Red Hat Linux Reporter: Jean-Yves Toumit <jean-yves.toumit>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: ckjohnson, rmiddle, uraeus
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 02:54:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jean-Yves Toumit 2000-10-25 12:16:44 UTC
I have an Edimax PCMCIA Ethernet card on a ThinkPad 600E.
The linux kernel shipped with RedHat produces a strange error : the card is
recognized but the ifup gives :
cardmgr : bind 'pcnet_cs' to socket 0 failed: operation not permitted.
I had to recompile a new kernel 2.2.17 (with a new config), download
pcmcia_cs-3.1.1 (older than the one shipped in the RedHat 7 kernel!), to
fix this (works great).
JY.

Comment 1 Christian Schaller 2000-11-17 21:56:42 UTC
I have a ThinkPad 600 which gives the following error when trying to initalize
the pcmcia card during boot:
Bad bridge mapping at 0x00001000! not found
DS: No socket driver loaded

The laptop and card worked perfectly with RH6.2.

Has tried with two different pcmcia cards and both get same message.

I am not sure if this is exactly the same bug as this one, but it is pretty close :)

Comment 2 David Hinds 2000-11-22 04:40:01 UTC
These are two unrelated bugs.

I don't know what to say about the "operation not permitted" issue.  I have had
one or two other reports of this over the past few years; the problem went away
after some combination of kernel and PCMCIA rebuilds.  I never was able to
reproduce it.

The "bad bridge mapping" error is a BIOS bug; the BIOS is configuring one of the
CardBus sockets with a memory address of 0x00001000 which is obviously bogus. 
You can work around the problem by overriding the memory address in
/etc/sysconfig/pcmcia with a line like CORE_OPTS="cb_mem_base=0xb0000000".

(you may need to experiment with addresses in place of 0xb0000000; that is just
a wild guess.  Look at /proc/pci and see what memory regions other PCI cards are
using, and pick something that looks consistent with that)

-- Dave