Re: RealTek 8180 wireless LAN (mini) PCI card

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 01/13/04


Date: 13 Jan 2004 17:02:29 GMT


["Followup-To:" header set to comp.os.linux.hardware.] On Tue, 13 Jan
2004 17:30:40 +0100, Joachim A. Stuewe staggered into the Black Sun and
said:
> I'm new to this NewsGroup business, so I don't know whether this is
> the right address for my questions at all.

Close enough; it's about Linux and about hardware, so col.hardware is
fine.

> My problem is getting a wireless PCI card with a RealTek 8180 chip set
> running under RedHat 9.0, (KernelVersion: 2.4.20-8smp "off the
> shelf").
[snip]
> There is a KernelModule with [the RTL8180] as well, but only part of
> the source and an object file that gets integrated into the actual
> module during compilation. Compilation and loading the module causes
> no problem at all.

In the README for the partially-source RTL8180 module, did you see
anything like "only tested with kernels 2.4.21 and up" or anything like
that? Stock Redhat kernels are kind of far off from vanilla kernel
sources.

[snip dmesg output]
> "/sbin/iwpriv wlan0 wlan_para ?????" ...
[works]

> so far, so good. However, whenever I give: "/sbin/iwpriv wlan0 enable"
>
> Jan 9 18:34:13 viviane kernel: RTL8180: ------ Enable wlan driver ------
> Jan 9 18:34:14 viviane kernel: RTL8180: BB Reg Write Fails! offset =
> 0x00, data = 0xa8, ReadData = 0xe3

The module is dumping register data; never a good sign.

> The machine gets really "sloppy" after that and gives repeatedly
> messages like the last one, until I give: "/sbin/iwpriv wlan0 disable"
>
> The only other suspicious thing I noticed about the driver is, that at
> system startup, when the module dependencies are checked, it says that
> there are "unresolved symbols in module *rtl8180_24x*"* *(i.e. the one
> in question here). If I give "depmod -ae" myself I get:
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.20-8/kernel/drivers/net/wireless/rtl8180_24x.o

It shouldn't have let you modprobe the module if there are unresolved
symbols in it. This is weird. The list of the bad symbols (elided for
brevity) includes a lot of basic ones that should've been in there had
the module compiled properly. You've got the correct kernel-source or
kernel-headers RPM installed under /usr/src/linux , right? Also, look
at the README for the module source package and make sure it doesn't
direct you to do stuff you didn't do.

> The NIC is o.k., since it runs smoothly under Win(yuck)XP. By the
> way, this is version 1.3 of the rtl8180_24x, with the new 1.4 version
> it's even worse!

Hm. Strange. I assume you've Googled for "rtl8180 redhat"--well, maybe
not; that doesn't turn up much that's useful. If you are using a stock
Redhat 9 system, there should be an RPM you can download from wherever
you got the source package, which you should use--less chance to screw
up the compilation step that way.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume


Relevant Pages

  • Re: RealTek 8180 wireless LAN (mini) PCI card
    ... Compilation and loading the module causes ... Stock Redhat kernels are kind of far off from vanilla kernel ... > system startup, when the module dependencies are checked, it says that ... you got the source package, which you should use--less chance to screw ...
    (comp.os.linux.hardware)
  • Re: 2.6.9-rc2-mm1
    ... Therefore, Debian ... I don't need to answer this beyond "stock userspace pukes on it". ... This may be one reason why non-Linux kernels have chosen to use 32-bit ... Stop fiddling with the compilation flags since it doesn't work ...
    (Linux-Kernel)
  • Re: [PATCH] asm-i386 : config.h should not be included out of kernel
    ... >> If you look at the commandline passed to gcc you will notice -include ... this is a compilation line ... I was speaking on the 2.6.15-rc kernels. ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: 1DRL: Zombies!
    ... The compilation step is a waste of time as it does not add to the game in any way apart from making it harder to run. ... Except for non-Windows platforms, when it makes it easier to run. ... I personally suggest that people should provide a source package, and any binary package they can manage to produce (through compilation or cross-compilation). ...
    (rec.games.roguelike.development)
  • Re: Problem compiling kernel
    ... and compilation of "virgin" kernels, ... You also don't need to say "make bzImage" or even "make all"; ... > fedora system but that doesnt work either, ...
    (Fedora)