LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 08-17-2003, 07:53 AM   #1
debjan
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian GNU/Linux 3.0r1 stable
Posts: 2

Rep: Reputation: 0
Question Edimax Carcbus CIS problem


Hello!

- Please mail any help or ideas to debjan@gmx.de -

Contents:
A) My Problem
B) My System
C) Symptoms
D) Program Outputs
E) Syslog
F) Configuration
G) What I tried

----------------------

A) My Problem

I try to run an Edimax cardbus fast ethernet card with David Hinds pcmcia package.
It is not listed in /etc/pcmcia/config and 'cardctl ident' returns no usable values (see below).
What can I do to make it run?

----------------------

B) My System

Debian 3.0 r1 stable ("Woody")
2.4.18-bf2.4 kernel
pcmcia-cs_3.2.2-1.1_i386.deb installed

Siemens Nixdorf Scenic Mobile 710 Laptop (P 166, 64 MB RAM)
Cirrus CL-PD 6832 cardbus controller

Edimax EP-4103 DL cardbus fast ethernet card
(which uses a Realtek 8139 chip)

----------------------

C) Symptoms

I had to remove all lines concerning memory ranges from /etc/pcmcia/config.opts except 'include memory 0xc0000-0xfffff'. Otherwise the system freezes when the card is inserted. (When I unplug the card there are beeps - middle, low, high.)

With the changes to config.opts I get a very short and low crack and the line 'cs: cb_alloc(bus 1):vendor 0x10ec, device 0x8139' when I insert the card.

When I remove the card I get one high beep and the line 'cs:cb_free(bus 1)'.

----------------------

D) Program Outputs (with card inserted to Slot 0, in alphabetical order)

'cardctl config'
Socket 0:
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
interface type is "cardbus"
function 0:

'cardctl ident'
Socket 0:
no product info available
PCI id: 0x10ec, 0x8139

'cardctl status'
Socket 0:
3.3V CardBus card
function 0: [ready]

'cat /proc/pci' (excerpt)
Bus 0, device 20, function 0:
CardBus bridge: Cirrus Logic PD 6832 (rev 193).
IRQ 9.
Master capable. Latency=64. Min Gnt=192. Max Lat=4.
Non-prefetchable 32bit memory at 0xfedfb000 [0xfedfbffff]

'dump_cis'
Socket 0:
no CIS present

'dump_cardbus'
bash: dump_cardbus: command not found

'lsmod'
ds
i82365
pcmcia_core
apm
keybdev
usbkbd
input
usb-uhci
usbcore

'lspci -v'
pcilib: Cannot open /proc/bus/pci/01/00.0
lspci: Unable to read 64 bytes of configuration space.

(without the card it reads
00:14.0 Card Bus bridge: Cirrus Logic PD 6832 (rev c1)
Flags: bu master, medium devsel, latency 64, IRQ 9
Memory at fedfb000 (32-bit, non-prefetchable) [size=4k]
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001

----------------------

E) Syslog

(excerpts

[...]
Aug 16 13:41:04 kida kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Aug 16 13:41:04 kida kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Aug 16 13:41:04 kida kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
[...]
Aug 16 13:41:04 kida kernel: Linux PCMCIA Card Services 3.1.33
Aug 16 13:41:04 kida kernel: kernel build: 2.4.18-bf2.4 unknown
Aug 16 13:41:04 kida kernel: options: [pci] [cardbus] [apm]
Aug 16 13:41:04 kida kernel: ds: no socket drivers loaded!
Aug 16 13:41:04 kida kernel: unloading PCMCIA Card Services
Aug 16 13:41:04 kida kernel: Linux PCMCIA Card Services 3.1.33
Aug 16 13:41:04 kida kernel: kernel build: 2.4.18-bf2.4 unknown
Aug 16 13:41:04 kida kernel: options: [pci] [cardbus] [apm]
Aug 16 13:41:04 kida kernel: Intel ISA/PCI/CardBus PCIC probe:
Aug 16 13:41:04 kida kernel: Cirrus PD6832 rev c1 PCI-to-CardBus at slot 00:14, mem 0xfedfb000
Aug 16 13:41:04 kida kernel: host opts [0]: [ring] [0/7/4] [3/17/4] [pci irq 9] [lat 64/176] [bus 1/4]
Aug 16 13:41:04 kida kernel: host opts [1]: [ring] [0/7/4] [3/17/4] [pci irq 9] [lat 64/176] [bus 5/8]
Aug 16 13:41:04 kida kernel: ISA irqs (scanned) = 3,4,5,7 PCI status changes
Aug 16 13:41:04 kida cardmgr[182]: starting, version is 3.1.33
Aug 16 13:41:05 kida cardmgr[182]: watching 2 sockets

----------------------

F) What I tried

