PDA

View Full Version : wireless woes (Kali 1.0.5 on surface pro (marvell 88w8797) with mwifiex driver)



tghetti
2013-12-29, 01:24
running into some issues getting wireless working with kali 1.0.5. So the background is I am trying to get Kali working on a surface pro (gen 1). It has a Marvell Avastar 350n 88W8797 wireless adapter. It shows as a usb device when I run lsusb.

My first issue was that the firmware was not loaded with my install. ok, simple enough. I went to the marvell git repo (git.marvell.com) and found latest firmware and copied to /lib/firmware/mrvl. ok, now I got 3 new interfaces (mlan0, uap0 and p2p0) and network-manager is seeing wifi networks. But I cannot connect to them. Mine is WPA2-PSK and I just get re-prompted for the password. I killed encryption temporarily and made it wide open - still no go. Now it looks like I have kernel dumps in the logs. I hope there's someone who can point me in a direction. below are some log snips. Happy to provide any additional info needed

Dec 28 19:36:10 wks2 kernel: [ 1290.974964] usb 1-3: mwifiex_cmd_timeout_func: Timeout cmd id (1388277370.460434) = 0x24, act = 0xd7c8
Dec 28 19:36:10 wks2 kernel: [ 1290.974976] usb 1-3: num_data_h2c_failure = 0
Dec 28 19:36:10 wks2 kernel: [ 1290.974982] usb 1-3: num_cmd_h2c_failure = 0
Dec 28 19:36:10 wks2 kernel: [ 1290.974986] usb 1-3: num_cmd_timeout = 2
Dec 28 19:36:10 wks2 kernel: [ 1290.974991] usb 1-3: num_tx_timeout = 0
Dec 28 19:36:10 wks2 kernel: [ 1290.974995] usb 1-3: last_cmd_index = 1
Dec 28 19:36:10 wks2 kernel: [ 1290.975003] last_cmd_id: 00000000: 06 00 24 00 12 ..$..
Dec 28 19:36:10 wks2 kernel: [ 1290.975008] last_cmd_act: 00000000: 03 00 c8 d7 c8 .....
Dec 28 19:36:10 wks2 kernel: [ 1290.975013] usb 1-3: last_cmd_resp_index = 4
Dec 28 19:36:10 wks2 kernel: [ 1290.975017] last_cmd_resp_id: 00000000: 71 80 28 80 12 q.(..
Dec 28 19:36:10 wks2 kernel: [ 1290.975022] usb 1-3: last_event_index = 2
Dec 28 19:36:10 wks2 kernel: [ 1290.975026] last_event: 00000000: 2b 00 17 00 2b +...+
Dec 28 19:36:10 wks2 kernel: [ 1290.975031] usb 1-3: data_sent=0 cmd_sent=1
Dec 28 19:36:10 wks2 kernel: [ 1290.975036] usb 1-3: ps_mode=1 ps_state=0
Dec 28 19:36:10 wks2 kernel: [ 1290.975047] usb 1-3: cmd timeout
Dec 28 19:36:10 wks2 kernel: [ 1290.978839] usb 1-3: mwifiex_usb_host_to_card: usb_submit_urb failed
Dec 28 19:36:10 wks2 kernel: [ 1290.978854] usb 1-3: DNLD_CMD: host to card failed
Dec 28 19:38:40 wks2 kernel: [ 1440.715982] hda-intel: Unstable LPIB (17628 >= 4408); disabling LPIB delay counting
Dec 28 19:38:50 wks2 kernel: [ 1450.906047] usb 1-3: mwifiex_usb_host_to_card: usb_submit_urb failed
Dec 28 19:38:50 wks2 kernel: [ 1450.906058] usb 1-3: DNLD_CMD: host to card failed
Dec 28 19:38:50 wks2 kernel: [ 1450.910660] usb 1-3: mwifiex_usb_host_to_card: usb_submit_urb failed
Dec 28 19:38:50 wks2 kernel: [ 1450.910674] usb 1-3: DNLD_CMD: host to card failed
Dec 28 19:38:50 wks2 kernel: [ 1450.914351] ------------[ cut here ]------------
Dec 28 19:38:50 wks2 kernel: [ 1450.914389] WARNING: at /build/kalibuild-linux-kali_3.7.2-0+kali8-amd64-pvmjvW/linux-kali-3.7.2/net/wireless/core.c:732 wdev_cleanup_work+0xbd/0xff [cfg80211]()
Dec 28 19:38:50 wks2 kernel: [ 1450.914397] Hardware name: Surface with Windows 8 Pro
Dec 28 19:38:50 wks2 kernel: [ 1450.914401] Modules linked in: binfmt_misc nls_utf8 nls_cp437 vfat fat myri10ge inet_lro dca mwl8k mac80211 mwifiex_pcie mlx4_en mlx4_core marvell libphy loop dm_crypt snd_hda_codec_hdmi btusb bluetooth snd_hda_codec_realtek hid_multitouch joydev hid_generic usbhid hid uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media tpm_infineon iTCO_wdt iTCO_vendor_support evdev mwifiex_usb mwifiex cfg80211 rfkill coretemp kvm_intel kvm i2c_i801 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd acpi_cpufreq soundcore i915 mperf mei battery lpc_ich video mfd_core ac drm_kms_helper drm i2c_algo_bit i2c_core tpm_tis tpm tpm_bios button processor ext4 crc16 jbd2 mbcache dm_mod sg sd_mod crc_t10dif crc32c_intel ghash_clmulni_intel usb_storage ehci_hcd aesni_intel thermal ahci libahci aes_x86_64 ablk_helper cryptd xts libata thermal_sys lrw gf128mul xhci_hcd scsi_mod usbcore usb_common microcode
Dec 28 19:38:50 wks2 kernel: [ 1450.914590] Pid: 197, comm: kworker/u:4 Not tainted 3.7-trunk-amd64 #1 Debian 3.7.2-0+kali8
Dec 28 19:38:50 wks2 kernel: [ 1450.914596] Call Trace:
Dec 28 19:38:50 wks2 kernel: [ 1450.914614] [<ffffffff8103cea4>] ? warn_slowpath_common+0x76/0x8a
Dec 28 19:38:50 wks2 kernel: [ 1450.914640] [<ffffffffa0531660>] ? wdev_cleanup_work+0xbd/0xff [cfg80211]
Dec 28 19:38:50 wks2 kernel: [ 1450.914655] [<ffffffff8105359d>] ? process_one_work+0x16d/0x2c5
Dec 28 19:38:50 wks2 kernel: [ 1450.914676] [<ffffffffa05315a3>] ? wiphy_new+0x432/0x432 [cfg80211]
Dec 28 19:38:50 wks2 kernel: [ 1450.914689] [<ffffffff810539b8>] ? worker_thread+0x117/0x1b1
Dec 28 19:38:50 wks2 kernel: [ 1450.914701] [<ffffffff810538a1>] ? rescuer_thread+0x187/0x187
Dec 28 19:38:50 wks2 kernel: [ 1450.914712] [<ffffffff810570a8>] ? kthread+0x81/0x89
Dec 28 19:38:50 wks2 kernel: [ 1450.914724] [<ffffffff81057027>] ? __kthread_parkme+0x5c/0x5c
Dec 28 19:38:50 wks2 kernel: [ 1450.914738] [<ffffffff8137d7fc>] ? ret_from_fork+0x7c/0xb0
Dec 28 19:38:50 wks2 kernel: [ 1450.914749] [<ffffffff81057027>] ? __kthread_parkme+0x5c/0x5c
Dec 28 19:38:50 wks2 kernel: [ 1450.914757] ---[ end trace ecd4fea384bad4ca ]---
Dec 28 19:38:50 wks2 kernel: [ 1450.923846] usb 1-3: mwifiex_usb_host_to_card: usb_submit_urb failed
Dec 28 19:38:50 wks2 kernel: [ 1450.923857] usb 1-3: DNLD_CMD: host to card failed
Dec 28 19:45:12 wks2 kernel: [ 1832.078240] usb 1-3: mwifiex_usb_host_to_card: usb_submit_urb failed
Dec 28 19:45:12 wks2 kernel: [ 1832.078252] usb 1-3: DNLD_CMD: host to card failed
Dec 28 19:48:39 wks2 kernel: [ 2039.541534] INFO: task ifconfig:3736 blocked for more than 120 seconds.
Dec 28 19:48:39 wks2 kernel: [ 2039.541544] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 28 19:48:39 wks2 kernel: [ 2039.541549] ifconfig D ffff88011f213b80 0 3736 3222 0x00000000
Dec 28 19:48:39 wks2 kernel: [ 2039.541559] ffff88011a75e840 0000000000000086 0000000000000001 ffffffff816133f0
Dec 28 19:48:39 wks2 kernel: [ 2039.541568] 0000000000013b80 ffff8801162effd8 ffff8801162effd8 ffff88011a75e840
Dec 28 19:48:39 wks2 kernel: [ 2039.541574] ffffea0003cc4a70 ffffffff816683f0 ffff88011a75e840 ffffffff816683f4
Dec 28 19:48:39 wks2 kernel: [ 2039.541582] Call Trace:
Dec 28 19:48:39 wks2 kernel: [ 2039.541602] [<ffffffff8137702d>] ? __mutex_lock_common.isra.6+0x149/0x165
Dec 28 19:48:39 wks2 kernel: [ 2039.541611] [<ffffffff81376e58>] ? mutex_lock+0x1a/0x2d
Dec 28 19:48:39 wks2 kernel: [ 2039.541620] [<ffffffff810e0686>] ? handle_pte_fault+0x2c6/0x7dd
Dec 28 19:48:39 wks2 kernel: [ 2039.541629] [<ffffffff812b8823>] ? dev_ioctl+0x37/0x5b6
Dec 28 19:48:39 wks2 kernel: [ 2039.541640] [<ffffffff810dda9c>] ? pte_offset_kernel+0xc/0x38
Dec 28 19:48:39 wks2 kernel: [ 2039.541649] [<ffffffff812a402e>] ? sock_do_ioctl+0x2f/0x36
Dec 28 19:48:39 wks2 kernel: [ 2039.541656] [<ffffffff812a446c>] ? sock_ioctl+0x205/0x212
Dec 28 19:48:39 wks2 kernel: [ 2039.541665] [<ffffffff81114992>] ? vfs_ioctl+0x1e/0x31
Dec 28 19:48:39 wks2 kernel: [ 2039.541672] [<ffffffff811151ca>] ? do_vfs_ioctl+0x3ee/0x430
Dec 28 19:48:39 wks2 kernel: [ 2039.541679] [<ffffffff810e4f41>] ? do_munmap+0x2be/0x2df
Dec 28 19:48:39 wks2 kernel: [ 2039.541686] [<ffffffff81115259>] ? sys_ioctl+0x4d/0x7c
Dec 28 19:48:39 wks2 kernel: [ 2039.541696] [<ffffffff8137d8a9>] ? system_call_fastpath+0x16/0x1b
Dec 28 19:50:39 wks2 kernel: [ 2159.397820] INFO: task ifconfig:3736 blocked for more than 120 seconds.
Dec 28 19:50:39 wks2 kernel: [ 2159.397830] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 28 19:50:39 wks2 kernel: [ 2159.397835] ifconfig D ffff88011f213b80 0 3736 3222 0x00000000
Dec 28 19:50:39 wks2 kernel: [ 2159.397845] ffff88011a75e840 0000000000000086 0000000000000001 ffffffff816133f0
Dec 28 19:50:39 wks2 kernel: [ 2159.397854] 0000000000013b80 ffff8801162effd8 ffff8801162effd8 ffff88011a75e840
Dec 28 19:50:39 wks2 kernel: [ 2159.397861] ffffea0003cc4a70 ffffffff816683f0 ffff88011a75e840 ffffffff816683f4

tghetti
2013-12-29, 15:11
Some more info

filename: /lib/modules/3.7-trunk-amd64/kernel/drivers/net/wireless/mwifiex/mwifiex_usb.ko
firmware: mrvl/usb8797_uapsta.bin
license: GPL v2
version: 1.0
description: Marvell WiFi-Ex USB Driver version1.0
author: Marvell International Ltd.
srcversion: 9A51735FC6E698807777C11
alias: usb:v1286p2044d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v1286p2043d*dc*dsc*dp*ic*isc*ip*in*
depends: mwifiex,usbcore
intree: Y
vermagic: 3.7-trunk-amd64 SMP mod_unload modversions