Skip to contentSkip to conversation

brcmsmac crashed 3.3-rc5 kernel

DISCUSSION Helmut Jarausch 2 participants 2 messages Mar 1, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

on an HP625 I have the following device

06:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/ n Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:145c] Kernel driver in use: bcma-pci-bridge

This device isn't recognized by the brcmfmac driver but only by the brcmsfac driver.

My kernel configuration is

# Broadcom specific AMBA
#
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
CONFIG_BCMA_HOST_PCI=y
# CONFIG_BCMA_DEBUG is not set

# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
CONFIG_BRCMUTIL=m
CONFIG_BRCMSMAC=m
# CONFIG_BRCMFMAC is not set
CONFIG_BRCMDBG=y

CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
CONFIG_CFG80211_DEVELOPER_WARNINGS=y
CONFIG_CFG80211_REG_DEBUG=y
CONFIG_CFG80211_DEFAULT_PS=y

CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y

The device is recognized :
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

but doing /etc/init.d/net.wlan0 start
crashes the kernel - even <Ctrl><Alt><Shift><SysRq> doesn't work anymore. I've tried strace, but the output file doesn't get closed so it's missing after reboot.

Any help is very much appreciated.

P.S. the GRML64 live CD system does work on that hardware but it uses a 3.1 kernel and a staging driver.

Since I'd like to use BTRFS I'd like to use a 3.3 kernel. Helmut.

#1 lore raw
Quoted 4 lines · Helmut Jarausch

Hi,

on an HP625 I have the following device

Quoted 8 lines

06:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/ n Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:145c] Kernel driver in use: bcma-pci-bridge

This device isn't recognized by the brcmfmac driver but only by the brcmsfac driver.

That is expected. brcmfmac is support sdio/usb cards. brcmsmac is used for bcm4313 card.

Quoted 9 lines

My kernel configuration is

# Broadcom specific AMBA
#
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
CONFIG_BCMA_HOST_PCI=y
# CONFIG_BCMA_DEBUG is not set

Quoted 7 lines

# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
CONFIG_BRCMUTIL=m
CONFIG_BRCMSMAC=m
# CONFIG_BRCMFMAC is not set
CONFIG_BRCMDBG=y

looks ok.

Quoted 5 lines

but doing /etc/init.d/net.wlan0 start
crashes the kernel - even<Ctrl><Alt><Shift><SysRq> doesn't work anymore.
I've tried strace, but the output file doesn't get closed so it's missing after reboot.

You could try some kernel hacking features. Some can help to get some vital info on screen.

Quoted 7 lines

Any help is very much appreciated.

P.S. the GRML64 live CD system does work on that hardware but it uses a 3.1 kernel and a staging driver.

Since I'd like to use BTRFS I'd like to use a 3.3 kernel. Helmut.

Some more details would certainly increase my ability to help you.

Gr. AvS