← Back to team overview

kernel-packages team mailing list archive

[Bug 1289719] Re: Wifi Problem HP DV7 After Windows 7 Dual Boot Installation

 

# lspci -nnk 
<SNIP>
04:00.0 Network controller [0280]: Ralink corp. Device [1814:539a]
	Subsystem: Hewlett-Packard Company Device [103c:1839]
	Kernel driver in use: rt2800pci
</SNIP>

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1289719

Title:
  Wifi Problem HP DV7 After Windows 7 Dual Boot Installation

Status in “linux-firmware” package in Ubuntu:
  New

Bug description:
  Background Info, how the problem came about:

  
  	I am writing on behalf of a customer/friend who I've wiped Windows 7 in yet another ugly mess that I come across often (Windows in general), backed up user files' and reinstalled with “13.10, Saucy Salamander”. I myself run Gentoo, but it's not for everybody. I will get straight to the point. He wants his Locomotive Train Simulation Games to work. I do not like the idea of him running Windows software under Linux (WINE), and know that can be buggy as well working half-*** or not at all.

          So what I did is, I took a Linux Live DVD (USB actually) and
  ran Gparted, resized the only partition (1 Primary, no swap needed
  with the amount of ram), and made the free space before the Ext4
  Partition for Linux, and placed an NTFS Partition that would be
  /dev/sda1. I am doing everything possible to prevent the Windows
  installer from doing anything to wipe out Linux.

          I then went to installing Windows 7. Upon reaching the
  partitioner, it recognized the newly created NTFS Partition, and I had
  it install there. Yes, knowingly, it would wipe out the MBR of Grub2
  with it's own BS that I later fixed using some Gentoo skills (refer to
  the Gentoo Handbook if interested).

  Skip ahead...

  Windows 7 and Linux are now both dual booting just fine with Grub2.
  However, a problem exists with Wifi working under Linux. I have a
  couple of options:

  1. Solve the problem myself, reconfigure make menuconfig, patch if necessary, etc. etc., or
  2. Make a bug report, so that when updates come in through Ubuntu Repositories, the issue is fixed and remains fixed not only for this customer, but all others that run into the problem and would run into the problem if a bug fix had not been made.

  
  Problem in More Detail:

  
  Boot Linux to GUI desktop. Automatic connecting to the WPA2 Wireless Network by Network Manager does not happen. Then go into Network Manager's Settings and find out 

  Airplane mode is enabled. It will toggle off. Wireless is toggled off,
  and refuses to toggle on.

  Temporary workaround that gets around the issue:

  Suspend the computer in Linux (did so through the GUI), and wake it
  from Suspend. Now everything works and behaves as expected, but the
  problem will persist after a reboot.

  
  Troubleshooting:

  
  Check dmesg!!!!!!!! # // /* Attachment of dmesg output below */
  	sudo passwd root
  	su -
  mike-HP-Pavilion-dv7-Notebook-PC BugReport # rfkill list
  0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: Yes
  	rfkill unblock wifi     # Check with list again, same results
  	rfkill unblock all        # Same as above
  	rfkill block all
  	rfkill unblock all        # Same results still persist
  	halt/poweroff/reboot
  	# Booted back up in no time on this ssd drive, command line again
  	su -
  	dmesg > dmesg_before
  	# Suspend work-around mentioned earlier
  	dmesg > dmesg_after
  	# Examine with the best editor known to existence, SORRY EMACS FANS!
  	vimdiff dmesg_before dmesg_after     # Files are included as attachments
  	
  	Notable info examined:

  mike-HP-Pavilion-dv7-Notebook-PC BugReport # grep -Ei 'firmware|module|wifi|network[- ]{0,1}manager|wlan0' dmesg_after2 
  [    0.182236] ACPI: Added _OSI(Module Device)
  [    0.185081] ACPI: Executed 1 blocks of module-level executable AML code
  [    1.687218] Initialise module verification
  [    1.786574] [Firmware Bug]: No valid trip found
  [    1.979204] brd: module loaded
  [    1.979735] loop: module loaded
  [    2.049719] Loading module verification certificates
  [    5.726785] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  [  302.851722] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
  [  302.851737] WARNING: CPU: 1 PID: 865 at /build/buildd/linux-3.11.0/drivers/base/firmware_class.c:1085 _request_firmware+0x948/0xa60()
  [  302.851740] Modules linked in: x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_codec_hdmi hp_wmi sparse_keymap snd_hda_codec_idt snd_hda_intel snd_hda_codec uvcvideo snd_hwdep videobuf2_vmalloc videobuf2_memops videobuf2_core videodev snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi joydev snd_seq microcode arc4 dm_multipath scsi_dh rt2800pci rt2800lib rt2x00pci rt2x00mmio psmouse rt2x00lib serio_raw snd_seq_device mac80211 snd_timer rtsx_pci_ms snd cfg80211 memstick lpc_ich eeprom_93cx6 crc_ccitt mei_me soundcore mei parport_pc ppdev rfcomm bnep bluetooth hp_accel lis3lv02d input_polldev mac_hid binfmt_misc lp parport dm_raid45 xor dm_mirror dm_region_hash dm_log hid_generic rtsx_pci_sdmmc i915 usbhid hid i2c_algo_bit drm_kms_helper ahci drm rtsx_pci r8169 libahci mii wmi video
  [  302.851810] CPU: 1 PID: 865 Comm: NetworkManager Not tainted 3.11.0-17-generic #31-Ubuntu
  [  302.851852]  [<ffffffff81487bc8>] _request_firmware+0x948/0xa60
  [  302.851867]  [<ffffffff81487d14>] request_firmware+0x34/0x50
  [  302.851876]  [<ffffffffa041ab8c>] rt2x00lib_load_firmware+0xbc/0x2c0 [rt2x00lib]
  [  302.852039] rt2800pci 0000:04:00.0: firmware: rt2860.bin will not be loaded
  [  302.852044] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
  [  450.625334] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
  [  450.625645] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
  [  450.680684] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


  
  More:


  
  *** [  302.851810] CPU: 1 PID: 865 Comm: NetworkManager Not tainted 3.11.0-17-generic #31-Ubuntu
  [  302.851813] Hardware name: Hewlett-Packard HP Pavilion dv7 Notebook PC/181C, BIOS F.29 10/03/2013
  [  302.851815]  0000000000000009 ffff880240bf55c8 ffffffff816e7645 0000000000000000
  [  302.851821]  ffff880240bf5600 ffffffff81061e0d ffffffffa040602f 00000000fffffff5
  [  302.851824]  ffff88023eb1ba40 ffff880240bf56c8 0000000000000000 ffff880240bf5610
  *** [  302.851828] Call Trace:
  [  302.851835]  [<ffffffff816e7645>] dump_stack+0x45/0x56
  [  302.851841]  [<ffffffff81061e0d>] warn_slowpath_common+0x7d/0xa0
  [  302.851847]  [<ffffffff81061eea>] warn_slowpath_null+0x1a/0x20
  [  302.851852]  [<ffffffff81487bc8>] _request_firmware+0x948/0xa60
  [  302.851860]  [<ffffffff8147300e>] ? __dev_printk+0x3e/0x90
  [  302.851867]  [<ffffffff81487d14>] request_firmware+0x34/0x50
  [  302.851876]  [<ffffffffa041ab8c>] rt2x00lib_load_firmware+0xbc/0x2c0 [rt2x00lib]
  [  302.851883]  [<ffffffffa0416a15>] rt2x00lib_start+0x35/0xc0 [rt2x00lib]
  [  302.851889]  [<ffffffffa0417039>] rt2x00mac_start+0x29/0x30 [rt2x00lib]
  [  302.851906]  [<ffffffffa036b02c>] ieee80211_do_open+0x43c/0xd80 [mac80211]
  [  302.851912]  [<ffffffff816f2d5c>] ? notifier_call_chain+0x4c/0x70
  [  302.851928]  [<ffffffffa036b9d9>] ieee80211_open+0x69/0x70 [mac80211]
  [  302.851933]  [<ffffffff815f3abf>] __dev_open+0xbf/0x140
  [  302.851937]  [<ffffffff815f3d7d>] __dev_change_flags+0x9d/0x150
  [  302.851941]  [<ffffffff815f3edd>] dev_change_flags+0x1d/0x60
  [  302.851944]  [<ffffffff816013b2>] do_setlink+0x332/0x9f0
  [  302.851950]  [<ffffffff8137ef22>] ? nla_parse+0x32/0xe0
  [  302.851954]  [<ffffffff816026d4>] rtnl_newlink+0x394/0x5e0
  [  302.851960]  [<ffffffff81319ae4>] ? apparmor_capable+0x24/0x180
  [  302.851964]  [<ffffffff815ff0f9>] rtnetlink_rcv_msg+0x99/0x260
  [  302.851969]  [<ffffffff81191478>] ? __kmalloc_node_track_caller+0x58/0x1d0
  [  302.851973]  [<ffffffff815e29ae>] ? __alloc_skb+0x7e/0x2a0
  [  302.851977]  [<ffffffff815ff060>] ? rtnetlink_rcv+0x30/0x30
  [  302.851981]  [<ffffffff8161cdd9>] netlink_rcv_skb+0xa9/0xc0
  [  302.851985]  [<ffffffff815ff058>] rtnetlink_rcv+0x28/0x30
  [  302.851988]  [<ffffffff8161c42d>] netlink_unicast+0xdd/0x190
  [  302.851992]  [<ffffffff8136fa4d>] ? memcpy_fromiovec+0x4d/0x90
  [  302.851995]  [<ffffffff8161c7df>] netlink_sendmsg+0x2ff/0x740
  [  302.852000]  [<ffffffff8161950c>] ? netlink_rcv_wake+0x3c/0x50
  [  302.852003]  [<ffffffff8161a81c>] ? netlink_recvmsg+0x1fc/0x380
  [  302.852007]  [<ffffffff815da349>] sock_sendmsg+0x99/0xd0
  [  302.852009]  [<ffffffff815da9f8>] ? sock_recvmsg+0xa8/0xe0
  [  302.852013]  [<ffffffff8168621c>] ? unix_dgram_sendmsg+0x59c/0x600
  [  302.852016]  [<ffffffff815da779>] ___sys_sendmsg+0x3a9/0x3c0
  [  302.852020]  [<ffffffff815da90e>] ? SYSC_sendto+0x17e/0x1c0
  [  302.852025]  [<ffffffff815db592>] __sys_sendmsg+0x42/0x80
  [  302.852029]  [<ffffffff815db5e2>] SyS_sendmsg+0x12/0x20
  [  302.852033]  [<ffffffff816f74dd>] system_call_fastpath+0x1a/0x1f
  [  302.852036] ---[ end trace 4ae738e188d9c71f ]---
  *** [  302.852039] rt2800pci 0000:04:00.0: firmware: rt2860.bin will not be loaded
  [  302.852044] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware

  Notice besides the huge backtrace of call stack (that can point right
  to where the problem lays in code) that a specific firmware refuses to
  be loaded.

  mike-HP-Pavilion-dv7-Notebook-PC BugReport # locate rt2860.bin
  /lib/firmware/rt2860.bin
  mike-HP-Pavilion-dv7-Notebook-PC BugReport # dpkg -S /lib/firmware/rt2860.bin
  linux-firmware: /lib/firmware/rt2860.bin
  mike-HP-Pavilion-dv7-Notebook-PC BugReport # 

  Through Googling, as well as checking other bugs on launchpad.net
  (Nothing of much relevance found), I came across this page as being
  the most relevant with best given advice I've found with a few
  exceptions:

  https://ubuntuforums.org/archive/index.php/t-2178085.html (renders
  differently with ssl)

  Gentoo:
  https://forums.gentoo.org/viewtopic-p-7394590.html (deals with the same firmware rt2860.bin, rfkill probs, but rt2800pci is already compiled as a kernel with generic kernels such as Ubuntu's, different patches, Ubuntu patched craziness especially with drivers more so than debian from vanilla kernel, different kernel versions, no NetworkManager running on that Gentoo Box)

  Conclusion:

  Throw Windows out the Windows. See attachments I provided. I can
  provide much more debugging info, apport if you want, but no sensitive
  information. No problems are seen in the bios, set to default, reboot,
  nothing, remove “splash quiet acpi=off” from kernel boot line, nothing
  (but it'd only be used to more narrow down the problem anyways), did
  the following

  mike-HP-Pavilion-dv7-Notebook-PC BugReport # cd /etc/NetworkManager/system-connections/
  mike-HP-Pavilion-dv7-Notebook-PC system-connections # rm -vf *

  As well as:

  service network-manger restart
  apt-get install --reinstall network-manager network-manager-gnome
  apt-get --purge remove network-manager network-manager-gnome
  apt-get install network-manager network-manager-gnome

  Right now the work-around is in place as I'm typing this and
  collecting info. If you want same info while the bug is being
  reproduced, I can provide that as well.

  It's getting late. I'm sleepy. If you need more debugging info, I'll
  be glad to provide it.

  Thank you,
  Christopher Lemire writing on Michael Garner's behalf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1289719/+subscriptions