LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-27-2005, 07:31 AM   #1
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Rep: Reputation: 30
Orinoco Card Install Help


Well, with the help of everyone here I got my built in wireless card working. Now I'm trying to get my Orinoco gold card installed. I check my current kernel's (2.6.11) config file, but I couldn't find a built in module. So I'm trying now to install the driver, however, when I run the make command, I recieve this error:

CC [M] /orinoco-0.15rc2/orinoco_nortel.o
In file included from /orinoco-0.15rc2/orinoco_nortel.c:67:
/orinoco-0.15rc2/hermes.h: In function `hermes_present':
/orinoco-0.15rc2/orinoco_pci.c:330: error: too many arguments to function `pci_save_state'
/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_resume':
/orinoco-0.15rc2/orinoco_pci.c:347: error: too many arguments to function `pci_restore_state'
make[2]: *** [/orinoco-0.15rc2/orinoco_pci.o] Error 1
make[1]: *** [_module_//orinoco-0.15rc2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-2-686'
make: *** [modules] Error 2

I've done a lot of googing trying to figure this out without any help, and what I've noticed in my research is a lot of people have asked this question in various places, however they never seem to get an answer. That sort of makes me wonder if this question is profoundly stupud. If so I apologize, but I could use a bit of help. Thanks.
 
Old 05-27-2005, 08:44 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
I've seen the same posts about difficulties with 2.6 compiles for this driver. A couple of thoughts:

You could recompile the kernel, adding in the 0.13 orinoco drivers. Make sure that wireless LAN (non-HAM Radio) is compiled in and Hermes is at least a module.

You could try the Dragorn-patched 0.15 drivers, which also enable monitor mode. Instructions: http://www.kismetwireless.net/documentation.shtml
 
Old 05-27-2005, 12:10 PM   #3
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
How exactly would I go about adding the drivers to the kernel? I've updated my kernel several times, but I've never added a driver.

Last edited by pete1234; 05-27-2005 at 12:11 PM.
 
Old 05-27-2005, 12:57 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Recompile the kernel, making sure that wireless LAN and hermes are included.

I'm surprised that the kernel is not already compiled that way, though. What errors do you get from modprobe orinoco?

You can check to see what options are compiled into the kernel or compiled as modules by grepping the config file (If you've compiled your own kernels, you already know this - sorry if it's too much detail).
grep HERMES /usr/src/linx/.config for example, on mine, returns:
CONFIG_HERMES=m
CONFIG_PLX_HERMES=m
CONFIG_TMD_HERMES=m
CONFIG_PCI_HERMES=m
CONFIG_PCMCIA_HERMES=m

And grep WIRELESS /usr/src/linux/.config returns:
CONFIG_NET_WIRELESS=y

Use make menuconfig or make xconfig to configure, then compile and install per the instructions here: http://www.linuxquestions.org/questi...hreadid=127095

Update lilo or grub, reboot and (hopefully) start wireless.
 
Old 05-27-2005, 04:19 PM   #5
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
I recompiled adding wireless lan and hermes as modules, however, I still recieve the exact same error message. When trying to install. I'm stumped, and help or suggestions appreciated.
 
Old 05-27-2005, 04:52 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Error messages trying to install what?

If you recompiled the kernel with the options listed (along with the other steps as outlined in the 2.6 kernel compile guide), the orinoco drivers should exist as modules in lib/modules/2.6.11/kernel/drivers/net/wireless/

You should not have to compile and install the 0.15RC2 orinoco drivers.

modprobe orinoco_cs (for a PCMCIA card - orinoco_pci for a PCI card)
What message, if any, do you get?
 
Old 05-27-2005, 05:55 PM   #7
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
I get no message. What does this mean? Appreciate your help by the way.

Here is my lsmod output:

Module Size Used by
orinoco_cs 6728 0
orinoco 41356 1 orinoco_cs
hermes 7680 2 orinoco_cs,orinoco
rt2500 173828 1
via82cxxx 11100 0 [permanent]
snd_via82xx 21984 0
snd_mpu401_uart 6400 1 snd_via82xx
snd_rawmidi 20384 1 snd_mpu401_uart
snd_via82xx_modem 11876 0
snd_ac97_codec 72000 2 snd_via82xx,snd_via82xx_modem
via_rhine 19332 0
pcmcia 20876 3 orinoco_cs
yenta_socket 19848 1
rsrc_nonstatic 9088 1 yenta_socket
pcmcia_core 44600 4 orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic

I'm starting to think my PC card may be dead. I get no sound or light when I insert it, and here is the cardctl status info when my card in inserted
cardctl status:

Socket 0:
no card
I did however, find a few people who reported the no lights or beeps from the orinoco cards under linux, but they still had connectivity.

Last edited by pete1234; 05-27-2005 at 06:12 PM.
 
Old 05-27-2005, 06:52 PM   #8
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
No errors from modprobe is a good thing.

lsmod seems to show that all of the correct modules, including the yenta socket are loaded. A bad card is possible.

Is this a "Classic" Gold card? (model 8410-WD) There are later cards that use different chipsets.

Is the PCMCIA service running? /etc/init.d/pcmcia start
 
Old 05-27-2005, 07:03 PM   #9
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
Yes, that is the make and model of the card. I believe the service is running. I think it is actually started at boot time, due to the fact that it probes the PCMCIA slot. All things considered, would you think it's probably a bad card? Thanks.
 
Old 05-27-2005, 07:12 PM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
It would be more accurate to say that I can't think of anything else to try other than a different card in your laptop or your card in another laptop.
 
Old 05-29-2005, 03:29 PM   #11
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
Well, I tested the card and it works fine. I recompiled, but when I make modules I get errors related to orinoco :

GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `modules' does not exist.
Must remake target `modules'.
make -C /boot/linux-2.6.11.11 M=/home//random/orinoco-0.15rc2 modules
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Updating goal targets....
File `modules' does not exist.
File `_module_/home//random/orinoco-0.15rc2' does not exist.
File `crmodverdir' does not exist.
Must remake target `crmodverdir'.
make[1]: Entering directory `/boot/linux-2.6.11.11'
Successfully remade target file `crmodverdir'.
Must remake target `_module_/home//random/orinoco-0.15rc2'.
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Updating goal targets....
File `__build' does not exist.
File `FORCE' does not exist.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Prerequisite `FORCE' of target `/home//random/orinoco-0.15rc2/hermes.o' does not exist.
Must remake target `/home//random/orinoco-0.15rc2/hermes.o'.
Successfully remade target file `/home//random/orinoco-0.15rc2/hermes.o'.
Prerequisite `FORCE' of target `/home//random/orinoco-0.15rc2/orinoco.o' does not exist.
Must remake target `/home/pete/random/orinoco-0.15rc2/orinoco.o'.
Successfully remade target file `/home//random/orinoco-0.15rc2/orinoco.o'.
Prerequisite `FORCE' of target `/home//random/orinoco-0.15rc2/orinoco_nortel.o' does not exist.
Must remake target `/home//random/orinoco-0.15rc2/orinoco_nortel.o'.
Successfully remade target file `/home//random/orinoco-0.15rc2/orinoco_nortel.o'.
File `/home/pete/random/orinoco-0.15rc2/orinoco_pci.o' does not exist.
Must remake target `/home//random/orinoco-0.15rc2/orinoco_pci.o'.
CC [M] /home/random/orinoco-0.15rc2/orinoco_pci.o
make[1]: Leaving directory `/boot/linux-2.6.11.11'

Those are not the errors from the kernel build obviously, but the errors are the same. Here is my lsmod output:

Module Size Used by
rt2500 173828 1
orinoco_pci 5312 0
orinoco 41356 1 orinoco_pci
hermes 7680 2 orinoco_pci,orinoco
via82cxxx 11100 0 [permanent]
snd_via82xx 21984 0
snd_mpu401_uart 6400 1 snd_via82xx
snd_rawmidi 20384 1 snd_mpu401_uart
snd_via82xx_modem 11876 0
snd_ac97_codec 72192 2 snd_via82xx,snd_via82xx_modem
via_rhine 19396 0
pcmcia 20876 2
yenta_socket 19848 1
rsrc_nonstatic 9088 1 yenta_socket
pcmcia_core 44600 3 pcmcia,yenta_socket,rsrc_nonstatic

And my cardctl status output still says no card. Any help is appreciated.
 
Old 05-29-2005, 08:10 PM   #12
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
I'm still confused as to why you're trying to compile the 0.15RC2 driver. The orinoco modules will be included with the kernel when you compile with the options I mentioned above.

As for the errors, it sounds like something is missing in the source package. Where are you getting the kernel source? How are you configuring it?
 
Old 05-30-2005, 07:34 AM   #13
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
When I try to compile the module from the kernel source I get errors almost identical to the ones I get when I try to compile the driver. I just didn't feel like recompiling the kernel to get the errors. I get the kernel source from kernel.org. My current version is 2.6.11.11 I compile using xconfig. I've been working on this problem since my last post, and my lsmod output has changed, but still no luck :

Module Size Used by
rt2500 173828 1
orinoco_cs 6728 0
orinoco_pci 5312 0
orinoco 41356 2 orinoco_cs,orinoco_pci
hermes 7680 3 orinoco_cs,orinoco_pci,orinoco
via82cxxx 11100 0 [permanent]
snd_via82xx 21984 0
snd_mpu401_uart 6400 1 snd_via82xx
snd_rawmidi 20384 1 snd_mpu401_uart
snd_via82xx_modem 11876 0
snd_ac97_codec 72192 2 snd_via82xx,snd_via82xx_modem
via_rhine 19396 0
pcmcia 20876 3 orinoco_cs
yenta_socket 19848 1
rsrc_nonstatic 9088 1 yenta_socket
pcmcia_core 44600 4 orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic


Thanks for the help.

Last edited by pete1234; 05-30-2005 at 08:07 AM.
 
Old 05-30-2005, 09:39 AM   #14
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The orinoco_pci module is loaded. You said that you have a PCMCIA Gold card, so that's not right. In your original post, you mentioned an internal card. Try to disable it in BIOS to see if it's conflicting (or at least complicating things).

What does iwconfig show?

As for the compile errors, I'm still confused. "When I try to compile the module from the kernel source I get errors almost identical to the ones I get when I try to compile the driver." I'm not sure that I follow that statement. If you get errors during the kernel compile, we need to fix those. I'd start cleanly - make mrproper (after saving your config file) and recompiling the kernel - make, make modules install, make install, lilo, etc. Post any errors.

A successful kernel compile will install functional orinoco drivers and eliminate the need to mess around with the 0.15RC2 drivers.
 
Old 05-30-2005, 12:52 PM   #15
pete1234
Member
 
Registered: May 2005
Distribution: Slack, FreeBSD,NetBSD, OpenBSD, Open Solaris, Minix
Posts: 172

Original Poster
Rep: Reputation: 30
When the kernel attemps to install hermes and the orinoco modules the errors it gives are the nearly the same as when I try to compile the driver myself. I've also tried modprobe orinoco_cs it also didn't work. I've recompiled several times, and I always attempt to get the orinoco card up before I install my internal wifi card driver. iwconfig does not show the orinoco card at anytime. I wouldn't mind recompiling and reporting the errors from there. How would I save the errors from the kernel build? I appreciate your help, and I apologize if some of my questions are rudimentary.

Last edited by pete1234; 05-30-2005 at 12:53 PM.
 
  


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
orinoco card driver jumico Linux - Wireless Networking 4 09-06-2005 08:56 AM
Can't figure out how to install orinoco network card tommyguy Linux - Newbie 1 06-01-2005 05:01 PM
Orinoco card Lee232 Linux - Wireless Networking 1 03-13-2005 01:48 AM
Cannot Install Orinoco Silver Card in Red Hat 8.0 jacon Linux - Wireless Networking 4 04-05-2004 07:39 PM
Help orinoco card g0es Linux - Hardware 3 07-19-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:35 AM.

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