From owner-freebsd-current@FreeBSD.ORG Sat Dec 6 11:04:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F95216A4CE for ; Sat, 6 Dec 2003 11:04:31 -0800 (PST) Received: from sif.giallarhorn.org (asgard.dslwan.toad.net [66.159.70.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D70A543FB1 for ; Sat, 6 Dec 2003 11:04:27 -0800 (PST) (envelope-from technews@giallarhorn.org) Received: from giallarhorn.org (jord.giallarhorn.org [172.16.1.6]) by sif.giallarhorn.org (8.12.10/8.12.9) with ESMTP id hB6J6jVx027490 for ; Sat, 6 Dec 2003 14:06:45 -0500 (EST) (envelope-from technews@giallarhorn.org) Message-ID: <3FD2283D.2050306@giallarhorn.org> Date: Sat, 06 Dec 2003 14:04:29 -0500 From: tn Organization: GiallarHorn.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------090804020506040604040705" Subject: Support for Atheros 5100X on 5.2 Beta X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 19:04:31 -0000 This is a multi-part message in MIME format. --------------090804020506040604040705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The simple question is does the Atheros driver support the AR5001X adapter ? I am using a Toshiba A35 S159 Laptop with the built in AR5001X adapter that supports both 802.11 B and G with the Generic kernel. I haven't built a custom kernel since i noticed that there were if_ath.ko and ath_hal.ko modules in the kernel directory. I've tried the following after booting: kldload ath_hal which reports no errors kldload if_ath which reports the following errors: ath0: mem 0xe0201000-0xe0210fff irq 22 at device 2.0 on Pci2 Pcib1 device ath0 requested decoded memory range 0xe0201000-0xe0210fff atho: unable to attach hardware; HAL status 3 device_probe_and_attach: ath0 attach returned 6 The module loads as reported by kldstat however the interface does not show up. The settings XP is using are: IRQ: 22 Memory Range: E0200000-E020FFFF Location: PCI bus 2, device 2, function 0 The obvious solution at the moment is to modify the driver to use the same memory range that windows uses. Any ideas/suggestions. ----------------dmesg---------- Copyright (c) 1992-2003 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-BETA #0: Tue Nov 25 08:24:08 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a76000. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU 2.30GHz (2298.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff real memory = 502136832 (478 MB) avail memory = 478072832 (455 MB) ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 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 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_cpu1: Failed to attach throttling P_CNT acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) agp0: port 0x1800-0x1807 mem 0xe0000000-0xe007ffff,0xe8000000-0xefffffff irq 16 at device 2.0 on pci0 agp0: detected 32636k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0x1820-0x183f irq 16 at device 29.0 on pci0 usb0: 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 uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0 usb1: 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 uhub2: Texas Instruments General Purpose USB Hub, class 9/0, rev 1.10/1.01, addr 2 uhub2: 2 ports with 0 removable, bus powered ums0: Logitech USB Receiver, rev 1.10/27.04, addr 3, iclass 3/1 ums0: 7 buttons and Z dir. uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci2: on pcib1 rl0: port 0x3000-0x30ff mem 0xe0210000-0xe02100ff irq 21 at device 1.0 on pci2 rl0: Ethernet address: 00:02:3f:93:e5:97 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: at device 2.0 (no driver attached) cbb0: at device 4.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1810-0x181f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] 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_ec0: port 0x66,0x62 on acpi0 acpi_acad0: on acpi0 ACPI-0438: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.LPCB.BAT1._STA] (Node 0xc447e340), AE_NO_HARDWARE_RESPONSE acpi_cmbat0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: