Description of problem: After installing the latest kernel on my Lenovo ThinkPad X120e, this notice is now written to the console & /var/log/messages if I am not connected to a wireless network, and every 6 to 8 minutes if I am: rtl8192c: Loading firmware file rtlwifi/rtl8192cfw.bin My wireless speed also had dropped. (Yes, it wasn't spectacular to begin with.) Transferring a 6.3MB PNG file via SCP: From wireless laptop running 2.6.40-4 kernel to wired machine: 81.4KB/s From wired machine to wireless laptop running 2.6.40-4 kernel: 44.1KB/s From wireless laptop running 2.6.38.8-35 kernel to wired machine: 116.0KB/s From wired machine to wireless laptop running 2.6.38.8-35 kernel: 68.1KB/s Version-Release number of selected component (if applicable): kernel-2.6.40-4.fc15.x86_64 How reproducible: Install kernel-2.6.40-4.fc15.x86_64. Steps to Reproduce: 1. Install kernel-2.6.40-4.fc15.x86_64 2. Boot into it but do not connect to any wireless network. 3. Login & tail the /var/log/messages file. Actual results: See many rtl8192c notices in /var/log/messages. Expected results: No rtl8192c notices. Additional info:
Same thing is happening under kernel-2.6.40.3-0.fc15.x86_64.
Same thing is happening under 2.6.40.4-5.fc15.x86_64.
Same thing is happening under 2.6.40.6-0.fc15.x86_64.
This may be a duplicate of bug 729618.
(In reply to comment #4) === > This may be a duplicate of bug 729618. === At first I thought this wasn't a duplicate since the submitter of that bug was seeing the reload messages while connected to a wireless network and he was experiencing disconnects from the wireless networks. I do not suffer from either of those problems. However, then I read comment 84, <https://bugzilla.redhat.com/show_bug.cgi?id=729618#c84>, where a Linux kernel wireless driver maintainer states: =+=+=+ > The earliest version of the driver had code so that the > firmware is only reloaded when not actually present. Thus, > the firmware is NOT being reloaded, no matter what the log > says. =+=+=+ Since I only see the message when I am not connected to a wireless network, I suspect this is the case. It appears a patch to fix this will be in a future Fedora kernel. (Fedora 17?) So, I look forward to that release! Thanks, Bill, for pointing that other Bugzilla ticket out.
(In reply to comment #5) > It appears a patch to fix this will be in a future Fedora kernel. (Fedora 17?) > So, I look forward to that release! I backported the patch mentioned in that specific comment and did a scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3625039 When that finishes building, can you install it and let me know if it gets rid of the messages?
(In reply to comment #6) === > I backported the patch mentioned in that specific comment and did a scratch > build: === Thank you for your work. I downloaded & installed it... $ sudo rpm -ivh kernel-2.6.41.7-2.5.fc15.x86_64.rpm Preparing... ########################################### [100%] 1:kernel ########################################### [100%] W: Possible missing firmware "isci/isci_firmware.bin" for kernel module "isci.ko" W: Possible missing firmware "ct2fw.bin" for kernel module "bfa.ko" W: Possible missing firmware "ctfw.bin" for kernel module "bfa.ko" W: Possible missing firmware "cbfw.bin" for kernel module "bfa.ko" W: Possible missing firmware "aic94xx-seq.fw" for kernel module "aic94xx.ko" I shutdown the laptop and then booted into that kernel. However, I still saw this in /var/log/messages approximately every minute: kernel: [ 315.007988] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin
(In reply to comment #7) > (In reply to comment #6) > === > > I backported the patch mentioned in that specific comment and did a scratch > > build: > === > > Thank you for your work. I downloaded & installed it... > > > $ sudo rpm -ivh kernel-2.6.41.7-2.5.fc15.x86_64.rpm > Preparing... ########################################### [100%] > 1:kernel ########################################### [100%] > W: Possible missing firmware "isci/isci_firmware.bin" for kernel module > "isci.ko" > W: Possible missing firmware "ct2fw.bin" for kernel module "bfa.ko" > W: Possible missing firmware "ctfw.bin" for kernel module "bfa.ko" > W: Possible missing firmware "cbfw.bin" for kernel module "bfa.ko" > W: Possible missing firmware "aic94xx-seq.fw" for kernel module "aic94xx.ko" > > > I shutdown the laptop and then booted into that kernel. However, I still saw > this in /var/log/messages approximately every minute: > > kernel: [ 315.007988] rtl8192c_common: Loading firmware file > rtlwifi/rtl8192cfw.bin Just to be sure, can you attach a dmesg from that kernel? Larry, I backported 8ff08b4318b06eb and applied it to this scratch build. Was there another commit that was needed to make the messages go away?
Yes. There is one that was originally submitted for V3.2, but it generated a warning and I had to retract it. It mainly fixes a WARNING after suspend/resume for rtl8192cu, but it also moves the firmware loaded message for rtl8192c_common. I'll upload the patch after I finish this. The patch will kill the upload message, but the wireless connection is being interrupted every minute, or so. The patch will not fix that, and I have seen no reason given in the logs posted. To see this info, CONFIG_MAC80211_VERBOSE_DEBUG needs to be set in the configuration file.
Created attachment 551689 [details] Patch to move lirmware load message (and do other stuff)
Created attachment 551755 [details] Dmesg output requested in Comment 8. (In reply to comment #8) === > Just to be sure, can you attach a dmesg from that kernel? === Sure. Please find it attached as Comment08RequestedDmesg.txt.
(In reply to comment #10) > Created attachment 551689 [details] > Patch to move lirmware load message (and do other stuff) Which tree is this against?
The patch is for wireless-testing. If it does not apply, what tree would you like?
(In reply to comment #13) > The patch is for wireless-testing. If it does not apply, what tree would you > like? Oh, I can backport as needed. I was just curious which tree was your starting point. I'll backport to 3.1.x and 3.2.x.
Created attachment 552193 [details] Backport of Larry's pattch to 3.1.8 Here's a backport of that patch (commit log taken from: http://www.spinics.net/lists/linux-wireless/msg83236.html) to plain 3.1.8. Larry, does this look right to you?
Yes, that looks OK. In fact, for rtl8192ce, you could keep only the first two hunks. The modification of rtl8192cu/sw.c is to fix a different problem.
(In reply to comment #16) > Yes, that looks OK. In fact, for rtl8192ce, you could keep only the first two > hunks. The modification of rtl8192cu/sw.c is to fix a different problem. Thanks for the review. I'll keep both sets of changes since it still fixes a problem people might hit. I've started a scratch build with the latest patch in it here: http://koji.fedoraproject.org/koji/taskinfo?taskID=3640300 if the original reporter could test that when it's complete, I would appreciate it.
(In reply to comment #17) === > if the original reporter could test that when it's complete, I would appreciate > it. === I have tested kernel-2.6.41.8-2.5.fc15.x86_64.rpm. It worked. I no longer receive the "rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin" message in /var/log/messages. I noticed no problems with my wireless; in fact my SCP transfer speeds appear great: From wireless laptop to wired machine: 3.0MB/s From wired machine to wireless laptop: 2.0MB/s (Please note that I haven't been checking my transfer speeds with each kernel update since when I opened this ticket back in August 2011. I suspect a previous kernel improved this; I just tried the current 2.6.41.4-1.fc15.x86_64 and got the same speeds.)
(In reply to comment #18) > (In reply to comment #17) > === > > if the original reporter could test that when it's complete, I would appreciate > > it. > === > > I have tested kernel-2.6.41.8-2.5.fc15.x86_64.rpm. It worked. I no longer > receive the "rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin" > message in /var/log/messages. I noticed no problems with my wireless; in fact > my SCP transfer speeds appear great: Thank you for testing! I've committed variations of this patch across all three branches. It should be in the next update for each.
kernel-3.2.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.2.1-3.fc16
kernel-2.6.41.10-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.41.10-3.fc15
Package kernel-2.6.41.10-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-2.6.41.10-3.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0861/kernel-2.6.41.10-3.fc15 then log in and leave karma (feedback).
kernel-3.2.1-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
kernel-2.6.41.10-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.