rtl819xE:request firmware fail!

Bug #508746 reported by sam tygier
130
This bug affects 23 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Low
Unassigned
Nominated for Maverick by Rupert Hair
Lucid
Invalid
Undecided
Unassigned
linux-firmware (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Maverick by Rupert Hair
Lucid
Fix Released
Medium
Unassigned

Bug Description

SRU Justification:

Impact: The firmware is needed for users to be able to use the wireless card. Without the firmware a user would have to go without wireless or download the firmware from elsewhere first.

How Addressed: Adding the firmware to the linux-firmware package fixes the issue.

Patch: Please see http://kernel.ubuntu.com/git?p=cndougla/linux-firmware.git;a=commit;h=fd2b78a22a30f01d7b86409a0cbe9a820f715f3e.

Reproduction: Boot with latest Lucid image on affected hardware. Wireless will not function.

Regression Potential: Practically zero as the firmware is new and does not overwrite existing files.

===

Installing ubuntu on a friends samsung n130. 9.10 lacks a driver for the wifi card
Network controller: Realtek Semiconductor Co., Ltd. Device 8192 (rev 01) 10ec:8192
so tried a lucid live cd. this has the driver in the staging area of the kernel, but seems to lack the firmware
[ 66.650670] rtl819xE: PlatformInitFirmware()==>
[ 66.650677]
[ 66.656834] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
[ 66.683017] rtl819xE:request firmware fail!
[ 66.683022]
[ 66.683030] rtl819xE:ERR in init_firmware()
[ 66.683034]
[ 66.683040] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

i tried system->admin->hardware drivers, but this does not have the firmware either.

ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 3298 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0440000 irq 22'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,144dc05d,00100004'
   Controls : 13
   Simple ctrls : 8
Date: Sun Jan 17 13:11:23 2010
DistroRelease: Ubuntu 10.04
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
MachineType: SAMSUNG ELECTRONICS CO., LTD. N130
Package: linux-image-2.6.32-10-generic 2.6.32-10.14
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash --
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
Regression: No
RelatedPackageVersions: linux-firmware 1.28
Reproducible: Yes
RfKill:

SourcePackage: linux
Tags: lucid needs-upstream-testing
TestedUpstream: No
Uname: Linux 2.6.32-10-generic i686
dmi.bios.date: 09/30/2009
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 04CM.M010.20090930.CYH
dmi.board.name: N130
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr04CM.M010.20090930.CYH:bd09/30/2009:svnSAMSUNGELECTRONICSCO.,LTD.:pnN130:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnN130:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
dmi.product.name: N130
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
sam tygier (samtygier) wrote :

firmware is in gregkh's git tree
http://git.kernel.org/?p=linux/kernel/git/gregkh/firmware.git;a=commit;h=a9799c6dbb173b98215fad9abb3eb6f4d47a188c

i installed the firmware like so:
cd /tmp
git clone git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/firmware.git
sudo cp -av firmware/RTL8192E /lib/firmware/

and can now use the wireless card

Stefan Bader (smb)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
BulletProofPoet (bulletproofpoet) wrote :

I have a new Samsung R580 laptop, which also contains the RTL8192E chipset.

I've tried following sam tygier's instructions, but have still been unable to make my wireless connection work. Please could this be fixed in time for the 10.4 release? I would be very grateful!

Revision history for this message
cjbrooker (cjbrooker) wrote :

I also have a Samsung R580 with this chipset. Same problem on my machine - no wireless!

Revision history for this message
sam tygier (samtygier) wrote :

might be fixed https://launchpad.net/ubuntu/lucid/+source/linux-firmware/1.32

linux-firmware (1.32) lucid; urgency=low
  [ Manoj Iyer ]

  * Added firmware for RealTek RTL8191/2SE or RTL8171 wireless MACs
 -- Tim Gardner < <email address hidden>> Thu, 04 Mar 2010 10:22:44 -0700

I dont currently have the hardware to test.

Revision history for this message
Michel D'HOOGE (michel-dhooge) wrote :

I also have a Samsung R580.
With the Lucid Kubuntu Alpha 3 Live CD, the r8192_pci kernel module is loaded but the lshw tool reports the HW as "disabled". I downloaded the firmware as explained in #2, then I rmmod-ed and modprobe-d the module again. After that the WiFi was up and usable.

To answer #5, I DL the source of the linux-firmware 1.32 and compared with what I DL from git, and it is completely different (names & sizes). So I think this won't solve the problem.
Git := boot.img data.img main.img
Src := rtl8192sfw492.bin rtl8192sfw74.bin rtl8192sfw.bin

Changed in linux (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Uwe Schilling (uschilling) wrote :

Same problem here with lucid 64bit. The workaround proposed in #2 does not work for me. If I copy the files into my libraries, I get the following error message in the syslog

Mar 5 21:15:09 schleppi kernel: [ 14.581489] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
Mar 5 21:15:09 schleppi kernel: [ 14.692327] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/main.img
Mar 5 21:15:09 schleppi kernel: [ 14.782577] rtl819xE:Download Firmware: Put code fail!
Mar 5 21:15:09 schleppi kernel: [ 14.782582] rtl819xE:ERR in CPUcheck_maincodeok_turnonCPU()
Mar 5 21:15:09 schleppi kernel: [ 14.782584] rtl819xE:CPUcheck_maincodeok_turnonCPU fail!
Mar 5 21:15:09 schleppi kernel: [ 14.782586] rtl819xE:ERR in init_firmware()
Mar 5 21:15:09 schleppi kernel: [ 14.782589] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

Revision history for this message
Michel D'HOOGE (michel-dhooge) wrote :

I guess this is the 64bit effect!

I checked the realtek support website (http://www.realtek.com.tw/search/default.aspx?keyword=8192). For the USB version, there are drivers for 32 and 64 bits for Windows, nothing mentioned for the PCI one.

BTW, to reply further to #5, the difference between the SE/SU and the E/U versions is that the Sx is single chip, and realtek provides different drivers.

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

Confirmed that this affects the Samsung N510 notebook as well.

[ 16.650852] rtl819xE: PlatformInitFirmware()==>
[ 16.650858]
[ 16.678164] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/boot.img
[ 16.758423] Bluetooth: L2CAP ver 2.14
[ 16.758431] Bluetooth: L2CAP socket layer initialized
[ 16.763313] rtl819xE:request firmware fail!
[ 16.763318]
[ 16.763325] rtl819xE:ERR in init_firmware()
[ 16.763328]
[ 16.763335] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

I took the firmware from the Git tree mentioned above, however it _did not_ fix the problem.
Error changes to become:

[ 207.709440] Linux kernel driver for RTL8192 based WLAN cards
[ 207.709450] Copyright (c) 2007-2008, Realsil Wlan
[ 207.709606] rtl819xE 0000:03:00.0: PCI INT A -> Link[L1E3] -> GSI 16 (level, low) -> IRQ 16
[ 207.709630] rtl819xE 0000:03:00.0: setting latency timer to 64
[ 207.768121] Dot11d_Init()
[ 207.768199] IRQ 16
[ 208.298363] rtl819xE: PlatformInitFirmware()==>
[ 208.298372]
[ 208.298424] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/boot.img
[ 208.302756] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/main.img
[ 208.316106] rtl819xE:Download Firmware: Put code ok!
[ 208.316112]
[ 208.324052] rtl819xE:Download Firmware: Boot ready!
[ 208.324057]
[ 208.324068] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/data.img
[ 208.354959] rtl819xE:ERR in CPUcheck_firmware_ready()
[ 208.354969]
[ 208.354980] rtl819xE:CPUcheck_firmware_ready fail(0)!
[ 208.354986]
[ 208.354994] rtl819xE:ERR in init_firmware()
[ 208.354999]
[ 208.355008] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

Right, I *have* now made the wifi work, but I had to build and install a newer driver from Realtek.

Version: rtl8192e_linux_2.6.0011.1029.2009

It uses the same firmware as above (same md5sums), but it creates a new module: r8192e_pci

This works with the card. Yay.

Revision history for this message
Michel D'HOOGE (michel-dhooge) wrote :

@Toby: I guess you are using a 64-bit kernel, aren't you.

It seems in that case you must actually download a new driver from realtek.

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

@Michel - No, I am running this on Ubuntu Lucid (beta-1) with a 32-bit kernel, on an Atom N280 netbook.

Revision history for this message
Yigit Güneli (yiit) wrote :

same here for a samsung r522 notebook.

Revision history for this message
Tim Towers (tim-lorien) wrote :

samsung N150 netbook, Running stock Ubuntu Lucid (10.4 beta) updated yesterday.
Ever since I installed Lucid to get the wireless working I have noticed that suspending and resuming my system has a 30% chance of killing the wireless. The gnome NetworkManager Applet indicates that wireless is not ready. Errors from dmesg are as follows:

PM: Finishing wakeup.
Restarting tasks ... done.
rtl819xE: PlatformInitFirmware()==>
rtl819xE:Download Firmware: Put code fail!
rtl819xE:ERR in CPUcheck_maincodeok_turnonCPU()

Once I am in this situation I can use "rmmod r8192_pci ; modprobe r8192_pci" to recover connectivity.

Revision history for this message
Toby Corkindale (tjc-wintrmute) wrote :

@Tim Towers - I think your issue might be an unrelated bug to this one.

Revision history for this message
ThyMythos (thymythos) wrote :

@Tim Towers - Your bug (and also mine) is this one: https://bugs.launchpad.net/ubuntu/+source/linux-ports-meta/+bug/552717

Revision history for this message
Philip Chillag (p-chillag) wrote :

I'm using a Samsung R580 laptop with RTL9182E. I originally tried using the 64-bit version of 10.04 Beta 1 but was unable to get the firmware working as described in post #2, nor was I able to get the drivers provided by Realtek to work. Eventually I decided to install 32-bit 10.04 and the firmware fix in #2 works fine

Revision history for this message
wilfred_com (wilfredcom) wrote :

In my Toshiba Satellite L505D the same chip and the same problem with the 64bits version

Revision history for this message
mcguire (jonathand131-gmail) wrote :

any chance to get this fixed before 10.04 final release I think

Revision history for this message
Stefano Rivera (stefanor) wrote :

I can confirm that downloading gregkh's firmware blobs fixes this bug on a Samsung n150.

Revision history for this message
wilfred_com (wilfredcom) wrote :

Same problem with Lucid 64 bits, in a Toshiba Satellite L505D:

sudo rmmod r8192_pci
sudo modprobe r8192_pci

[ 3864.181317] dev name=======> wlan0
[ 3864.211800] Freeing irq 16
[ 3864.211876] rtl819xE 0000:02:00.0: PCI INT A disabled
[ 3864.212026] ieee80211_crypt: unregistered algorithm 'WEP'
[ 3864.212028] ieee80211_crypt: unregistered algorithm 'CCMP'
[ 3864.212030] ieee80211_crypt: unregistered algorithm 'TKIP'
[ 3864.212032] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)
[ 3878.492318] r8192_pci: module is from the staging directory, the quality is unknown, you have been warned.
[ 3878.497205] ieee80211_crypt: registered algorithm 'NULL'
[ 3878.497211] ieee80211_crypt: registered algorithm 'TKIP'
[ 3878.497213] ieee80211_crypt: registered algorithm 'CCMP'
[ 3878.497215] ieee80211_crypt: registered algorithm 'WEP'
[ 3878.497229]
[ 3878.497229] Linux kernel driver for RTL8192 based WLAN cards
[ 3878.497231] Copyright (c) 2007-2008, Realsil Wlan
[ 3878.497279] rtl819xE 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 3878.497288] rtl819xE 0000:02:00.0: setting latency timer to 64
[ 3878.555754] Dot11d_Init()
[ 3878.555778] IRQ 16
[ 3879.357993] rtl819xE: PlatformInitFirmware()==>
[ 3879.358004]
[ 3879.359286] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
[ 3879.362050] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/main.img
[ 3879.390056] rtl819xE:Download Firmware: Put code fail!
[ 3879.390067]
[ 3879.390077] rtl819xE:ERR in CPUcheck_maincodeok_turnonCPU()
[ 3879.390081]
[ 3879.390087] rtl819xE:CPUcheck_maincodeok_turnonCPU fail!
[ 3879.390091]
[ 3879.390096] rtl819xE:ERR in init_firmware()
[ 3879.390100]
[ 3879.390107] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!
[ 3879.390112]

Revision history for this message
wilfred_com (wilfredcom) wrote :

I forget to say in the previous post thath i downloaded the firmware in the git.

And the kernel is: 2.6.32-20-generic

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in linux-firmware (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
status: New → Triaged
Revision history for this message
mcguire (jonathand131-gmail) wrote :

I've read on this forum thread : http://ubuntuforums.org/showthread.php?t=1239342&page=8 that Realtek sends by mail a driver compatible with 64bits to people who contact the support.

I mailed them today and Realtek (kidman) sends me the driver v14 which works on 64 bits (tested on kubuntu lucid). It facts, this is the same driver for 32 and 64 bits but older versions only work on 32 bits (prior to v13 I think as both v13 and v14 work on 64 bits).

On my Samsung R580 laptop, it disconnects often but it is usable. When it disconnects, sometimes, it can not reconnect automatically so I have to unload the module and reload it, then it works again for some time.

I've attached it.

Hope this help

Revision history for this message
Uwe Schilling (uschilling) wrote : Re: [Bug 508746] Re: rtl819xE:request firmware fail!

I got that driver, too, (on lucid 64 bit) and I don't find it usable.
One of my email-accounts always gives me a time-out error and firefox
takes ages to connect to each page and also sometimes gives timeout
errors. As long as there is no updated version, it is no option for me.

mcguire schrieb:
> I've read on this forum thread :
> http://ubuntuforums.org/showthread.php?t=1239342&page=8 that Realtek
> sends by mail a driver compatible with 64bits to people who contact the
> support.
>
> I mailed them today and Realtek (kidman) sends me the driver v14 which
> works on 64 bits (tested on kubuntu lucid). It facts, this is the same
> driver for 32 and 64 bits but older versions only work on 32 bits (prior
> to v13 I think as both v13 and v14 work on 64 bits).
>
> On my Samsung R580 laptop, it disconnects often but it is usable. When
> it disconnects, sometimes, it can not reconnect automatically so I have
> to unload the module and reload it, then it works again for some time.
>
> I've attached it.
>
> Hope this help
>
> ** Attachment added: "Driver v14 from Realtek"
> http://launchpadlibrarian.net/44443736/rtl8192e_linux_2.6.0014.0401.2010.tar.gz
>

wilfred_com (wilfredcom)
Changed in linux (Ubuntu):
status: Invalid → Confirmed
Changed in linux-firmware (Ubuntu):
status: Triaged → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Invalid
Changed in linux-firmware (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Medium
Revision history for this message
Chase Douglas (chasedouglas) wrote :

SRU Justification:

Impact: The firmware is needed for users to be able to use the wireless card. Without the firmware a user would have to go without wireless or download the firmware from elsewhere first.

How Addressed: Adding the firmware to the linux-firmware package fixes the issue.

Patch: Please see http://kernel.ubuntu.com/git?p=cndougla/linux-firmware.git;a=commit;h=fd2b78a22a30f01d7b86409a0cbe9a820f715f3e.

Reproduction: Boot with latest Lucid image on affected hardware. Wireless will not function.

Regression Potential: Practically zero as the firmware is new and does not overwrite existing files.

Revision history for this message
mcguire (jonathand131-gmail) wrote :

Thanks Chase but please note that adding firmware files is not sufficient on 64bits. To make the wireless card work on 64bits, we need to use the driver provided by Realtek.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@mcguire:

That's a separate issue we can deal with more easily in a separate bug. That said, we also would not be able to support a third party driver in Ubuntu releases anyways. Our drivers come from the upstream maintained linux kernel, and pulling a driver from a third part is generally out of the scope of our ability.

This doesn't mean you can't use the driver from Realtek, you will just need to download, build, and install it yourself.

Thanks

Andy Whitcroft (apw)
description: updated
Revision history for this message
Chris Puttick (cputtick) wrote :

To confirm:

download firmware from git as per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/508746/comments/26

copy firmware to newly created directory as /lib/firmware/RTL8192E removing the RTL8192E_ prefix;

remove/reload r8192_pci.

Following steps above, wireless still does not function; now get [ 14.324690] rtl819xE: PlatformInitFirmware()==>
[ 14.324697]
[ 14.324741] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/boot.img
[ 14.410940] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/main.img
[ 14.428051] rtl819xE:Download Firmware: Put code ok!
[ 14.428056]
[ 14.436094] rtl819xE:Download Firmware: Boot ready!
[ 14.436101]
[ 14.436115] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/data.img
[ 14.480046] rtl819xE:ERR in CPUcheck_firmware_ready()
[ 14.480052]
[ 14.480057] rtl819xE:CPUcheck_firmware_ready fail(0)!
[ 14.480060]
[ 14.480063] rtl819xE:ERR in init_firmware()
[ 14.480065]
[ 14.480070] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!
[ 14.480072]

Netbook is Samsung N510. Does this need a new bug creating? Is it one likely to be resolved in 10.04 patches or in later release?

Chris

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@Chris:

Unfortunately, the driver and firmware are all we have available to us. The only changes that exist upstream are coding style changes. Hopefully this firmware will work for some Ubuntu users when the first linux-firmware SRU package is release, but there isn't much we can do right now to fix the issue, especially since the real issue could be in the firmware itself.

Changed in linux-firmware (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Duncan Clough (duncan-clough) wrote :

I can confirm that adding the firmware as per #2 will allow wireless to sometimes work on a Samsung N150 (rtl8192e wireless), on a fresh 10.04 installation. The wireless sometimes works fine, and sometimes just cuts out, or won't work at all. When it doesn't work, I get the same output as in #29 (ie. also "ERR in CPUcheck_firmware_ready()" + surrounding output).

(This is the same computer referenced in #21 - the reported fix was only temporary).

Changed in linux-firmware (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux-firmware (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux-firmware into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux (Ubuntu Lucid):
status: New → Invalid
Changed in linux-firmware (Ubuntu Lucid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Rupert Hair (rupert-hair) wrote :

Version '1.34.1' of 'linux-firmware' looks good to me! I get:

[ 12.476831] rtl819xE 0000:03:00.0: PCI INT A -> Link[L1E3] -> GSI 16 (level, low) -> IRQ 16
[ 12.476847] rtl819xE 0000:03:00.0: setting latency timer to 64
[ 23.732607] rtl819xE: PlatformInitFirmware()==>
[ 23.732647] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/boot.img
[ 23.896310] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/main.img
[ 23.957763] rtl819xE:Download Firmware: Put code ok!
[ 23.964052] rtl819xE:Download Firmware: Boot ready!
[ 23.964070] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/data.img
[ 23.981873] rtl819xE:Download Firmware: Firmware ready!
[ 23.981885] rtl819xE:Firmware Download Success

With '2.6.32-22-generic' where I got the above failure message with version '1.34'. I've tested it with a few shut-downs and restarts.

Thanks very much for your work on this issue and for keeping us so well informed!

Rupert

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Kesten (mbeck212) wrote :

I'm still having issues even with version 1.34.1 of linux-firmware on my Toshiba L555D-S7910 running Xubuntu with kernel 2.6.32-22 Generic:

[ 13.030445] rtl819xE 0000:0e:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 13.030451] rtl819xE 0000:0e:00.0: setting latency timer to 64
[ 15.334871] rtl819xE: PlatformInitFirmware()==>
[ 15.334940] rtl819xE 0000:0e:00.0: firmware: requesting RTL8192E/boot.img
[ 15.377238] rtl819xE 0000:0e:00.0: firmware: requesting RTL8192E/main.img
[ 15.400096] rtl819xE:Download Firmware: Put code fail!
[ 15.400103] rtl819xE:ERR in CPUcheck_maincodeok_turnonCPU()
[ 15.400106] rtl819xE:CPUcheck_maincodeok_turnonCPU fail!
[ 15.400109] rtl819xE:ERR in init_firmware()
[ 15.400112] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

Info from lspci:
0e:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8192 (rev 01)
 Subsystem: Realtek Semiconductor Co., Ltd. Device 8181
 Kernel driver in use: rtl819xE
 Kernel modules: r8192_pci

Revision history for this message
Duncan Clough (duncan-clough) wrote :

I can also confirm that the lucid-proposed firmware package allows my wireless card to work.

However, I sometimes experience the similar problem to Kesten (or at least a problem with the same dmesg output). I'm guessing this is a separate issue more relevant to Bug #552717, which is mentioned in by ThyMythos in #17.

Changed in linux-firmware (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux-firmware (Ubuntu Lucid):
assignee: nobody → Chase Douglas (chasedouglas)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.34.1

---------------
linux-firmware (1.34.1) lucid-proposed; urgency=low

  [ Chase Douglas ]

  * Add AudioScience ASI series audio device firmware
    -LP: #557037
  * Add RealTek RTL8192E firmware
    -LP: #508746
  * Update firmware from rt2870sta
    -LP: #580926

  [ Tim Gardner ]

  * radeon: add evergreen family microcode.
    -LP: #560306
 -- Chase Douglas <email address hidden> Mon, 24 May 2010 17:51:17 -0400

Changed in linux-firmware (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Rupert Hair (rupert-hair) wrote :

This has reoccurred in maverick with linux-firmware (1.38).

With linux-image-2.6.32-24-generic (2.6.32-24.43) and linux-firmware (1.38), I get:
[ 25.761653] rtl819xE: PlatformInitFirmware()==>
[ 25.761661]
[ 25.762020] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/boot.img
[ 25.793561] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/main.img
[ 25.812100] rtl819xE:Download Firmware: Put code ok!
[ 25.812108]
[ 25.820104] rtl819xE:Download Firmware: Boot ready!
[ 25.820111]
[ 25.820125] rtl819xE 0000:03:00.0: firmware: requesting RTL8192E/data.img
[ 25.832397] rtl819xE:Download Firmware: Firmware ready!
[ 25.832405]
[ 25.832411] rtl819xE:Firmware Download Success

But with linux-image-2.6.35-22-generic (2.6.35-22.33) and the same linux-firmware (1.38), I get:
[ 199.325063] rtl819xE:ERR in CPUcheck_firmware_ready()
[ 199.325070]
[ 199.325077] rtl819xE:ERR in init_firmware()
[ 199.325080]
[ 199.325086] rtl819xE:ERR!!! NicIFEnableNIC(): initialization is failed!

Rupert

Revision history for this message
Colin Stephen (colin-stephen) wrote :

I'm getting the same issue, same log messages. Fresh install of 10.10 netbook on a new Samsung N150.

I hadn't installed 10.04 on it so I can't confirm this is a regression.

Revision history for this message
RubbelDieCatc (rubbel) wrote :

I can confirm the bug.

I have a Samsung N510 with Ubuntu 10.10 too.
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192E Wireless LAN Controller (rev 01)

I made complete new kernel module out of a recent 2.6.35-stable git.

I get the same error
[ 199.325063] rtl819xE:ERR in CPUcheck_firmware_ready()

I guess it is not a download firmware issue.
CPUcheck_firmware_ready is called init_firmware (r819xE_firmware.c) after successfully downloading the first 2 files. (boot.img and data.img)

case FW_INIT_STEP2_DATA:
 /* download initial data code */
 pfirmware->firmware_status = FW_STATUS_4_MOVE_DATA_CODE;
 mdelay(1);

 rt_status = CPUcheck_firmware_ready(dev);
  if (rt_status != TRUE) {
   RT_TRACE(COMP_FIRMWARE,
    "CPUcheck_firmware_ready fail(%d)!\n",
    rt_status);
   goto download_firmware_fail;
  }

Revision history for this message
RubbelDieCatc (rubbel) wrote :

It seems that RTL8192E at the Samsung N512 only works as r8192_pci from the torvald git.
Not with the 2.6.35 - 8192e_pci module

I took a snapshot from
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/staging/rtl8192e;hb=aa021baa3295fa6e3f367d80f8955dd5176656eb

you must change the last line in the Makefile to
obj-m += r8192_pci.o
in order to compile the module.
Dont forget to blacklist the r8192e_pci and r8192se_pci modules

I made myself a package with a install script.
http://www.dirk-hoeschen.de/temp/rtl819Xe.tar.gz

Unpack it and run install.sh
The driver should now work like a charme,

Revision history for this message
Stefano Rivera (stefanor) wrote : Re: [Bug 508746] Re: rtl819xE:request firmware fail!

Hi RubbelDieCatc (2010.10.17_14:05:04_+0200)
> I guess it is not a download firmware issue.
> CPUcheck_firmware_ready is called init_firmware (r819xE_firmware.c) after successfully downloading the first 2 files. (boot.img and data.img)

Yes, please file a new bug.

Changed in linux-firmware (Ubuntu):
assignee: Chase Douglas (chasedouglas) → nobody
Changed in linux-firmware (Ubuntu Lucid):
assignee: Chase Douglas (chasedouglas) → nobody
Revision history for this message
Valentas (vk-registrator) wrote :

I have probably the same driver sent to me by email from Realtek.
It works most of the time, but from time to time I get the same error after the reboot:

 22.631759] rtl819xE 0000:05:00.0: firmware: requesting RTL8192E/boot.img
[ 22.689666] rtl819xE 0000:05:00.0: firmware: requesting RTL8192E/main.img
[ 22.697978] rtl819xE:Download Firmware: Put code ok!
[ 22.697985]
[ 22.703852] rtl819xE:Download Firmware: Boot ready!
[ 22.703859]
[ 22.712630] rtl819xE 0000:05:00.0: firmware: requesting RTL8192E/data.img
[ 22.753056] rtl819xE:ERR in CPUcheck_firmware_ready()
[ 22.753061]
[ 22.753067] rtl819xE:CPUcheck_firmware_ready fail(0)!
[ 22.753069]
[ 22.753072] rtl819xE:ERR in init_firmware()
[ 22.753075]
[ 22.753079] rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

It is solved by rebooting the system.

I think this might be caused by some part (either the driver or ubuntu) trying to unsuccessfully update the driver and on the next reboot the old version is used. Is that right? The notebook is Samsung N150, Ubuntu Lucid, kernel 2.6.32-34.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.