#825: Package Loss Problem
----------------------------------+-----------------------------------------
      Reporter:  gfaccin          |       Owner:        
          Type:  defect           |      Status:  new   
      Priority:  major            |   Milestone:        
     Component:  madwifi: driver  |     Version:  v0.9.2
    Resolution:                   |    Keywords:        
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by gfaccin):

 Hello mrenzmann!

 I'm being able to use the internet now. Things as simple as browsing a web
 page were impossible when I first opened this ticket. What seens to have
 caused the difference was when I removed the artifact modules from /lib.
 If I simply try to unmerge madwifi-ng on Gentoo, after emerge finishes the
 files are still there. Check this:


 {{{
 conan net # pwd
 /lib/modules/2.6.17-gentoo-r4/net

 conan net # ls
 ath_hal.ko  ath_rate_sample.ko  wlan_acl.ko   wlan_scan_ap.ko
 wlan_tkip.ko  wlan_xauth.ko
 ath_pci.ko  wlan.ko             wlan_ccmp.ko  wlan_scan_sta.ko
 wlan_wep.ko


 conan net # emerge --unmerge madwifi-ng

  net-wireless/madwifi-ng
     selected: 0.9.2
    protected: none
      omitted: none

 >>> 'Selected' packages are slated for removal.
 >>> 'Protected' and 'omitted' packages will not be removed.

 >>> Waiting 5 seconds before starting...
 >>> (Control-C to abort)...
 >>> Unmerging in: 5 4 3 2 1
 >>> Unmerging net-wireless/madwifi-ng-0.9.2...
 No package files given... Grabbing a set.
 <<<        obj /usr/share/doc/madwifi-ng-0.9.2/users-guide.pdf.gz
 <<<        obj /usr/share/doc/madwifi-ng-0.9.2/WEP-HOWTO.txt.gz
 <<<        obj /usr/share/doc/madwifi-ng-0.9.2/THANKS.gz
 <<<        obj /usr/share/doc/madwifi-ng-0.9.2/README.gz
 <<<        obj /usr/include/madwifi/net80211/version.h
 <<<        obj /usr/include/madwifi/net80211/if_media.h
 <<<        obj /usr/include/madwifi/net80211/if_llc.h
 <<<        obj /usr/include/madwifi/net80211/if_ethersubr.h
 <<<        obj /usr/include/madwifi/net80211/if_athproto.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_var.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_scan.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_radiotap.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_proto.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_power.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_node.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_monitor.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_linux.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_ioctl.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211_crypto.h
 <<<        obj /usr/include/madwifi/net80211/ieee80211.h
 <<<        obj /usr/include/madwifi/net80211/_ieee80211.h
 <<<        obj /usr/include/madwifi/include/compat.h
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_xauth.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_wep.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_tkip.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_scan_sta.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_scan_ap.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_ccmp.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan_acl.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/wlan.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/ath_rate_sample.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/ath_pci.ko
 --- cfgpro obj /lib/modules/2.6.17-gentoo-r4/net/ath_hal.ko
 --- cfgpro dir /lib/modules/2.6.17-gentoo-r4/net
 --- cfgpro dir /lib/modules/2.6.17-gentoo-r4
 --- cfgpro obj /etc/modules.d/ath_pci
 --- cfgpro dir /etc/modules.d
 <<<        dir /usr/share/doc/madwifi-ng-0.9.2
 --- !empty dir /usr/share/doc
 --- !empty dir /usr/share
 <<<        dir /usr/include/madwifi/net80211
 <<<        dir /usr/include/madwifi/include
 <<<        dir /usr/include/madwifi
 --- !empty dir /usr/include
 --- !empty dir /usr
 --- !empty dir /lib/modules
 --- !empty dir /lib
 --- !empty dir /etc
  * Removing net-wireless/madwifi-ng-0.9.2 from moduledb.
 >>> Regenerating /etc/ld.so.cache...

  * GNU info directory index is up-to-date.
  * IMPORTANT: 1 config files in /etc need updating.
  * Type emerge --help config to learn how to update config files.

 conan net # ls -la
 total 776
 drwxr-xr-x 2 root root   4096 Aug 23 02:15 .
 drwxr-xr-x 5 root root   4096 Aug 23 02:17 ..
 -rw-r--r-- 1 root root 272968 Aug 23 02:15 ath_hal.ko
 -rw-r--r-- 1 root root 122505 Aug 23 02:15 ath_pci.ko
 -rw-r--r-- 1 root root  20364 Aug 23 02:15 ath_rate_sample.ko
 -rw-r--r-- 1 root root 268981 Aug 23 02:15 wlan.ko
 -rw-r--r-- 1 root root   7557 Aug 23 02:15 wlan_acl.ko
 -rw-r--r-- 1 root root  12065 Aug 23 02:15 wlan_ccmp.ko
 -rw-r--r-- 1 root root   8575 Aug 23 02:15 wlan_scan_ap.ko
 -rw-r--r-- 1 root root  18916 Aug 23 02:15 wlan_scan_sta.ko
 -rw-r--r-- 1 root root  16305 Aug 23 02:15 wlan_tkip.ko
 -rw-r--r-- 1 root root   9797 Aug 23 02:15 wlan_wep.ko
 -rw-r--r-- 1 root root   3901 Aug 23 02:15 wlan_xauth.ko
 }}}

 The config file emerge mentions is related to gkrellm (that's another
 story). As you can see, emerge does not remove the modules from /lib
 during uninstall. If now you emerge the package again, then those
 artifacts left behind will be overwritten by the new version, thus
 updating the system. So far so good, if all you do is install madwifi with
 emerge. But what if you install without emerge? (as I've done a dozen
 times, using sources both from madwifi-old and madwifi-ng). I must admit
 I'm not certain about if this is the real explanation of the issue.
 However, after I manually purged every .ko madwifi file in /lib, ran a
 modules-update script and reinstalled it with emerge, things seemed to
 have improved a lot. I'm not saying that now I have no package losses; I
 still do, but I belive those are antenna related (somewhere I heard that
 the DWL-G520 antenna gets bad with time - I'll check this out); now the
 average transfer rates have improved dramatically. I also switched back to
 the sample algorithm. I installed anoe right after cleaning /lib, and
 since this apparently solved the issue, I had the impression that anoe was
 doing wonders. However, after switching back to sample with the libs issue
 solved, it seemed to perform better than anoe (it's correctly chosen as
 the default).

 In the end, seens that in some moment I scrambled the system myself. So
 it's not a madwifi bug nor a Gentoo one; instead it appears to have been
 caused by the curious creature in front of the keyboard.

 Perhaps now this ticket can be closed. Thank you very much for your
 support!

 Giovani

-- 
Ticket URL: <http://madwifi.org/ticket/825>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to