Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 16:57:45 -0500
From:      Tim Chase <freebsd@tim.thechases.com>
To:        freebsd-wireless@freebsd.org
Subject:   ath0: could not map interrupt (again?)
Message-ID:  <20180502165745.59a5bfc4@bigbox.christie.dr>

next in thread | raw e-mail | index | archive | help
I just replaced my rubbish BCM in my Dell Inspiron Mini10 (Atom CPU)
with an Atheros mini-PCI and FreeBSD seems to have trouble bringing
it up:

# dmesg | grep ath0
ath0: <Atheros 9280> mem 0xd8000000-0xd800ffff irq 17 at device 0.0 on pci2
ath0: could not map interrupt
device_attach: ath0 attach returned 6

Checking for "irq 17" suggests that my pcib1 is already using that
interrupt:

# dmesg | grep "irq 17"
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
ath0: <Atheros 9280> mem 0xd8000000-0xd800ffff irq 17 at device 0.0 on pci2

I found a similar issue from back in 2013:

https://lists.freebsd.org/pipermail/freebsd-wireless/2013-January/002736.html

but it seems to be on a Mikrotik MIPS board.

An OpenBSD install on the same machine seems to find it well enough
to bring up the interface in case that helps.

Full dmesg below in case there are other details I missed.

Any suggestions on where I should go from here?

Thanks!

-tkc

Copyright (c) 1992-2017 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 04:10:47 UTC 2017
    root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(vga): resolution 640x480
CPU: Intel(R) Atom(TM) CPU Z520   @ 1.33GHz (1330.03-MHz 686-class CPU)
  Origin="GenuineIntel"  Id=0x106c2  Family=0x6  Model=0x1c  Stepping=2
  Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x40c3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,xTPR,PDCM,MOVBE>
  AMD Features=0x100000<NX>
  AMD Features2=0x1<LAHF>
  VT-x: (disabled in BIOS) HLT,PAUSE
  TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)
avail memory = 2067849216 (1972 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <DELL   M09     >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 hardware threads
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
Timecounter "TSC" frequency 1330025320 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
module_register_init: MOD_LOAD (vesa, 0xc10123d0, 0) error 19
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
acpi0: <DELL CL09   > on motherboard
ACPI Error: Could not enable PowerButton event (20170303/evxfevnt-339)
ACPI Warning: Could not enable fixed event - PowerButton (2) (20170303/evxface-855)
acpi0: Power Button (fixed)
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0xd> port 0x62,0x66 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: could not evaluate _ADR - AE_NOT_FOUND
pcib0: Length mismatch for 3 range: 800000 vs 7fffff
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xd8100000-0xd817ffff,0xd0000000-0xd7ffffff,0xd8380000-0xd839ffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
hdac0: <Intel SCH HDA Controller> mem 0xd83a0000-0xd83a3fff irq 22 at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pcib1: [GIANT-LOCKED]
pci1: <ACPI PCI bus> on pcib1
re0: <RealTek 810xE PCIe 10/100baseTX> port 0x2000-0x20ff mem 0xd8410000-0xd8410fff,0xd8400000-0xd840ffff irq 16 at device 0.0 on pci1
re0: Using 1 MSI-X message
re0: Chip rev. 0x24800000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 00:24:e8:c6:d7:2c
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pcib2: [GIANT-LOCKED]
pci2: <ACPI PCI bus> on pcib2
ath0: <Atheros 9280> mem 0xd8000000-0xd800ffff irq 17 at device 0.0 on pci2
ath0: could not map interrupt
device_attach: ath0 attach returned 6
uhci0: <UHCI (generic) USB controller> port 0x1820-0x183f irq 23 at device 29.0 on pci0
uhci0: LegSup = 0x0000
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
uhci1: <UHCI (generic) USB controller> port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: LegSup = 0x0000
usbus1 on uhci1
usbus1: 12Mbps Full Speed USB v1.0
uhci2: <UHCI (generic) USB controller> port 0x1860-0x187f irq 18 at device 29.2 on pci0
uhci2: LegSup = 0x0000
usbus2 on uhci2
usbus2: 12Mbps Full Speed USB v1.0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd83a4000-0xd83a43ff irq 21 at device 29.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
usbus3: 480Mbps High Speed USB v2.0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel SCH UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 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 IntelliMouse, device ID 3
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xce800-0xcf7ff,0xe0000-0xe17ff pnpid ORM0000 on isa0
fdc0: No FDOUT register!
ppc0: parallel port not found.
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic!
Please consider adding 'options KSTACK_PAGES=4' to your kernel config
ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable,
            add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
             Consider tuning vm.kmem_size and vm.kmem_size_max
             in /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
nvme cam probe device init
hdacc0: <Realtek ALC269 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC269 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC269 (Analog 2.0+HP/2.0)> at nid 20,21 and 18 on hdaa0
pcm1: <Realtek ALC269 (Rear Analog Mic)> at nid 24 on hdaa0
hdacc1: <Silicon Image SiI1392 HDA CODEC> at cad 1 on hdac0
hdaa1: <Silicon Image SiI1392 Audio Function Group> at nid 1 on hdacc1
pcm2: <Silicon Image SiI1392 (HDMI 8ch)> at nid 3 on hdaa1
ugen0.1: <Intel UHCI root HUB> at usbus0
ugen3.1: <Intel EHCI root HUB> at usbus3
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen1.1: <Intel UHCI root HUB> at usbus1
ugen2.1: <Intel UHCI root HUB> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub0: 2 ports with 2 removable, self powered
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD2500BEVT-75ZCT2 11.01A11> ATA8-ACS SATA 2.x device
ada0: Serial Number WD-WX30A79W9772
ada0: 100.000MB/s transfersuhub2:  (2 ports with 2 removable, self powered
UDMA5, PIO 8192bytes)
ada0: 238475MB (488397168 512 byte sectors)
uhub3: 2 ports with 2 removable, self powered
Trying to mount root from zfs:zroot/ROOT/default []...
GEOM_ELI: Device ada0p3.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI:     Crypto: software
Root mount waiting for: usbus3
uhub1: 8 ports with 8 removable, self powered
Root mount waiting for: usbus3
ugen3.2: <vendor 0x058f product 0x6254> at usbus3
uhub4 on uhub1
uhub4: <vendor 0x058f product 0x6254, class 9/0, rev 2.00/1.00, addr 2> on usbus3
Root mount waiting for: usbus3
uhub4: 2 ports with 2 removable, self powered
ugen3.3: <SuYin Integrated Webcam> at usbus3
Root mount waiting for: usbus3
ugen3.4: <Generic USB2.0-CRW> at usbus3
umass0 on uhub1
umass0: <Bulk-In, Bulk-Out, Interface> on usbus3
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:1:0: Attached to scbus1
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
da0: <Generic- Multi-Card 1.00> Removable Direct Access SCSI device
da0: Serial Number 20071114173400000
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
GEOM_ELI: Device ada0p2.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP



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