Bug 7636 - 2.6.19 breaks airport hardware?
Summary: 2.6.19 breaks airport hardware?
Status: REJECTED INVALID
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-32 (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: platform_ppc-32
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 09:41 UTC by Stefan de Konink
Modified: 2007-12-25 04:53 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.19-gentoo-r1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Stefan de Konink 2006-12-05 09:41:58 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.18-r3
Distribution: Gentoo
Hardware Environment: iBook G4
Software Environment: Any
Problem Description:

After I upgraded to this kernel version my airport broke entierely inside Mac
OSX. Resulting in a kernel panics on OSX, OpenFirmware illegal instructions,
etc.. I'll post the same error on the gentoo bugzilla for this incident. It
could be completely coincidental, but better safe than sorry. 

Steps to reproduce:

Upgrade to 2.6.19-gentoo-r1, boot back to OSX, get iBook to sleep. *death*. In
order to get it to boot again I resetted te logicboard by Fn-Power, I could boot
back in Linux and safe my data. 

The MacOSX crash is easy reproduced. If the airport is on, the system will
crash. If you turn the airport on the system crashes.



Again, I'm not entirely sure if the kernel upgrade caused this. But before I'm
going to send my iBook for repair I want to make sure this isn't some (bug) in
Linux, doing something nasty with the hardware.

http://bugs.gentoo.org/show_bug.cgi?id=157243
Comment 1 Chris Wedgwood 2006-12-05 10:05:00 UTC
I would call this a bug with the OS X drivers.
Comment 2 Stefan de Konink 2006-12-05 10:20:15 UTC
The guys at two different independent Mac-shops said it sounded like a hardware
issue. As I mentioned if this bug was triggered by Linux because of the bcm43xx
driver, it would be foolish to ignore the knowledge, get a hardware replacement
(& two weeks without an iBook), and break it again.

I'm going to see if it can be fixed with software or if there is any mac
diagnostics that can access the device without drivers.
Comment 3 John W. Linville 2006-12-05 11:01:33 UTC
Does the device still work in Linux?  Or is broken there too?
Comment 4 Stefan de Konink 2006-12-05 11:19:46 UTC
It did never worked with Linux in a stable way. Using 2.6.9 (iirc) I could ping,
but not much more. This is know by the bcm43xx developers. (Because they did not
implement the signal strength code.)

I found out that I'm not alone the last days with the *same* issue in OSX.
http://forums.macosxhints.com/showthread.php?p=337100

Now I guess it has nothing to do with the Linux upgrade. But the amount of
people with the same problems (including the same security updates) makes one
wonder how this update ever passed the quality tests.

Should I put this bug under Invalid or Documented?
Comment 5 John W. Linville 2006-12-05 11:29:32 UTC
Sounds like you have 4318 hardware, which is known to be unsupported with 
current Linux drivers.

Anyway, this does not seem to be a Linux problem.  Good luck in your dealings 
with Apple's hardware support.
Comment 6 Stefan de Konink 2006-12-13 13:03:11 UTC
Using the *latest* Apple Firware in bcm43xx-fwcutter:

bcm43xx driver
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: bcm43xx firmware_class ieee80211softmac ieee80211 ieee80211_c
rypt nls_utf8 hfsplus stv680 compat_ioctl32 videodev v4l1_compat v4l2_common rad
eon drm ipv6 snd_pcm_oss snd_mixer_oss snd_powermac eth1394 appletouch usbhid sn
d_aoa_i2sbus snd_pcm snd_timer snd_page_alloc ehci_hcd ohci_hcd ohci1394 snd usb
core ieee1394 uninorth_agp sungem sungem_phy evdev agpgart soundcore snd_aoa_sou
ndbus
NIP: F2806014 LR: F2805FF8 CTR: C001F9B8
REGS: cb349ca0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 22004482  XER: 20000000
TASK = cc4198d0[14669] 'modprobe' THREAD: cb348000
GPR00: F1074FFC CB349D50 CC4198D0 00000000 00040080 00000090 00000080 CB349CF8 
GPR08: 00000000 F1074000 FD67A000 00000000 82004448 1001E4E4 0000001A F24F9B6C 
GPR16: EFFDFD80 F24E4F4C F282DE08 00000124 00000000 F24E4A58 F24E4F9C C004C410 
GPR24: F24C2000 C0AEAC00 FFFF4039 DDA02000 00000000 22004482 DDA02D54 DDA02000 
NIP [F2806014] bcm43xx_init_one+0x3b0/0x1678 [bcm43xx]
LR [F2805FF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx]
Call Trace:
[CB349D50] [F2805FF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx] (unreliable)
[CB349DB0] [C010978C] pci_device_probe+0x84/0xa4
[CB349DD0] [C01630D8] really_probe+0x54/0x13c
[CB349DF0] [C0163430] __driver_attach+0xcc/0xf8
[CB349E10] [C0162480] bus_for_each_dev+0x58/0x94
[CB349E40] [C0162FA0] driver_attach+0x24/0x34
[CB349E50] [C01628D4] bus_add_driver+0x88/0x1b4
[CB349E70] [C01636D4] driver_register+0x68/0xb0
[CB349E80] [C0109594] __pci_register_driver+0x68/0xbc
[CB349E90] [F1015030] bcm43xx_init+0x30/0xa0 [bcm43xx]
[CB349EA0] [C004D394] sys_init_module+0x170/0x15a0
[CB349F40] [C0012780] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff3f0cc
    LR = 0x10003634
Instruction dump:
7fc3f378 38800000 939e03a0 939e0128 4bffd0d9 7c7c1b79 7fa00026 40820318 
813e0014 38090ffc 7c0004ac 7f40042c <0c1a0000> 4c00012c 5758e53e 5756073e 
 
bcm43xx driver
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: bcm43xx firmware_class ieee80211softmac ieee80211 ieee80211_c
rypt nls_utf8 hfsplus stv680 compat_ioctl32 videodev v4l1_compat v4l2_common rad
eon drm ipv6 snd_pcm_oss snd_mixer_oss snd_powermac eth1394 appletouch usbhid sn
d_aoa_i2sbus snd_pcm snd_timer snd_page_alloc ehci_hcd ohci_hcd ohci1394 snd usb
core ieee1394 uninorth_agp sungem sungem_phy evdev agpgart soundcore snd_aoa_sou
ndbus
NIP: F2806014 LR: F2805FF8 CTR: C001F9B8
REGS: cb349ca0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 22004482  XER: 20000000
TASK = cc4198d0[14669] 'modprobe' THREAD: cb348000
GPR00: F1074FFC CB349D50 CC4198D0 00000000 00040080 00000090 00000080 CB349CF8 
GPR08: 00000000 F1074000 FD67A000 00000000 82004448 1001E4E4 0000001A F24F9B6C 
GPR16: EFFDFD80 F24E4F4C F282DE08 00000124 00000000 F24E4A58 F24E4F9C C004C410 
GPR24: F24C2000 C0AEAC00 FFFF4039 DDA02000 00000000 22004482 DDA02D54 DDA02000 
NIP [F2806014] bcm43xx_init_one+0x3b0/0x1678 [bcm43xx]
LR [F2805FF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx]
Call Trace:
[CB349D50] [F2805FF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx] (unreliable)
[CB349DB0] [C010978C] pci_device_probe+0x84/0xa4
[CB349DD0] [C01630D8] really_probe+0x54/0x13c
[CB349DF0] [C0163430] __driver_attach+0xcc/0xf8
[CB349E10] [C0162480] bus_for_each_dev+0x58/0x94
[CB349E40] [C0162FA0] driver_attach+0x24/0x34
[CB349E50] [C01628D4] bus_add_driver+0x88/0x1b4
[CB349E70] [C01636D4] driver_register+0x68/0xb0
[CB349E80] [C0109594] __pci_register_driver+0x68/0xbc
[CB349E90] [F1015030] bcm43xx_init+0x30/0xa0 [bcm43xx]
[CB349EA0] [C004D394] sys_init_module+0x170/0x15a0
[CB349F40] [C0012780] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff3f0cc
    LR = 0x10003634
Instruction dump:
7fc3f378 38800000 939e03a0 939e0128 4bffd0d9 7c7c1b79 7fa00026 40820318 
813e0014 38090ffc 7c0004ac 7f40042c <0c1a0000> 4c00012c 5758e53e 5756073e 
 

I leave this bug as invalid. But from an objective look, would this be hardware
or an firmware that is broken?
Comment 7 Stefan de Konink 2006-12-13 13:17:29 UTC
bcm43xx driver
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: bcm43xx firmware_class ieee80211softmac ieee80211
ieee80211_crypt snd_aoa_i2sbus ohci1394 snd_pcm snd_timer ieee1394
snd_page_alloc snd uninorth_agp soundcore agpgart ehci_hcd ohci_hcd
snd_aoa_soundbus usbcore evdev sungem sungem_phy
NIP: F24D0014 LR: F24CFFF8 CTR: C001F9B8
REGS: ef78bca0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 22004482  XER: 20000000
TASK = cfd60c90[1601] 'modpbcm43xx driver
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: bcm43xx firmware_class ieee80211softmac ieee80211
ieee80211_crypt snd_aoa_i2sbus ohci1394 snd_pcm snd_timer ieee1394
snd_page_alloc snd uninorth_agp soundcore agpgart ehci_hcd ohci_hcd
snd_aoa_soundbus usbcore evdev sungem sungem_phy
NIP: F24D0014 LR: F24CFFF8 CTR: C001F9B8
REGS: ef78bca0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 22004482  XER: 20000000
TASK = cfd60c90[1601] 'modprobe' THREAD: ef78a000
GPR00: F21E4FFC EF78BD50 CFD60C90 00000000 00040080 00000090 00000080 EF78BCF8 
GPR08: 00000000 F21E4000 FD67A000 00000000 24004422 1001E4E4 0000001A F2442B6C 
GPR16: EE8F2760 F242DF4C F24F7E08 00000124 00000000 F242DA58 F242DF9C C004C410 
GPR24: F240B000 C0AEAC00 00000000 EE626000 00000000 22004482 EE626D54 EE626000 
NIP [F24D0014] bcm43xx_init_one+0x3b0/0x1678 [bcm43bcm43xx driver
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: bcm43xx firmware_class ieee80211softmac ieee80211
ieee80211_crypt snd_aoa_i2sbus ohci1394 snd_pcm snd_timer ieee1394
snd_page_alloc snd uninorth_agp soundcore agpgart ehci_hcd ohci_hcd
snd_aoa_soundbus usbcore evdev sungem sungem_phy
NIP: F24D0014 LR: F24CFFF8 CTR: C001F9B8
REGS: ef78bca0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 22004482  XER: 20000000
TASK = cfd60c90[1601] 'modprobe' THREAD: ef78a000
GPR00: F21E4FFC EF78BD50 CFD60C90 00000000 00040080 00000090 00000080 EF78BCF8 
GPR08: 00000000 F21E4000 FD67A000 00000000 24004422 1001E4E4 0000001A F2442B6C 
GPR16: EE8F2760 F242DF4C F24F7E08 00000124 00000000 F242DA58 F242DF9C C004C410 
GPR24: F240B000 C0AEAC00 00000000 EE626000 00000000 22004482 EE626D54 EE626000 
NIP [F24D0014] bcm43xx_init_one+0x3b0/0x1678 [bcm43xx]
LR [F24CFFF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx]
Call Trace:
xx]
LR [F24CFFF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx]
Call Trace:
zrobe' THREAD: ef78a000
GPR00: F21E4FFC EF78BD50 CFD60C90 00000000 00040080 00000090 00000080 EF78BCF8 
GPR08: 00000000 F21E4000 FD67A000 00000000 24004422 1001E4E4 0000001A F2442B6C 
GPR16: EE8F2760 F242DF4C F24F7E08 00000124 00000000 F242DA58 F242DF9C C004C410 
GPR24: F240B000 C0AEAC00 00000000 EE626000 00000000 22004482 EE626D54 EE626000 
NIP [F24D0014] bcm43xx_init_one+0x3b0/0x1678 [bcm43xx]
LR [F24CFFF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx]
Call Trace:
[EF78BD50] [F24CFFF8] bcm43xx_init_one+0x394/0x1678 [bcm43xx] (unreliable)
[EF78BDB0] [C010978C] pci_device_probe+0x84/0xa4
[EF78BDD0] [C01630D8] really_probe+0x54/0x13c
[EF78BDF0] [C0163430] __driver_attach+0xcc/0xf8
[EF78BE10] [C0162480] bus_for_each_dev+0x58/0x94
[EF78BE40] [C0162FA0] driver_attach+0x24/0x34
[EF78BE50] [C01628D4] bus_add_driver+0x88/0x1b4
[EF78BE70] [C01636D4] driver_register+0x68/0xb0
[EF78BE80] [C0109594] __pci_register_driver+0x68/0xbc
[EF78BE90] [F107C030] bcm43xx_init+0x30/0xa0 [bcm43xx]
[EF78BEA0] [C004D394] sys_init_module+0x170/0x15a0
[EF78BF40] [C0012780] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff3f0cc
    LR = 0x10003634
Instruction dump:
7fc3f378 38800000 939e03a0 939e0128 4bffd0d9 7c7c1b79 7fa00026 40820318 
813e0014 38090ffc 7c0004ac 7f40042c <0c1a0000> 4c00012c 5758e53e 5756073e 


And this one is with an 'old' firmware file... so we can conclude we can break
Linux too...
Comment 8 Stefan de Konink 2006-12-13 13:47:31 UTC
Ok, I removed power etc. I didn't have the 'problem' when inserting the kernel
module. But ifconfig eth0 up resulted in a 'Bus Error' again:

SoftMAC: ASSERTION FAILED (0) at: net/ieee80211/softmac/ieee80211softmac_wx.c:30
6:ieee80211softmac_wx_get_rate()
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]

Modules linked in: radeon drm ipv6 snd_pcm_oss snd_mixer_oss snd_powermac applet
ouch usbhid eth1394 bcm43xx firmware_class ieee80211softmac ieee80211 ieee80211_
crypt snd_aoa_i2sbus snd_pcm snd_timer snd_page_alloc snd ohci1394 ehci_hcd unin
orth_agp ieee1394 ohci_hcd agpgart soundcore usbcore sungem evdev sungem_phy snd
_aoa_soundbus
NIP: F24DFDF0 LR: F24E01E0 CTR: C001F9B8
REGS: e7417cc0 TRAP: 0200   Not tainted  (2.6.19-gentoo-r1)
MSR: 00149030 <EE,ME,IR,DR>  CR: 44002424  XER: 20000000
TASK = eeb99410[6697] 'ifconfig' THREAD: e7416000
GPR00: 0000000D E7417D70 EEB99410 EE054D54 00000001 00000090 00000080 E7417D48 
GPR08: 00000002 F21FC000 FD67A000 4FF2A03C 24002424 10026B38 1001E624 10020000 
GPR16: 1001E5B8 00000000 10020000 10020000 1001E5B8 EE054000 E7417E58 FFFF8914 
GPR24: 00000000 7FFE68AC 00000000 00000000 EE054D6C 00000001 00000001 EE054D54 
NIP [F24DFDF0] bcm43xx_pctl_clockfreqlimit+0x150/0x3ec [bcm43xx]
LR [F24E01E0] bcm43xx_pctl_init+0x68/0x10c [bcm43xx]
Call Trace:
[E7417D70] [F24CD13C] _switch_core+0x70/0x104 [bcm43xx] (unreliable)
[E7417DB0] [F24E01E0] bcm43xx_pctl_init+0x68/0x10c [bcm43xx]
[E7417DD0] [F24CF340] bcm43xx_init_board+0x80/0x140 [bcm43xx]
[E7417DF0] [C01A5008] dev_open+0x78/0xcc
[E7417E10] [C01A3000] dev_change_flags+0x13c/0x168
[E7417E30] [C01E7478] devinet_ioctl+0x5bc/0x71c
[E7417EA0] [C01E7BF0] inet_ioctl+0xb0/0xdc
[E7417EB0] [C01978B8] sock_ioctl+0x14c/0x268
[E7417ED0] [C00846AC] do_ioctl+0x38/0x84
[E7417EE0] [C008477C] vfs_ioctl+0x84/0x3d8
[E7417F10] [C0084B10] sys_ioctl+0x40/0x74
[E7417F40] [C0012780] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff69e68
    LR = 0xffea84c
