public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] trouble with bcm43xx
@ 2006-07-26  2:00 Allan Gottlieb
  2006-07-26  7:36 ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: Allan Gottlieb @ 2006-07-26  2:00 UTC (permalink / raw
  To: gentoo-user

I followed the instructions from the forum (listed below)
I built the driver and networking code as modules as specified.
(I also tried building them into the kernel with essentially the same
bad results).

I would appreciate any help.  Details follow.
allan

The guide recommended wl_apsta.o for firmware, but that failed the
bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
with.

The modprobe of bcm43xx worked and lsmod showed the driver, the
network code and the cryptographic code.  I then added bcm43xx to the
appropriate modules.autoload.

In either case (manual modprobe or modules.autoload)
/etc/init.d/net.eth1 failed as follows

    ajglap gottlieb # /etc/init.d/net.eth1 start
     * Starting eth1
     *   Configuring wireless network for eth1
     *   Failed to configure wireless for eth1             [ !! ]

I ran dmesg both before and after the /etc/init.d/net.eth1 start

The new material from dmesg was

    bcm43xx: PHY connected
    bcm43xx: PHY disconnected
    bcm43xx: PHY connected
    bcm43xx: Radio turned on
    bcm43xx: Chip initialized
    bcm43xx: DMA initialized
    bcm43xx: PHY disconnected
    bcm43xx: Radio turned off
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
    bcm43xx: Radio turned on
    bcm43xx: TODO: Incomplete code in bcm43xx_phy_inita() at drivers/net/wireless/bcm43xx/bcm43xx_phy.c:577
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
    bcm43xx: TODO: Incomplete code in bcm43xx_radio_set_txpower_a() at drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1802
    bcm43xx: Chip initialized
    bcm43xx: DMA initialized
    bcm43xx: Radio turned off
    bcm43xx: 80211 cores initialized
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
    bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
    bcm43xx: Keys cleared
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Associate: failed to initiate scan. Is device up?
    bcm43xx: set security called
    bcm43xx:    .level = 0
    bcm43xx:    .enabled = 0
    bcm43xx:    .encrypt = 0
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    bcm43xx: set security called
    bcm43xx:    .level = 0
    bcm43xx:    .enabled = 0
    bcm43xx:    .encrypt = 0
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Associate: failed to initiate scan. Is device up?
    SoftMAC: Scanning finished
    SoftMAC: Unable to find matching network after scan!
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Associate: failed to initiate scan. Is device up?
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Unable to find matching network after scan!
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Unable to find matching network after scan!
    bcm43xx: set security called
    bcm43xx:    .level = 0
    bcm43xx:    .enabled = 0
    bcm43xx:    .encrypt = 0
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Unable to find matching network after scan!
    bcm43xx: Radio turned off
    bcm43xx: DMA 0x0260 (RX) max used slots: 1/64
    bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
    bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0220 (TX) max used slots: 2/512
    bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
    bcm43xx: Radio turned off
    bcm43xx: DMA 0x0260 (RX) max used slots: 0/64
    bcm43xx: DMA 0x0200 (RX) max used slots: 0/64
    bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0220 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0200 (TX) max used slots: 0/512

The dmesg code before the /etc/init.d/net.eth1 start is shown below

/etc/conf.d/net contains

    # /etc/conf.d/net:
    # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

    # Global config file for net.* rc-scripts

    # This is basically the ifconfig argument without the ifconfig $iface
    #
    #iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
    #iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

    # For DHCP set iface_eth? to "dhcp"
    # For passing options to dhcpcd use dhcpcd_eth?
    #
    # AJG: These lines are from the handbook and from net.example
    config_eth0=( "dhcp" )
    config_wlan0=( "dhcp" )
    dhcp_eth0="nontp"
    dhcp_wlan0="nontp"

    # For adding aliases to a interface
    #
    #alias_eth0="192.168.0.3 192.168.0.4"

    # NB:  The next is only used for aliases.
    #
    # To add a custom netmask/broadcast address to created aliases,
    # uncomment and change accordingly.  Leave commented to assign
    # defaults for that interface.
    #
    #broadcast_eth0="192.168.0.255 192.168.0.255"
    #netmask_eth0="255.255.255.0 255.255.255.0"

    # For setting the default gateway
    #
    #gateway="eth0/192.168.0.1"

/etc/conf.d/wireless contains

    essid_wlan0="linksys"
    essid_eth1="linksys"

ifconfig eth1 up
iwlist eth1 scan     produced

    eth1      Scan completed :
              Cell 01 - Address: 00:0F:66:39:74:B8
                        ESSID:"linksys"
                        Protocol:IEEE 802.11bg
                        Mode:Master
                        Channel:6
                        Encryption key:off
                        Bit Rates:54 Mb/s
                        Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                        Quality=100/100  Signal level=-153 dBm
                        Extra: Last beacon: 304ms ago

iwconfig eth1 channel 1 (or 2 or 0 or ...) produce
    Error for wireless request "Set Frequency" (8B04) :
        SET failed on device eth1 ; Invalid argument.



==================== instructions from forum =======================

Updated 2006-04-29!

As of 2.6.17_rc1, bcm43xx is included with the kernel. I recommend using at least 2.6.17 since there are some important patches included. There is nothing ppc specific in these directions.

To use bcm43xx:
1. Emerge a 2.6.17 kernel (gentoo-sources or vanilla)
2. When configuring the kernel, enable:
Code:
Networking -->
     <M>   Generic IEEE 802.11 Networking Stack
     [*]     Enable full debugging output
     <M>     IEEE 802.11 WEP encryption (802.1x)
     <M>     IEEE 802.11i CCMP support
     <M>     IEEE 802.11i TKIP encryption
     <M>     Software MAC add-on to the IEEE 802.11 networking stack
     [*]       Enable full debugging output

Device Drivers --> Network device support --> Wireless LAN drivers (non-hamradio) & Wireless Extensions
     <M>   Broadcom BCM43xx wireless support
     [*]     Broadcom BCM43xx debugging (RECOMMENDED)

3. Build the kernel as usual
4. Emerge bcm43xx-fwcutter
5. Read the /usr/share/doc/bcm43xx-fwcutter/README.gz and get a firmware file. ANY listed driver will work, but I recommend wl_apsta.o since it's recent and can be downloaded directly.
6. Cut and install the firmware
Code:
# bcm43xx-fwcutter -w /lib/firmware name_of_fw_file

7. Make sure that you have hotplug installed for firmware loading support, wireless-tools for the iwconfig tool and wpa_supplicant if you require WPA support
8. To use the driver, we'll insert the module
Code:
# modprobe bcm43xx

If this doesn't work, please check dmesg to see what the problem is.
9. Okay, it's up and running now, let's connect to a network.
You must bring the device up with ifconfig before doing any other configuration steps.
Replace the red items with your specific settings
Quote:
ifconfig eth# up
iwlist eth# scan
iwconfig eth# channel #
iwconfig eth# enc XXXX-XXXX-XX (Optional, for WEP)
iwconfig eth# essid "AP_ESSID"

============  dmesg before /etc/init.d/net.eth1 start    =======

Linux version 2.6.17-gentoo-r4 (root@ajglap) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #3 SMP PREEMPT Tue Jul 25 20:41:02 EDT 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003ffcf800 (usable)
 BIOS-e820: 000000003ffcf800 - 0000000040000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec20000 (reserved)
 BIOS-e820: 00000000feda0000 - 00000000fee10000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262095
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 32719 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 DELL                                  ) @ 0x000fdea0
ACPI: RSDT (v001 DELL    CPi R   0x27d40c0a ASL  0x00000061) @ 0x3fff0000
ACPI: FADT (v001 DELL    CPi R   0x27d40c0a ASL  0x00000061) @ 0x3fff0400
ACPI: MADT (v001 DELL    CPi R   0x27d40c0a ASL  0x00000047) @ 0x3fff0c00
ACPI: BOOT (v001 DELL    CPi R   0x27d40c0a ASL  0x00000061) @ 0x3fff07c0
ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
Built 1 zonelists
Kernel command line: root=/dev/hdc3
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 3189.895 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1034028k/1048380k available (3217k kernel code, 13804k reserved, 986k data, 216k init, 130876k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6384.96 BogoMIPS (lpj=12769921)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 16k freed
CPU0: Intel Mobile Intel(R) Pentium(R) 4     CPU 3.20GHz stepping 09
Booting processor 1/1 eip 2000
Initializing CPU#1
Calibrating delay using timer specific routine.. 6379.21 BogoMIPS (lpj=12758436)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU1: Thermal monitoring enabled
CPU1: Intel Mobile Intel(R) Pentium(R) 4     CPU 3.20GHz stepping 09
Total of 2 processors activated (12764.17 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: 
Brought up 2 CPUs
migration_cost=4000
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfcf1e, last bus=2
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 1080-10bf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Boot video device is 0000:01:00.0
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
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:02: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:02: ioport range 0x800-0x80f has been reserved
pnp: 00:02: ioport range 0x1000-0x1005 could not be reserved
pnp: 00:02: ioport range 0x1008-0x100f could not be reserved
pnp: 00:03: ioport range 0xf400-0xf4fe has been reserved
pnp: 00:03: ioport range 0x1006-0x1007 has been reserved
pnp: 00:03: ioport range 0x1010-0x105f could not be reserved
pnp: 00:03: ioport range 0x1060-0x107f has been reserved
pnp: 00:03: ioport range 0x1080-0x10bf has been reserved
pnp: 00:03: ioport range 0x10c0-0x10df has been reserved
pnp: 00:08: ioport range 0x900-0x97f has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: c000-cfff
  MEM window: fc000000-fdffffff
  PREFETCH window: d0000000-dfffffff
PCI: Bus 3, cardbus bridge: 0000:02:04.0
  IO window: 0000d000-0000d0ff
  IO window: 0000d400-0000d4ff
  PREFETCH window: 50000000-51ffffff
  MEM window: f6000000-f7ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: d000-efff
  MEM window: f6000000-fbffffff
  PREFETCH window: 50000000-51ffffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
PCI: Enabling device 0000:02:04.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
Simple Boot Flag at 0x79 set to 0x1
Machine check exception polling timer started.
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.27 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
hw_random hardware driver 1.0.0 loaded
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 855GM Chipset.
agpgart: AGP aperture is 128M @ 0xe0000000
[drm] Initialized drm 1.0.1 20051102
vesafb: NVIDIA Corporation, NV34 Board - p135nz  , Chip Rev    (OEM: NVIDIA)
vesafb: VBE version: 3.0
vesafb: protected mode interface info at c000:e290
vesafb: pmi: set display start = c4bce290, set palette = c4bce290
vesafb: VBIOS/hardware doesn't support DDC transfers
vesafb: no monitor limits have been set
vesafb: scrolling: redraw
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 10240k, total 65536k
fb0: VESA VGA frame buffer device
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PBTN]
ACPI: Sleep Button (CM) [SBTN]
ACPI Error (dswload-0305): [SMIX] Namespace lookup failure, AE_ALREADY_EXISTS
ACPI Exception (psloop-0281): AE_ALREADY_EXISTS, During name lookup/catalog [20060127]
ACPI Error (psparse-0517): Method parse/execution failed [\_PR_.CPU0._PDC] (Node c1909880), AE_ALREADY_EXISTS
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI Error (dswload-0305): [GETC] Namespace lookup failure, AE_ALREADY_EXISTS
ACPI Exception (psloop-0281): AE_ALREADY_EXISTS, During name lookup/catalog [20060127]
ACPI Error (psparse-0517): Method parse/execution failed [\_PR_.CPU1._PDC] (Node c1909840), AE_ALREADY_EXISTS
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: Thermal Zone [THM] (60 C)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
i8042.c: Warning: Keylock active.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
loop: loaded (max 8 devices)
b44.c:v1.00 (Apr 7, 2006)
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 17
eth0: Broadcom 4400 10/100BaseT Ethernet 00:0f:1f:13:2b:20
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x254ab1, caps: 0x804713/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
hda: _NEC DVD+/-RW ND-6500A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HTS726060M9AT00, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 512KiB
hdc: 117210240 sectors (60011 MB) w/7877KiB Cache, CHS=16383/255/63, UDMA(100)
hdc: cache flushes supported
 hdc: hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 >
hda: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
st: Version 20050830, fixed bufsize 32768, s/g segs 256
ACPI: PCI Interrupt 0000:02:04.1[A] -> GSI 16 (level, low) -> IRQ 16
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[faffb800-faffbfff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ieee1394: raw1394: /dev/raw1394 device initialized
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 16
Yenta: CardBus bridge found at 0000:02:04.0 [1028:015f]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:04.0, mfunc 0x00001002, devctl 0x64
Yenta: ISA IRQ mask 0x0cf8, PCI irq 16
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0xd000 - 0xefff
cs: IO port probe 0xd000-0xefff: clean.
pcmcia: parent PCI bridge Memory window: 0xf6000000 - 0xfbffffff
pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x51ffffff
usbmon: debugfs is not available
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 18, io mem 0xf4fffc00
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 16, io base 0x0000bf80
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000bf40
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 20, io base 0x0000bf20
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 2-1: new full speed USB device using uhci_hcd and address 2
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[5b4fc0003fffffff]
usb 2-1: configuration #1 chosen from 1 choice
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x2611
usb 3-1.2: new full speed USB device using uhci_hcd and address 3
usb 3-1.2: configuration #1 chosen from 1 choice
usb 3-1.4: new low speed USB device using uhci_hcd and address 4
usb 3-1.4: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
input: HID 05f3:0007 as /class/input/input2
input: USB HID v1.00 Keyboard [HID 05f3:0007] on usb-0000:00:1d.1-1.2
input: HID 05f3:0007 as /class/input/input3
input: USB HID v1.00 Device [HID 05f3:0007] on usb-0000:00:1d.1-1.2
input: Logitech USB Receiver as /class/input/input4
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1.4
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 55373 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 82801DB-ICH4 with STAC9750,51 at 0xf4fff800, irq 17
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Starting balanced_irq
Using IPI Shortcut mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 216k freed
Adding 2008084k swap on /dev/hdc5.  Priority:-1 extents:1 across:2008084k
EXT3 FS on hdc3, internal journal
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 20 (level, low) -> IRQ 21
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-8762  Mon May 15 13:06:38 PDT 2006
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
bcm43xx driver
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 20
bcm43xx: Chip ID 0x4306, rev 0x2
bcm43xx: Number of cores: 6
bcm43xx: Core 0: ID 0x800, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: Core 2: ID 0x80d, rev 0x1, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x1, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x7, vendor 0x4243, enabled
bcm43xx: Core 5: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 1, Type 2, Revision 1
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: PHY disconnected
bcm43xx: Detected PHY: Version: 1, Type 0, Revision 2
bcm43xx: Detected Radio: ID: 1206017f (Manuf: 17f Ver: 2060 Rev: 1)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hdc6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hdc8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hdc10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] trouble with bcm43xx
  2006-07-26  2:00 [gentoo-user] trouble with bcm43xx Allan Gottlieb
@ 2006-07-26  7:36 ` Neil Bothwick
  2006-07-26 14:44   ` Allan Gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2006-07-26  7:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Tue, 25 Jul 2006 22:00:11 -0400, Allan Gottlieb wrote:

> The guide recommended wl_apsta.o for firmware, but that failed the
> bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
> with.

It seems that some cards can be fussy about firmware, so try some
different ones. I have the following installed and my card works OK,
although it sometimes takes a couple of attempts to get a good
connection.

bcm43xx_initval01.fw  bcm43xx_initval07.fw    bcm43xx_microcode4.fw
bcm43xx_initval02.fw  bcm43xx_initval08.fw    bcm43xx_microcode5.fw
bcm43xx_initval03.fw  bcm43xx_initval09.fw    bcm43xx_pcm4.fw
bcm43xx_initval04.fw  bcm43xx_initval10.fw    bcm43xx_pcm5.fw
bcm43xx_initval05.fw  bcm43xx_microcode11.fw
bcm43xx_initval06.fw  bcm43xx_microcode2.fw

You don't say which card you are using, some are more problematic than
others, the gentoo-sources Changleog shows that support for some versions
is still being added. "lspci | grep BCM" will show you the exact model.


-- 
Neil Bothwick

Advanced: (adj.) doesn't work yet, but it's pretty close. See: bug,
glitch.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] trouble with bcm43xx
  2006-07-26  7:36 ` Neil Bothwick
@ 2006-07-26 14:44   ` Allan Gottlieb
  2006-07-26 22:49     ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: Allan Gottlieb @ 2006-07-26 14:44 UTC (permalink / raw
  To: gentoo-user

At Wed, 26 Jul 2006 08:36:16 +0100 Neil Bothwick <neil@digimed.co.uk> wrote:

> On Tue, 25 Jul 2006 22:00:11 -0400, Allan Gottlieb wrote:
>
>> The guide recommended wl_apsta.o for firmware, but that failed the
>> bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
>> with.
>
> It seems that some cards can be fussy about firmware, so try some
> different ones. I have the following installed and my card works OK,
> although it sometimes takes a couple of attempts to get a good
> connection.
>
> bcm43xx_initval01.fw  bcm43xx_initval07.fw    bcm43xx_microcode4.fw
> bcm43xx_initval02.fw  bcm43xx_initval08.fw    bcm43xx_microcode5.fw
> bcm43xx_initval03.fw  bcm43xx_initval09.fw    bcm43xx_pcm4.fw
> bcm43xx_initval04.fw  bcm43xx_initval10.fw    bcm43xx_pcm5.fw
> bcm43xx_initval05.fw  bcm43xx_microcode11.fw
> bcm43xx_initval06.fw  bcm43xx_microcode2.fw
>
> You don't say which card you are using, some are more problematic than
> others, the gentoo-sources Changleog shows that support for some versions
> is still being added. "lspci | grep BCM" will show you the exact model.

Sorry for forgetting to include the lspci output

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
        Subsystem: Dell Unknown device 015f
        Flags: bus master, fast devsel, latency 32, IRQ 17
        Memory at faffe000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2

I will load more firmware and try again.  Here is the message I get
when trying to use fwcutter for some of the firmware listed in
/usr/doc/bcm43xx-fwcutter-004/README.gz

    Sorry, the input file is either wrong or not supported by
    bcm43xx-fwcutter.  I can't find the MD5sum
    1c104a2604fe0cef8c8ea187dc752e43 :(

So far I have

    bcm43xx_initval01.fw  bcm43xx_initval06.fw  bcm43xx_microcode2.fw
    bcm43xx_initval02.fw  bcm43xx_initval07.fw  bcm43xx_microcode4.fw
    bcm43xx_initval03.fw  bcm43xx_initval08.fw  bcm43xx_microcode5.fw
    bcm43xx_initval04.fw  bcm43xx_initval09.fw  bcm43xx_pcm4.fw
    bcm43xx_initval05.fw  bcm43xx_initval10.fw  bcm43xx_pcm5.fw

and still /etc/init.d/net.eth1 fails.  The end of dmesg is

    bcm43xx: set security called
    bcm43xx:    .level = 0
    bcm43xx:    .enabled = 0
    bcm43xx:    .encrypt = 0
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Associate: Scanning for networks first.
    SoftMAC: Start scanning with channel: 1
    SoftMAC: Scanning 14 channels
    SoftMAC: Scanning finished
    SoftMAC: Unable to find matching network after scan!
    bcm43xx: Radio turned off
    bcm43xx: DMA 0x0260 (RX) max used slots: 1/64
    bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
    bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0220 (TX) max used slots: 2/512
    bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
    bcm43xx: Radio turned off
    bcm43xx: DMA 0x0260 (RX) max used slots: 0/64
    bcm43xx: DMA 0x0200 (RX) max used slots: 0/64
    bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0220 (TX) max used slots: 0/512
    bcm43xx: DMA 0x0200 (TX) max used slots: 0/512

I assume I have some config wrong or forgot to do something, but I
don't know what it is.  I guess I will grab some more firmware since
you have more that I do :-).

Thanks for your help,
allan

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] trouble with bcm43xx
  2006-07-26 14:44   ` Allan Gottlieb
@ 2006-07-26 22:49     ` Neil Bothwick
  2006-07-26 23:47       ` Allan Gottlieb
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2006-07-26 22:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Wed, 26 Jul 2006 10:44:55 -0400, Allan Gottlieb wrote:

> 02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T
> (rev 01)

It seems that you are trying to use the wrong module. This is a 4400
wired card, not a 4300 wireless one that the BCM43xx driver is for. A
quick Google indicates you may need the B44 module, or have you posted
the wrong part of lspci's output?


-- 
Neil Bothwick

C:\DOS\SYSTEM\BATCH\UTILS\API\DOCS\READ\STORED\WHERE\THE\HELL\AM\I\?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] trouble with bcm43xx
  2006-07-26 22:49     ` Neil Bothwick
