Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, after a "make install" and "updatedb", is the module located in /lib/modules/2.4.19-mdk/somewhere? If, yes, restart pcmcia "/etc/rc.d/init.d/pcmcia restart" and hope for the two beeps of hapiness. If there are no two beeps of hapiness, what's the last few lines of /var/log/messages (I think that's what Mandy uses...)
If the module still isn't there... maybe "make install" went bazoo, check to see if the thing is in:
No, that's dying... unfortunately the important errors, what its dying on, are about 3 lines up from what you pasted in.
This is also weird, because from 2 whole posts above, that's what the last lines of a successful compile should end with... I'm confused. Did it work once and not the second time?
I just wanted to let you know that over the weekend I was able to get everything to work. It wasn't a problem with the atmel stuff but rather I did not have the kernel source installed... So thank you for all your help with this, I very much appreciate it.
Distribution: mandrake...but read hat looks nice too
Posts: 1
Rep:
hello....you don't imagine how happy i am...because i read this topic since begining...problem describe here looks so close of mine...but unfortunately i did not manage to solve it yet. i am newbie on linux too...and i would be so happy if you could help me to solve it !...here is details of my problem.
i am using exactelly the same Wireless card.
i got the same driver..from same place !.:-)
i make the (make profile)..with success..
but the "make all" does not work...:-(((
i tryed to install several version of Linux thinking problem could be the distribution..but same kind of problem appears with all of them.
i tried on Red hat 9.0, 8.0 and now on Mandrake 9.0.
****
when booting,...i can hear only one beep...and in "control center-->pcmcia"..it wrote (card 1: unsupported card)...but due to the fact driver is not installed i guess it makes sense.
****
here is more info when running cardctl command...
# ./cardctl ident
Socket 0:
no product info available
Socket 1:
product info: "3Com", "3CRWE62092B Wireless LAN PC Card"
manfid: 0x0101, 0x0620
function: 6 (network)
****
GCC stuff is version 3.2...i am wondering if problem could not be related to a wrong version used to compile... (currently i am on mandrake 9.0)..
****
here is start of log when doing the MAKE...
make config
Build all (y/n) : n
Kernel Version Running 2.4.19-16mdk
Found Kernel Source Directory ()
Build Debug version (y/n) : y
Set extra module version information (y/n) : y
Build USB Drivers (y/n) : n
Build PCMCIA Drivers (y/n) : y
Build PCMCIA rfmd Driver (y/n) : n
Build PCMCIA 3COM Driver (y/n) : y
Build PCMCIA rfmd revision d Driver (y/n) : n
Build PCMCIA rfmd revision e Driver (y/n) : n
Build PCMCIA 504 Driver (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : y
Build command line application (y/n) : y
You have to install the xforms library in order to use the xvnet application
Finished. Now run make clean, all, install
****
make all provide begining like that :
****************************************
make all
Building src/Pcmcia_Pci src/apps/cmd_line
make[1]: Entering directory `/mnt/win_d/atmelwlandriver/src/Pcmcia_Pci'
PCMCIA yes : 3COMD
for i in 3COMD; do make $i; done
make[2]: Entering directory `/mnt/win_d/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/mnt/win_d/atmelwlandriver/src/Pcmcia_Pci'
find -name '*.o'|xargs rm -f
make[3]: Leaving directory `/mnt/win_d/atmelwlandriver/src/Pcmcia_Pci'
DEBUGORNO=debug.o
make final CFLAGS:='-I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/mnt/win_d
/atmelwlandriver/src/includes -I/mnt/win_d/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modve
rsions.h -DRFMD_3COM -DRX_CRC -DPCMCIA_DEBUG=1' MODULE:='pcmf502r3.o' LIB:=-RFMD_3COM- DEBUGORNO:=debug.o
make[3]: Entering directory `/mnt/win_d/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/mnt/win_d/atmelwlandriver
/src/includes -I/mnt/win_d/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD_
3COM -DRX_CRC -DPCMCIA_DEBUG=1 -c -o card.o card.c
card.c: /include/linux/modversions.h: No such file or directory
In file included from /mnt/win_d/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:27,
from /mnt/win_d/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/fs.h:11,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:6,
from /usr/include/linux/sched.h:8,
from /mnt/win_d/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /mnt/win_d/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
********************
i stopped the listing here to avoid posting too much ..
here is the situation....
the worst of that is ...i managed in the past to have it working...longtime ago..but i crashed my PC in order to install another distributrion and since this day..i never managed to get it back working... (excepted on windows XP...:-(((...but i don't want to use it anymore...lool)
please...help me to have solve it...
thanks a lot in advance....
Never sweat posting too much, excellent post, you've got the exact same atmel card... you're good to go.
You need to install the kernel source and the kernel source headers, default mandrake installs these days don't put that on... its about 130 Mb and change. If you use the Mandy GUI RPM install tool, it'll take care of the dependencies, good thing you had at least gotten gcc on there.
Also, don't sweat making all the stuff, you probably won't need every last bit of it, just the pcmcia portion.
my dlink wireless card failed compleatly. and dlink never intended on developing a driver for linux. so i bought a Netgear MA311 and it worked automatically with virtually no setup except having to go into the control panel and change some settings.
Ok so I also have the same 3Com card mentioned in the previous posts.
I'm going to get the driver and install it. Here's the thing. I already have an integrated network card (not wireless) in my laptop and it works fine.
I'm running Red Hat 9 (Shrike).
On boot I get the linux boot screen asking which version or whatever to boot (right now it just has one option, Red Hat 9, listed).
What I want to do is set up two profiles, so that on the linux boot screen I mentioned above, I have two options--the one that is there now (where my regular network card works just fine now) and then a second option that says something like "Red Hat 9 Wireless Mode"
I'd like to have it all set up so that if I choose the first option, it boots linux just like it does now and doesn't do anything with the wireless card. If I choose the second option (which I've got to somehow add), it will load only the stuff needed for the wireless card to work. I've read where it's a problem having a wireless card and a regular ethernet card up and working at the same time under linux--something about it bridging the connections, or that one might just stop working, etc.
Would this be easy to do, or should I just put the wireless card in, boot up, install the driver, and try to get both working and not worry about adding a second option to the linux boot screen? I mentioned adding the second option because I'd prefer having it setup it that way. From what little experience I do have with Linux, it seems that everything works better if you kind of keep things stepwise, as opposed to trying to Linux like windows, where you just add whatever or install whatever and make it all work together. However, I know very little about Linux and so I don't know what files and scripts get processed in what order and all that stuff, and all the inner workings of Linux.
So if adding the second option to the boot screen isn't too difficult, and the best idea, could someone tell me what files have to be edited and stuff?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.