Re: b43 kills my kernel

2010-01-05 Thread Michael Buesch
On Monday 04 January 2010 22:51:40 Oncaphillis wrote: Did any of the patches for a device without a sprom make it into the 2.6.33-rc2 ? No we decided that the patches were not acceptable and need a rewrite towards firmware loading mechanism. Nobody's currently doing that, though. --

Re: b43 kills my kernel

2010-01-05 Thread Oncaphillis
On 01/05/2010 08:27 PM, Larry Finger wrote: On 01/05/2010 11:18 AM, Michael Buesch wrote: On Monday 04 January 2010 22:51:40 Oncaphillis wrote: Did any of the patches for a device without a sprom make it into the 2.6.33-rc2 ? No we decided that the patches were not

Re: b43 kills my kernel

2010-01-04 Thread Oncaphillis
On 11/19/2009 12:30 PM, Michael Buesch wrote: On Thursday 19 November 2009 12:16:46 Oncaphillis wrote: On 11/19/2009 12:09 PM, Michael Buesch wrote: On Thursday 19 November 2009 12:07:30 Oncaphillis wrote: So I'm at a loss here, but if someone comes up with a bright idea to test or needs

Re: b43 kills my kernel

2009-11-20 Thread Michael Buesch
On Friday 20 November 2009 02:41:58 Oncaphillis wrote: On 11/20/2009 12:46 AM, Oncaphillis wrote: On 11/19/2009 06:44 PM, Michael Buesch wrote: On Thursday 19 November 2009 16:41:12 Michael Buesch wrote: Wait, that still can't work. I'll fix it soon... Ok, here's the updated version.

Re: b43 kills my kernel

2009-11-20 Thread Oncaphillis
On 11/20/2009 10:27 AM, Michael Buesch wrote: On Friday 20 November 2009 02:41:58 Oncaphillis wrote: On 11/20/2009 12:46 AM, Oncaphillis wrote: On 11/19/2009 06:44 PM, Michael Buesch wrote: On Thursday 19 November 2009 16:41:12 Michael Buesch wrote: Wait, that still can't work. I'll fix it

Re: b43 kills my kernel

2009-11-20 Thread Michael Buesch
On Friday 20 November 2009 11:29:20 Oncaphillis wrote: Ok -- Some more details about my experience that it appears to be slow. Note that there are several issues. First one being the sprom calibration values being _wrong_ for your card. Second one is LP-PHY performance being crappy in general

Re: b43 kills my kernel

2009-11-20 Thread Larry Finger
On 11/20/2009 04:54 AM, Michael Buesch wrote: On Friday 20 November 2009 11:29:20 Oncaphillis wrote: Ok -- Some more details about my experience that it appears to be slow. Note that there are several issues. First one being the sprom calibration values being _wrong_ for your card. Second

Re: b43 kills my kernel

2009-11-20 Thread Andrew Benton
On 20/11/09 10:54, Michael Buesch wrote: Can somebody give me a genuine SPROM image for an LP-PHY card, please? Just do this: sudo cat $(find /sys/devices -name ssb_sprom) ssb_sprom_copy Does this help? Andy ssb_sprom_copy Description: Binary data

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
So I'm at a loss here, but if someone comes up with a bright idea to test or needs more informations I'm willing to test the resulting code on my machine. Sebastian ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de

Re: b43 kills my kernel

2009-11-19 Thread Michael Buesch
On Thursday 19 November 2009 12:07:30 Oncaphillis wrote: So I'm at a loss here, but if someone comes up with a bright idea to test or needs more informations I'm willing to test the resulting code on my machine. Erm, no. Can you please answer the questions that you didn't answer, yet?

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
On 11/19/2009 12:09 PM, Michael Buesch wrote: On Thursday 19 November 2009 12:07:30 Oncaphillis wrote: So I'm at a loss here, but if someone comes up with a bright idea to test or needs more informations I'm willing to test the resulting code on my machine. Erm, no. Can you please

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
Erm, no. Can you please answer the questions that you didn't answer, yet? Especially the request for the original vendor driver. oh sorry. I did that, but the mail only went to larry -- stupid me -- the device didn't come with a CD/DVD and I killed Windows XP right away. Sorry

Re: b43 kills my kernel

2009-11-19 Thread Michael Buesch
Can you please try the following patch? http://bu3sch.de/patches/wireless-testing/20091119-1349/patches/002-ssb-rewrite-sprom-fallback-mechanism.patch -- Greetings, Michael. ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
On 11/19/2009 01:49 PM, Michael Buesch wrote: Can you please try the following patch? http://bu3sch.de/patches/wireless-testing/20091119-1349/patches/002-ssb-rewrite-sprom-fallback-mechanism.patch That seems to freeze my kernel. I tell you more in a couple of hours.