@ 2006-07-26 23:47       ` Allan Gottlieb
  0 siblings, 0 replies; 5+ messages in thread
From: Allan Gottlieb @ 2006-07-26 23:47 UTC (permalink / raw
  To: gentoo-user

At Wed, 26 Jul 2006 23:49:49 +0100 Neil Bothwick <neil@digimed.co.uk> wrote:

> On Wed, 26 Jul 2006 10:44:55 -0400, Allan Gottlieb wrote:
>
>> 02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T
>> (rev 01)
>
> It seems that you are trying to use the wrong module. This is a 4400
> wired card, not a 4300 wireless one that the BCM43xx driver is for. A
> quick Google indicates you may need the B44 module, or have you posted
> the wrong part of lspci's output?

The latter, I'm sorry.  Here is the correct (I hope) part.

allan

  02:02.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 02)
          Subsystem: Dell Truemobile 1400
          Flags: bus master, fast devsel, latency 32, IRQ 20
          Memory at faffc000 (32-bit, non-prefetchable) [size=8K]
          Capabilities: [40] Power Management version 2
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-26 23:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26  2:00 [gentoo-user] trouble with bcm43xx Allan Gottlieb
2006-07-26  7:36 ` Neil Bothwick
2006-07-26 14:44   ` Allan Gottlieb
2006-07-26 22:49     ` Neil Bothwick
2006-07-26 23:47       ` Allan Gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox