LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Zydas ZD1211B and kernel 2.6.19.2 (https://www.linuxquestions.org/questions/linux-networking-3/zydas-zd1211b-and-kernel-2-6-19-2-a-521288/)

easuter 01-20-2007 07:38 PM

Zydas ZD1211B and kernel 2.6.19.2
 
Hi there,

I downloaded the zydas gpl drivers from the community maintained page at:

http://zd1211.ath.cx/

Anyway, during the make process I got a ton of errors refering to unused functions and variables (don't have the exact output, not at my box right now).

Has anyone been able to compile the gpl vendor drivers with kernel 2.6.19.2 or use the zd1211rw one yet?

Thanks in advance! :)

SonJelfn 01-21-2007 09:07 AM

Hi,

I also tried to compile the Zydas module on a 2.6.19.x kernel with no luck. Apparently the 2.6.19.x kernel series has a different tree structure (I think the main concern of the Zydas module is that it doesn't find config.h) and it just wouldn't compile. Granted I'm no compiling guru, but everything I tried didn't work, this included gcc flags, new symbolic links to the kernel source tree, etc.

I ended up downgrading the kernel to a 2.6.18.x series and the Zydas module compiled without any unsual flags or problems.

easuter 01-21-2007 05:10 PM

Yeah, I was just looking through the Nvidia installer log after the module also compilation failed, and it definitely seems to be that config.h is missing from include/linux/ (I sure hope Nvidia releases a new legacy driver, or I'll have no hardware acceleration on my TNT2....or have to stick with 2.6.18 indefinitely :().

I've also tried changing several things in the zydas zd1211b Makefile, but to no avail. same thing as with the vendor driver.

Its a real pity because zd1211rw still seems to be far from ready....

SonJelfn 01-21-2007 08:11 PM

Hi,

I had to end up on 2.6.18 and probably will for a while. But don't worry too much, given the amount of stuff that needs to be linked to the 2.6.19.x kernel, I'm sure someone will find a workaround, though not soon. For now I'd stick to the 2.6.18.x unless there is a very clear pressing issue to have to go to a newer kernel.

A more drastic approach is to get another wireless card/usb which has a bit more development under it's hood. You could check out:

http://linux-wless.passys.nl/

and find one. You can search by name, chipset or interface, plus it gives you the commercial name of the adapter.
Anyway, hope it helps!

easuter 01-22-2007 03:16 AM

Thanks for that info! I'll take a better look at it later.

Just posting back with some information that might be useful though. A member of the VectorLinux dev team instructed me to copy the config.h from the 2.6.18.x source tree to 2.6.19.x:

cp /usr/src/linux-2.6.18.5/include/linux/config.h /usr/src/linux-2.6.19.2/include/linux

or otherwise just open an editor, put this in it and save it to /usr/src/linux-2.6.19.2/include/linux/config.h:

Code:

#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
 * autoconf.h is now included via -imacros on the commandline
 */
#include <linux/autoconf.h>

#endif

The Nvidia module compiled perfectly!
However, the Zydas module started to compile fine for a while, and still built several components, but bombed-out after hitting a barage of incompatible pointers and unused symbols right at the end (so close!!!!). :(

Oh well, at least we're getting somewhere! :)


All times are GMT -5. The time now is 01:31 AM.