From owner-freebsd-current@FreeBSD.ORG Sun Aug 29 22:10:06 2004 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 3AB4116A4CF for ; Sun, 29 Aug 2004 22:10:06 +0000 (GMT) Received: from chello080110061116.502.15.vie.surfer.at (chello080110061116.502.15.vie.surfer.at [80.110.61.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C00943D45 for ; Sun, 29 Aug 2004 22:10:04 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 3167 invoked from network); 29 Aug 2004 22:10:03 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 29 Aug 2004 22:10:03 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-current@freebsd.org Date: Mon, 30 Aug 2004 00:09:50 +0200 User-Agent: KMail/1.6.2 References: <1093754957.564.24.camel@amon.quaggaspace.org> In-Reply-To: <1093754957.564.24.camel@amon.quaggaspace.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_6QlMBpAvclHfU9c"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200408300010.02817.4711@chello.at> cc: Nate Lawson cc: Justin Settle Subject: Re: APIC causes vr0 watchdog timeouts and Interrupt storms 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: Sun, 29 Aug 2004 22:10:06 -0000 --Boundary-02=_6QlMBpAvclHfU9c Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 29 August 2004 06:49, Justin Settle wrote: > Hello, > > I recently installed 5.3-BETA. After booting, I found was unable to use > my usb mouse or my ethernet (Via-rhine). I started tinkering with the > kernel and found that if I disabled APIC, this system worked without > ethernet issues or mouse isssues. After talking with some people they > suggested I post boot -v, dmesg's of the different kernels so here they > are: > > The first thing I tried was a GENERIC with SMP commented out. It had > the same issues as GENERIC: > > 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-BETA2 #0: Sat Aug 28 23:18:57 EDT 2004 > root@amon.quaggaspace.org:/usr/obj/usr/src/sys/GENERICNOSMP [snip] > acpi link set: _CRS failed for link \\_SB_.PCI0.ALKB - AE_NULL_ENTRY > acpi link set: curr irq 0 !=3D 21 for \\_SB_.PCI0.ALKB (ignoring) > unknown: _SRS failed, irq 21 via \\_SB_.PCI0.ALKB > found-> vendor=3D0x1106, dev=3D0x3038, revid=3D0x80 > bus=3D0, slot=3D16, func=3D0 > class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D1 > cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) > lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Da, irq=3D11 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[20]: type 4, range 32, base 0000d400, size 5, enabled > pcib0: matched entry for 0.16.INTB (src \\_SB_.PCI0.ALKB) > pcib0: slot 16 INTB is already routed to irq 21 > found-> vendor=3D0x1106, dev=3D0x3038, revid=3D0x80 > bus=3D0, slot=3D16, func=3D1 > class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D1 > cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) > lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Db, irq=3D21 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[20]: type 4, range 32, base 0000d800, size 5, enabled > pcib0: matched entry for 0.16.INTC (src \\_SB_.PCI0.ALKB) > pcib0: slot 16 INTC is already routed to irq 21 > found-> vendor=3D0x1106, dev=3D0x3038, revid=3D0x80 > bus=3D0, slot=3D16, func=3D2 > class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D1 > cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) > lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Dc, irq=3D21 > powerspec 2 supports D0 D1 D2 D3 current D0 > map[10]: type 1, range 32, base ee000000, size 8, enabled > pcib0: matched entry for 0.16.INTD (src \\_SB_.PCI0.ALKB) > pcib0: slot 16 INTD is already routed to irq 21 > found-> vendor=3D0x1106, dev=3D0x3104, revid=3D0x82 > bus=3D0, slot=3D16, func=3D3 > class=3D0c-03-20, hdrtype=3D0x00, mfdev=3D0 > cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) > lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) > intpin=3Dd, irq=3D21 > powerspec 2 supports D0 D1 D2 D3 current D0 [snip] > Interrupt storm detected on "irq21: uhci1 uhci2"; throttling interrupt > source [snip] I had similar USB problems on a Via KT600 board. In my case, manual irq=20 routing fixed the interrupt strom on irq 21. =20 # cat /boot/device.hints | grep acpi hw.acpi.pci.link.0.16.0.irq=3D21 hw.acpi.pci.link.0.16.1.irq=3D21 hw.acpi.pci.link.0.16.2.irq=3D21 hw.acpi.pci.link.0.16.3.irq=3D21 USB works perfectly now with ACPI and with options SMP/APIC defined in my=20 kernelconfig and ACPI.=20 Nate Lawson comitted some major improvements on the acpi_pci_link.c code=20 regarding the _CRS and _SRS objects and KTxxx bords in the last weeks, so I= =20 think it's a good idea cc'ing him. =20 I can't tell you much about the vr (VT6102) because it's irq routing is=20 different on the KT600 board (device 0.18.0 --> irq 5 ) and the chip=20 initializes without problems here.=20 Cheers,=20 ch=20 =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x941B6B0B=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --Boundary-02=_6QlMBpAvclHfU9c Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBMlQ6cyi/EZQbawsRAk43AJ49sfOBTbIZSs9HRF48fCnqJOUyFgCfbeqi vVxON1fhoXnGWEMMqbwPyU4= =Yu2k -----END PGP SIGNATURE----- --Boundary-02=_6QlMBpAvclHfU9c--