Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Aug 2004 12:29:27 -0400
From:      "Michael Roberts" <tpen0010@hotmail.com>
To:        freebsd-acpi@freebsd.org
Subject:   DLink DWL-G650 (h/w ver. B4)
Message-ID:  <BAY10-F42TUEnCBopy300008b03@hotmail.com>

next in thread | raw e-mail | index | archive | help

Hi,

I've been sending these posts to the hardware forum, but now I have found 
that the problem seems to lie with acpi, so here I am.  The various posts 
I've sent are below, but a summary is:

(a) got a DLink DWL-G650 (h/w ver. B4), atheros 5211 based card, and had 
problems getting it to work, but finally did with a rebuild of world, kernel 
on august 3,  and some futzing with my settings.

(b) if acpi is up, if i do either of the following i get a kernel panic:
  (i) ifconfig bfe0 up ; ifconfig ath0 up -->> panic
  (ii) ifconfig bfe0 down; ifconfig ath0 up  (no problem)
       then ifconfig bfe0 up -->> panic
That is, ath0 and bfe0 can't be up at the same time, and once ath0 is up, i 
can't get bfe0 back up without rebooting.

(c) if acpi is down, all is well.  i can keep both cards up at the same 
time.  however, there's lots of other stuff i want to run with acpi, so this 
is not the best solution for me.

any thoughts on what's causing these problems?  thanks for any help.  dmesg 
and other info is below.

Mike

>From: "Michael Roberts" <tpen0010@hotmail.com>
>To: freebsd-hardware@freebsd.org
>Subject: RE: DLink DWL-G650 (h/w ver. B4)
>Date: Sun, 08 Aug 2004 09:04:02 -0400
>

>I'm just going to keep replying to my own posts.. in the hope that I'll 
>finally say something that someone will understand how to fix.
>
>I finally have everything working -- the atheros card and bfe card can be 
>used simultaneously -- as long as acpi is off.  When acpi is on, no dice.  
>So, does anyone know why that would be happening?  A lot of the other stuff 
>I use uses acpi, so i kind of need to use it..
>
>Thanks for any help.  I've left dmesg below.
>
>Mike
>
>
>>From: "Michael Roberts" <tpen0010@hotmail.com>
>>To: freebsd-hardware@freebsd.org
>>Subject: RE: DLink DWL-G650 (h/w ver. B4)
>>Date: Thu, 05 Aug 2004 21:29:52 -0400
>>
>>Sorry, forgot to put the card in before running dmesg... the card adds the 
>>following lines to dmesg:
>>
>>ath0: <Atheros 5212> mem 0xf6010000-0xf601ffff irq 11 at device 0.0 on 
>>cardbus0
>>ath0: [GIANT-LOCKED]
>>ath0: mac 5.9 phy 4.3 5ghz radio 4.6
>>ath0: Ethernet address: 00:0d:88:ac:83:77
>>ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>>ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
>>24Mbps 36Mbps 48Mbps 54Mbps
>>
>>>From: "Michael Roberts" <tpen0010@hotmail.com>
>>>To: freebsd-hardware@freebsd.org
>>>Subject: RE: DLink DWL-G650 (h/w ver. B4)
>>>Date: Thu, 05 Aug 2004 21:25:09 -0400
>>>
>>>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
>>>
>
>_________________________________________________________________
>Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>_______________________________________________
>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"

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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