Re: driver dis-associates on laptop lid close

2007-09-04 Thread Timo Reimann
Hello Ehud, I figured it out, and it was something very different: My laptop and the AP were too far away from each other. For testing purposes, I placed my box directly in front of my AP. Then, it wouldn't cease networking even if I shut the lid. On the contrary, when sitting on the couch, I

Re: RFC V2 bcm43xx: Fix potential race in shutdown of work queues

2007-09-04 Thread Michael Buesch
On Monday 03 September 2007, Larry Finger wrote: This patch fixes a problem with work queues during shutdown. The bug seems to be responsible for the boot-time crashes reported in http://bugzilla.kernel.org/show_bug.cgi?id=8937. Signed-off-by: Larry Finger [EMAIL PROTECTED] --- Index:

Re: Hardware problem sb_id_hi is 0xffffffff

2007-09-04 Thread Michael Buesch
On Monday 03 September 2007, Kevin Barry wrote: Finally I outputted the value of sb_id_hi and it appears to be 0x. So perhaps I should just buy a new card. Yeah. But perhaps I could hack the driver to work enough to dump the ssb_sprom and then see if that could be repaired? This

[PATCH] b43: Fix HW key clearing.

2007-09-04 Thread Michael Buesch
This fixes clearing of the HW keys. Signed-off-by: Michael Buesch [EMAIL PROTECTED] Index: wireless-dev/drivers/net/wireless/b43/main.c === --- wireless-dev.orig/drivers/net/wireless/b43/main.c 2007-08-31 15:37:00.0 +0200

[PATCH] b43: Add debugfs file to dump microcode registers

2007-09-04 Thread Michael Buesch
This adds a debugfs file to dump all microcode registers. Note that the dumping is racy, as microcode continues to run while we loop over each register to dump it. Cc: Johannes Berg [EMAIL PROTECTED] Cc: Larry Finger [EMAIL PROTECTED] Signed-off-by: Michael Buesch [EMAIL PROTECTED] Index:

[PATCH] b43: Add debugfs file to dump SHM

2007-09-04 Thread Michael Buesch
This adds a file to dump the SHM. Note that SHM dumping is racy, as the microcode continues to run while we dump the SHM. Cc: Johannes Berg [EMAIL PROTECTED] Cc: Larry Finger [EMAIL PROTECTED] Signed-off-by: Michael Buesch [EMAIL PROTECTED] Index: wireless-dev/drivers/net/wireless/b43/debugfs.c

[PATCH] b43: Always drop crypt-failed packets.

2007-09-04 Thread Michael Buesch
Drop packets for which the firmware was unable to decrypt it, as we won't be able to decrypt them with the key, too. Cc: Johannes Berg [EMAIL PROTECTED] Signed-off-by: Michael Buesch [EMAIL PROTECTED] Index: wireless-dev/drivers/net/wireless/b43/xmit.c

mostly reverse engineered r4 microcode

2007-09-04 Thread Johannes Berg
Hey, I wanted to know some things about the those pesky external conditions and thought I could look at the old ucode because that, as you may remember, uses four RCM matchers for finding crypto keys and I thought it may be easy to identify that. Since I don't have any rev4 or lower hardware, I

Re: mostly reverse engineered r4 microcode

2007-09-04 Thread Larry Finger
Johannes Berg wrote: Since I don't have any rev4 or lower hardware, I meant to comment on this in my first reply, but forgot. I have a spare BCM4306/2 PCMCIA card that is rev 4. It has been a little damaged - the LEDs no longer work, but the radio and antenna are fine. If you want, I could

Re: mostly reverse engineered r4 microcode

2007-09-04 Thread Johannes Berg
On Tue, 2007-09-04 at 10:34 -0500, Larry Finger wrote: I meant to comment on this in my first reply, but forgot. I have a spare BCM4306/2 PCMCIA card that is rev 4. It has been a little damaged - the LEDs no longer work, but the radio and antenna are fine. If you want, I could send it to

RFC V3 bcm43xx: Fix potential race in shutdown of work queues

2007-09-04 Thread Larry Finger
A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and prevents periodic work from being requeued during shutdown. With this patch, no

Re: RFC V3 bcm43xx: Fix potential race in shutdown of work queues

2007-09-04 Thread Michael Buesch
On Tuesday 04 September 2007, Larry Finger wrote: A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and prevents periodic work

Re: mostly reverse engineered r4 microcode

