wireless works then dies...slowly.... apon everyreboot

So my wireless like to fluctuate, from working amazingly well, to not working, and I would like to know how to fix it.

first off, I think i have the typical opensuse error of having the opensuse reconise my athros 5007 card as a AR 242x, as shown here:

34: PCI 700.0: 0282 WLAN controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_168c_1c
  Unique ID: y9sn.eYBzW3bmQnB
  Parent ID: MZfG.K0fHNnB0W84
  SysFS ID: /devices/pci0000:00/0000:00:14.0/0000:07:00.0
  SysFS BusID: 0000:07:00.0
  Hardware Class: network
  Model: "Atheros AR242x 802.11abg Wireless PCI Express Adapter"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x001c "AR242x 802.11abg Wireless PCI Express Adapter"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x137a 
  Revision: 0x01
  Driver: "ath5k_pci"
  Driver Modules: "ath5k"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xc2000000-0xc200ffff (rw,non-prefetchable)
  IRQ: 23 (27363 events)
  HW Address: 00:1f:e1:7e:2a:94
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v0000168Cd0000001Csv0000103Csd0000137Abc02sc00i00"
  Driver Info #0:
    Driver Status: ath5k is active
    Driver Activation Cmd: "modprobe ath5k"
  Driver Info #1:
    Driver Status: ath_pci is active
    Driver Activation Cmd: "modprobe ath_pci"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #27 (PCI bridge)

and when i do dmesg | grep ath i get this:

ath5k_pci 0000:07:00.0: PCI INT A -> Link[Z012] -> GSI 23 (level, low) -> IRQ 23
ath5k_pci 0000:07:00.0: setting latency timer to 64                             
ath5k_pci 0000:07:00.0: registered as 'phy0'                                    
ath5k phy0: Support for RF2425 is under development.                            
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)                    
ath5k phy0: noise floor calibration failed (2412MHz)                            
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)                  
ath5k phy0: gain calibration timeout (2412MHz)                                  
ath5k phy0: can't reset hardware (-11)                                          
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)                  
ath5k phy0: gain calibration timeout (2422MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)                  
ath5k phy0: gain calibration timeout (2427MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)                  
ath5k phy0: gain calibration timeout (2432MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)                  
ath5k phy0: gain calibration timeout (2437MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)                  
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)                  
ath5k phy0: noise floor calibration failed (2417MHz)                            
ath5k phy0: gain calibration timeout (2422MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)                  
ath5k phy0: gain calibration timeout (2427MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)                  
ath5k phy0: gain calibration timeout (2432MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)                  
ath5k phy0: gain calibration timeout (2437MHz)                                  
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)                  
ath5k phy0: gain calibration timeout (2422MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)                  
ath5k phy0: gain calibration timeout (2427MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)                  
ath5k phy0: gain calibration timeout (2432MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)                  
ath5k phy0: gain calibration timeout (2437MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)                  
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)                  
ath5k phy0: gain calibration timeout (2422MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)                  
ath5k phy0: gain calibration timeout (2427MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)                  
ath5k phy0: gain calibration timeout (2432MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)                  
ath5k phy0: gain calibration timeout (2437MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)                  
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)                  
ath5k phy0: gain calibration timeout (2422MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)                  
ath5k phy0: gain calibration timeout (2427MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)                  
ath5k phy0: gain calibration timeout (2432MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)                  
ath5k phy0: gain calibration timeout (2437MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)                  
ath5k phy0: noise floor calibration timeout (2412MHz)                           
ath5k phy0: noise floor calibration timeout (2412MHz)                           
ath5k phy0: gain calibration timeout (2417MHz)                                  
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)

So whats is going on, and how do I fix this mess…

Capt Silver wrote:
> So my wireless like to fluctuate, from working amazingly well, to not
> working, and I would like to know how to fix it.
>
> first off, I think i have the typical opensuse error of having the
> opensuse reconise my athros 5007 card as a AR 242x, as shown here:
>
> Code:
> --------------------
> 34: PCI 700.0: 0282 WLAN controller
> [Created at pci.318]
> UDI: /org/freedesktop/Hal/devices/pci_168c_1c
> Unique ID: y9sn.eYBzW3bmQnB
> Parent ID: MZfG.K0fHNnB0W84
> SysFS ID: /devices/pci0000:00/0000:00:14.0/0000:07:00.0
> SysFS BusID: 0000:07:00.0
> Hardware Class: network
> Model: “Atheros AR242x 802.11abg Wireless PCI Express Adapter”
> Vendor: pci 0x168c “Atheros Communications Inc.”
> Device: pci 0x001c “AR242x 802.11abg Wireless PCI Express Adapter”
> SubVendor: pci 0x103c “Hewlett-Packard Company”
> SubDevice: pci 0x137a
> Revision: 0x01
> Driver: “ath5k_pci”
> Driver Modules: “ath5k”
> Device File: wlan0
> Features: WLAN
> Memory Range: 0xc2000000-0xc200ffff (rw,non-prefetchable)
> IRQ: 23 (27363 events)
> HW Address: 00:1f:e1:7e:2a:94
> WLAN channels: 1 2 3 4 5 6 7 8 9 10 11
> WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462
> WLAN encryption modes: WEP40 WEP104 TKIP CCMP
> WLAN authentication modes: open sharedkey wpa-psk wpa-eap
> Module Alias: “pci:v0000168Cd0000001Csv0000103Csd0000137Abc02sc00i00”
> Driver Info #0:
> Driver Status: ath5k is active
> Driver Activation Cmd: “modprobe ath5k”
> Driver Info #1:
> Driver Status: ath_pci is active
> Driver Activation Cmd: “modprobe ath_pci”
> Config Status: cfg=no, avail=yes, need=no, active=unknown
> Attached to: #27 (PCI bridge)
>
> --------------------
>
> and when i do dmesg | grep ath i get this:
>
>
> Code:
> --------------------
> ath5k_pci 0000:07:00.0: PCI INT A → Link[Z012] → GSI 23 (level, low) → IRQ 23
> ath5k_pci 0000:07:00.0: setting latency timer to 64
> ath5k_pci 0000:07:00.0: registered as ‘phy0’
> ath5k phy0: Support for RF2425 is under development.
> ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
> ath5k phy0: noise floor calibration failed (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: can’t reset hardware (-11)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: noise floor calibration failed (2417MHz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
>
> --------------------
>
>
> So whats is going on, and how do I fix this mess…

Send it to the mailing list at linux-wireless@vger.kernel.org. This is
a driver problem, not an openSUSE fault.

I found out that when i compiled the hal from madwifi, that I forgot to blacklist the ath5k… sorry…