LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-14-2007, 11:12 AM   #1
glhere
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0
choosing bcm43xx versions in FC7


need more info:
[I realize queries for this card are posted all over the place -- hope this helps FC7 users]

laptop
FC7
PCMCIA Broadcom (bcm4306) card

kernel: 2.6.22.1-41.fc7
kernel-development files for that kernel updated

Process start:
instructions for install of card include (see http://forums.fedoraforum.org/forum/...php?t=156282):
yum update bcm43xx-cutter
download, cut newer bcm43xx driver (v 4)

Results:
unable to detect the device using Network Configuration tool (Broadcom hardware was detected after doing a modprobe -- modprobe done as nothing else working)

see other results/details below


Other actions:
Trying different devices in the Network Configuration tool list did nothing (devices were reported as >not present<)

Setting SELinux to permissive level did nothing: in FC5 had to disable SELinux to get the card to work.

Adding alias eth1 to modprobe.config did nothing :]

etc. :P

Question:
webpages warning was to use the updated driver (v 4), so did. Since then I have found a bug note indicating I should blacklist the (current) kernel bcm43xx and use the bcm43xx-80211 driver.

There is conflicting info indicating the installation I used should work for my card, but both the method I used and the blacklisting method can be found on:
http://forums.fedoraforum.org/forum/...d.php?t=156282

see also http://fcp.surfsite.org/modules/newb...orumpost193998

I am confused -- dun know how to >undo< a blacklisting should this tactic not work.

Advice on module versions (and on methods for adding and removing) would be appreciated



More details about this installation:
# /sbin/lspci | grep Broadcom
02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

# /sbin/lsmod | grep ipw
[nothing is reported]

# /sbin/iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Retry min limit:7 RTS thrff Fragment thr=2346 B
Encryption keyff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

# /sbin/ifconfig eth1
eth1: error fetching interface information: Device not found

# yum search iwlwifi
[nothing]

Post a (failed) hibernation, found the following snippets about the broadcom in dmesg: no mention of eth1 (just eth0):
# dmesg
...
bcm43xx-phy0: Broadcom 4306 WLAN found
ssb: Switching to IEEE 802.11 core, index 1
bcm43xx-phy0 debug: Found PHY: Analog 2, Type 2, Revision 2
bcm43xx-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
bcm43xx-phy0 debug: Radio turned off
...
bcm43xx_mac80211 ssb0:0: resuming
bcm43xx-phy0 debug: Resuming...
bcm43xx-phy0 debug: Device resumed.
ssb ssb0:1: resuming
...

# /sbin/iplink
no such command

# /sbin/iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 Interface doesn't support scanning : Network is down

# /sbin/pccardctl ls
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:02:00.0)
Socket 1 Bridge: [yenta_cardbus] (bus ID: 0000:02:00.1)

# /sbin/ifconfig eth1
eth1: error fetching interface information: Device not found


Thanks in advice for any advice/info
 
Old 08-14-2007, 11:38 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Blacklisting means just adding the module name into a file that is read during boot. If the system finds a module name in the file that otherwise should be lodaed, it doesn't load it. Remove the module name from the blacklist file, and next reboot it's loaded again (or do modprobe to load it manually).

NDISwrapper works for bcm43xx also, but maybe FWcutter is better (just cut the pieces you need from a non-native driver). Choosing the correct driver to cut is the only crucial place here.
 
Old 08-14-2007, 12:43 PM   #3
glhere
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
bcm43xx + FC5

Quote:
Originally Posted by b0uncer View Post
Blacklisting means just adding the module name into a file that is read during boot. If the system finds a module name in the file that otherwise should be lodaed, it doesn't load it. Remove the module name from the blacklist file, and next reboot it's loaded again (or do modprobe to load it manually).
Thanks for reply -- I did the blacklisting

Quote:
NDISwrapper works for bcm43xx also, but maybe FWcutter is better (just cut the pieces you need from a non-native driver). Choosing the correct driver to cut is the only crucial place here.
Yes, I have already used the cutter -- it worked on FC5, but not on FC7...am trying to find work-arounds (using blacklist is one of the work-arounds) -- as others are, am getting really frustrated -- hoping the blacklisting works


Note: blacklisting (per instructions below) was done so I could try to find the broadcom device in the Network Configuration tool and get wireless running

Procedure:
Installation of newer driver per instructions http://fcp.surfsite.org/modules/new...&post_id=166437

echo 'blacklist bcm43xx' >> /etc/modprobe.d/blacklist
modprobe -r bcm43xx
modprobe -r ieee80211softmac
modprobe -r ieee80211_crypt
modprobe -r ieee80211
modprobe -r bcm43xx_mac80211
modprobe bcm43xx_mac80211

enable System->Administrator->Services: NetworkManager and NetworkManagerDispatcher


Result:
1. Network Configuration tool was >un<able to activate eth0 (previously activated under older bcm43xx driver) for several minutes, then connection immediately drops (even tho the network manager indicates the connection is live).

2. No wireless
Unable to find broadcom in list of Network Configuration Tool list of devices
(Note: broadcom is listed in the Network Configuration Tool list of Hardware)

