From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 24 20:28:14 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 032E816A420 for ; Fri, 24 Feb 2006 20:28:14 +0000 (GMT) (envelope-from cel@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F14B43D53 for ; Fri, 24 Feb 2006 20:28:13 +0000 (GMT) (envelope-from cel@citi.umich.edu) Received: from [141.211.133.33] (dexter.citi.umich.edu [141.211.133.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by citi.umich.edu (Postfix) with ESMTP id 2DB481BB0C; Fri, 24 Feb 2006 15:28:12 -0500 (EST) Message-ID: <43FF6C5C.70003@citi.umich.edu> Date: Fri, 24 Feb 2006 15:28:12 -0500 From: Chuck Lever Organization: Network Appliance, Inc. User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <43FDE57A.7040504@citi.umich.edu> <200602240830.42905.flz@xbsd.org> <43FF4472.4000505@errno.com> In-Reply-To: <43FF4472.4000505@errno.com> Content-Type: multipart/mixed; boundary="------------090500080809060808030008" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: wireless on a laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cel@citi.umich.edu List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 20:28:14 -0000 This is a multi-part message in MIME format. --------------090500080809060808030008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sam Leffler wrote: > Florent Thoumie wrote: > >> On Thursday 23 February 2006 17:40, Chuck Lever wrote: >> >>> hi all- >>> >>> i have a D-Link DWL-G650M PCCard (Atheros) and an IBM T40 laptop. they >>> don't want to talk with each other. >>> >>> the T40 has a built in Aironet, but the driver generates "received 194 >>> bytes, expected 196 bytes" messages in the system log, and i can't get >>> it to work. >>> >>> so i bought this Atheros-based super-G card. >>> >>> the problem is the cardbus infrastructure doesn't seem to recognize the >>> card. even if i "kldload if_ath". >>> >>> i'm new to FreeBSD, so any guidance here would be greatly appreciated. >> >> >> Atheros Super-G cards are not (yet?) supported. >> >> I think your best bet is to use ndis(4) (see ndisgen(8)). >> > Super-G is a buzzword for various optional features; the cards work fine > when not using those features. > > Sam > sorry for the generic problem description yesterday. i was looking for a little guidance on what information to provide, or whether this was a familiar issue with new cards or wireless. i would be happy if i could get either the built-in aironet or the d-link pccard working... or even if i should go out and buy a different card. i have more technical information today. i've attached the output of "dmesg" and "pciconf -lv" from my laptop. dmesg shows both the aironet error message, and what happens when i plug the d-link card in. both down at the end. the laptop has a base 6.0 install, with a 7.0-CURRENT kernel running on it. --------------090500080809060808030008 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2006 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 7.0-CURRENT #0: Wed Feb 22 10:39:12 EST 2006 cel@picasso.citi.umich.edu:/home/cel/sys/i386/compile/PICASSO WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf Features2=0x180 real memory = 1073086464 (1023 MB) avail memory = 1041043456 (992 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xc0000000-0xc00003ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 umass0: Seagate USB Mass Storage, rev 2.00/0.02, addr 2 pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 em0: port 0x8400-0x843f mem 0xc0220000-0xc023ffff,0xc0200000-0xc020ffff irq 11 at device 1.0 on pci2 em0: Ethernet address: 00:0d:60:60:ec:cd em0: [FAST] an0: port 0x8000-0x80ff mem 0xc0210000-0xc0213fff,0xc0400000-0xc07fffff irq 11 at device 2.0 on pci2 an0: record length mismatch -- expected 194, got 196 for Rid ff10 an0: record length mismatch -- expected 192, got 200 for Rid ff00 an0: got RSSI <-> dBM map an0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps an0: Ethernet address: 00:02:8a:e0:0c:86 an0: [GIANT-LOCKED] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 8250 or not responding ppc0: port 0x3bc-0x3be irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled battery0: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1495156302 Hz quality 800 Timecounters tick every 1.000 msec ad0: 35087MB at ata0-master UDMA100 acd0: DVDROM at ata1-master UDMA33 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 38154MB (78140160 512 byte sectors: 255H 63S/T 4864C) Trying to mount root from ufs:/dev/da0s1a an0: record length mismatch -- expected 194, got 196 for Rid ff10 em0: link state changed to UP cardbus1: Expecting link target, got 0xfb cardbus1: at device 0.0 (no driver attached) --------------090500080809060808030008 Content-Type: text/plain; name="pciconf.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciconf.txt" hostb0@pci0:0:0: class=0x060000 card=0x05291014 chip=0x33408086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82855PM Host-Hub Interface Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x33418086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82855PM AGP Bridge' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x052d1014 chip=0x24c28086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x052d1014 chip=0x24c48086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x052d1014 chip=0x24c78086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x052e1014 chip=0x24cd8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib2@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x81 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x052d1014 chip=0x24ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none0@pci0:31:3: class=0x0c0500 card=0x052d1014 chip=0x24c38086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller' class = serial bus subclass = SMBus none1@pci0:31:5: class=0x040100 card=0x05371014 chip=0x24c58086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' class = multimedia subclass = audio none2@pci0:31:6: class=0x070300 card=0x05241014 chip=0x24c68086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller' class = simple comms subclass = generic modem vgapci0@pci1:0:0: class=0x030000 card=0x05301014 chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'fdds Radeon Mobility M7 LW' class = display subclass = VGA cbb0@pci2:0:0: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus cbb1@pci2:0:1: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus em0@pci2:1:0: class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82540EP Gigabit Ethernet Controller (Mobile)' class = network subclass = ethernet an0@pci2:2:0: class=0x028000 card=0x500014b9 chip=0xa50414b9 rev=0x00 hdr=0x00 vendor = 'Aironet Wireless Communications' device = 'A504 Cisco MAC Cisco Aironet 350 Series Mini-PCI (MPI350)' class = network none3@pci6:0:0: class=0x020000 card=0x3a671186 chip=0x0020168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network subclass = ethernet --------------090500080809060808030008--