2007-09-04 Thread Larry Finger
Johannes Berg wrote: On Tue, 2007-09-04 at 10:34 -0500, Larry Finger wrote: I meant to comment on this in my first reply, but forgot. I have a spare BCM4306/2 PCMCIA card that is rev 4. It has been a little damaged - the LEDs no longer work, but the radio and antenna are fine. If you

Re: RFC V3 bcm43xx: Fix potential race in shutdown of work queues

2007-09-04 Thread Larry Finger
Michael Buesch wrote: On Tuesday 04 September 2007, Larry Finger wrote: A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and

Re: RFC V3 bcm43xx: Fix potential race in shutdown of work queues

2007-09-04 Thread Michael Buesch
On Tuesday 04 September 2007, Larry Finger wrote: --- linux-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_sysfs.c +++ linux-2.6/drivers/net/wireless/bcm43xx/bcm43xx_sysfs.c @@ -327,8 +327,9 @@ static ssize_t bcm43xx_attr_phymode_stor goto out; } -

Re: [PATCH] b43: Add debugfs file to dump microcode registers

2007-09-04 Thread Larry Finger
Michael Buesch wrote: This adds a debugfs file to dump all microcode registers. Note that the dumping is racy, as microcode continues to run while we loop over each register to dump it. Cc: Johannes Berg [EMAIL PROTECTED] Cc: Larry Finger [EMAIL PROTECTED] Signed-off-by: Michael Buesch

Re: [PATCH] b43: Add debugfs file to dump microcode registers

2007-09-04 Thread Michael Buesch
On Tuesday 04 September 2007, Larry Finger wrote: Michael Buesch wrote: This adds a debugfs file to dump all microcode registers. Note that the dumping is racy, as microcode continues to run while we loop over each register to dump it. Cc: Johannes Berg [EMAIL PROTECTED] Cc: Larry

[PATCH] bcm43xx: Fix cancellation of work queues crashes

2007-09-04 Thread Larry Finger
A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and prevents periodic work from being requeued during shutdown. With this patch, no

Re: [PATCH] bcm43xx: Fix cancellation of work queues crashes

2007-09-04 Thread Michael Buesch
On Tuesday 04 September 2007, Larry Finger wrote: A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and prevents periodic work

Re: [PATCH V2] bcm43xx: Fix cancellation of work queue crashes

2007-09-04 Thread Michael Buesch
On Tuesday 04 September 2007, Larry Finger wrote: A crash upon booting that is caused by bcm43xx has been reported [1] and found to be due to a work queue being reinitialized while work on that queue is still pending. This fix modifies the shutdown of work queues and prevents periodic work

Screen flicker

2007-09-04 Thread Celejar
Hi, I use bcm43xx (Debian Sid 2.6.22) with my laptop's (Acer Aspire 3690-2672) 4318. 'lspci -vn': 06:02.0 0280: 14e4:4318 (rev 02) Subsystem: 1468:0312 Flags: bus master, fast devsel, latency 64, IRQ 10 Memory at d0002000 (32-bit, non-prefetchable) [size=8K] It

Re: Screen flicker

2007-09-04 Thread Celejar
On Tue, 04 Sep 2007 15:13:29 -0500 Larry Finger [EMAIL PROTECTED] wrote: Celejar wrote: Hi, I use bcm43xx (Debian Sid 2.6.22) with my laptop's (Acer Aspire 3690-2672) 4318. 'lspci -vn': 06:02.0 0280: 14e4:4318 (rev 02) Subsystem: 1468:0312 Flags: bus

Re: Screen flicker

2007-09-04 Thread Nkoli
On 9/4/07, Larry Finger [EMAIL PROTECTED] wrote: Celejar wrote: Hi, I use bcm43xx (Debian Sid 2.6.22) with my laptop's (Acer Aspire 3690-2672) 4318. 'lspci -vn': 06:02.0 0280: 14e4:4318 (rev 02) Subsystem: 1468:0312 Flags: bus master, fast devsel, latency 64,

Re: Screen flicker

2007-09-04 Thread Larry Finger
Celejar wrote: cat /proc/interrupts CPU0 0:4823605XT-PIC-XTtimer 1: 7327XT-PIC-XTi8042 2: 0XT-PIC-XTcascade 5: 0XT-PIC-XTuhci_hcd:usb1, ehci_hcd:usb5 6: 1XT-PIC-XT