LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-18-2003, 08:56 PM   #16
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15

when i run the make all > debugging.txt , there are no errors in the text file afterward. so i think this should be working.

what should i try to do now?
 
Old 03-18-2003, 09:04 PM   #17
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
something else might cause a problem, when i do make all these are the last few lines in the console:

make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [3COM] Error 2
make[2]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make: *** [all] Error 2


would these be what is causing the problem?
 
Old 03-18-2003, 09:10 PM   #18
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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:

atmelwlandriver/objs/pcmf502r3.o

Cheers,

Finegan
 
Old 03-18-2003, 09:25 PM   #19
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
k,

pcmf502r3.o was not in either of the directories.

and the last few lines of messages says that it can't locate the module pcmf502r3.o.

So for some reason the install is not working properly.

hmmm...
 
Old 03-18-2003, 09:54 PM   #20
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Yeah, the module is somehow still not getting compiled properly... is there anything from that debugging file you created? It should end with:

I/home/bob/projects/atmelwlandriver/src/includes -I/home/bob/projects/atmelwland
river/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4
.20/build/include/linux/modversions.h -DRFMD_3COM -DRX_CRC -DMODULE -c fastvnet_
cs.c -o fastvnet_cs.o
ld -r -o /home/bob/projects/atmelwlandriver/objs/pcmf502r3.o fastvnet_cs.o card
.o command.o interrupt.o mgmt.o rx.o tx.o vnet.o vnetlinux.o
nm /home/bob/projects/atmelwlandriver/objs/pcmf502r3.o |sort -u >/home/bob/proje
cts/atmelwlandriver/objs/pcmf502r3.map;
make[3]: Leaving directory `/home/bob/projects/atmelwlandriver/src/Pcmcia_Pci'
make[2]: Leaving directory `/home/bob/projects/atmelwlandriver/src/Pcmcia_Pci'
make[1]: Leaving directory `/home/bob/projects/atmelwlandriver/src/Pcmcia_Pci'

Cheers,

Finegan
 
Old 03-18-2003, 09:59 PM   #21
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
this is what it ends with

make final CFLAGS:='-I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/home/evan/temp/atmelwlandriver/src/includes -I/home/evan/temp/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD_3COM -DRX_CRC' MODULE:='pcmf502r3.o' LIB:=-RFMD_3COM-
make[3]: Entering directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/home/evan/temp/atmelwlandriver/src/includes -I/home/evan/temp/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD_3COM -DRX_CRC -c -o card.o card.c
make[3]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[2]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[1]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'


i didn't know how far up to cut, this looks about right

thanks
 
Old 03-18-2003, 11:49 PM   #22
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
make 3,2,1... it finished succesfully, is the module there after you run a "make install"?

Sorry about a middle reply up there I think I got my reply in after you posted again... weird day at work.

Cheers,

Finegan
 
Old 03-19-2003, 06:42 AM   #23
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
this whole time i have been doing,

make config
make clean
make all
make install

and the module doesn't seem to be there. You said that make all should take i while to go, but it only takes about 2 sec and then i get this message,

make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [3COM] Error 2
make[2]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/evan/temp/atmelwlandriver/src/Pcmcia_Pci'
make: *** [all] Error 2

does that mean that make all is not finishing properly?
 
Old 03-20-2003, 06:11 AM   #24
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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?

Sorry I took so long in reply, killer work week.

Cheers,

Finegan
 
Old 03-20-2003, 07:23 AM   #25
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
I ran make all again and read through it a bit, it seems as though there are errors through the whole process, most of them say something like this

/usr/include/linux/timer.h:67: parse error before "tvec_base_t"

or this,

/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function
)

do you think this has something to do with it?

Is there something that could be causing errors during the installation?

thanks,
 
Old 03-25-2003, 11:40 AM   #26
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
hey finegan,

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.

Thanks again,
 
Old 05-17-2003, 01:45 PM   #27
antidote007
LQ Newbie
 
Registered: May 2003
Location: belgium
Distribution: mandrake...but read hat looks nice too
Posts: 1

Rep: Reputation: 0
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....
 
Old 05-18-2003, 01:10 PM   #28
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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.

Cheers,

Finegan
 
Old 05-18-2003, 06:17 PM   #29
kingroo
LQ Newbie
 
Registered: May 2003
Location: Prescott Valley, AZ, USA
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
d-link sucks

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.
 
Old 09-18-2004, 10:30 PM   #30
guccisock
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
same card, quick question!

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?

Can someone help me out??

Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless 3com 3CRWE154G72 card/ different ver. yoron Linux - Wireless Networking 0 11-09-2005 04:26 PM
PCMCIA not working with 3COM Wireless card GraemeK Linux - Laptop and Netbook 2 05-24-2005 03:33 AM
Need some help in monitor mode for a 3Com wireless card Asagath Linux - Wireless Networking 2 12-10-2004 05:34 PM
3Com X-Jack Wireless PCMCIA Card dobriain Linux - Wireless Networking 14 08-18-2004 07:05 AM
3Com X-Jack PCMCIA (3CRWE62092A) szuidinga Linux - Hardware 1 01-29-2004 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration