This is the old SliTaz forum - Please use the main forum.slitaz.org

Problem with PCMCIA interface?
  • eastitelleastitell April 2010
    Hi,

    I am running slitaz-3.0-loram-cdrom.iso on a Toshibe Satellite 2140CDS (450MHz, 32mb RAM).

    I am unable to get Slitaz to recognise my PCMCIA wifi card (Netgear MA401).

    pccardctl status returns:

    Socket 0:
    no card
    Socket 1:
    5.0V 16-bit PC Card

    pccardutils ident returns:

    Socket 0:
    no product info available
    Socket 1:
    no product info available

    I've Googled this output, and this website http://www.murga-linux.com/puppy//viewtopic.php?p=314278&sid=80693b96990b0e427198c0eefc6914b8 suggests it is a problem with the PCMCIA interface. Another website I found suggested installing pcmciautils, but I haven't been able to work out how to do this (although I have seen from the Slitaz website that pcmciautils is included)

    In what may be an unrelated issue, I get the following error message at boot, and when trying to launch PCMan File Manager:

    Error: Unable to establish connection with FAM.

    Do you have “FAM or “Gamin” installed and running?

    OK

    lspci returns
    CardBus bridge Toshiba America Info Systems ToPIC97 (rev 07)

    This is my first foray into using linux, so I would be grateful for any guidance on what to try next. Thanks.
  • mojomojo April 2010
    Quoted from https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/linux-laptop-network-problem-69132/
    1."Until you can do an lsmod and see pcmcia_core, ds, and yenta_socket loaded, *no* cards will work for you under linux."
    2."Er..ok got it working."
    "I tried setting it to Cardbus 16bit, and voila!"

    Go into the laptops bios and change the Cardbus setting to 16 bit.
    Bootup Slitaz and see if lsmod shows the yenta_socket loaded.
    Then lspci should show the Netgear MA401 cards(orinoco)chipset

    Post the full results from command
    lsmod

    and
    lspci


  • eastitelleastitell April 2010
    Mojo, thanks for getting back to me.

    I had already tried setting the bios to 16 bit, but to no avail.

    Here's the lsmod results:

    Module Size Used by Not tainted
    yenta_socket 20988 1
    rsrc_nonstatic 9136 1 yenta_socket
    pcmcia_core 27628 2 yenta_socket,rsrc_nonstatic
    snd_es1986 21380 1
    gameport 9348 1 snd_es1986
    snd_ac97_codec 88736 1 snd_es1986
    ac97_bus 1308 1 snd_ac97_codec
    snd_pcm 51780 2 snd_es1986,snd_ac97_codec
    snd_timer 16344 1 snd_pcm
    snd_page_alloc 7256 2 snd_es1986, snd_pcm
    snd_mu401_wart 5612 1 snd_es1986
    snd_rawmidi 16920 1 snd_mpu401_wart
    snd_seq_device 5544 1 snd_rawmidi
    snd 43584 9 snd_es1986,snd_ac97_codec,snd_pcm, snd_timer,snd_
    mpu401_wart,snd_rawmidi,snd_seq_device
    soundcore 5180 1 snd
    aufs 116604 1

    Here's the lspci results:

    00:00.0 Host bridge: Toshiba America Info Systems CPU to PCI and PCI to ISA bridge (rev 02)
    00:07.0 Communication controller: Agere Systems 56k WinModem (rev 01)
    00:08.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06)
    00:0b.0 USB Controller: NEC Corporation USB (rev 02)
    00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
    00:10.0 IDE interface: Toshiba America Info Systems Extended IDE Controller (rev 34)
    00:13.0 CardBus bridge Toshiba America Info Systems ToPIC97 (rev 07)
    00:13.1 CardBus bridge Toshiba America Info Systems ToPIC97 (rev 07)

    As you can see, lspci does not show the Netgear MA401 cards(orinoco)chipset

    I am not certain that the Netgear MA401 has an orinoco chipset as this link http://linux-wless.passys.nl/query_part.php?brandname=Netgear suggests that the chipset is Prism2/2.5/3

    Thanks again for your help.
  • eastitelleastitell April 2010
    Here's the lspci -v results:

    00:00.0 Host bridge: Toshiba America Info Systems CPU to PCI and PCI to ISA bridge (rev 02)
    Subsystem: Toshiba America Info Systems Device 0001
    Flags: bus master, medium devsel, latency 0

    00:07.0 Communication controller: Agere Systems 56k WinModem (rev 01)
    Subsystem: Toshiba America Info Systems Internal V.90 Model
    Flags: bus master, medium devsel, latency 0, IRQ 3
    Memory at ffefff00 (32-bit, non-prefetchable) [size=256]
    I/O ports at 02f8 [size=8]
    I/O ports at 1c00 [size=256]
    Capabilities: [f8] Power Management version 2

    00:08.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06)
    Subsystem: Toshiba America Info Systems ViRGE/MX
    Flags: bus master, medium devsel, latency 64
    Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
    Expansion ROM at 20000000 [disabled] [size=64M]

    00:0b.0 USB Controller: NEC Corporation USB (rev 02)
    Subsystem: Toshiba America Info Systems USB
    Flags: bus master, medium devsel, latency 64, IRQ 11
    Memory at f7fff000 (32-bit, non-prefetchable) [size=4k]
    Kernel driver in use: ohci_hcd

    00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
    Subsystem: Toshiba America Info Systems ES1978 Maestro 2E Audiodrive
    Flags: bus master, slow devsel, latency 64, IRQ 11
    I/O ports at ff00 [size=256]
    Capabilities: [c0] Power Management version 2
    Kernel driver in use: ES1968 (ESS Maestro)
    Kernel modules: snd-es1968

    00:10.0 IDE interface: Toshiba America Info Systems Extended IDE Controller (rev 34) (prog-if f0)
    Subsystem: Toshiba America Info Systems Device 0002
    Flags: bus master, slow devsel, latency 64
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 000003f0 (32-bit, non-prefetchable) [size=1]
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 00000370 (32-bit, non-prefetchable) [size=1]
    I/O ports at 1800 [size=16]
    Kernel driver in use: PCI_IDE

    00:13.0 CardBus bridge Toshiba America Info Systems ToPIC97 (rev 07)
    Subsystem: Toshiba America Info Systems Satellite Pro
    Flags: bus master, slow devsel, latency 0, IRQ 11
    Memory at 20010000 (32-bit, non-prefetchable) [size=4k]
    Bus: primary=00, secondary=01, subordinate=04, sec-latency=0
    Memory window 0: 10000000-13fff000 (prefetchable)
    Memory window 1: 14000000-17fff000
    I/O window 0: 00001000-000010ff
    I/O window 1: 00001400-000014ff
    16-bit legacy interface ports ar 0001
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket

    00:13.1 CardBus bridge Toshiba America Info Systems ToPIC97 (rev 07)
    Subsystem: Toshiba America Info Systems Satellite Pro
    Flags: bus master, slow devsel, latency 0, IRQ 11
    Memory at 20011000 (32-bit, non-prefetchable) [size=4k]
    Bus: primary=00, secondary=05, subordinate=08, sec-latency=0
    Memory window 0: 18000000-1bfff000 (prefetchable)
    Memory window 1: 1c000000-1ffff000
    I/O window 0: 00002000-000020ff
    I/O window 1: 00002400-000024ff
    16-bit legacy interface ports ar 0001
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket

    N.B. This was typed in manually, apologies for any tpyos
  • mojomojo April 2010
    yenta_socket is loaded
    boot up with the wireless card out
    open a terminal become root and type
    tail -f /var/log/messages
    enter
    kernel messages in terminal as you insert the wireless card in it's socket is good
    open another terminal as root and type
    lspcmcia
    and
    pccardctl info
    and
    pccardctl ident
  • mark60mark60 April 2010
    I didn't see orinoco in lsmod, have you tried loading the driver manually?
    modprobe orinoco_cs
    If you are still having problems try dmesg |grep orinoco to see if there is a problem loading firmware or whatever.
  • eastitelleastitell April 2010
    Thanks mojo and mark60.

    When I inserted the card I got:

    Jul 2 00:07:57 (none) user.notice kernel: pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1

    lspcmcia returns:

    -sh lspcmcia: not found

    pccardctl info returns:

    PRODID_1=” “
    PRODID_2=” “
    PRODID_3=” “
    PRODID_4=” “
    MANFID=0000,0000
    FUNCID=255
    PRODID_1=” “
    PRODID_2=” “
    PRODID_3=” “
    PRODID_4=” “
    MANFID=0000,0000
    FUNCID=255

    pccardctl ident returns:

    Socket 0:
    no product info available
    Socket 1:
    no product info available

    modprobe orinoco_cs causes the system to hang

    dmesg | grep orinoco returns nothing

    dmesg | grep orinoco_cs returns nothing

    dmesg | grep host returns nothing

    dmesg | less returns:

    yenta_cardbus 0000:00:13.0: CardBus bridge found [1179:0001]
    yenta_cardbus 0000:00:13.0: ISA IRQ mask 0x06b8, PCI irq 11
    yenta_cardbus 0000:00:13.0: Socket status: 30000007
    yenta_cardbus 0000:00:13.1: CardBus bridge found [1179:0001]
    yenta_cardbus 0000:00:13.1: ISA IRQ mask 0x06b8, PCI irq 11
    yenta_cardbus 0000:00:13.1: Socket status: 30000011
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x3e0-0x4ff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x820-0x8ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc00-0xcf7: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
    pcmcia_socket pcmcia_socket1: pccard: PCMCIA card inserted into slot 1

    Again, this was typed in manually, so apologies for any typos
  • erniaernia April 2010
    just to tell that you can copy-paste in a terminal left-click selecting the text you want to copy and middle-clicking where you want to paste the text
  • mark60mark60 April 2010
    If orinoco_cs doesn't work there are a number of other flavours available. Check out this url : http://linuxwireless.org/en/users/Drivers/orinoco. If you're still stumped, experiment to see which one works. Check dmesg each time.
  • mojomojo April 2010
    Try this:
    Become root and modprobe these 3 modules in the order given.
    1. hermes
    2. orinoco
    3. orinoco_cs

    @jozee
    @ernia
    @claudinei
    If you can offer advice setting up this 16 bit prism2 card please comment
  • greggreg April 2010
    I got my Netgear MA401 working in my thinkpad t21 using Slataz 3.0 live cd. I did it using "System Tools"..."Wireless network connection"..."Drivers"... tab...then "Module"..dropdown..choose "orinoco_cs"..then click "load"....it installed in my system as ...eth1....I am using it now to post this on my home network with WEP.....Note it was not automatically recognized and loaded during system boot...don't know why
  • slicelslicel April 2010
    Have slitaz automatically load the module at start by (as root) editing /etc/rcS.conf and adding the module to the existing LOAD_MODULES line (like this but maybe add it farther to the right of any other necessary yenta or pcmcia modules)-
    LOAD_MODULES="snd_hda_intel orinoco_cs"
  • slicelslicel April 2010
    Check that you have installed packages-

    linux-wireless
    wireless_tools
    pcmciautils
    pcmcia-cis

    One site said these work on your card-
    Hostap
    orinocco (orinoco_cs?)
    prism2
  • slicelslicel April 2010
    The lspcmcia is sh not found and not in /usr/* even though tazpkg says pcmciautils is installed. Un/reinstalling does not fix it.
  • mark60mark60 April 2010
    You can use pccardctl instead of lspcmcia. I think it's pretty much the same.
  • slicelslicel April 2010
    A broken pcmcia package might explain the whole problem.
  • erniaernia April 2010
    greg got it working with orinoco_cs , maybe eastitell got it working and forget to report to the forum
  • kultexkultex April 2010
    there seem to be different revisions of the Netgear MA401 - some seem to be not working with orinoco_cs - try modprobe prism2_cs (have no idea, if the module is availaible) - in case you can get it here - its in wlan-ng ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/

    or its also reported that the hostup driver is working for MA401: http://hostap.epitest.fi/

    By the way... are you shure, that the card is working - e.g. my Nec Warpstar just died hanging around .... Puppy or DSL have very good wlan support out of the box to test ..... DSL is reporting, that all Versions of the MA401 are working: http://www.damnsmalllinux.org/wiki/index.php/Verified_Wireless_Cards
  • eastitelleastitell April 2010
    Thanks for all the input.

    Trying to load orinoco_cs from the Wireless Network Connection dialogue of the Satellite 2140CDS causes the system to hang.

    Modprobe hermes returns:
    modprobe: module hermes not found
    modprobe: failed to lead module hermes: No such file or directory

    Modprobe orinoco returns nothing

    Modprobe orinoco_cs causes the system to hand

    I've tried the MA401 with a more up-to-date laptop running SliTaz 3.0 core and found that the orinoco_cs module worked fine. I was able to connect to the internet. So have confirmed the card is working and that orinoco_cs is the right driver. I also tried all other drivers that come with SlitTaz just to check that another wouldn't work.

    I've tried a Linksys WPC11 ver.4 on the Satellite 2140CDS, loaded the rtl8180 module and connected. I haven't been able to confirm a connection to the internet as yet (not enough RAM to load Midori), but am working on it.

    By luck, I managed to get the slitaz-3.0-loram-cdrom.iso to boot without the "Error: Unable to establish connection with FAM" error message I mentioned earlier. The only thing I can think that I did differently was that I left the system waiting around at the language select prompt (for about 30mins), when I came back to it the screen had gone blank, I hit escape, then selected the language and keyboard, and it booted straight into the GUI (normally it boots to a login prompt). Under this boot I was able to load orinoco_cs without the system hanging (although I couldn't get the MA401 to work), suggesting to me that this error message and the orinoco problems are linked.

    ernia, I'm using a laptop and have no middle button. Is there a keyboard shortcut to copy from xterm? Ctrl+c doesn't seem to work.

    I will keep you updated as I try some more things.
  • erniaernia April 2010
    sx and dx click at the same time should work as a middle click
  • slicelslicel April 2010
    Ernia, what is sx and dx click?

    Thank you.
  • slicelslicel April 2010
    Eastitell, can you remove the hd and install core on it from a faster computer?

    If not, now that eastitell has a hd install from loram cd, can he copy files to convert the os to core?

    Edit- One way is to install a micro linux to a small partition, boot it, and use it to copy system files from a regular or core cd to the hd.
  • erniaernia April 2010
    sorry, me dumb, was left and right click
  • kultexkultex April 2010
    @eastitell

    thanks to your post, my Nec Warpstar is working again - reading your post, I remebered, that I was changing my ibm thinkpad X30 to X31 in those days when the warpstar gave up its live.
    So I tried the Warpstar on my Toshiba Portege R100, which normally does not go to the net - and it works like a charme. The X31 and R100 are exactly the same hardware (exept the grafic chip).
    So the only explanation: There is to less power on pcmcia on the X31, because my second pcmcia-wlan card works like a charm on the X31.

    when I insert the card dmesg tells all the time:

    ath5k 0000:03:00.0: enabling device (0000 -> 0002)
    ath5k 0000:03:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
    ath5k 0000:03:00.0: registered as 'phy1'
    ath5k phy1: failed to wakeup the MAC Chip
    ath5k 0000:03:00.0: PCI INT A disabled
    ath5k: probe of 0000:03:00.0 failed with error -5


    I did not know, that there can be to less power on pcmcia - I knew it from usb, but not from pcmcia
  • eastitelleastitell May 2010
    Now that I've got SliTaz 2.0 installed to the HD, I thought I would try a few more things. As orinoco_cs seems to cause the system to hang (and is not present in SliTaz 2.0), I thought I'd try hostap, which is recommended by http://linux-wless.passys.nl/query_part.php?brandname=Netgear

    I've downloaded it (on another computer) and extracted the tar on the Satellite 2140, but when I go to run make install I get this:

    -sh: make: not found

    Any suggestions on this?

    I can report some success with the Linksys WPC11 ver.4 on the Satellite 2140CDS. I was able to use the internet via the Links web browser.

    I have not been able to copy from xterm by clicking both mouse buttons together. Is there a keyboard shortcut to copy from xterm?
  • slicelslicel May 2010
    Check if you have these packages before trying orinoco or hostap-

    http://forum.slitaz.org/index.php/discussion/comment/5897/#Comment_5897

    There is a make package. I do not know if you need linux source, slitaz toolchain, etc.
  • eastitelleastitell May 2010
    slicel,

    The link you posted in not working for me. I'm not clear which packages you are referring to. I've done some modprobing. Here are the results:

    prism2_cs not found
    hermes not found
    orinoco not found
    orinoco_cs not found

    Just in case you didn't notice it, I will reiterate that I am using SliTaz 2.0 (as I can't get 3.0 to successfully install).
  • slicelslicel May 2010
    This forum has a bug with its own permalinks.

    I will try to remember the how-to I posted on the old forum that was deleted with the rest of the slitaz knowledge base.

    Check that you have installed packages and install them if they are missing-

    linux-wireless
    wireless_tools
    pcmciautils
    pcmcia-cis
    linux-crypto

    Try lspcmcia command to see if it works in slitaz 2. Make sure the yenta and pcmcia modules are loaded.

    Xterm commands as root-

    # lspcmcia
    # modprobe yenta_socket
    # modprobe pcmcia_core
    # modprobe orinoco_cs

    Try modprobing the other modules if orinoco does not work.

    If it still does not work, you could try-

    Edit as root /etc/network.conf so wireless is default eth0.

    Manually click start of dhcp through the network configure gui.

    Set the router to broadcast ssid and not use encryption security (to test the connection).
  • mojomojo May 2010
    Install terminal sakura.tazpkg it has cut,copy,paste right click context menu
    slitaz-toolchain.tazpkg is a meta package, that installs binutils linux-headers glibc-dev gcc make for compiling software
    Get the packages from 2.0 repository verify the headers and kernel version match
    I would think if your not compiling the driver on the system you plan to use it on the kernel versions of both systems must match.
  • The user and all related content has been deleted.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social