kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #48580
[Bug 1289719] Re: Wifi Problem HP DV7 After Windows 7 Dual Boot Installation
$ uname -a
Linux mike-HP-Pavilion-dv7-Notebook-PC 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
mike@mike-HP-Pavilion-dv7-Notebook-PC ~ $ ls -l /boot/vmlinuz*
-rw-r--r-- 1 root root 5600016 Nov 26 05:01 /boot/vmlinuz-3.11.0-12-generic
-rw------- 1 root root 5631792 Feb 3 16:20 /boot/vmlinuz-3.11.0-17-generic
mike@mike-HP-Pavilion-dv7-Notebook-PC ~ $
dmidecode
Onboard Device
Reference Designation: Ralink Ripple3 RT5390F_802.11 b/g/n 1x1
Type: Other
Status: Enabled
Type Instance: 1
Bus Address: 0000:04:00.0
mike-HP-Pavilion-dv7-Notebook-PC ~ # lsmod
Module Size Used by
nls_iso8859_1 12713 0
usb_storage 62062 0
x86_pkg_temp_thermal 14162 0
intel_powerclamp 14705 0
coretemp 13435 0
kvm_intel 138567 0
kvm 431720 1 kvm_intel
crct10dif_pclmul 14289 0
crc32_pclmul 13113 0
ghash_clmulni_intel 13259 0
aesni_intel 55624 2
aes_x86_64 17131 1 aesni_intel
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec_hdmi 41117 1
snd_hda_codec_idt 50341 1
joydev 17377 0
uvcvideo 80885 0
snd_hda_intel 52267 3
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
videobuf2_core 40499 1 uvcvideo
snd_hda_codec 188738 3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
videodev 133509 2 uvcvideo,videobuf2_core
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 102033 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_seq_midi 13324 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30095 1 snd_seq_midi
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
dm_multipath 22873 0
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
scsi_dh 14882 1 dm_multipath
arc4 12608 2
snd_timer 29433 2 snd_pcm,snd_seq
microcode 23656 0
rt2800pci 18719 0
rt2800lib 79992 1 rt2800pci
rt2x00pci 13287 1 rt2800pci
rt2x00mmio 13603 1 rt2800pci
rt2x00lib 55362 4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
psmouse 97655 0
mac80211 597268 3 rt2x00lib,rt2x00pci,rt2800lib
serio_raw 13413 0
snd 69141 17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
cfg80211 480503 2 mac80211,rt2x00lib
rtsx_pci_ms 18151 0
memstick 16760 1 rtsx_pci_ms
eeprom_93cx6 13344 1 rt2800pci
crc_ccitt 12707 1 rt2800lib
mei_me 18421 0
lpc_ich 21080 0
soundcore 12680 1 snd
mei 77782 1 mei_me
parport_pc 32701 0
ppdev 17671 0
bnep 19704 2
rfcomm 69130 0
bluetooth 372041 10 bnep,rfcomm
binfmt_misc 17468 1
mac_hid 13205 0
hp_accel 26012 0
lis3lv02d 20156 1 hp_accel
input_polldev 13896 1 lis3lv02d
lp 17759 0
parport 42299 3 lp,ppdev,parport_pc
dm_raid45 76698 0
xor 21411 1 dm_raid45
dm_mirror 22086 0
dm_region_hash 20813 1 dm_mirror
dm_log 18411 3 dm_region_hash,dm_mirror,dm_raid45
hid_generic 12548 0
rtsx_pci_sdmmc 23527 0
i915 661339 3
ahci 25819 1
r8169 67581 0
libahci 32009 1 ahci
usbhid 53014 0
i2c_algo_bit 13413 1 i915
hid 101762 2 hid_generic,usbhid
mii 13934 1 r8169
drm_kms_helper 52710 1 i915
drm 297056 4 i915,drm_kms_helper
rtsx_pci 45546 2 rtsx_pci_ms,rtsx_pci_sdmmc
wmi 19070 0
video 19318 1 i915
mike-HP-Pavilion-dv7-Notebook-PC ~ #
$ uptime
02:44:29 up 1 day, 4:13, 3 users, load average: 0.22, 0.37, 0.43
Would an Ubuntu Developer like me to run something with strace? valgrind
is useful, but I don't believe the issue is memory leakage.
The computer was purchase while this practice was (and still is) in
affect. The computer may have been afflicted at the BIOS level.
http://www.theverge.com/2013/12/29/5253226/nsa-cia-fbi-laptop-usb-plant-spy
http://www.spiegel.de/international/world/catalog-reveals-nsa-has-back-doors-for-numerous-devices-a-940994.html
I discovered a log on a hidden from Windows partition through Linux of a BIOS firmware upgrade being taken place on midnight of the New Year 2014 with limited details.
dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8
flashrom -L
--
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