* rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
@ 2008-07-07 20:53 Stefan Bauer
2008-07-07 21:08 ` [Rt2400-devel] " Ivo van Doorn
2008-07-07 21:27 ` Stefan Bauer
0 siblings, 2 replies; 11+ messages in thread
From: Stefan Bauer @ 2008-07-07 20:53 UTC (permalink / raw)
To: rt2400-devel; +Cc: linux-kernel, linux-wireless
Hi,
I'm not able to load rt2500pci from 2.6.26-rc9 under Gentoo.
This card currently works under Debian Etch with 2.6.18 kernel and
rt2500-source 1.1.0+cvs20060620-3.
lspci -vvvv
Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Subsystem: RaLink Unknown device 2560
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 185
Region 0: Memory at fba00000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
dmesg 2.6.18
PCI: Enabling device 0000:00:0c.0 (0110 -> 0112)
ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 185
rt2500 1.1.0 CVS 2005/07/10 http://rt2x00.serialmonkey.com
dmesg 2.6.26-rc9
ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
phy0: Selected rate control algorithm 'pid'
phy0: Failed to initialize wep
phy0 -> rt2x00lib_probe_dev: Error - Failed to initialize hw.
rt2500pci: probe of 0000:00:0c.0 failed with error -12
.config 2.6.18
precompiled Kernel from Debian
.config 2.6.26-rc9
<http://www-user.tu-chemnitz.de/~stefb/rt2500pci/config>
Next I'm going to test 2.6.24 and 2.6.25 to check whether it's an regression
or not.
Regards,
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 20:53 rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0 Stefan Bauer
@ 2008-07-07 21:08 ` Ivo van Doorn
2008-07-07 21:10 ` Stefanik Gábor
2008-07-07 21:23 ` Stefan Bauer
2008-07-07 21:27 ` Stefan Bauer
1 sibling, 2 replies; 11+ messages in thread
From: Ivo van Doorn @ 2008-07-07 21:08 UTC (permalink / raw)
To: rt2400-devel; +Cc: Stefan Bauer, linux-wireless, linux-kernel
On Monday 07 July 2008, Stefan Bauer wrote:
> Hi,
>
>
> I'm not able to load rt2500pci from 2.6.26-rc9 under Gentoo.
> This card currently works under Debian Etch with 2.6.18 kernel and
> rt2500-source 1.1.0+cvs20060620-3.
>
> lspci -vvvv
> Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
> Subsystem: RaLink Unknown device 2560
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping-
> SERR+ FastB2B-
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
> <MAbort- >SERR- <PERR-
> Latency: 64, Cache Line Size: 64 bytes
> Interrupt: pin A routed to IRQ 185
> Region 0: Memory at fba00000 (32-bit, non-prefetchable) [size=8K]
> Capabilities: [40] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> dmesg 2.6.18
> PCI: Enabling device 0000:00:0c.0 (0110 -> 0112)
> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 185
> rt2500 1.1.0 CVS 2005/07/10 http://rt2x00.serialmonkey.com
>
> dmesg 2.6.26-rc9
> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
> phy0: Selected rate control algorithm 'pid'
> phy0: Failed to initialize wep
Check if the arc4 and ecb modules are loaded before loading mac80211 & rt2500pci.
Ivo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:08 ` [Rt2400-devel] " Ivo van Doorn
@ 2008-07-07 21:10 ` Stefanik Gábor
2008-07-07 21:19 ` Ivo van Doorn
2008-07-07 21:23 ` Stefan Bauer
1 sibling, 1 reply; 11+ messages in thread
From: Stefanik Gábor @ 2008-07-07 21:10 UTC (permalink / raw)
To: Ivo van Doorn; +Cc: rt2400-devel, Stefan Bauer, linux-wireless, linux-kernel
On Mon, Jul 7, 2008 at 11:08 PM, Ivo van Doorn <ivdoorn@gmail.com> wrote:
> Check if the arc4 and ecb modules are loaded before loading mac80211 & rt2500pci.
>
> Ivo
Shouldn't we make mac80211 depend on arc4 and ecb?
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:10 ` Stefanik Gábor
@ 2008-07-07 21:19 ` Ivo van Doorn
2008-07-07 22:25 ` Tomas Winkler
0 siblings, 1 reply; 11+ messages in thread
From: Ivo van Doorn @ 2008-07-07 21:19 UTC (permalink / raw)
To: Stefanik Gábor
Cc: rt2400-devel, Stefan Bauer, linux-wireless, linux-kernel
On Monday 07 July 2008, Stefanik Gábor wrote:
> On Mon, Jul 7, 2008 at 11:08 PM, Ivo van Doorn <ivdoorn@gmail.com> wrote:
> > Check if the arc4 and ecb modules are loaded before loading mac80211 & rt2500pci.
> >
> > Ivo
>
> Shouldn't we make mac80211 depend on arc4 and ecb?
They do depend on those modules, but for some reason they
are not always automatically loaded when the mac80211 module is loaded.
Ivo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:08 ` [Rt2400-devel] " Ivo van Doorn
2008-07-07 21:10 ` Stefanik Gábor
@ 2008-07-07 21:23 ` Stefan Bauer
2008-07-08 9:45 ` Stefan Bauer
1 sibling, 1 reply; 11+ messages in thread
From: Stefan Bauer @ 2008-07-07 21:23 UTC (permalink / raw)
To: rt2400-devel; +Cc: Ivo van Doorn, linux-wireless, linux-kernel
On Monday 07 July 2008 23:08:57 you wrote:
> > dmesg 2.6.26-rc9
> > ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
> > phy0: Selected rate control algorithm 'pid'
> > phy0: Failed to initialize wep
>
> Check if the arc4 and ecb modules are loaded before loading mac80211 &
> rt2500pci.
They weren't, but loading them before doesn't make any difference.
I've to add that I don't use wep, this WLAN is open.
Regards,
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 20:53 rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0 Stefan Bauer
2008-07-07 21:08 ` [Rt2400-devel] " Ivo van Doorn
@ 2008-07-07 21:27 ` Stefan Bauer
2008-07-07 21:44 ` Ivo van Doorn
1 sibling, 1 reply; 11+ messages in thread
From: Stefan Bauer @ 2008-07-07 21:27 UTC (permalink / raw)
To: rt2400-devel; +Cc: linux-wireless, linux-kernel
Am Montag, 7. Juli 2008 schrieb Stefan Bauer:
> dmesg 2.6.26-rc9
> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
> phy0: Selected rate control algorithm 'pid'
> phy0: Failed to initialize wep
> phy0 -> rt2x00lib_probe_dev: Error - Failed to initialize hw.
> rt2500pci: probe of 0000:00:0c.0 failed with error -12
>
> .config 2.6.26-rc9
> <http://www-user.tu-chemnitz.de/~stefb/rt2500pci/config>
>
> Next I'm going to test 2.6.24 and 2.6.25 to check whether it's an
> regression or not.
Same problem with 2.6.24.7, I'll skip 2.6.25.
Regards, Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:27 ` Stefan Bauer
@ 2008-07-07 21:44 ` Ivo van Doorn
2008-07-07 22:01 ` Stefan Bauer
0 siblings, 1 reply; 11+ messages in thread
From: Ivo van Doorn @ 2008-07-07 21:44 UTC (permalink / raw)
To: rt2400-devel; +Cc: Stefan Bauer, linux-wireless, linux-kernel
On Monday 07 July 2008, Stefan Bauer wrote:
> Am Montag, 7. Juli 2008 schrieb Stefan Bauer:
>
> > dmesg 2.6.26-rc9
> > ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
> > phy0: Selected rate control algorithm 'pid'
> > phy0: Failed to initialize wep
> > phy0 -> rt2x00lib_probe_dev: Error - Failed to initialize hw.
> > rt2500pci: probe of 0000:00:0c.0 failed with error -12
> >
> > .config 2.6.26-rc9
> > <http://www-user.tu-chemnitz.de/~stefb/rt2500pci/config>
> >
> > Next I'm going to test 2.6.24 and 2.6.25 to check whether it's an
> > regression or not.
>
> Same problem with 2.6.24.7, I'll skip 2.6.25.
What happens when you compile ecb and arc4 into the kernel
instead as seperate modules?
Ivo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:44 ` Ivo van Doorn
@ 2008-07-07 22:01 ` Stefan Bauer
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Bauer @ 2008-07-07 22:01 UTC (permalink / raw)
To: rt2400-devel; +Cc: Ivo van Doorn, linux-wireless, linux-kernel
Am Montag, 7. Juli 2008 schrieb Ivo van Doorn:
> What happens when you compile ecb and arc4 into the kernel
> instead as seperate modules?
Then it works. Thanks a lot. The new .config can be found here:
<http://www-user.tu-chemnitz.de/~stefb/rt2500pci/config_works>
But I think it's a bug, nevertheless. If there are any patches to test I'll
give them a try.
Regards, Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:19 ` Ivo van Doorn
@ 2008-07-07 22:25 ` Tomas Winkler
2008-07-08 11:40 ` Johannes Berg
0 siblings, 1 reply; 11+ messages in thread
From: Tomas Winkler @ 2008-07-07 22:25 UTC (permalink / raw)
To: Ivo van Doorn
Cc: Stefanik Gábor, rt2400-devel, Stefan Bauer, linux-wireless,
linux-kernel
On Tue, Jul 8, 2008 at 12:19 AM, Ivo van Doorn <ivdoorn@gmail.com> wrote:
> On Monday 07 July 2008, Stefanik Gábor wrote:
>> On Mon, Jul 7, 2008 at 11:08 PM, Ivo van Doorn <ivdoorn@gmail.com> wrote:
>> > Check if the arc4 and ecb modules are loaded before loading mac80211 & rt2500pci.
>> >
>> > Ivo
>>
>> Shouldn't we make mac80211 depend on arc4 and ecb?
>
> They do depend on those modules, but for some reason they
> are not always automatically loaded when the mac80211 module is loaded.
This is bug is reported very often mostly on ubuntu based distoros.
There is no linkage dependency so it doesn't produce entry in the
depmod.
mac should somehow request these modules dynamically. If I understand
correctly is not so straight forward since there might be alternative
hw acceleration modules for these modules.
Thanks
Tomas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 21:23 ` Stefan Bauer
@ 2008-07-08 9:45 ` Stefan Bauer
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Bauer @ 2008-07-08 9:45 UTC (permalink / raw)
To: rt2400-devel; +Cc: Ivo van Doorn, linux-wireless, linux-kernel
Am Montag, 7. Juli 2008 schrieb Stefan Bauer:
> On Monday 07 July 2008 23:08:57 Ivo van Doorn wrote:
> > Check if the arc4 and ecb modules are loaded before loading mac80211 &
> > rt2500pci.
>
> They weren't, but loading them before doesn't make any difference.
I've checked this again. If I unload all wireless stuff, then modprobe *every*
module in .../kernel/crypto/ it works. Both 2.6.24.7 and 2.6.26-rc9 load the
driver and create an interface.
(2.6.24.7 isn't able to iwlist scan or associate, but that seems to be an old
fixed issue.)
So it seems to me it isn't really a bug, more likely kind of inconvenience.
Again thanks for your help!
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Rt2400-devel] rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0
2008-07-07 22:25 ` Tomas Winkler
@ 2008-07-08 11:40 ` Johannes Berg
0 siblings, 0 replies; 11+ messages in thread
From: Johannes Berg @ 2008-07-08 11:40 UTC (permalink / raw)
To: Tomas Winkler
Cc: Ivo van Doorn, Stefanik Gábor, rt2400-devel, Stefan Bauer,
linux-wireless, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
> This is bug is reported very often mostly on ubuntu based distoros.
> There is no linkage dependency so it doesn't produce entry in the
> depmod.
> mac should somehow request these modules dynamically.
Wouldn't help. Bug reporter has a broken config with CONFIG_KMOD unset.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-07-08 11:41 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07 20:53 rt2500pci: Failed to initialize hw. But works with ancient rt2500-1.1.0 Stefan Bauer
2008-07-07 21:08 ` [Rt2400-devel] " Ivo van Doorn
2008-07-07 21:10 ` Stefanik Gábor
2008-07-07 21:19 ` Ivo van Doorn
2008-07-07 22:25 ` Tomas Winkler
2008-07-08 11:40 ` Johannes Berg
2008-07-07 21:23 ` Stefan Bauer
2008-07-08 9:45 ` Stefan Bauer
2008-07-07 21:27 ` Stefan Bauer
2008-07-07 21:44 ` Ivo van Doorn
2008-07-07 22:01 ` Stefan Bauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox