Results 1 to 1 of 1

Thread: Help uninstalling Backports v4.4-rc2 from Kali v2.0

  1. #1

    Help uninstalling Backports v4.4-rc2 from Kali v2.0

    I was trying to hack my ath9k firmware in Kali v2.0 (to increase tx power in Atheros AR9271), so i downloaded Backports v4.4-rc2, and changed the ath9k source code.

    Then i compiled backports and installed it

    Code:
    make defconfig-ath9k-debug
    make
    make install
    But it failed to load, and it removed other drivers from Kali (my another wlan B43 device stopped working).

    Code:
    Jan 19 02:54:37 android kernel: [  155.728045] usb 3-5: new high-speed USB device number 2 using ehci-pci
    Jan 19 02:54:37 android kernel: [  155.876946] usb 3-5: New USB device found, idVendor=0cf3, idProduct=9271
    Jan 19 02:54:37 android kernel: [  155.876951] usb 3-5: New USB device strings: Mfr=16, Product=32, SerialNumber=48
    Jan 19 02:54:37 android kernel: [  155.876954] usb 3-5: Product: UB91C
    Jan 19 02:54:37 android kernel: [  155.876957] usb 3-5: Manufacturer: ATHEROS
    Jan 19 02:54:37 android kernel: [  155.876959] usb 3-5: SerialNumber: 12345
    Jan 19 02:54:39 android kernel: [  157.362385] usb 3-5: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
    Jan 19 02:54:39 android kernel: [  157.362804] usbcore: registered new interface driver ath9k_htc
    Jan 19 02:54:39 android kernel: [  157.385410] usb 3-5: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
    Jan 19 02:54:39 android kernel: [  157.385418] usb 3-5: ath9k_htc: Firmware htc_9271.fw requested
    Jan 19 02:54:39 android kernel: [  157.392737] usb 3-5: firmware: direct-loading firmware htc_9271.fw
    Jan 19 02:54:39 android kernel: [  157.674453] usb 3-5: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
    Jan 19 02:54:39 android kernel: [  157.914947] ath9k_htc 3-5:1.0: ath9k_htc: HTC initialized with 33 credits
    Jan 19 02:54:40 android kernel: [  158.977950] ath9k_htc 3-5:1.0: ath9k_htc: FW Version: 1.3
    Jan 19 02:54:40 android kernel: [  158.977956] ath9k_htc 3-5:1.0: FW RMW support: Off
    Jan 19 02:54:41 android kernel: [  159.042723] ieee80211 phy0: Atheros AR9271 Rev:1
    So now i want to uninstall this backports, but it's not working.

    Code:
    root@android:~# lsmod | grep ath && lsmod | grep b43
    ath9k_htc              65536  0
    ath9k_common           32768  1 ath9k_htc
    ath9k_hw              458752  2 ath9k_common,ath9k_htc
    ath                    24576  3 ath9k_common,ath9k_htc,ath9k_hw
    mac80211              573440  1 ath9k_htc
    cfg80211              401408  4 ath,ath9k_common,mac80211,ath9k_htc
    compat                 20480  6 ssb,bcma,cfg80211,ath9k_common,mac80211,ath9k_htc
    usbcore               176128  4 uhci_hcd,ehci_hcd,ehci_pci,ath9k_htc
    Then i tried

    Code:
    modprobe -r `lsmod|grep ^ath`
    make uninstall
    update-initramfs -u
    (reboot)
    but modinfo still shows the backports version

    Code:
    filename:       /lib/modules/4.0.0-kali1-686-pae/updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
    firmware:       ath9k_htc/htc_9271-1.4.0.fw
    firmware:       ath9k_htc/htc_7010-1.4.0.fw
    version:        backported from Linux (v4.4-rc2-0-g1ec2183) using backports v4.4-rc2-1-0-g005b70f
    description:    Atheros driver 802.11n HTC based wireless devices
    license:        Dual BSD/GPL
    author:         Atheros Communications
    srcversion:     314A814F01208356D40DB05
    alias:          usb:v0CF3p20FFd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v04DAp3904d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0411p0197d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0411p017Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v083ApA704d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0846p9018d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3p7010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1668p1200d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3p7015d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0471p209Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v057Cp8403d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3pB002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3pB003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v040Dp3801d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v04CAp4605d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3350d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3349d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3348d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3346d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3328d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13D3p3327d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v07D1p3A10d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0846p9030d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3p1006d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CF3p9271d*dc*dsc*dp*ic*isc*ip*in*
    depends:        mac80211,ath9k_hw,ath9k_common,compat,ath,cfg80211,usbcore
    vermagic:       4.0.0-kali1-686-pae SMP mod_unload modversions 686
    parm:           debug:Debugging mask (uint)
    parm:           nohwcrypt:Disable hardware encryption (int)
    parm:           btcoex_enable:Enable wifi-BT coexistence (int)
    parm:           ps_enable:Enable WLAN PowerSave (int)
    parm:           use_dev_fw:Use development FW version (int)
    parm:           blink:Enable LED blink on activity (int)
    Please, how can i completely remove this backports and restore to kali original kernel drivers ?

    Thanks !

    UPDATE
    ------------------------
    Problem solved...

    The following sequence did the job.

    Code:
    modprobe -r `lsmod|grep ^ath`
    make uninstall
    update-initramfs -u
    (reboot)
    I don't know why it didn't worked first time though.
    Last edited by brunoaduarte; 2016-01-20 at 01:11. Reason: SOLVED

Similar Threads

  1. How would i go about uninstalling all kali software
    By kouhkah in forum General Archive
    Replies: 4
    Last Post: 2021-04-04, 01:50
  2. Unable to compile backports wireless drivers on Kali
    By Malek123 in forum TroubleShooting Archive
    Replies: 6
    Last Post: 2016-09-14, 15:32
  3. Compat Wireless vs Backports on Kali 2.x
    By TheStigh in forum General Archive
    Replies: 0
    Last Post: 2016-01-03, 22:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •