• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] AR242x802.11abg Wireless PCI Express Adapter

A

Anonymous

Gast
Hm,

Da fehlte die erwartete Fehlermeldung beim Laden des Moduls ath_pci, vermutlich war das Modul ath_pci schon geladen.

Code:
su

Passwort

modprobe -r ndiswrapper

modprobe -r ath_pci

moprobe ath_pci 

dmesg | tail -n 20

Danach wieder "Retour" wie oben, damit die Karte wieder mit ndiswrapper betrieben wird.

Und dann würde ich noch

a) Das madwifi-kmp-default runterwerfen

b) Das Modul ath5k "blacklisten":

Code:
blacklist ath5k
ans Ende der Datei /etc/modprobe.d/blacklist als extra-Zeile eintragen (mit einem als root gestarteten Texteditor).
 
Code:
linux-hfd4:/home/uwe*** # dmesg | tail -n 20
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=4841 D
F PROTO=TCP SPT=4588 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402
080A068FFA850000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=12657
DF PROTO=TCP SPT=4589 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040
2080A0690032A0000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=51173
DF PROTO=TCP SPT=4591 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040
2080A069009E80000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=1234 D
F PROTO=TCP SPT=4592 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402
080A0690128D0000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=4408 D
F PROTO=TCP SPT=4594 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402
080A06901A770000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20019
DF PROTO=TCP SPT=4595 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040
2080A069021F00000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=59004
DF PROTO=TCP SPT=4597 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040
2080A069029DA0000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00
 SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=33233                                                            DF PROTO=TCP SPT=4598 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040                                                           2080A069031530000000001030301)
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00                                                            SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=24566                                                            DF PROTO=TCP SPT=4600 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040                                                           2080A0690393D0000000001030301)
ath_pci: driver unloaded
wlan: driver unloaded
ath_hal: driver unloaded
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:19:db:3f:70:db:00:1c:4a:12:72:fb:08:00                                                            SRC=192.168.178.1 DST=192.168.178.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=51877                                                            DF PROTO=TCP SPT=4601 DPT=14013 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B4040                                                           2080A069040B60000000001030301)
ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF241                                                           3, RF5413, RF2133, RF2425)
wlan: ng_r3365
ath_pci: ng_r3365
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:02:00.0 to 64
MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL s                                                           tatus 3)
ACPI: PCI interrupt for device 0000:02:00.0 disabled

Gruß Uwe
 
Muß hier nochml nen Nachtrag anbringen.

Hatte den ndiswrapper wieder deinstalliert, weil ich eine andere USB-Wlan-Karte zum testen hatte, und diese funktionierte.
Ich habe das dann so gemacht, wie @Rain_Maker es beschrieben hatte.

Hatte dann auch als letztes in die Blacklist den Eintrag "blacklist ath5k" eingefügt. ->Testkarte raus -> Rechner neu gestartet ....-> und siehe da, die AR242x läuft.

Keine Ahnung wieso,.....aber sie läuft...und das auch nach mehrfachen Neustarts.

Habe mal iwconfig gemacht:

Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"FRITZ!Box XXXXXXXXXX"  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1C:4A:03:08:71
          Bit Rate:54 Mb/s   Tx-Power:17 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:XXXXXXXXXXXXXX   Security mode:restricted
          Power Management:off
          Link Quality=59/70  Signal level=-38 dBm  Noise level=-97 dBm
          Rx invalid nwid:91  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Gruß Uwe
 
A

Anonymous

Gast
Da scheinen sich ath5k und ath_pci zu beissen.

Umso besser, wenn es nun nativ läuft (vielleicht ist es auch genau das Problem der User im madwifi-Ticket, die diesen "HAL status 3"-Fehler vermelden).

Um das Ganze mal (überraschenderweise positiv) abzuschliessen, poste doch bitte folgendes:

Code:
lsmod|grep -E 'ath_pci|ath5k|ndiswrapper'

grep ath /etc/modprobe.d/blacklist

dmesg|grep -A10 ath_pci

cat /etc/udev/rules.d/70-persistent-net*

Greetz,

RM
 
so, hier die Listings:

Code:
linux-hfd4:/home/uwe*** # lsmod|grep -E 'ath_pci|ath5k|ndiswrapper'
ath_pci               190124  0
wlan                  249400  5 wlan_tkip,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               283744  3 ath_rate_sample,ath_pci


linux-hfd4:/home/uwe*** # grep ath /etc/modprobe.d/blacklist
blacklist ath5k


