Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2003 22:02:37 +0800
From:      KT Sin <ktsin@acm.org>
To:        tn <technews@giallarhorn.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Support for Atheros 5100X on 5.2 Beta
Message-ID:  <20031207140237.GB63013@passion.hsins.com>
In-Reply-To: <3FD2283D.2050306@giallarhorn.org>
References:  <3FD2283D.2050306@giallarhorn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Try adding to your /boot/loader.conf

hw.pci.allow_unsupported_io_range="1"

and reboot.

kt

On Sat, Dec 06, 2003 at 02:04:29PM -0500, tn wrote:
> 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: <Atheros 5212> 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: <PTLTD       APIC  >
> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 502136832 (478 MB)
> avail memory = 478072832 (455 MB)
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> Pentium Pro MTRR support enabled
> acpi0: <TOSCPL   RSDT  > 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: <CPU> on acpi0
> acpi_cpu1: <CPU> on acpi0
> acpi_cpu1: Failed to attach throttling P_CNT
> 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
> pci0: <base peripheral> at device 0.1 (no driver attached)
> pci0: <base peripheral> at device 0.3 (no driver attached)
> agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> 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: <display> at device 2.1 (no driver attached)
> uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f 
> irq 16 at device 29.0 on pci0
> 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
> uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f 
> irq 19 at device 29.1 on pci0
> 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
> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f 
> irq 18 at device 29.2 on pci0
> usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached)
> pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib1
> rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 
> 0xe0210000-0xe02100ff irq 21 at device 1.0 on pci2
> rl0: Ethernet address: 00:02:3f:93:e5:97
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci2: <network, ethernet> at device 2.0 (no driver attached)
> cbb0: <ENE CB1410 PCI-CardBus Bridge> at device 4.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [MPSAFE]
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
> pci0: <multimedia, audio> at device 31.5 (no driver attached)
> pci0: <simple comms> at device 31.6 (no driver attached)
> acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
> acpi_acad0: <AC Adapter> 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: <Control Method Battery> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> orm0: <Option ROMs> at iomem 
> 0xe0000-0xe3fff,0xdf000-0xdffff,0xcd000-0xcdfff on isa0
> pmtimer0 on isa0
> 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 2298060352 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> cbb0: Unsupported card type detected
> GEOM: create disk ad0 dp=0xc45d3860
> ad0: 57231MB <HITACHI_DK23EA-60> [116280/16/63] at ata0-master UDMA100
> acd0: CDRW <DW-224E-A> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s2a
> 

> 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: <PTLTD  	 APIC  >
> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 502136832 (478 MB)
> avail memory = 478072832 (455 MB)
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> Pentium Pro MTRR support enabled
> acpi0: <TOSCPL   RSDT  > 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: <CPU> on acpi0
> acpi_cpu1: <CPU> on acpi0
> acpi_cpu1: Failed to attach throttling P_CNT
> 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
> pci0: <base peripheral> at device 0.1 (no driver attached)
> pci0: <base peripheral> at device 0.3 (no driver attached)
> agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> 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: <display> at device 2.1 (no driver attached)
> uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f irq 16 at device 29.0 on pci0
> 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
> uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f irq 19 at device 29.1 on pci0
> 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
> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f irq 18 at device 29.2 on pci0
> usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached)
> pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci2: <ACPI PCI bus> on pcib1
> rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xe0210000-0xe02100ff irq 21 at device 1.0 on pci2
> rl0: Ethernet address: 00:02:3f:93:e5:97
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci2: <network, ethernet> at device 2.0 (no driver attached)
> cbb0: <ENE CB1410 PCI-CardBus Bridge> at device 4.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [MPSAFE]
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
> pci0: <multimedia, audio> at device 31.5 (no driver attached)
> pci0: <simple comms> at device 31.6 (no driver attached)
> acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
> acpi_acad0: <AC Adapter> 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: <Control Method Battery> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> orm0: <Option ROMs> at iomem 0xe0000-0xe3fff,0xdf000-0xdffff,0xcd000-0xcdfff on isa0
> pmtimer0 on isa0
> 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 2298060352 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> cbb0: Unsupported card type detected
> GEOM: create disk ad0 dp=0xc45d3860
> ad0: 57231MB <HITACHI_DK23EA-60> [116280/16/63] at ata0-master UDMA100
> acd0: CDRW <DW-224E-A> at ata1-master PIO4
> Mounting root from ufs:/dev/ad0s2a
> 



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