MWavelan Driver binary

From: Christian Benesch <christian.benesch.a.t.ucpag.com>
Date: Thu Jul 25 2002 - 07:12:58 EDT

Hi all,

Has anyone had luck with the MWavelan drivers of Moustafa A. Youssef?
http://www.cs.umd.edu/~moustafa/mwvlan/mwvlan.html

Or even working binary or a package?

The source is a available, but my module compilation skills are novice at best,
So I haven't really grasped fully yet how the pcmcia-cs package and the mwavelan_cs module are compiled together.

I followed the instructions to download the kernel source, which is:

unintimate:~# uname -a
Linux intimate 2.4.16-rmk1 #5 Thu Jan 31 12:06:57 EST 2002 armv4l unknown

There is only a kernel source package for kernel-source-2.4.16 (without the rmk1!) does this matter or is that not relevant for module compilation? (it resides now in /usr/src/kernel-source-2.4.16)

Then I got the pcmcia-cs.tar.gz package and decompressed it to /usr/src/modules . And then I put the mwavelan package into /usr/src/modules/pcmcia-cs and untarred it.

But when I do a "make config" it doesn't work. First it complained that it can't find some include files, which are there definitely. It said it had configured properly, but produced no "config.out" file, which apparently is required for the "make all" command
Also it says that "'make all' will compile the PCMCIA utilities but not the drivers."

I am confused. Please help.

Many thanks in advance,
Christian Benesch

PS: See shell transcripts below
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV

intimate:/usr/src# ls
kernel-headers-2.4.16 kernel-source-2.4.16 modules
kernel-patches kernel-source-2.4.16.tar pcmcia-cs.tar.gz
intimate:/usr/src# cd modules/pcmcia-cs/
intimate:/usr/src/modules/pcmcia-cs# make config

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.

Linux kernel source directory [/usr/src/linux]: /usr/src/kernel-source-2.4.16

The kernel source tree is version 2.4.16.
  WARNING: the current kernel is sublevel 2.4.16-rmk1. <----------------- ??? Is this critical ???
The current kernel build date is Thu Jan 31 12:06:57 2002.

Build 'trusting' versions of card utilities (y/n) [n]: y
Include 32-bit (CardBus) card support (y/n) [y]: n <---------------- It doesnt work if I specify yes
Module install directory [/lib/modules/2.4.16-rmk1]:

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    PCI BIOS support is disabled.
    Power management (APM) support is enabled.
    SCSI support is disabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is disabled.
    /proc filesystem support is enabled.

/usr/src/kernel-source-2.4.16/include/asm does not exist!
    To fix, do 'ln -s asm-armv4l asm' in /usr/src/kernel-source-2.4.16/include. <---- this file *does* exist!!!
./Configure: include/pcmcia/config.h: No such file or directory <-- I commented out the "exit 1"
./Configure: include/pcmcia/config.h: No such file or directory <---in the configure script
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
touch: creating `include/linux/modversions.h': No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
It doesn't look like you are using 'lilo'.
It looks like you have a System V init file setup.
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory

X Windows include files found.
/usr/X11R6/lib/libXpm.so and /usr/include/X11/xpm.h found.
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory
./Configure: include/pcmcia/config.h: No such file or directory

Configuration successful.

Your kernel is configured with PCMCIA driver support. Therefore,
'make all' will compile the PCMCIA utilities but not the drivers. <----------- ??? Why ?????

IMPORTANT NOTE FOR DEBIAN USERS:
This means that a pcmcia-modules package will not be built. <------ ??? What do I do ???
intimate:/usr/src/modules/pcmcia-cs# ls include/pcmcia/
bulkmem.h cisreg.h cs.h ds.h mem_op.h version.h <------ include/pcmcia/config.h exists!!!
bus_ops.h cistpl.h cs_types.h ftl.h memory.h <------ see error above
ciscode.h config.h driver_ops.h k_compat.h ss.h
intimate:/usr/src/modules/pcmcia-cs# ls
BUGS MAINTAINERS config.in lib
Build Makefile config.mk man
CHANGES README config.new modules
COPYING README-2.4 debian mwavelan_cs-1.10.tar.gz
Configure README.mwavelan_cs debug-tools mwavelan_cs.mk
Install README.wavelan2_cs etc rules.mk
LICENSE SUPPORTED.CARDS examples.txt wireless
LICENSE.mwavelan_cs cardmgr flash
LICENSE.wavelan2_cs clients include
intimate:/usr/src/modules/pcmcia-cs# make all
/bin/sh: ./config.out: No such file or directory <----- no config.out!!!
make: *** [kcheck] Error 1
intimate:/usr/src/modules/pcmcia-cs# ls /usr/src/kernel-source-2.4.16/include/asm
/usr/src/kernel-source-2.4.16/include/asm <--------- the file exists(see error above)
intimate:/usr/src/modules/pcmcia-cs#
Received on Thu Jul 25 11:13:28 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:40 EDT