amd64/120367: NDIS0 not working (no link)
Ross
rostyslav at optonline.net
Thu Feb 7 12:40:07 PST 2008
>Number: 120367
>Category: amd64
>Synopsis: NDIS0 not working (no link)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 07 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Ross
>Release: DeskTopBSD(FreeBSD 6.3-RC2)
>Organization:
Home
>Environment:
FreeBSD andriasis 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan 6 01:08:03 UTC 2008 root at rivendell.desktopbsd.net:/usr/obj/usr/src/sys/GENERIC amd64 amd64 GENERIC
>Description:
I have HP Pavilion DV8000(AMD Turion64) with broadcom wireless.
the fake interface (fwe0) don't work. So i converted and installed driver from windowsXP SP33008A.exe(bcmwl564.inf and *.sys) with ndisgen *.inf *.sys, then cp bcmwl564_sys.ko to /boot/modules.
I rty to use it but whatever i do can't get link "ndis0 no link.....giving up"
Halp me plaese.
Ross.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
FreeBSD andriasis 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan 6 01:08:03 UTC 2008 root at rivendell.desktopbsd.net:/usr/obj/usr/src/sys/GENERIC amd64 amd64 GENERIC
---------------------
pciconf
ndis0 at pci6:2:0: class=0x028000 card=0x1355103c chip=0x431814e4 rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM43XX Broadcom 802.11b/g'
class = network
--------------------------------------------
ifconfig
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::214:a5ff:fea4:fdcf%ndis0 prefixlen 64 scopeid 0x1
ether 00:14:a5:a4:fd:cf
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS
fwe0: flags=108802<BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
options=8<VLAN_MTU>
ether 66:3f:02:43:40:7a
ch 1 dma -1
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::216:d4ff:fe08:58e2%rl0 prefixlen 64 scopeid 0x3
ether 00:16:d4:08:58:e2
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
----------------------------------------------------
dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RC2 #30: Sun Jan 6 01:08:03 UTC 2008
root at rivendell.desktopbsd.net:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Turion(tm) 64 Mobile Technology ML-34 (1794.79-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x20f42 Stepping = 2
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
Features2=0x1<SSE3>
AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
AMD Features2=0x1<LAHF>
real memory = 1072300032 (1022 MB)
avail memory = 1018093568 (970 MB)
ACPI APIC Table: <PTLTD APIC >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Jan 6 2008 01:07:24)
acpi0: <PTLTD RSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1a> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
powernow0: <PowerNow! K8> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci0: <ATI SB400 USB Controller> mem 0xc0000000-0xc0000fff irq 19 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <ATI SB400 USB Controller> on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <ATI SB400 USB Controller> mem 0xc0001000-0xc0001fff irq 19 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <ATI SB400 USB Controller> on ohci1
usb1: USB revision 1.0
uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: <ATI SB400 USB 2.0 controller> mem 0xc0002000-0xc0002fff irq 19 at device 19.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <ATI SB400 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
uhub2: port 4, set config at addr 2 failed
uhub2: device problem (TIMEOUT), disabling port 4
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f irq 16 at device 20.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci6: <ACPI PCI bus> on pcib3
ndis0: <Broadcom 802.11b/g WLAN> mem 0xc0204000-0xc0205fff irq 21 at device 2.0 on pci6
ndis0: NDIS API version: 5.1
fpudna in kernel mode!
ndis0: Ethernet address: 00:14:a5:a4:fd:cf
cbb0: <PCI-CardBus Bridge> mem 0xc0208000-0xc0208fff irq 20 at device 4.0 on pci6
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem 0xc0209000-0xc02097ff,0xc0200000-0xc0203fff irq 23 at device 4.2 on pci6
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 65:3f:02:00:49:43:40:7a
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 66:3f:02:43:40:7a
fwe0: Ethernet address: 66:3f:02:43:40:7a
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci0: phy int
pci6: <mass storage> at device 4.3 (no driver attached)
pci6: <base peripheral> at device 4.4 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xc020a400-0xc020a4ff irq 22 at device 6.0 on pci6
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:d4:08:58:e2
pcm0: <ATI IXP 400> mem 0xc0003400-0xc00034ff irq 17 at device 20.5 on pci0
pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xd0000-0xd5fff,0xd7800-0xd7fff,0xd8000-0xd8fff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhid0: Microsoft Microsoft Wireless Optical Mouse\M-. 1.00, rev 2.00/0.07, addr 2, iclass 3/1
Timecounter "TSC" frequency 1794793375 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: 76319MB <Seagate ST98823A 3.05> at ata0-master UDMA100
acd0: DVDR <HL-DT-ST DVDRAM GSA-4084N/KQ09> at ata1-master PIO4
pcm0: <Conexant CX20468-21 AC97 Codec>
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-4084N KQ09> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad0s2a
kldload: Unsupported file type
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
kldload: Unsupported file type
kldload: Unsupported file type
------------------------------------------------------------
andriasis# dhclient ndis0
ndis0: no link .............. giving up
andriasis#
------------------------------------------------------------
andriasis# ifconfig ndis0 scan
ifconfig: unable to get scan results
andriasis#
-------------------------------------
andriasis# /etc/rc.d/netif stop ndis0
Stopping network:Stopping wpa_supplicant.
Waiting for PIDS: 304.
ndis0.
andriasis# /etc/rc.d/netif start ndis0
Starting wpa_supplicant.
ndis0: no link .............. giving up
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::214:a5ff:fea4:fdcf%ndis0 prefixlen 64 scopeid 0x1
ether 00:14:a5:a4:fd:cf
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS
andriasis#
-------------------------------------------------------------------------------------------
andriasis# sysctl dev.ndis
dev.ndis.0.%desc: Broadcom 802.11b/g WLAN
dev.ndis.0.%driver: ndis
dev.ndis.0.%location: slot=2 function=0
dev.ndis.0.%pnpinfo: vendor=0x14e4 device=0x4318 subvendor=0x103c subdevice=0x1355 class=0x028000
dev.ndis.0.%parent: pci6
dev.ndis.0.PowerSaveMode: 0
dev.ndis.0.frag: 2346
dev.ndis.0.rts: 2347
dev.ndis.0.ssid_auto_promote: 0
dev.ndis.0.MPC: 1
dev.ndis.0.NetworkAddress:
dev.ndis.0.PwrOut: 100
dev.ndis.0.FrameBursting: 1
dev.ndis.0.BTCoexist: 0
dev.ndis.0.EnableSoftAP: 0
dev.ndis.0.EnableLeap: 1
dev.ndis.0.EnableAutoConnect: 0
dev.ndis.0.Managed: 1
dev.ndis.0.gpiotimerval: 0xa0000
dev.ndis.0.WEP:
dev.ndis.0.NetworkType: -1
dev.ndis.0.SSID:
dev.ndis.0.scan_channel_time: -1
dev.ndis.0.scan_unassoc_time: -1
dev.ndis.0.scan_home_time: -1
dev.ndis.0.scan_passes: -1
dev.ndis.0.BadFramePreempt: 0
dev.ndis.0.Interference_Mode: -1
dev.ndis.0.Channel: 11
dev.ndis.0.ccx_rm: 1
dev.ndis.0.ccx_rm_limit: 300
dev.ndis.0.EFCEnable: 0
dev.ndis.0.WME: -1
dev.ndis.0.vlan_mode: -1
dev.ndis.0.WZCCoexist: 0
dev.ndis.0.MixedCell: 0
dev.ndis.0.Afterburner: 1
dev.ndis.0.RoamTrigger: -75
dev.ndis.0.PLCPHeader: 0
dev.ndis.0.IBSSGMode: 0
dev.ndis.0.IBSSGProtection: 2
dev.ndis.0.Rate: 0
dev.ndis.0.Country: US
dev.ndis.0.gpio0: 3
dev.ndis.0.gpio1: 2
dev.ndis.0.gpio2: 0
dev.ndis.0.gpio3: 0
dev.ndis.0.Environment: 1
dev.ndis.0.NdisVersion: 0x00050001
dev.ndis.0.BusType: 5
dev.ndis.0.InterruptNumber: 21
dev.ndis.0.ForcePIO: UNSET
dev.ndis.0.AdapterDesc: UNSET
dev.ndis.0.DriverDesc: UNSET
dev.ndis.0.Brand: UNSET
dev.ndis.0.WPA: UNSET
dev.ndis.0.featureflag: UNSET
dev.ndis.0.IBSSAllowed: UNSET
dev.ndis.0.LegacyMode: UNSET
dev.ndis.0.LegacyProbe: UNSET
dev.ndis.0.band: UNSET
dev.ndis.0.RateA: UNSET
dev.ndis.0.ledblinkslow: UNSET
dev.ndis.0.ledblinkmed: UNSET
dev.ndis.0.ledblinkfast: UNSET
dev.ndis.0.WME_qosinfo: UNSET
dev.ndis.0.RadioState: UNSET
dev.ndis.0.AssocRoamPref: UNSET
dev.ndis.0.RoamDelta: UNSET
dev.ndis.0.ApCompatMode: UNSET
dev.ndis.0.IBSSLink: UNSET
dev.ndis.0.antdiv: UNSET
dev.ndis.0.BandPref: UNSET
dev.ndis.0.11HNetworks: UNSET
dev.ndis.0.scan_passive_time: UNSET
andriasis#
------------------------------------------------
wpa_supplicant.conf
network={
ssid="motorola D74"
scan_ssid=1
key_mgmt=NONE
wep_tx_keyidx=0
wep_key1=0
}
-----------------------------------------------
ee /etc/rc.conf ~
~
#ifconfig_ndis0="DHCP"
ifconfig_ndis0="WPA DHCP"
hostname="andriasis"
~
-----------------------------
andriasis# ifconfig ndis0 down
andriasis# ifconfig ndis0 up
andriasis# ifconfig ndis0
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::214:a5ff:fea4:fdcf%ndis0 prefixlen 64 scopeid 0x1
ether 00:14:a5:a4:fd:cf
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS
andriasis#
ligh is on but it dont work at all
-----------------------------------------
loader.conf
~
bcmwl564_sys_load="YES"
if_ndis_load="YES"
ndis_load="YES"
wlan_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
~
end of file
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list