ath5k will frequently drop the wireless connection. This happens about once every two hours. I have to do `/etc/init.d/net.wlan0 restart` to reconnect. The drivers from Madwifi-ng with an older kernel DO work (it is what I was using before upgrading to 2.6.30-r1). `uname -a`: Linux lap 2.6.30-gentoo-r1 #1 SMP PREEMPT Fri Jun 19 04:48:01 EDT 2009 i686 Intel(R) Celeron(R) M processor 1.40GHz GenuineIntel GNU/Linux Reproducible: Always Actual Results: Expected Results: This is what /var/log/messages looks like (cron messages are removed): (I was disconnected, so I ran `/etc/init.d/net.wlan0 restart`) Jun 24 16:27:21 lap dhcpcd[10478]: wlan0: received SIGTERM, stopping Jun 24 16:27:21 lap wlan0: deauthenticating by local choice (reason=3) Jun 24 16:27:21 lap wlan0: direct probe to AP 00:18:39:da:1a:17 try 1 Jun 24 16:27:21 lap ADDRCONF(NETDEV_UP): wlan0: link is not ready Jun 24 16:27:21 lap wlan0 direct probe responded Jun 24 16:27:21 lap wlan0: authenticate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: authenticated Jun 24 16:27:21 lap wlan0: associate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: RX AssocResp from 00:18:39:da:1a:17 (capab=0x11 status=12 aid=0) Jun 24 16:27:21 lap wlan0: AP denied association (code=12) Jun 24 16:27:21 lap wlan0: authenticate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: authenticate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: authenticated Jun 24 16:27:21 lap wlan0: associate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: RX AssocResp from 00:18:39:da:1a:17 (capab=0x11 status=12 aid=0) Jun 24 16:27:21 lap wlan0: AP denied association (code=12) Jun 24 16:27:21 lap /etc/init.d/net.wlan0[15640]: Trying to force preferred in case they are hidden Jun 24 16:27:21 lap wlan0: authenticate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: authenticated Jun 24 16:27:21 lap wlan0: associate with AP 00:18:39:da:1a:17 Jun 24 16:27:21 lap wlan0: RX AssocResp from 00:18:39:da:1a:17 (capab=0x11 status=0 aid=3) Jun 24 16:27:21 lap wlan0: associated Jun 24 16:27:21 lap ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Jun 24 16:27:22 lap dhcpcd[15708]: wlan0: dhcpcd 4.0.13 starting Jun 24 16:27:22 lap dhcpcd[15708]: wlan0: broadcasting for a lease Jun 24 16:27:23 lap dhcpcd[15708]: wlan0: offered 192.168.1.110 from 192.168.1.1 Jun 24 16:27:23 lap dhcpcd[15708]: wlan0: acknowledged 192.168.1.110 from 192.168.1.1 Jun 24 16:27:23 lap dhcpcd[15708]: wlan0: checking 192.168.1.110 is available on attached networks Jun 24 16:27:28 lap dhcpcd[15708]: wlan0: leased 192.168.1.110 for 86400 seconds Jun 24 16:27:31 lap wlan0: no IPv6 routers present Jun 24 16:27:58 lap ntpdate[15794]: step time server 128.10.252.6 offset 0.983321 sec (Then this happens about an hour later. The connection is lost.) Jun 24 17:42:31 lap wlan0: no probe response from AP 00:18:39:da:1a:17 - disassociating Jun 24 17:42:31 lap dhcpcd[15747]: wlan0: carrier lost Jun 24 17:42:35 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:42:46 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:42:57 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:43:08 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:43:19 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:43:30 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:43:52 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:44:03 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:44:14 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:44:35 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:46:06 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:46:17 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:46:28 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:46:39 lap ath5k phy0: noise floor calibration timeout (2412MHz) Jun 24 17:47:00 lap ath5k phy0: noise floor calibration failed (2412MHz) Jun 24 17:47:40 lap ath5k phy0: noise floor calibration timeout (2412MHz) At this point I have to do another `/etc/init.d/wlan0 restart`. Here is lspci -v: 13:00.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01) Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5BXB6) Flags: bus master, fast devsel, latency 0, IRQ 19 Memory at a7f00000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] MSI: Mask- 64bit- Count=1/1 Enable- Capabilities: [60] Express Legacy Endpoint, MSI 00 Capabilities: [90] MSI-X: Enable- Mask- TabSize=1 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel <?> Kernel driver in use: ath5k Kernel modules: ath5k Here is lshw: *-network description: Wireless interface product: AR5212 802.11abg NIC vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:13:00.0 logical name: wmaster0 version: 01 serial: 00:14:a4:61:b0:17 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless configuration: broadcast=yes driver=ath5k ip=192.168.1.110 latency=0 multicast=yes wireless=IEEE 802.11abg resources: irq:19 memory:a7f00000-a7f0ffff Here is iwconfig wlan0: wlan0 IEEE 802.11abg ESSID:"seedy9" Mode:Managed Frequency:2.412 GHz Access Point: 00:18:39:DA:1A:17 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:AAAA-FFFF-EEEE-BBBB-AAAA-AAAA-AA Security mode:open Power Management:off Link Quality=59/70 Signal level=-51 dBm Noise level=-98 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Finally, here is emerge --info: Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Celeron-R-_M_processor_1.40GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 18 Jun 2009 06:15:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs cvs distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ ftp://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org http://mirror.clarkson.edu/pub/distributions/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/pro-audio /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi alsa anthy bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cscope cups curl dbus dri dvd dvdr dvdread eds emacs emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imap ipv6 isdnlog jack jpeg ldap leim libnotify mad mbox midi mikmod modplug mp3 mpeg mudflap ncurses nls nntp nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc sdl session sid smime smtp spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vim-syntax vim-with-x vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Also, here is lsmod (formatting is a little messed up, sorry!): Module Size Used by bridge 46488 0 stp 1960 1 bridge llc 5072 2 bridge,stp i915 167048 2 fb 31436 1 i915 drm 139840 3 i915 i2c_algo_bit 5320 1 i915 cfbcopyarea 3652 1 i915 i2c_core 19672 3 i915,drm,i2c_algo_bit cfbimgblt 2692 1 i915 cfbfillrect 3492 1 i915 iptable_nat 4580 0 nf_nat 14904 1 iptable_nat nf_conntrack_ipv4 11952 4 iptable_nat,nf_nat nf_defrag_ipv4 1540 1 nf_conntrack_ipv4 ip6table_filter 2212 0 ip6_tables 11092 1 ip6table_filter arc4 1572 2 ecb 2372 2 cryptomgr 85872 0 aead 5988 1 cryptomgr pcompress 1828 1 cryptomgr crypto_blkcipher 10696 2 ecb,cryptomgr crypto_hash 8836 1 cryptomgr crypto_algapi 13924 7 arc4,ecb,cryptomgr,aead,pcompress,crypto_blkcipher,crypto_hash snd_hda_codec_analog 56868 1 ath5k 114792 0 snd_hda_intel 23528 0 snd_hda_codec 54148 2 snd_hda_codec_analog,snd_hda_intel mac80211 137584 1 ath5k cfg80211 59748 2 ath5k,mac80211 tg3 105864 0 intel_agp 25372 1 rtc 9316 0 agpgart 29708 3 drm,intel_agp libphy 17508 1 tg3 video 18552 1 i915 output 2564 1 video evdev 9248 11
Well, I feel dumb. I figured out it was just a household wireless phone interfering with the signal. Whenever anyone used the phone, the computer would lose the connection to the wireless router. I changed the wireless router to a different channel and completely solved all of my problems.