Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I've been trying to get a wireless card (D-Link DWL-G630 B1) working on my old RH9 laptop for the last two days. OK, I'm completely new to messing with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    2

    Wireless, PCMCIA, and kernel config problems


    Hi,

    I've been trying to get a wireless card (D-Link DWL-G630 B1) working
    on my old RH9 laptop for the last two days. OK, I'm completely new to
    messing with drivers and kernels, but I'm not even close. This is the
    problem in a nutshell, as best as I understand it:

    If I use the kernel provided by an rpm, there is no wireless support in
    the kernel. The card is described by lspci, but the driver won't even
    try to compile.

    If I compile my own kernel, the PCMCIA module dies at boot and the
    card won't even be noticed on insert.

    Can anyone help me with this? I asked this over at another forum but
    am up to 30 views and no replies. I'd really appreciate advice that
    is not in the form "that is a very old kernel/system, try a newer
    one", unless it comes with a good reason. I've already got 7 kernels
    on my boot partition and I'd like to understand what's failing before
    trying to install another. I might well be better off with a
    different card too, but I'm pretty sure the problems I'm having here
    need to be solved before I can get ANY card to work.

    ************************************************** *********************

    Still with me? Here are some more details, which should either point
    to a solution or put you all to sleep. Sorry this is so long but
    thought it best to be complete.

    I've tried kernels 2.4.20-13.9, which I normally use, and 2.4.20-28.9,
    which I just downloaded. I basically haven't updated anything on the
    system since May 2003, when I got my sysop to install RH, until now.
    Both kernels behave similarly.

    I tried 3 versions of the config file. To compile the kernel
    I followed the instructions in Appendix A of the Red Hat guide,
    rhl-cg-en-9/index.html.

    1) Original config

    Namely the one in /boot/config-<kernel #>, which I think is inserted
    when installing the kernel rpm. This does NOT contain the line
    CONFIG_NET_WIRELESS=y
    which I think I need to get wireless to work.

    When I insert the PC card in the slot, I don't get any beeps.
    In /var/log/messages I see this:

    Jul 31 23:52:36 localhost kernel: cs: cb_alloc(bus 3): vendor 0x104c, device 0x9066
    Jul 31 23:52:36 localhost kernel: PCI: Enabling device 03:00.0 (0000 -> 0002)
    Jul 31 23:52:36 localhost cardmgr[2249]: socket 0: CardBus hotplug device
    Jul 31 23:52:36 localhost /etc/hotplug/pci.agent: ... no modules for PCI slot 03:00.0

    lspci -v shows the card is present. I get one beep when the card is removed.
    I looked around for the meaning of the "no modules for PCI slot" message
    but didn't see anything useful. So I don't know if there is a problem
    with PCI, Cardmgr, PCMCIA, or just a missing driver for the card.

    I also tried copying /boot/config-<kernel #> to
    /lib/modules/<kernel #>/build/.config and adding the missing config line,
    but then I couldn't compile the kernel. Some error about autoconf, forget
    the exact text.


    2) make oldconfig

    I tried copying the file in /boot/config-<kernel #> to
    /lib/modules/<kernel #>/build/.config again and then running make
    oldconfig during the build step. I had gotten the idea that this
    would not change much of anything, but instead the .config file was
    changed a lot from before. Now when I reboot and choose this kernel,
    the pcmcia module dies during boot as shown by the following section in
    /var/log/messages:

    Aug 1 12:26:01 localhost pcmcia: Starting PCMCIA services:
    Aug 1 12:26:01 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9ca,
    last bus=2
    Aug 1 12:26:01 localhost kernel: PCI: Using configuration type 1
    Aug 1 12:26:01 localhost kernel: PCI: Probing PCI hardware
    Aug 1 12:26:01 localhost kernel: PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
    Aug 1 12:26:01 localhost pcmcia: modules cardmgr.
    Aug 1 12:26:01 localhost cardmgr[2188]: starting, version is 3.1.31
    Aug 1 12:26:01 localhost kernel: Transparent bridge - Intel Corp. 82801BAM/CAM
    PCI Bridge
    Aug 1 12:26:01 localhost pcmcia: modprobe: Can't locate module pcmcia_core.o
    Aug 1 12:26:01 localhost cardmgr[2188]: no pcmcia driver in /proc/devices
    Aug 1 12:26:01 localhost kernel: PCI: Using IRQ router PIIX [8086/248c] at 00:1
    f.0
    Aug 1 12:26:01 localhost pcmcia: modprobe: Can't locate module yenta_socket.o
    Aug 1 12:26:01 localhost cardmgr[2188]: exiting
    Aug 1 12:26:01 localhost kernel: isapnp: Scanning for PnP cards...
    Aug 1 12:26:01 localhost pcmcia: modprobe: Can't locate module ds.o
    Aug 1 12:26:01 localhost kernel: isapnp: No Plug & Play device found
    Aug 1 12:26:01 localhost kernel: Linux NET4.0 for Linux 2.4
    Aug 1 12:26:01 localhost kernel: Based upon Swansea University Computer Society
    NET3.039
    Aug 1 12:26:01 localhost kernel: Initializing RT netlink socket
    Aug 1 12:26:01 localhost kernel: apm: BIOS version 1.2 Flags 0x03 (Driver versi
    on 1.16)
    Aug 1 12:26:01 localhost kernel: Starting kswapd
    Aug 1 12:26:01 localhost rc: Starting pcmcia: succeeded
    Aug 1 12:26:01 localhost kernel: VFS: Disk quotas vdquot_6.5.1

    When the card is inserted or removed, I don't get any beeps at all now.
    lspci -v doesn't show the card when it's inserted.

    This matches the symptoms of "base pcmcia modules do not load" in the
    PCMCIA Howto, so it's not that pcmcia_core.o doesn't exist, but that
    there's some incompatibility. The recommendation in the Howto is to
    download, recompile, and reinstall pcmcia. I don't know what could be
    wrong in this case, since I thought the pcmcia is included with the RH
    kernel, so I would think they should always be in synch.

    3) make menuconfig

    I also tried running this during the build step, just starting up and
    saving the file. I get still a third .config file out of this, which
    is more similar to option 2 than 1. The results on boot are very
    similar to option 2, though not quite as many other things break. I
    think the pcmcia messages are the same here.

    Jul 31 20:53:25 localhost kernel: Intel machine check architecture supported.
    Jul 31 20:53:25 localhost pcmcia: Starting PCMCIA services:
    Jul 31 20:53:25 localhost kernel: Intel machine check reporting enabled on CPU#0
    .
    Jul 31 20:53:25 localhost cardmgr[2247]: starting, version is 3.1.31
    Jul 31 20:53:25 localhost pcmcia: modules cardmgr.
    Jul 31 20:53:25 localhost cardmgr[2247]: no pcmcia driver in /proc/devices
    Jul 31 20:53:25 localhost pcmcia: modprobe: Can't locate module pcmcia_core.o
    Jul 31 20:53:25 localhost cardmgr[2247]: exiting
    Jul 31 20:53:25 localhost kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz steppin
    g 07
    Jul 31 20:53:25 localhost pcmcia: modprobe: Can't locate module yenta_socket.o
    Jul 31 20:53:25 localhost kernel: Enabling fast FPU save and restore... done.
    Jul 31 20:53:25 localhost pcmcia: modprobe: Can't locate module ds.o
    Jul 31 20:53:25 localhost kernel: Enabling unmasked SIMD FPU exception support..
    . done.
    Jul 31 20:53:25 localhost kernel: Checking 'hlt' instruction... OK.
    Jul 31 20:53:25 localhost kernel: POSIX conformance testing by UNIFIX
    Jul 31 20:53:25 localhost kernel: mtrr: v1.40 (20010327) Richard Gooch (rgooch@a
    tnf.csiro.au)
    Jul 31 20:53:25 localhost kernel: mtrr: detected mtrr type: Intel
    Jul 31 20:53:25 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9ca,
    last bus=2
    Jul 31 20:53:25 localhost kernel: PCI: Using configuration type 1
    Jul 31 20:53:25 localhost rc: Starting pcmcia: succeeded
    Jul 31 20:53:25 localhost kernel: PCI: Probing PCI hardware
    Jul 31 20:53:25 localhost kernel: PCI: Ignoring BAR0-3 of IDE controller 00:1f.1

    The results on card insert and extraction are the same as for option 2.

    help.....
    thanks
    ray

  2. #2
    Linux Newbie
    Join Date
    Apr 2003
    Location
    Pontypridd, Wales
    Posts
    104
    Good place to start with this kind of this is to chuck a live linux disk like slax or damn small linux and see if they can detect it. Do an lsmod and check which module is loaded. You then at least know which driver is required for your card. Alternatively, if you know the chipset of the card you can find the required module.

    Also, have a look here:

    http://www.linuxquestions.org/questi...05/06/4/335892
    \"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
    \"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    2
    I know the chipset and hence the driver; as I said above, the card is detected with an unmodified kernel. ndiswrapper did a little more than the acx100 driver but neither worked. I got a different card to work, so it appears the CONFIG_NET_WIRELESS=y flag really isn't necessary. But what if I need to recompile the kernel later? Why does it break PCMCIA?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •