LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   did anybody get a smc 2602w v3 to run yet? (https://www.linuxquestions.org/questions/linux-wireless-networking-41/did-anybody-get-a-smc-2602w-v3-to-run-yet-161972/)

hoke 05-25-2004 08:33 AM

Nautilus.o
 
Hi,

I'm again traing to compile the driver, but I still can't get over the make command.

it ends with th following
Quote:

-------------------------------------------------------------
# created ../obj/x86/2.4.22/Ksdio.o
-------------------------------------------------------------
make[2]: Leaving directory `/home/debian/Am1771/Linux/Khal/Ksdio'
gcc -MM -DEXPORT_SYMTAB -DMODULE -D__KERNEL__ -DLINUX -DCONFIG_PROC_FS -I/home/debian/Am1771/Linux/../Include -I/usr/src/linux/include -Wall -DNAUTILUS_CFG_PLATF_X86 -DNAUTILUS_CFG_PCI -DNAUTILUS_SYSTEM_IS_MAC_SME_TARGET -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=`uname -m` -malign-functions=4 -fno-omit-frame-pointer -Os -DCONFIG_KMOD -DEXPORT_SYMTAB -DMODULE -D__KERNEL__ -DLINUX -DCONFIG_PROC_FS -I/home/debian/Am1771/Linux/../Include -I/usr/src/linux/include -Wall -DNAUTILUS_CFG_PLATF_X86 -DNAUTILUS_CFG_PCI -DNAUTILUS_SYSTEM_IS_MAC_SME_TARGET -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=`uname -m` -malign-functions=4 -fno-omit-frame-pointer -Os -I/home/debian/Am1771/Linux/../Include -I/usr/src/linux/include -IInclude -I../Include \
Khal.c > GNUmakefile.dep
gcc -DCONFIG_KMOD -DEXPORT_SYMTAB -DMODULE -D__KERNEL__ -DLINUX -DCONFIG_PROC_FS -I/home/debian/Am1771/Linux/../Include -I/usr/src/linux/include -Wall -DNAUTILUS_CFG_PLATF_X86 -DNAUTILUS_CFG_PCI -DNAUTILUS_SYSTEM_IS_MAC_SME_TARGET -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=`uname -m` -malign-functions=4 -fno-omit-frame-pointer -Os -I/home/debian/Am1771/Linux/../Include -I/usr/src/linux/include -IInclude -I../Include -c -o obj/x86/2.4.22/Khal.o "Khal.c"
Khal.c: In function `khal_create_instance':
Khal.c:640: request for member `blktra_spinlock' in something not a structure or union
make[1]: *** [obj/x86/2.4.22/Khal.o] Error 1
make[1]: Leaving directory `/home/debian/Am1771/Linux/Khal'
make: *** [all_sub] Error 1
debian:/home/debian/Am1771/Linux#
Please, can someone help me to get the driver compiled?
I am using Debian, kernel 2.4.22, and Am1771.tar.bz2

the driver smc2602_source_linux_ST6.0.tgz on my site hoke.czweb.org I got directly from SMC hotline, but they offered then no more support.

Thanks in advance
HoKe
:newbie:

Hurrraaaaaaa

I found it. on a french site http://linuxfr.org/~lastnico/11730.html

the solution is quite simple. in the source of file Khal.c on row 640 there are missing round brackets

instead of
Quote:

spin_lock_init(&(*ppKhal_dev->blktra_spinlock));
test
Quote:

spin_lock_init(&((* ppKhal_dev)->blktra_spinlock));
now I got the driver compiled

-------
entered 5.6.2004
it is not possible to send data. after i choose a signal to connect it gives message connected, but wenn I try to send a ping the computer crashes, I have to mannualy reset the pc..
:confused:

palmen-n 05-30-2004 07:37 PM

I just got a wireless card with the Am1771 chip, and it is working with the Nautilus driver (am using it right now). Post a reply if you have problems with the driver. I even managed to compile it cleanly, even though there were some references that the compilation should exit with an error.
Ciao,
aladdin

onnob 06-05-2004 05:10 AM

Problem with httpServer
 
Hi all,

I manged to compile the Nautilis driver without any problems;

NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.18-4GB
NAUTILUS Calculated CPU speed: 463909045 Hz
NAUTILUS ------------------------------------------------
PCI: Found IRQ 10 for device 00:0f.0
KNET Success registering device "eth2"
MACHAL Function pointer call uses Version: HW_VERSION_BASIC with HW parameters:
MACHAL --- MAC HW Version : 301C0211
MACHAL --- EEPROM Version Data : 00000000
MACHAL --- BBP HW Version : 432E3030
MACHAL --- PHY (Rfe) HW Version: 000000C2

but when I start the HttpServer and for example search for networks or start an IBSS , the computer crashes, I have to mannualy reset the pc..

I have installed the driver exactly like in the readme. The pci card runs on a single IRQ, thus not shared..

A'm I doing something wrong here? How can I succesfully set up a direct-link?


Onno

hoke 06-05-2004 05:55 PM

I got the next step.

I become it again compiled but the computer does not crash any more.:)
I have to add that i needed to install the following before compilation:
Code:

apt-get install libreadline4-dev kernel-headers-2.4.18-bf2.4
cd /usr/src
ln -s kernel-headers-2.4.18-bf2.4 linux

the compilation was without any error. also without changing Khal.c :scratch:

after insmod Nautilus.o o got:
HoKe:# insmod Nautilus.o
NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.18-bf2.4
NAUTILUS Calculated CPU speed: 467696944 Hz
NAUTILUS ------------------------------------------------
PCI: Found IRQ 5 for device 00:10.0
KNET Success registering device "eth1"
MACHAL Function pointer call uses Version: HW_VERSION_BASIC with HW parameters:

MACHAL --- MAC HW Version : 208B0197
MACHAL --- EEPROM Version Data : 00000000
MACHAL --- BBP HW Version : 422E3034
MACHAL --- PHY (Rfe) HW Version : 000000C2

with setting ip to eth1 was no problem.
Httpserver was also OK, but after finding a network and connecting to it I got again and again on active console...

MACKERNEL timer message 00000048 not found in queue
MACKERNEL timer message 00000048 not found in queue
MACKERNEL timer message 00000048 not found in queue

but the connection was established and it was possible to send a ping thrugh the card.

I do not know why i become the message. MACKERNEL timer message 00000048 not found in queue

please help.
Thx in advance.
HoKe:study:

isocrash 06-30-2004 07:29 AM

I have a SMC 2602W v3 in a Debian (KNOPPIX 3.4) box, tested the Am1771 Nautilus Driver from Emota:
Compilation runs with the usual steps, configuration of the card via HttpServer is working, even joining the
WLAN and manually assigning an IP to eth1 is working without problems.
But sending a single packet over the net instantly hangs the system. Apart from 2.4.26 i have also tried using
2.4.22, as that has been known to work. same problem there.
The Card runs on IRQ 17, Nautilus however is not reporting that (as I have seen it in the other posts in this
thread):

NAUTILUS ------------------------------------------------
NAUTILUS Build Name : AMD - Nautilus Linux driver
NAUTILUS Build Number : 0000
NAUTILUS Build Time : 08/29/2003 00:00:00
NAUTILUS Build User : customer
NAUTILUS Build Comment :
NAUTILUS Build Architecture : x86
NAUTILUS Build Kernel Version: 2.4.26
NAUTILUS Calculated CPU speed: 1800156087 Hz
NAUTILUS ------------------------------------------------
KNET Success registering device "eth1"
MACHAL Function pointer call uses Version: HW_VERSION_BASIC with HW parameters:
MACHAL --- MAC HW Version : 301C0211
MACHAL --- EEPROM Version Data : 00000000
MACHAL --- BBP HW Version : 432E3030
MACHAL --- PHY (Rfe) HW Version: 000000C2
MACMGMT INFO> Authent. (OPEN_SYSTEM) Successful

ifconfig eth1 192.168.40.112 up :

MACLLC <<<<<<<< LLC set CONNECTED <<<<<<<<<<<

ping 192.168.40.112 --> workd

ping 192.168.40.1 --> hangs the system

For the first time in my linux life, i am about to give up.. if I do not find a solution to get this
card working I will go buy another in the next days, btw: any ideas which i should buy?

nikke 06-30-2004 03:56 PM

Successful Debian install
 
I got the Am1771 installed on Debian and thought of sharing some of the points that were needed to compile it.

First I'm running kernel 2.4.26-1-smp. The driver compiled with 2.4.26-1 but when inserting it I got errors for some missing functions.

One also needs the libreadline4-dev package for a correct include.

The kernel-headers for this particular kernel (2.4.26) and a link /usr/src/kernel-header ->/usr/src/linux . One also needs to modify the content of /usr/src/linux/include/linux/version.h kernel-version to what one gets with 'uname -r'. Otherwise you get a module that is "not compiled to the current kernel".

I got the same compile error for Khal.c and made the corrected the parenthesis as said in an earlier mail.

Then following the installation instructions from the readme.txt file I got a clean compile and managed to load the module. I can't try it out right now, but I guess it works. I'll post if it does not.

Hopes these notes are of some help to someone. I'll come back here from time to time, so if somebody has any questions I can try to help if I remember what I did...

isocrash 07-06-2004 09:54 AM

So, is it working for you ?

Today I tried the card in another box (debian 3.0 with kernel 2.4.19), this time the module loadnig seems to work better, as the insmod instantly prints out the desired information - in the last try I hat to take a look at dmesg to get the Nautilus-"Splashinfo".

Well, anyhow, joining the net gives the error message "INVALID_PARAMETERS" every time I try - although I use the web interface to join the net.
I have tested the same command in different machines and sometimes I get a successfull join, sometimes it returns INVALID_PARAMETERS, which is kind of weird. In this new box it always results in the invalid parameters. The join command I run is:
MLME MLME_JOIN.request((xx:xx:xx:xx:xx:xx, "xyxyxy", INFRASTRUCTURE, 100, 1, 0x0000000000000000, 0x0000000000000000, (11), (0,0,0,0), (0), 0x0011, [2,4,11,22]), 10, 10, [2,4,11,22])


Any ideas ? Does anybody perhaps know of any new versions planned ? Why is there btw no demand for a ndiswrapper support to this card ? .....

yichun 07-06-2004 06:16 PM

http://at76c503a.berlios.de/index.html
smc 2602v3 uses at76c503-rfmd-acc module. Good luck.

nikke 07-07-2004 07:14 AM

My Debian install wasn't that successful after all
 
I'm still fighting to get the card working under Debian... As I said earlier compilation was fine. First when inserting the module I got the error "no device /dev/nautilus" but worked around this.

Now I can configure the driver and connect to a network, but when calling dhcpd to get an IP the whole system hangs, pretty much like what somebody described above.

So for now the card does NOT work for me...

isocrash 07-07-2004 07:41 AM

About the link above (by yichun): the smc 2602w v3 does not use that driver - the smc 2662wv3 does, however, so this might be a mixup.
but my 2602wv3 still does not work, it's really annoying, I give it up for now but will post again once I get it to work..

cocodude 07-22-2004 09:12 AM

Re: installing the SMC2602Wv3 on Linux
 
Quote:

Originally posted by nikke
Basically this will be a simple install if you are running a 2.2.x or 2.4.y kernel version. At least on a Mandrake 10.0 Community I didn't get it compiled because of a too recent kernel version. Someone will still have to port it to 2.6.x kernels.
Has anyone managed to get this working under 2.6? I'm not prepared to go back to 2.4 so will have to buy a new card if it can't work.

I'm happy to alter any source files to try and get it working, but will the job be significantly more difficult than a little tweaking?

Thanks,

Cocodude

Bishak 08-01-2004 06:56 PM

Setup for 2602W
 
In case you run into problems with MLME MLME_JOIN, here is what worked for me - no need for backquoting of square parentheses and you can keep double-quotes, too !

expect "SUCCESS" {send {MLME MLME_JOIN.request((xx:xx:xx:xx:xx:xx, "name", INFRASTRUCTURE, 100, 1, 0x0000000000000000, 0x0000000000000000, (1), (0,0,0,0), (0), 0x0001, [cc,cc,cc,cc]), 10, 10, [cc,cc,cc,cc])^M}}
s

-- ZW

isocrash 09-22-2004 09:02 AM

finally it is working..!
 
okay, after i gave the whole smc2602-thing up a couple of months ago, i thought i might give it another final try today as i installed a fresh debian unstable yesterday - and unbelievable as it is, it is working now!

i am using an up-to-date debian 3.1 unstable with a custom 2.4.27 kernel.

step-by-step installation:

---snip---

aptitude install libreadline4-dev bison flex
tar xjvf Am1771.tar.bz2
cd Am1771/Linux
bash
source x86_setup.script
make set_platf_x86 set_pci_on set_release
make
# the make did not encounter any errors (using gcc 3.3.4)
mknod /dev/nautilus c 254 0
logout
cd ..
cd obj/x86/2.4.27
insmod ./Nautilus.o

---snap---

The Nautilus splashscreen came up and using the Httpserver i could join the net without problems. Well, not without any problems, although everything else is working, the dhcp server gave no answer to my queries. But assigning an ip manually worked fine and net access is now working flawlessly.

When adapting the nikke's expect script to join the net i encountered a minor bug in the module which got on my nerves before: before joining a net you MUST do a search for it, otherwise the join command results in INVALID_PARAMETERS, which is kind of strange.

nikke 11-24-2004 03:15 AM

More info about the Debian install?
 
Is it possible to get more info about your custom kernel configuration because I originally couldn't get the card working on Debian testing. The compile went without problems but that's it. I guess there has to be something special in the kernel to support this card...

isocrash 11-24-2004 04:18 AM

As mentioned I'm using debian unstable and did not try the card under a sarge system.
However, I do not remember setting anything special in my kernel config regarding the smc-card but you can of course take a look at my kernel config ( http://kapsobor.de/files/config.2.4.27 ), hope that helps.


All times are GMT -5. The time now is 07:09 PM.