Re: b43 kills my kernel

2009-11-19 Thread Michael Buesch
On Thursday 19 November 2009 14:26:42 Oncaphillis wrote: On 11/19/2009 01:49 PM, Michael Buesch wrote: Can you please try the following patch? http://bu3sch.de/patches/wireless-testing/20091119-1349/patches/002-ssb-rewrite-sprom-fallback-mechanism.patch That seems to freeze my

Re: b43 kills my kernel

2009-11-19 Thread Michael Buesch
On Thursday 19 November 2009 16:27:01 Michael Buesch wrote: On Thursday 19 November 2009 14:26:42 Oncaphillis wrote: On 11/19/2009 01:49 PM, Michael Buesch wrote: Can you please try the following patch?

Re: b43 kills my kernel

2009-11-19 Thread Michael Buesch
On Thursday 19 November 2009 16:41:12 Michael Buesch wrote: Wait, that still can't work. I'll fix it soon... Ok, here's the updated version. Please test this: http://bu3sch.de/patches/wireless-testing/20091119-1842/patches/002-ssb-rewrite-sprom-fallback-mechanism.patch -- Greetings, Michael.

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
On 11/19/2009 06:44 PM, Michael Buesch wrote: On Thursday 19 November 2009 16:41:12 Michael Buesch wrote: Wait, that still can't work. I'll fix it soon... Ok, here's the updated version. Please test this:

Re: b43 kills my kernel

2009-11-19 Thread Oncaphillis
On 11/20/2009 12:46 AM, Oncaphillis wrote: On 11/19/2009 06:44 PM, Michael Buesch wrote: On Thursday 19 November 2009 16:41:12 Michael Buesch wrote: Wait, that still can't work. I'll fix it soon... Ok, here's the updated version. Please test this:

Re: b43 kills my kernel

2009-11-18 Thread Oncaphillis
On 11/18/2009 08:54 AM, Peter Stuge wrote: Oncaphillis wrote: So as far as I understand both the early kernel as well as lspci think that the mmio area of the Broadcom chip is located at 5710 only ssb gets the wrong address. It gets set in ssbioremap via pci_iomap. After the

Re: b43 kills my kernel

2009-11-18 Thread Gábor Stefanik
On Wed, Nov 18, 2009 at 6:15 PM, Larry Finger larry.fin...@lwfinger.net wrote: On 11/18/2009 08:34 AM, Oncaphillis wrote: The first ioread16 actually succeeds, only the second one fails. My lspci -vnn tells me that the memory is: Memory at 5710 (64-bit, non-prefetchable) [size=16K]

Re: b43 kills my kernel

2009-11-18 Thread Oncaphillis
On 11/18/2009 06:15 PM, Larry Finger wrote: On 11/18/2009 08:34 AM, Oncaphillis wrote: The first ioread16 actually succeeds, only the second one fails. My lspci -vnn tells me that the memory is: Memory at 5710 (64-bit, non-prefetchable) [size=16K] Could it be that one has to make a

Re: b43 kills my kernel

2009-11-18 Thread Michael Buesch
On Wednesday 18 November 2009 18:36:12 Oncaphillis wrote: Index: wireless-testing/drivers/ssb/pci.c === --- wireless-testing.orig/drivers/ssb/pci.c +++ wireless-testing/drivers/ssb/pci.c @@ -251,10 +251,16 @@ static int

Re: b43 kills my kernel

2009-11-18 Thread Larry Finger
On 11/18/2009 11:36 AM, Oncaphillis wrote: I already tried something similar. Unfortunately I can not report in detail right now since I've once again killed my kernel and my acer stands at home. I'll give more details in a couple of hours -- but the punch line is: (1) if I transform the

Re: b43 kills my kernel

2009-11-18 Thread Oncaphillis
On 11/18/2009 06:51 PM, Larry Finger wrote: After you get access to the machine, please try my patch. It has been tested here. The first few lines from the output are: ssb: Entering sprom_do_read ssb: Read 0x2801 from SPROM ssb: Read 0x103C137C from SPROM ssb: Read 0x6DBE0078 from SPROM

Re: b43 kills my kernel

2009-11-18 Thread Michael Buesch
On Wednesday 18 November 2009 23:07:29 Oncaphillis wrote: On 11/18/2009 06:51 PM, Larry Finger wrote: After you get access to the machine, please try my patch. It has been tested here. The first few lines from the output are: ssb: Entering sprom_do_read ssb: Read 0x2801 from SPROM

Re: b43 kills my kernel

