Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251038 - [2.6.24 regression] b44 and b43legacy driver version 2.0 produce hangs on boot: invalid mac address in eeprom
Summary: [2.6.24 regression] b44 and b43legacy driver version 2.0 produce hangs on boo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.24-regression linux-2.6.27
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 15:37 UTC by Ulf Dambacher
Modified: 2008-12-20 19:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output of session (dmesg_log.txt,34.16 KB, text/plain)
2008-12-19 16:43 UTC, Ulf Dambacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Dambacher 2008-12-15 15:37:52 UTC
i have a laptop inspiron 5100 with broadcom b44 ethernet and bcm4301 wireless lan cards onboard. using kernel 2.6.23 everything is ok, on kernel 2.6.24 and higher (new 2.0 driver with new ssb) the system hangs on boot in udevsettle.
I booted into bb and found out that the a modprobe b44 hangs the system.
Following error is in dmesg:

b44: Invalid MAC address found in EEPROM
b44 ssb0:1: Problem fetching invariants of chip, aborting.
b44: probe of ssb0:1 failed with error -22

In 3 of 4 times the (cold) boot process locks hard, but sometimes i get a working system, but the error is still in the logs.

I googled, some say ubuntu ibex is fixed, but i could not find out how.
Will report on that later.

Reproducible: Always

Steps to Reproduce:
1. turn on the computer
Actual Results:  
system boots and hangs while "waiting for udev...", fan gets loud .-(


Expected Results:  
boot into nice kde startup screen.

gentoo-sources-2.6.23 works (old version 1.1 of drivers)
gentoo-sources-2.6.24 and later does not work (version 2.0 of driver)
I tried some vanilla sources and gentoo sources up to gentoo-sources 2.6.27-r5
no problem with udev, hal, etc (I ermerged latest stable ones)
Comment 1 Axel Dyks 2008-12-17 13:44:54 UTC
So, does this mean the problem disappears when upgrading to
gentoo-sources 2.6.27-r5 ?

Which is quite possible because of
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commitdiff;h=f225763a7d6c92c4932dbd528437997078496fcc
Comment 2 Ulf Dambacher 2008-12-17 22:59:41 UTC
I confirm that vanilla-sources-2.6.27.9 dos not show crashes but I get another problem: The new driver sais I should toglle my rfkill button in order to get a working interface.
BUT I HAVE NO RFKILL BUTTON...
Comment 3 Axel Dyks 2008-12-18 15:01:31 UTC
(In reply to comment #2)
> I confirm that vanilla-sources-2.6.27.9 dos not show crashes but I get another
> problem: The new driver sais I should toglle my rfkill button in order to 
> get a working interface.
> BUT I HAVE NO RFKILL BUTTON...

Can you please attach dmesg output from kernel 2.6.27.9?

Does yourr ethernet interface work?

Is it possible to bring the wireless interface up by using
software, i. e. iwconfig?
Comment 4 Ulf Dambacher 2008-12-19 16:32:46 UTC
I hacked b43legacy to ignore the hardware button reading and always return on in rfkill.c.
After that, I was able to scan my network and assosicate with my ap.

But whatever I did, the interface did not receive any packets, neither with dhclient or with manual ip setup.

And yes, b44 works correctly

dmesg output follows

/ulf
Comment 5 Ulf Dambacher 2008-12-19 16:43:11 UTC
Created attachment 175886 [details]
dmesg output of session 

this is a hacked b43legacy to ignore the hardware rfkill hardware button setting!!

can load and unload module without hangs and crashes multiple times
can turn on card
can scan network
can associate with ap using wep encryption

can not get dhcp lease
can set up ip manual using ifconfig
try ping i see tx packets but no rx packets - destination unreachable
checked ip adress,broadcast etc. multiple times but they are correct!!
Comment 6 Axel Dyks 2008-12-19 20:50:54 UTC
Anyway, the original problem (hang on boot) seems to be gone with latest 2.6.27 kernel. So I'll close this bug.

Please open a new/separate bug for the other problem, e. g. b43legacy driver
assumes there is a hardware radio switch although there is none.

For the strategy will be to push this bug upstream (kernel.org), please use
vanilla sources 2.6.27.10 to produce the problem and (for now) do not hack
the driver. :-)
Attach your kernel config, dmesg and lspci output to the bug.

Also state on the (new) bug which has been the latest kernel version
that worked for you.

Finally you should check, if the problem persist with latest 2.6.28-rc
sources, because you'll be asked to do so, when taking the bug upstream. :-)

Thanks
Comment 7 Ulf Dambacher 2008-12-20 17:23:32 UTC
closing this bug is ok, but the b43legacy driver still does not work for me

As I started hacking and its holiday time,
i subscribed to b43xx-dev and will try to fix this with the developers directly.
I will send an update here if it works again.

thanks
Ulf
Comment 8 George Kadianakis (RETIRED) gentoo-dev 2008-12-20 17:43:54 UTC
For anyone else who finds the rfkill bug interesting and wants to follow the updates on the bcm43xx-dev mailing list, I'm giving you the links for the appropriate threads:

https://lists.berlios.de/pipermail/bcm43xx-dev/2008-December/008424.html
https://lists.berlios.de/pipermail/bcm43xx-dev/2008-December/008425.html
Comment 9 Axel Dyks 2008-12-20 19:18:28 UTC
(In reply to comment #7)
> closing this bug is ok, but the b43legacy driver still does not work for me
> 
> As I started hacking and its holiday time,
> i subscribed to b43xx-dev and will try to fix this with the developers
> directly.
> I will send an update here if it works again.

Thanks. Though feel free to file the bug right away.
After all it's obviously a kernel regression.