Skip to contentSkip to conversation

Orinoco Wireless driver bugs in 2.5.17

DISCUSSION Jean Tourrilhes 3 participants 9 messages May 22, 2002 – Jun 3, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Alan Cox

The Compaq WL1xx orinoco simply doesn't work on 2.4.18 anyway. The older driver works, the newer one fails totally.

Alan,
Could you be more precise and point out which kernel start
failing ?

David,
If I remember properly my debug session with Alan (that was a
long while ago), the COR reset was screwing up the firmware (well, how many time did I told you to not make it mandatory ?).
Alan has an old Compaq card (the Intersil PrismII variety, not
the new Lucent one) and his firmware is probably not very fresh.

Good luck...

Jean

#1 lore raw
Quoted 5 lines · Alan Cox
Quoted 3 lines

Alan,
Could you be more precise and point out which kernel start
failing ?

Certainly in 2.4.18 (and I've seen a pile of other similar reports).

	2.4.18 did upgrade the driver from 0.06f to 0.09b. The bug

with 0.09b is a race condition in Tx code. This was fixed in version 0.11.
Have you tried 2.4.19-pre8-acX (well, I mean the Orinoco
driver in 2.4.19-pre8 ;-). It contains the new version of the driver (v11) that fixes the race condition (but introduce the potential COR problem).
If 2.4.19-pre8-acX fails, that would be for an entirely
different reason (even if the failure might look similar).

Quoted 1 line

Any specific info/debug/traces that would help ?

I'll defer that to David.

Quoted 1 line

Alan

Good luck...

Jean

#2 lore raw
In reply to Jean Tourrilhes
Quoted 3 lines

Alan,
Could you be more precise and point out which kernel start
failing ?

Certainly in 2.4.18 (and I've seen a pile of other similar reports).

Quoted 3 lines

If I remember properly my debug session with Alan (that was a
long while ago), the COR reset was screwing up the firmware (well, how many time did I told you to not make it mandatory ?).

Long time ago -its been behaving well until fairly recently

Quoted 2 lines

Alan has an old Compaq card (the Intersil PrismII variety, not
the new Lucent one) and his firmware is probably not very fresh.

Oldish firmware definitely. The newer driver finds the card registers it but fails on all tx/rx and reports no signal and noise of 130/150 or so (as opposed to db). Flipping back to the older kernel it works happily.

Any specific info/debug/traces that would help ?

Alan

#3 lore raw
In reply to Jean Tourrilhes
Quoted 10 lines · Jean Tourrilhes
Quoted 5 lines · Alan Cox
Quoted 3 lines

Alan,
Could you be more precise and point out which kernel start
failing ?

Certainly in 2.4.18 (and I've seen a pile of other similar reports).

	2.4.18 did upgrade the driver from 0.06f to 0.09b. The bug

with 0.09b is a race condition in Tx code. This was fixed in version 0.11.

Yes. Unfortunately a bunch of the bug fixes we made between 0.06f and 0.09b uncovered other, even worse, bugs - at least on some hardware/firmware.

It also would have helped if I'd been pushing to the kernel more frequently, but I got slack.

Quoted 6 lines

Have you tried 2.4.19-pre8-acX (well, I mean the Orinoco
driver in 2.4.19-pre8 ;-). It contains the new version of the driver (v11) that fixes the race condition (but introduce the potential COR problem).
If 2.4.19-pre8-acX fails, that would be for an entirely
different reason (even if the failure might look similar).

Yes checking 0.11b, which is in Marcelo's latest -pres (and in 2.5.17), would be very helpful

Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
#4 lore raw
In reply to Jean Tourrilhes
Quoted 5 lines · Alan Cox
Quoted 3 lines

Alan,
Could you be more precise and point out which kernel start
failing ?

Certainly in 2.4.18 (and I've seen a pile of other similar reports).

Ah, bugger.

Quoted 6 lines
Quoted 3 lines

If I remember properly my debug session with Alan (that was a
long while ago), the COR reset was screwing up the firmware (well, how many time did I told you to not make it mandatory ?).

Long time ago -its been behaving well until fairly recently

Quoted 7 lines
Quoted 2 lines

Alan has an old Compaq card (the Intersil PrismII variety, not
the new Lucent one) and his firmware is probably not very fresh.

Oldish firmware definitely. The newer driver finds the card registers it but fails on all tx/rx and reports no signal and noise of 130/150 or so (as opposed to db). Flipping back to the older kernel it works happily.

The signal/noise bit is probably a red herring. We have problems with the reporting of this, but it's mostly cosmetic. I seem to have confusing and contradictory information about how to interpret the values the firmware reports.

Quoted 1 line

Any specific info/debug/traces that would help ?

Specific error messages on Tx/Rx and also the firmware version as reported on module load would be very helpful.

Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
#5 lore raw
Quoted 4 lines · David Gibson

The signal/noise bit is probably a red herring. We have problems with the reporting of this, but it's mostly cosmetic. I seem to have confusing and contradictory information about how to interpret the values the firmware reports.

Ok the old driver gets the noise level right, the newer one got it wrong, the current one gets it wrong. The good news is the old one works, the new one didnt, the current 2.4.19pre one does...

Alan

#6 lore raw
In reply to Jean Tourrilhes
Quoted 11 lines · Alan Cox
Quoted 4 lines · David Gibson

The signal/noise bit is probably a red herring. We have problems with the reporting of this, but it's mostly cosmetic. I seem to have confusing and contradictory information about how to interpret the values the firmware reports.

Ok the old driver gets the noise level right, the newer one got it wrong, the current one gets it wrong. The good news is the old one works, the new one didnt, the current 2.4.19pre one does...

Alan

David,

In the linux-wlan-ng, I did implement a different algorithm to
report signal/noise in /proc/net/wireless, based on various info on the list. Mark Matthews did check with some people and told me it was the right algorithm for the Intersil firmware.
Note that I'm not sure we ever got it right.
Also, in the past, we had the min/max wrapper that avoided
"strange" values, and I think that's what people are mostly complaining about. So, maybe we should reintroduce the min/max.
Regards,

Jean

#7 lore raw
In reply to Jean Tourrilhes
Quoted 9 lines · Alan Cox
Quoted 4 lines · David Gibson

The signal/noise bit is probably a red herring. We have problems with the reporting of this, but it's mostly cosmetic. I seem to have confusing and contradictory information about how to interpret the values the firmware reports.

Ok the old driver gets the noise level right, the newer one got it wrong, the current one gets it wrong. The good news is the old one works, the new one didnt, the current 2.4.19pre one does...

Um, ok, now I'm a bit lost. I'm guessing by "old driver" you mean the pre 2.4.18 one (0.06f?) by "new driver" you mean the one in 2.4.18 and "current driver" means the one in 2.4.19pre (0.11b) - i.e. newer than the "new" one. Is that right?

Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
#8 lore raw
Quoted 8 lines · David Gibson
Quoted 6 lines · Alan Cox
Quoted 4 lines · David Gibson

The signal/noise bit is probably a red herring. We have problems with the reporting of this, but it's mostly cosmetic. I seem to have confusing and contradictory information about how to interpret the values the firmware reports.

Quoted 8 lines
Quoted 3 lines

Ok the old driver gets the noise level right, the newer one got it wrong, the current one gets it wrong. The good news is the old one works, the new one didnt, the current 2.4.19pre one does...

Um, ok, now I'm a bit lost. I'm guessing by "old driver" you mean the pre 2.4.18 one (0.06f?) by "new driver" you mean the one in 2.4.18 and "current driver" means the one in 2.4.19pre (0.11b) - i.e. newer than the "new" one. Is that right?

It is right.