2009-11-18 Thread Michael Buesch
On Wednesday 18 November 2009 23:53:42 Michael Buesch wrote: On Wednesday 18 November 2009 23:07:29 Oncaphillis wrote: On 11/18/2009 06:51 PM, Larry Finger wrote: After you get access to the machine, please try my patch. It has been tested here. The first few lines from the output

Re: b43 kills my kernel

2009-11-18 Thread Michael Buesch
Please keep it on-list. This is really important to get this debugged properly. On Thursday 19 November 2009 00:23:18 Oncaphillis wrote: On 11/18/2009 11:59 PM, Michael Buesch wrote: What kind of device is that? Some laptop? I only knew about embedded devices using these wireless cards

Re: b43 kills my kernel

2009-11-18 Thread Gábor Stefanik
On Thu, Nov 19, 2009 at 12:39 AM, Michael Buesch m...@bu3sch.de wrote: Please keep it on-list. This is really important to get this debugged properly. On Thursday 19 November 2009 00:23:18 Oncaphillis wrote: On 11/18/2009 11:59 PM, Michael Buesch wrote: What kind of device is that? Some

Re: b43 kills my kernel

2009-11-18 Thread Larry Finger
On 11/18/2009 05:57 PM, Gábor Stefanik wrote: Hmm... this kinda reminds me of when the SPROM died on my Asus 4318, causing it to display as a 14e4:0008, and freeze immediately upon any SPROM read/write attempt. Quite possibly we have something similar here (there is an SPROM, but it's broken -

Re: b43 kills my kernel

2009-11-18 Thread Oncaphillis
Is it this device? http://hax0rpedia.com/index.php/Disassembeling_the_AAO_D250 Can you open the lower-right cover shown here: http://hax0rpedia.com/index.php/File:Aao_d250_step2.jpg and take a closeup picture of the wireless card? Also probably a picture of the backside of the card.

Re: b43 kills my kernel

2009-11-18 Thread Michael Buesch
On Thursday 19 November 2009 01:26:41 Oncaphillis wrote: Is it this device? http://hax0rpedia.com/index.php/Disassembeling_the_AAO_D250 Can you open the lower-right cover shown here: http://hax0rpedia.com/index.php/File:Aao_d250_step2.jpg and take a closeup picture of the wireless

Re: b43 kills my kernel

2009-11-18 Thread Peter Stuge
Michael Buesch wrote: Hmm, surprise surprise. The slot is empty. They seem to have moved it onto the motherborad. Whoa, sick man. :) So I think there's a fair chance that there's no sprom at all, if the device is on-board. One idea is to look up the FCC ID of the laptop in the FCC

Re: b43 kills my kernel

2009-11-17 Thread Oncaphillis
Thanks for posting the dmesg. In looking through it, the only thing I noticed was the following: [ 25.844834](523 KHz - 533 KHz @ 4 KHz), (600 mBi, 2300 mBm) [ 25.844844](5735000 KHz - 5835000 KHz @ 4 KHz), (600 mBi, 3000 mBm) [ 25.845455] cfg80211:

Re: b43 kills my kernel

2009-11-16 Thread Larry Finger
On 11/16/2009 05:03 PM, Oncaphillis wrote: Which gives: snip [9.972581] In sprom_do_read with sprom address 0xF8079000 /snip This address is also calculated in ssbioremap You may have a look at the full dmesg under: http://oncaphillis.net/dmesg-aspire-d250.txt Thanks

Re: b43 kills my kernel

2009-11-15 Thread Michael Buesch
On Saturday 14 November 2009 21:20:28 Michael Buesch wrote: Yeah, ok. That doesn't seem to be a bug in b43 then. It's the CRDA subsystem waiting for a userspace daemon. But it won't finish waiting, because userspace is not running, yet. I guess running cfg80211 as module is an acceptable

Re: b43 kills my kernel

2009-11-15 Thread Oncaphillis
On 11/15/2009 03:40 PM, Michael Buesch wrote: On Saturday 14 November 2009 21:20:28 Michael Buesch wrote: Yeah, ok. That doesn't seem to be a bug in b43 then. It's the CRDA subsystem waiting for a userspace daemon. But it won't finish waiting, because userspace is not running, yet. I guess

Re: b43 kills my kernel

2009-11-15 Thread Peter Stuge
Oncaphillis wrote: I poked around in the sbb code and found that ssb_do_read never returns: snip static int sprom_do_read(struct ssb_bus *bus, u16 *sprom) You wrote ssb_do_read above, this is sprom_do_read. Maybe they call each other? So I guess the mmio address is wrong. It is set to

Re: b43 kills my kernel

2009-11-14 Thread Oncaphillis
On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option line in GRUB), does it boot? If it does not, what is the last line shown

Re: b43 kills my kernel

2009-11-14 Thread Oncaphillis
On 11/14/2009 12:24 PM, Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option line in GRUB), does it