3. Disabling the NetworkManager and NetworkManager Dispatcher and reboot the wired connection was back; Network Configuration Tool device tab: broadcom bcm4306 still not on list; dmesg no mention of eth1 and this message appeared:

PCI: Transparent bridge - 0000:00:1e.0
PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
PCI: Bus #07 (-#0a) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
which probably relates to a different situation...another post.



System details below were found before rebooting, before disabling the NetworkManager and NetworkManagerDispatcher


Any info would Really be appreciated.



[dmesg snippet(s)]
# dmesg
...
bcm43xx-phy0: Broadcom 4306 WLAN found
ssb: Switching to IEEE 802.11 core, index 1
bcm43xx-phy0 debug: Found PHY: Analog 2, Type 2, Revision 2
bcm43xx-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
bcm43xx-phy0 debug: Radio turned off
...
bcm43xx-phy0 debug: Adding Interface type 2
ssb: Switching to PCI core, index 4
ssb: Switching to IEEE 802.11 core, index 1
bcm43xx-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
ssb: Switching to ChipCommon core, index 0
ssb: Switching to IEEE 802.11 core, index 1
bcm43xx-phy0 debug: Radio turned on
bcm43xx-phy0 debug: Radio enabled by hardware
bcm43xx-phy0 debug: bbatt(11) >= size of LO array
[<d0adcebe>] bcm43xx_get_lo_g_ctl+0x63/0xa1 [bcm43xx_mac80211]
[<d0adcf2e>] bcm43xx_lo_g_ctl_current+0x32/0x35 [bcm43xx_mac80211]
[<d0add014>] bcm43xx_lo_g_adjust+0x8/0x12 [bcm43xx_mac80211]
[<d0ad7a5b>] bcm43xx_phy_init_pctl+0x2ed/0x603 [bcm43xx_mac80211]
[<d0ad253b>] bcm43xx_phy_write+0x5f/0x67 [bcm43xx_mac80211]
[<d0adaadb>] bcm43xx_phy_initg+0xbdd/0xc3f [bcm43xx_mac80211]
[<c042eb6a>] msleep+0xd/0x12
[<d0adb268>] bcm43xx_phy_init+0x518/0x53c [bcm43xx_mac80211]
[<d0acf9e4>] bcm43xx_chip_init+0x64f/0x92e [bcm43xx_mac80211]
[<d0acfedd>] bcm43xx_wireless_core_init+0x21a/0x6a0 [bcm43xx_mac80211]
[<d0ad0eb9>] bcm43xx_add_interface+0x5a/0xe5 [bcm43xx_mac80211]
[<d09b40e2>] ieee80211_open+0x1fe/0x306 [mac80211]
[<c05ab5e5>] dev_open+0x2e/0x68
[<c05aa0b7>] dev_change_flags+0x4c/0xfa
[<c05b1f6c>] rtnl_setlink+0x28a/0x395
[<c05b1ce2>] rtnl_setlink+0x0/0x395
[<c05b1655>] rtnetlink_rcv_msg+0x1a1/0x1bb
[<c05bdb12>] netlink_run_queue+0x5c/0xd2
[<c05b14b4>] rtnetlink_rcv_msg+0x0/0x1bb
[<c05b1473>] rtnetlink_rcv+0x25/0x3d
[<c05bdf85>] netlink_data_ready+0x12/0x4c
[<c05bcf51>] netlink_sendskb+0x19/0x30
[<c05bdf67>] netlink_sendmsg+0x274/0x280
[<c05a0eed>] sock_sendmsg+0xd0/0xeb
[<c0436fad>] autoremove_wake_function+0x0/0x35
[<c0436fad>] autoremove_wake_function+0x0/0x35
[<c04ec2f8>] copy_from_user+0x32/0x5e
[<c05a109a>] sys_sendmsg+0x192/0x1f7
[<c05a1b9f>] sys_recvmsg+0x148/0x1d0
[<c0461c6e>] activate_page+0x61/0x7e
[<c0461df4>] mark_page_accessed+0x1c/0x30
[<c045de0c>] filemap_nopage+0x184/0x2a9
[<c05a1ec5>] sys_getsockname+0x86/0xb0
[<c0467527>] __handle_mm_fault+0x350/0x8b8
[<c05a2300>] sys_socketcall+0x240/0x261
[<c0404f8e>] syscall_call+0x7/0xb
[<c0600000>] xfrm_add_sa+0x3e7/0x491
=======================
bcm43xx-phy0 debug: Chip initialized
bcm43xx-phy0 debug: 30-bit DMA initialized
irq 9: nobody cared (try booting with the "irqpoll" option)
[<c0454942>] __report_bad_irq+0x36/0x75
[<c0454b2f>] note_interrupt+0x1ae/0x1eb
[<c045408a>] handle_IRQ_event+0x1a/0x3f
[<c045545e>] handle_level_irq+0x95/0xc7
[<c04553c9>] handle_level_irq+0x0/0xc7
[<c04071f7>] do_IRQ+0xac/0xd1
[<c040592b>] common_interrupt+0x23/0x28
[<c042be44>] __do_softirq+0x54/0xc1
[<c04070f3>] do_softirq+0x59/0xb1
[<c04553c9>] handle_level_irq+0x0/0xc7
[<c042bd0c>] irq_exit+0x38/0x6b
[<c0407208>] do_IRQ+0xbd/0xd1
[<c040592b>] common_interrupt+0x23/0x28
[<c04500d8>] audit_free_parent+0x47/0x4c
[<d09d61a1>] ssb_pci_read32+0x23/0x28 [ssb]
[<d0acde6f>] bcm43xx_mac_enable+0x59/0xab [bcm43xx_mac80211]
[<d0ad19c8>] bcm43xx_interrupt_handler+0x0/0x243 [bcm43xx_mac80211]
[<c04547fa>] request_irq+0x7c/0x98
[<d0ace520>] bcm43xx_wireless_core_start+0xde/0x156 [bcm43xx_mac80211]
[<d0ad0ed4>] bcm43xx_add_interface+0x75/0xe5 [bcm43xx_mac80211]
[<d09b40e2>] ieee80211_open+0x1fe/0x306 [mac80211]
[<c05ab5e5>] dev_open+0x2e/0x68
[<c05aa0b7>] dev_change_flags+0x4c/0xfa
[<c05b1f6c>] rtnl_setlink+0x28a/0x395
[<c05b1ce2>] rtnl_setlink+0x0/0x395
[<c05b1655>] rtnetlink_rcv_msg+0x1a1/0x1bb
[<c05bdb12>] netlink_run_queue+0x5c/0xd2
[<c05b14b4>] rtnetlink_rcv_msg+0x0/0x1bb
[<c05b1473>] rtnetlink_rcv+0x25/0x3d
[<c05bdf85>] netlink_data_ready+0x12/0x4c
[<c05bcf51>] netlink_sendskb+0x19/0x30
[<c05bdf67>] netlink_sendmsg+0x274/0x280
[<c05a0eed>] sock_sendmsg+0xd0/0xeb
[<c0436fad>] autoremove_wake_function+0x0/0x35
[<c0436fad>] autoremove_wake_function+0x0/0x35
[<c04ec2f8>] copy_from_user+0x32/0x5e
[<c05a109a>] sys_sendmsg+0x192/0x1f7
[<c05a1b9f>] sys_recvmsg+0x148/0x1d0
[<c0461c6e>] activate_page+0x61/0x7e
[<c0461df4>] mark_page_accessed+0x1c/0x30
[<c045de0c>] filemap_nopage+0x184/0x2a9
[<c05a1ec5>] sys_getsockname+0x86/0xb0
[<c0467527>] __handle_mm_fault+0x350/0x8b8
[<c05a2300>] sys_socketcall+0x240/0x261
[<c0404f8e>] syscall_call+0x7/0xb
[<c0600000>] xfrm_add_sa+0x3e7/0x491
=======================
handlers:
[<c050dd23>] (acpi_irq+0x0/0x14)
[<c0567098>] (yenta_interrupt+0x0/0xb4)
[<c0567098>] (yenta_interrupt+0x0/0xb4)
[<c056bdfd>] (usb_hcd_irq+0x0/0x4e)
[<c056bdfd>] (usb_hcd_irq+0x0/0x4e)
[<c056bdfd>] (usb_hcd_irq+0x0/0x4e)
[<c056bdfd>] (usb_hcd_irq+0x0/0x4e)
[<d09858ae>] (irq_handler+0x0/0x19c [firewire_ohci])
[<d0a4d014>] (snd_intel8x0_interrupt+0x0/0x1e2 [snd_intel8x0])
[<d0a55fbf>] (snd_intel8x0_interrupt+0x0/0x1a3 [snd_intel8x0m])
[<d097b7c1>] (rtl8139_interrupt+0x0/0x3cb [8139too])
[<d0ad19c8>] (bcm43xx_interrupt_handler+0x0/0x243 [bcm43xx_mac80211])
Disabling IRQ #9
bcm43xx-phy0 debug: Wireless interface started
ADDRCONF(NETDEV_UP): wlan0: link is not ready
...

[lspci snippet(s)]
# lspci
...
02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
02:04.0 USB Controller: NEC Corporation USB (rev 43)
02:04.1 USB Controller: NEC Corporation USB (rev 43)
02:04.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
...


[iwconfig snippet(s)]
$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry min limit:7 RTS thrff Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Last edited by glhere; 08-14-2007 at 05:00 PM. Reason: update
 
  


Reply

Tags
bcm43xx, fc7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BCM43XX fails, ndiswrapper works, want BCM43XX Shadow_7 Linux - Wireless Networking 9 01-27-2013 08:11 AM
wireless. bcm43xx cwwilson721 Slackware 10 01-14-2007 08:43 AM
bcm43xx jelgavchik Linux - Hardware 1 11-26-2006 01:37 PM
blacklisting bcm43xx BCarey Slackware 2 09-26-2006 11:01 PM
gcc versions compatibility with kernel versions.. mahesh_manthapuri Suse/Novell 1 03-22-2006 12:28 AM


All times are GMT -5. The time now is 01:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration