Failed to request firmware

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4681

aletornw

20-03-2008 22:09:19

Hi, I have a Debian Lenny system, with the 2.6.24 kernel (from the sid repository) which includes the rt2x00 driver, with a rt61 card from edimax.

When I boot up, there is a message saying that it "failed to request firmware" and I cannot use my wifi card.

Here is the dmesg output

[code1u0om92a]Initializing cgroup subsys cpuset
Linux version 2.6.24-1-686 (Debian 2.6.24-4) (waldi@debian.org) (gcc version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Mon Feb 11 14:37:45 UTC 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000013ff0000 (usable)
BIOS-e820: 0000000013ff0000 - 0000000013ff3000 (ACPI NVS)
BIOS-e820: 0000000013ff3000 - 0000000014000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
319MB LOWMEM available.
Entering add_active_range(0, 0, 81904) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 81904
HighMem 81904 -> 81904
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 81904
On node 0 totalpages: 81904
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 607 pages used for memmap
Normal zone: 77201 pages, LIFO batch:15
HighMem zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
DMI 2.2 present.
ACPI: RSDP 000F6E20, 0014 (r0 VIA692)
ACPI: RSDT 13FF3000, 0028 (r1 VIA692 AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 13FF3040, 0074 (r1 VIA692 AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 13FF30C0, 20CC (r1 VIA692 AWRDACPI 1000 MSFT 100000C)
ACPI: FACS 13FF0000, 0040
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 20000000 (gap: 14000000:ebff0000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 81265
Kernel command line: root=/dev/hdb1 ro quiet
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffb000 (0128b000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 664.993 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 315244k/327616k available (1786k kernel code, 11808k reserved, 714k data, 248k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xd4800000 - 0xff7fe000 ( 687 MB)
lowmem : 0xc0000000 - 0xd3ff0000 ( 319 MB)
.init : 0xc0377000 - 0xc03b5000 ( 248 kB)
.data : 0xc02be915 - 0xc0371384 ( 714 kB)
.text : 0xc0100000 - 0xc02be915 (1786 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1331.99 BogoMIPS (lpj=2663985)
Security Framework initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 0e20)
CPU0: Intel Pentium III (Coppermine) stepping 03
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
net_namespace: 64 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb300, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 13 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
system 00:00: iomem range 0xcf800-0xcffff has been reserved
system 00:00: iomem range 0xf0000-0xf7fff could not be reserved
system 00:00: iomem range 0xf8000-0xfbfff could not be reserved
system 00:00: iomem range 0xfc000-0xfffff could not be reserved
system 00:00: iomem range 0x13ff0000-0x13ffffff could not be reserved
system 00:00: iomem range 0xffff0000-0xffffffff could not be reserved
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0x100000-0x13feffff could not be reserved
system 00:02: ioport range 0x3f0-0x3f1 has been reserved
system 00:02: ioport range 0x4d0-0x4d1 has been reserved
system 00:02: ioport range 0x294-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: dc000000-ddffffff
PREFETCH window: d0000000-d7ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
it is
Freeing initrd memory: 5711k freed
audit: initializing netlink socket (disabled)
audit(1206043219.048:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
Activating ISA DMA hang workarounds.
Boot video device is 0000:01:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Freeing unused kernel memory: 248k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
VP_IDE: IDE controller (0x1106:0x0571 rev 0x10) at PCI slot 0000:00:07.1
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci0000:00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
USB Universal Host Controller Interface driver v3.0
hdb: ST320413A, ATA DISK drive
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hda: WDC WD400EB-00CPF0, ATA DISK drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/66 mode selected
hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdb: UDMA/66 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Marking TSC unstable due to: TSC halts in idle.
Time: acpi_pm clocksource has been installed.
hdd: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive
hdc: HL-DT-STDVD-RAM GSA-H54N, ATAPI CD/DVD-ROM drive
hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdc: host side 80-wire cable detection failed, limiting max speed to UDMA33
hdc: UDMA/33 mode selected
hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdd: UDMA/33 mode selected
ide1 at 0x170-0x177,0x376 on irq 15
8139cp 0000:00:0b.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp 0000:00:0b.0: Try the "8139too" driver instead.
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x0000e400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
SCSI subsystem initialized
8139too Fast Ethernet driver 0.9.28
libata version 3.00 loaded.
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
eth0: RealTek RTL8139 at 0xe800, 00:08:54:05:f6:74, IRQ 5
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
hda: hda1 hda2 < hda5 >
hdb: max request size: 128KiB
hdb: 39102336 sectors (20020 MB) w/512KiB Cache, CHS=38792/16/63
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3 < hdb5 >
hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
Attempting manual resume
swsusp: Marking nosave pages: 000000000009f000 - 0000000000100000
swsusp: Basic memory bitmaps created
swsusp: Basic memory bitmaps freed
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: PC Speaker as /class/input/input1
ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
phy0: Selected rate control algorithm 'simple'
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input4
ACPI: Power Button (CM) [PWRB]
input: Sleep Button (CM) as /class/input/input5
ACPI: Sleep Button (CM) [SLPB]
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
Adding 325040k swap on /dev/hdb5. Priority:-1 extents:1 across:325040k
EXT3 FS on hdb1, internal journal
loop: module loaded
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xef
hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdb: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xef
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xef
hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdd: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xef
eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.[/code1u0om92a]

Thanks for your help

IvD

20-03-2008 22:16:24


[code1j0t3unl]
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.[/code1j0t3unl]
[/quote1j0t3unl]

Well I think the error message says it all, what a bit of searching this forum would undoubtly produce are 2 things

1) Is the firmware installed
2) Is udev correctly configured to handle firmware

Solution to either problem is found on various places on the forum, I suggest using the "search" button to find other people experiences and solutions.

aletornw

21-03-2008 14:50:39

in my other system (amd64) I didn't had to install any firmware..

IvD

21-03-2008 18:58:10

Was that the same distribution?
If not, then perhaps the distribution installed them.

Was that the same driver version?
If not, you were likely using an old legacy driver which had the firmware build in.

In any case
rt2x00 requires firmware to be installed.

aletornw

21-03-2008 21:33:40

in both cases I used debian lenny, in the amd64 I compiled the 2.6.24 kernel myself, and in the other I installed the precompiled. Both kernel are debian's.

IvD

21-03-2008 21:50:54

So has installing the firmware resolved the issue?