Re: b43 kills my kernel

2009-11-14 Thread Larry Finger
On 11/14/2009 07:37 AM, Oncaphillis wrote: So it seems to me it doesn't even reach the loading of p43.ko but gets stuck in the cfg80211 layer. We can test that hypothesis. Generate a kernel without b43. Once it boots, enter the following commands as root: modprobe -v rfkill modprobe -v

Re: b43 kills my kernel

2009-11-14 Thread Oncaphillis
On 11/14/2009 04:42 PM, Larry Finger wrote: On 11/14/2009 07:37 AM, Oncaphillis wrote: So it seems to me it doesn't even reach the loading of p43.ko but gets stuck in the cfg80211 layer. We can test that hypothesis. Generate a kernel without b43. Once it boots, enter the following commands

Re: b43 kills my kernel

2009-11-14 Thread Oncaphillis
On 11/14/2009 08:45 PM, Michael Buesch wrote: On Saturday 14 November 2009 12:24:24 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to

Re: b43 kills my kernel

2009-11-14 Thread Michael Buesch
On Saturday 14 November 2009 12:24:24 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option line

Re: b43 kills my kernel

2009-11-14 Thread Michael Buesch
On Saturday 14 November 2009 21:03:09 Oncaphillis wrote: On 11/14/2009 08:45 PM, Michael Buesch wrote: On Saturday 14 November 2009 12:24:24 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still

b43 kills my kernel

2009-11-13 Thread Oncaphillis
Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the kernel tries to insert b43.ko it freezes. If've moved up to 2.6.32-rc7, but is always stays like this. snip source=lspci -vnn 01:00.0 Network controller

Re: b43 kills my kernel

2009-11-13 Thread Larry Finger
On 11/13/2009 09:33 AM, Oncaphillis wrote: Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the kernel tries to insert b43.ko it freezes. If've moved up to 2.6.32-rc7, but is always stays like this. snip

Re: b43 kills my kernel

2009-11-13 Thread Oncaphillis
On 11/13/2009 05:12 PM, Larry Finger wrote: On 11/13/2009 09:33 AM, Oncaphillis wrote: Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the kernel tries to insert b43.ko it freezes. If've moved up to

Re: b43 kills my kernel

2009-11-13 Thread Michael Buesch
On Friday 13 November 2009 17:41:21 Oncaphillis wrote: On 11/13/2009 05:12 PM, Larry Finger wrote: On 11/13/2009 09:33 AM, Oncaphillis wrote: Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the kernel

Re: b43 kills my kernel

2009-11-13 Thread William Bourque
Oncaphillis wrote: On 11/13/2009 05:12 PM, Larry Finger wrote: On 11/13/2009 09:33 AM, Oncaphillis wrote: Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the kernel tries to insert b43.ko it freezes. If've

Re: b43 kills my kernel

2009-11-13 Thread Oncaphillis
On 11/13/2009 05:56 PM, William Bourque wrote: Oncaphillis wrote: On 11/13/2009 05:12 PM, Larry Finger wrote: On 11/13/2009 09:33 AM, Oncaphillis wrote: Hi, I have a Acer One D250 which is equipped with a BCM4312 for which on the homepage the support is marked as in progress. Whenever the

Re: b43 kills my kernel

2009-11-13 Thread Michael Buesch
On Friday 13 November 2009 18:46:22 Oncaphillis wrote: Thanks for the tip. But it still hangs So, any chance to tell us what hangs means? See my other mail. -- Greetings, Michael. ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de

Re: b43 kills my kernel

2009-11-13 Thread Larry Finger
On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option line in GRUB), does it boot? If it does not, what is the last line shown on the console? If your distro shows a splash

Re: b43 kills my kernel

2009-11-13 Thread Oncaphillis
On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option line in GRUB), does it boot? If it does not, what is the last

Re: b43 kills my kernel

2009-11-13 Thread Michael Buesch
On Friday 13 November 2009 21:36:31 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If you boot to console mode (type a 3 on the option

Re: b43 kills my kernel

2009-11-13 Thread Oncaphillis
On 11/13/2009 09:43 PM, Michael Buesch wrote: On Friday 13 November 2009 21:36:31 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs We still need to know where it hangs. If

Re: b43 kills my kernel

2009-11-13 Thread Larry Finger
On 11/13/2009 03:02 PM, Oncaphillis wrote: On 11/13/2009 09:43 PM, Michael Buesch wrote: On Friday 13 November 2009 21:36:31 Oncaphillis wrote: On 11/13/2009 08:20 PM, Larry Finger wrote: On 11/13/2009 11:46 AM, Oncaphillis wrote: Thanks for the tip. But it still hangs