linux-hfd4:/home/uwe*** # dmesg|grep -A10 ath_pci
ath_pci: ng_r3365
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:02:00.0 to 64
mmc0: new SD card at address b368
MadWifi: ath_attach: Switching rfkill capability off
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k
ACPI: device:06 is registered as cooling_device2
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:03/device:04/input/input8
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
ath_rate_sample: 1.2 (ng_r3365)
--
ath_pci: wifi0: Atheros 5424/2424: mem=0xfdff0000, irq=17
ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 20 (level, low) -> IRQ 20
ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 16
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[20]  MMIO=[febff800-febfffff]  Max Packet=[2048]  IR/IT contexts=[4/4]
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:3021: autoconfig: line_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3025:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3029:    hp_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3030:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3038:    inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x0, aux=0x0
ACPI: PCI Interrupt 0000:01:00.1[B] -> GSI 19 (level, low) -> IRQ 19


linux-hfd4:/home/uwe*** # cat /etc/udev/rules.d/70-persistent-net*
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it,as long as you keep each rule on a single line.
# PCI device 0x10ec:0x8168 (r8169)
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it,as long as you keep each rule on a single line.
# PCI device 0x10ec:0x8168 (r8169)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# PCI device 0x168c:0x001c (ndiswrapper)
# USB device 0x057c:0x3c00 (cdc_ether)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# PCI device 0x168c:0x001c (ndiswrapper)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# PCI device 0x168c:0x001c (ndiswrapper)
# PCI device 0x168c:0x001c (ndiswrapper)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
# PCI device 0x168c:0x001c (ndiswrapper)
# USB device 0x148f:0x2573 (rt73usb)
# USB device 0x148f:0x2573 (rt73usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:db:3f:70:db", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# USB device 0x148f:0x2573 (rt73usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:2e:ca:de:a2", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x168c:0x001c (ath_pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:af:2a:52:65", ATTR{type}=="1", KERNEL=="ath*", NAME="ath0"

Gruß Uwe
 
A

Anonymous

Gast
Code:
ath_pci: ng_r3365

Sogar mit dem "alten" Hal ... Surprise, Surprise .. (müsste also das Paket madwifi-kmp-default-ng_r3365_2.6.25.5_1.1-20080227_patch_AR5007EG.i586.rpm sein).


Wenn Du besonders "mutig" sein willst (notfalls geht man eben wieder auf das obige RPM zurück), dann kanst Du nun mal das Paket mit dem neuen HAL austesten, also zum Bleistift das hier:

madwifi-kmp-default-r3698+AR5007EG_2.6.25.5_1.1-rm.0.i586.rpm

Wenn es nicht klappt, dann eben wieder zurück auf das vorherige, allerdings muss nach jeder Installation ausnahmsweise neu gestartet werden.

Falls nicht, dann haben wir mit dem TE hier

http://www.linux-club.de/viewtopic.php?f=19&t=94825

ein weiteres, potentielles "Versuchskarnickel", der so oder so Pakete mit dem "neuen" HAL verwenden muss, da nur diese 64-Bit Systeme unterstützen.

Greetz,

RM
 
So, hab jetzt den

madwifi-kmp-default-r3698+AR5007EG_2.6.25.5_1.1-rm.0.i586.rpm

drin, und sie funktioniert auch damit.


Gruß uwe
 
A

Anonymous

Gast
Damit ist der "Übeltäter" ziemlich eindeutig "identifiziert", der ath5k muss auf die Blacklist.

Markiere den Thread bitte noch als gelöst.

http://www.linux-club.de/viewtopic.php?t=66639

Greetz,

RM
 
A

Anonymous

Gast
uwehofmann schrieb:
So, hab jetzt den

madwifi-kmp-default-r3698+AR5007EG_2.6.25.5_1.1-rm.0.i586.rpm

drin, und sie funktioniert auch damit.

Da es auch mit diesem Paket mit "neuem" HAL funktioniert, habe ich das oben verlinkte

madwifi-kmp-default-ng_r3365_2.6.25.5_1.1-20080227_patch_AR5007EG.i586.rpm

mit dem "gepatcht und nur für 32 Bit geeignet"-HAL aus der Downloadsektion gelöscht.

Das war eh nur eine Notlösung und wenn nun die Lösung funktioniert, die es möglicherweise bald in den nächsten Madwifi-Release schaffen wird, dann sollte diese logischerweise bevorzugt werden.
 
Oben