1) The card ran perfectly under WinXP on the same machine. There it was not identified as an Edimax, but as a Realtek 8139 family card.
The card configuration in system control read (translated from German):

'Realtek RTL8139-Family-PCI-Fast Ethernet-NIC'
Type: Network adapter
Producer: Realtek
Location: PCI-Bus 1, Device 0, Function 0

Resources:
I/O Range FF00-FFFF
Memory Range FFEFFE00-FFEFFFFF
IRQ 09

'Cirrus Logic PD6832 Cardbus-controller'
Type: PCMCIA adapter
Producer: Cirrus Logic
Location: PCI-Bus 0, Device 20, Function 0
Resources:
Memory Range FEDFB000-FEDFBFFF
Memory Range FFEFF000-FFEFFFFF
Memory Range F9000000-FCFFFFFF
I/O Range FF00-FFFF
I/O Range FE00-FEFF
IRQ 09
Memory Range 000DB000-000DBFFF


2) Under SuSE 8.1 with PCMCIA_PCIC="external" the card was at least recognized by YaST2, but I couldn't get it run.

Section PCI:
RT8139
Card Type: CardBus
Bus: PCI
[...]
Resources:
mem 0xc8000
active: Yes
start: 819200
Rev: 16
Driver:
modules
active: No
modpobe: Yes
modules modprobe 8139too

modules
active: No
modprobe: No
modules modprobe mii
modprobe 8139too
bus_id: 1
hotplug: cardbus
[...]


3) When I insert my ELSA Microlink 28.8 MC PCMCIA Modem card when running Debian I get:

2 high beeps.

cs: warning: no high memory space available!
cs: memory probe 0x0d0000-0x0dffff: excluding 0xdc000-0xdffff
cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xcbfff
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3c0-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0208-0x021f: clean.
cs: IO port probe 0x0238-0x032f: clean.
cs: IO port probe 0x0338-0x036f: clean.
cs: IO port probe 0x0390-0x0387: clean.
cs: IO port probe 0x03a0-0x0397: clean.
cs: IO port probe 0x03e0-0x03bf: clean.
cs: IO port probe 0x0308-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x1000-0x17ff: clean.
ttyS02 at port 0x03e8 (irq=3) is a 16550A

4) loading kernel module 'pcnet_cs' or 'cb_enabler'

5) /etc/default/pcmcia:
adding 'cis_speed=500' or 'cis_speed=900'
adding 'wakeup=1'

----------------------

G) Kernel Configuration

/boot/config-2.4.18-bf2.4 (no changes made!)

(default values are
CONFIG_HOTPLUG=y
CONFIG_APM=m
CONFIG_PNP=m
CONFIG_8139CP=y
CONFIG_8139TOO=y
CONFIG_8139TOO_8129=y

----------------------

- Please mail any help or ideas to debjan@gmx.de -
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edimax print server Pulp Linux - Hardware 0 10-27-2005 05:39 AM
Solaris 10 x86 CIS security scan ghouliajoolia Solaris / OpenSolaris 5 02-11-2005 11:02 AM
Problems with Fedora P. 2 + Edimax EN-9130TXL = NO internet. Please help Grisha8 Linux - Networking 3 09-23-2004 07:51 AM
I can't access to the net using EdiMax router Idop Linux - Networking 3 09-01-2003 12:08 PM
Edimax Cardbus CIS problem debjan Linux - Networking 0 08-17-2003 07:54 AM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration