ath0: device timeout

Sam Leffler sam at errno.com
Sat Nov 20 13:21:34 PST 2004


On Saturday 20 November 2004 10:17 am, fredthetree wrote:
> [originally sent to freebsd-stable]

Which is where it probably belongs so I've moved it back.

>
>
> ---------- Forwarded message ----------
> From: fredthetree <fredthetree at gmail.com>
> Date: Fri, 12 Nov 2004 23:26:27 -0400
> Subject: ath0: device timeout
> To: freebsd-stable at freebsd.org
>
>
> Using 5.3-RELEASE-i386, I am not able to use my usb mouse while using
> the internet through my Atheros 5212 wireless pci card.
>
> Here's what I do:
> $ startx
> $ ping google.com
> [move mouse]
>
> Here's what happens:
>
> ath0: device timeout
> [X & mouse lock up]
>
> --------------------------
> $ 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.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
>     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel Pentium III (701.59-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
>  
> Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
>,PAT,PSE36,PN,MMX,FXSR,SSE> real memory  = 536805376 (511 MB)
> avail memory = 515633152 (491 MB)
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <AWARD AWRDACPI> on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> cpu0: <ACPI CPU (3 Cx states)> on acpi0
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port
> 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
> 0xe0000000-0xe3ffffff at device 0.0 on pci0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 UDMA33 controller> port
> 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on
> pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x9000-0x901f
> irq 10 at device 7.2 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr
> 2, iclass 3/1
> ums0: 3 buttons and Z dir.
> pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
> pci0: <multimedia, audio> at device 10.0 (no driver attached)
> pci0: <input device> at device 10.1 (no driver attached)
> pci0: <network, ethernet> at device 13.0 (no driver attached)
> fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0 sio0: type 16550A
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppbus0: <Parallel port bus> on ppc0
> ppbus0: IEEE1284 device found /NIBBLE/ECP
> Probing for PnP devices on ppbus0:
> ppbus0: <HEWLETT-PACKARD DESKJET 810C> MLC,PCL,PML
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 701593791 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> ad0: 9536MB <Maxtor 5T010H1/TAH71DP0> [19376/16/63] at ata0-master UDMA33
> acd0: CDRW <HL-DT-ST GCE-8525B/1.03> at ata1-master UDMA33
> Mounting root from ufs:/dev/ad0s1a
> ath0: <Atheros 5212> mem 0xe8000000-0xe800ffff irq 10 at device 13.0 on
> pci0 ath0: mac 5.9 phy 4.3 5ghz radio 4.6
> ath0: Ethernet address: 00:0f:3d:50:13:5c
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> ath0: device timeout
> ath0: device timeout
> ath0: device timeout
> ath0: device timeout

Both ath and usb devices appear to be sharing irq 10; one is Giant locked and 
the other not.  It should work but it appears not.  If you can separate the 
irq's in the bios that might make things work.  Otherwise try booting with 
debug.mpsafenet=0 and see if the problem goes away.

FWIW I run several laptops with ath devices and usb mice (w/ and w/o sharing 
irq's) and have seen no issues.

 Sam


More information about the freebsd-stable mailing list