Instruction dump:
7c0803a6 7c63fbd6 bb410028 38210040 4e800020 2b800009 3bc00001 40bdff28 
813f0014 396900c0 7c0004ac 7d605c2c <0c0b0000> 4c00012c 2e1e0001 556b93ba 
Comment 9 Stefan de Konink 2006-12-13 13:55:19 UTC
*Nothing changed* rebooted. Now bcm43xx is eth0... I can do iwconfig up. And
only get the 'default' error message.

bcm43xx: PHY connected
firmware_loading_store: unexpected value (0)
bcm43xx: Error: PCM "bcm43xx_pcm5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: InitVals (bcm43xx_initvalXX.fw) file-format error. Please fix your bcm4
3xx firmware files.
bcm43xx: core_up for active 802.11 core failed (-71)
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm4
3xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm4
3xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm4
3xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm4
3xx/bcm43xx_phy.c:1496:bcm43xx_find_lopair()
bcm43xx: Radio turned off
bcm43xx: DMA-32 0x0200 (RX) max used slots: 0/64
bcm43xx: DMA-32 0x02A0 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0220 (TX) max used slots: 0/512
bcm43xx: DMA-32 0x0200 (TX) max used slots: 0/512
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: InitVals (bcm43xx_initvalXX.fw) file-format error. Please fix your bcm4
3xx firmware files.
bcm43xx: core_up for active 802.11 core failed (-71)
Comment 10 Stefan de Konink 2007-12-25 04:53:05 UTC
aka broken hardware

Note You need to log in before you can comment on or make changes to this bug.