Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2004 21:25:09 -0400
From:      "Michael Roberts" <tpen0010@hotmail.com>
To:        freebsd-hardware@freebsd.org
Subject:   RE: DLink DWL-G650 (h/w ver. B4)
Message-ID:  <BAY10-F11Y3PUKIYs5C000010e5@hotmail.com>

next in thread | raw e-mail | index | archive | help
In case anyone cares, I'm going to reply to my own post, having found some 
solution to the problem, but a few more problems.

After a cvsup (august 3), rebuild of world, and kernel with the ath drivers, 
the card does now work.  When I plug it in, I don't get the same errors as 
below, but instead the normal readout for a wireless card.  I guess there 
was something incompatible between my kernel rebuild and world?  I don't 
know...

However, now another problem has cropped up.  When I have the card in, if I 
do
# ifconfig ath0 up
I get a kernel panic.  I have to first do
# ifconfig bfe0 down
in order to bring ath0 up.  Then, if I bring bfe0 back up again, I get a 
kernel panic, regardless of whether the ath0 card is up or down, in the slot 
or detached.

The only thing I can think is that both are using irq 11 and device 0.0.  I 
would guess this is a conflict, no?  I know it's not a problem for them to 
use the same irq, but the same device number?  I've seen posts which say 
that acpi makes all of this ok.. but I don't know much about it.

dmesg is below.  Thanks for any help.

Mike

~# uname -a
FreeBSD trace.cable.rcn.com 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Tue Aug  3 
22:00:38 EDT 2004     root@trace.cable.rcn.com:/usr/obj/usr/src/sys/PKERNEL  
i386

dmesg:

Copyright (c) 1992-2004 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 5.2-CURRENT #4: Tue Aug  3 22:00:38 EDT 2004
    root@trace.cable.rcn.com:/usr/obj/usr/src/sys/PKERNEL
WARNING: Kernel preemption is disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 2.00GHz (1993.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d6  Stepping = 6
  
Features=0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
real memory  = 536535040 (511 MB)
avail memory = 511078400 (487 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R  > on motherboard
acpi0: [GIANT-LOCKED]
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU (4 Cx states)> port 0x530-0x537 on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 
0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce FX Go5200> mem 0xd0000000-0xdfffffff,0xfc000000-0xfcffffff 
irq 11 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xbf80-0xbf9f irq 11 
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: vendor 0x062a product 0x0000, rev 1.10/2.04, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xbf40-0xbf5f irq 11 
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xbf20-0xbf3f irq 11 
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfaffe000-0xfaffffff irq 11 at 
device 0.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:0f:1f:15:e6:b5
bfe0: [GIANT-LOCKED]
cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem 
0xfaff8000-0xfaffbfff,0xfaffd800-0xfaffdfff irq 11 at device 1.1 on pci2
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 32:4f:c0:00:34:ec:78:81
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: 32:4f:c0:ec:78:81
fwe0: Ethernet address: 32:4f:c0:ec:78:81
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci2: <network> at device 3.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel ICH4 (82801DB)> port 0xbc40-0xbc7f,0xb800-0xb8ff mem 
0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 11 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 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 GlidePoint, device ID 0
orm0: <ISA Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xcf7ff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ppc0: parallel port not found.
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
Timecounter "TSC" frequency 1993539572 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
cpu0: Performance states changed
ad0: 57231MB <TOSHIBA MK6021GAS> [116280/16/63] at ata0-master UDMA100
ATAPI_RESET time = 10us
acd0: CDRW <_NEC DVD+RW ND-6100A> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD+RW ND-6100A 104D> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s4a



>From: "Michael Roberts" <tpen0010@hotmail.com>
>To: freebsd-hardware@freebsd.org
>Subject: DLink DWL-G650 (h/w ver. B4)
>Date: Tue, 03 Aug 2004 10:13:51 -0400
>
>Greetings,
>
>I got DLink DWL-G650 (h/w ver. B4) pc-card recently, which is supposed to 
>run 802.11g using the atheros drivers (the windows driver is named 
>ar5211.sys, which should mean atheros..).  However, I've been trying to get 
>it to work for the past three days w/o success.  Other people on this list 
>claim to have gotten it working, so any help would be much appreciated.
>
>My setup is:  -current (from early July) on a Dell 8600, running a Broadcom 
>ethernet interface on bfe0, and a kernel recompiled with "device ath" and 
>"device ath_hal".
>
>When I put the Dlink card in, i get the following:
>
>cardbus0:  Resource not specified in CIS: id=10, size=2000
>bfe1: < Broadcom ... > irq 11 at device 0.0 on cardbus0
>bfe1: BUG! Timeout waiting for bit 00000002 of register 42C to clear
>bfe1: MII without any PHY!
>device_attach: bfe1 attach returned 6
>cbb0: Cardbus activation failed.
>
>Then a few seconds later I get something like
>
>bfe0: BUG! Timeout waiting for bit 00000002 of register 42C
>
>about 6 times, and then the computer freezes.  The above line is not the 
>exact output, since after the computer freezes, I can't copy the text 
>(clearly..).
>
>Now, the above is strange because the card should be picked up by an 
>atheros driver, not the bfe driver (note that bfe0 is my internal ethernet 
>card, and the above is trying to assign the pccard to bfe1).  I've tryed 
>putting in hw.pccard.debug=1 and cis_debug=1, however the computer freezes 
>before I get any output from those.
>
>I've read in other posts on the lists that the "Resource not specified" 
>line is some sort of resource management issue, but no one has specified 
>how to fix it.  And that doesn't seem to address the other issue that the 
>card isn't recognized by the atheros driver.
>
>So... I'm at a loss as to what to do.
>
>Any help would be much appreciated.
>
>regards,
>Mike
>
>_________________________________________________________________
>FREE pop-up blocking with the new MSN Toolbar – get it now! 
>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>_______________________________________________
>freebsd-hardware@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY10-F11Y3PUKIYs5C000010e5>