Toon posts:

Orinoco Gold PC Card onder Linux

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo allen,

Ik wil mijn Orinoco Gold PC Card onder Rad Hat Linux 9 gaan gebruiker hiervoor heb ik de
- Linux PCMCIA Package gedownload van http://pcmcia-cs.sourceforge.net
- De Orinoco driver van http://www.proxim.com/sup...7.4winter2002/WLLI616.TGZ

Ik heb de faqs gelezen, en deze ook precies opgevolgd. Echter als ik het commando ./Build uitvoer krijg ik de volgende (fout)melding #error linux/malloc.h is deprecated, use linux/slab.h instead (als ik ./Install doe, geeft dit overgens het zelfde resultaat.
Ik heb de malloc.h opgezocht en de inhoud hiervan bekeken. Deze was als volgt:

code:
1
2
3
4
5
6
7
#ifndef _LINUX_MALLOC_H
#define _LINUX_MALLOC_H

#error linux/malloc.h is deprecated, use linux/slab.h instead.

#include <linux/slab.h>
#endif /* _LINUX_MALLOC_H */


Hij geeft deze melding dus altijd als hij malloc.h raadpleegd, en volgens mij is slab.h gewoon zijn vervanger. Wat ik nu dus niet weet is of dit gewoon een melding is die altijd gegeven wordt als malloc.h wordt geraadpleegd (lijkt mij iig wel), of dat dit echt gewoon een error is, en het ./Build commando dus niet gelukt is.

Als ik nu verder in de faqs ga lezen, zijn alle files in de /etc/PCMCIA waarover gesproken wordt beschikbaar, ook zie ik de pcmcia service in de /etc/rc.d/init.d staan. Echter als ik het commando /etc/rc.d/init.d/pcmcia uitvoer, krijg ik de volgende foutmelding: PCIC module not defined in startup options!

Komt het laatste misschien doordat ik de boel eerst uittest op een Desktop zonder PCMCIA(devices) (waarop ik verders overgens nog niks heb geconfigureerd), ipv een laptop met PCMCIA (devices)?

Hieronder nog even de uitvoer van mijn console:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[root@Linux usr]# cd /usr/src/pcmcia-cs-3.2.5
[root@Linux pcmcia-cs-3.2.5]# ./Build
This system uses in-kernel pcmcia-cs.
make -C wireless -f wavelan2_cs.mk all
make[1]: Entering directory `/usr/src/pcmcia-cs-3.2.5/wireless'
cc   -MD -c -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux-2.4.20-8/include -I../include  -D__KERNEL__ -DMODULE wavelan2_cs.c -o wavelan2_cs.o
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
                 from ../include/static/linux/module.h:6,
                 from ../include/pcmcia/k_compat.h:61,
                 from wavelan2_cs.c:74:
/usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from ../include/static/linux/kernel.h:13,
                 from ../include/static/linux/module.h:5,
                 from ../include/pcmcia/k_compat.h:61,
                 from wavelan2_cs.c:74:
../include/static/linux/modversions.h:450:1: warning: this is the location of the previous definition
In file included from wavelan2_cs.c:79:
/usr/src/linux-2.4.20-8/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
make[1]: *** [wavelan2_cs.o] Error 1
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.5/wireless'
make: *** [all] Error 2
[root@Linux pcmcia-cs-3.2.5]#
[root@Linux pcmcia-cs-3.2.5]#
[root@Linux pcmcia-cs-3.2.5]# ./Install
This system uses in-kernel pcmcia-cs.
make -C wireless install MODULES=wavelan2_cs.o
make[1]: Entering directory `/usr/src/pcmcia-cs-3.2.5/wireless'
cc   -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux-2.4.20-8/include -I../include  -D__KERNEL__ -DMODULE -c wavelan2_cs.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
                 from ../include/static/linux/module.h:6,
                 from ../include/pcmcia/k_compat.h:61,
                 from wavelan2_cs.c:74:
/usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from ../include/static/linux/kernel.h:13,
                 from ../include/static/linux/module.h:5,
                 from ../include/pcmcia/k_compat.h:61,
                 from wavelan2_cs.c:74:
../include/static/linux/modversions.h:450:1: warning: this is the location of the previous definition
In file included from wavelan2_cs.c:79:
/usr/src/linux-2.4.20-8/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
make[1]: *** [wavelan2_cs.o] Error 1
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.2.5/wireless'
make: *** [install] Error 2
[root@Linux pcmcia-cs-3.2.5]#


Is er iemand die een oplossing/antwoord weet op het bovenstaande? Alvast bedankt!

Verwijderd

Mijn orinoco silver (avaya silver) werkt al sinds RH 7.3 (eerder niet getest) default. Inpluggen en redhat-config-network runnen en klaar :) aangezien de Gold versie hetzelfde kaartje is met andere firmware (104 bit wepkey) zou dat toch ook moeten werken :)

  • igmar
  • Registratie: April 2000
  • Laatst online: 23-02 20:52

igmar

ISO20022

Verwijderd schreef op 30 november 2003 @ 14:26:
Hallo allen,

Ik wil mijn Orinoco Gold PC Card onder Rad Hat Linux 9 gaan gebruiker hiervoor heb ik de
- Linux PCMCIA Package gedownload van http://pcmcia-cs.sourceforge.net
- De Orinoco driver van http://www.proxim.com/sup...7.4winter2002/WLLI616.TGZ
1) Pak een recente kernel. Op oudere kernels had ik problemen 3.1.5 aan de praat te krijgen.
2) Schakel de in de kernel aanwezige cardbus zooi uit. Met cardbus in de kernel wou pcmcia hier niet eens builden...

3) Verander in /usr/include/linux de

#error linux/malloc.h is deprecated...

door

#warning linux/malloc.h is deprecated...

en het zou wat beter moeten compilen

4) Gooi (E)ISA uit je kernel, tenzij je het nodig hebt. In een laptop is dat zelden / nooit het geval.