From owner-freebsd-stable@FreeBSD.ORG Sat Dec 1 11:55:45 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F289816A41B for ; Sat, 1 Dec 2007 11:55:45 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from etain.frida.mouhaha.de (etain.frida.mouhaha.de [85.236.48.54]) by mx1.freebsd.org (Postfix) with ESMTP id 526FF13C442 for ; Sat, 1 Dec 2007 11:55:45 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from localhost (etain.frida.mouhaha.de [85.236.48.54]) by etain.frida.mouhaha.de (Postfix) with ESMTP id 5C5C34BA7A2 for ; Sat, 1 Dec 2007 12:35:26 +0100 (CET) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from etain.frida.mouhaha.de ([85.236.48.54]) by localhost (etain.frida.mouhaha.de [85.236.48.54]) (amavisd-new, port 10024) with ESMTP id TE4r3f+PSTrQ for ; Sat, 1 Dec 2007 12:35:23 +0100 (CET) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id 3AE174BA716; Sat, 1 Dec 2007 12:35:23 +0100 (CET) Date: Sat, 1 Dec 2007 12:35:23 +0100 From: Oliver Peter To: freebsd-stable@freebsd.org Message-ID: <20071201113522.GC2812@nemesis.frida.mouhaha.de> References: <200710171228.39123.mistry.7@osu.edu> <472ED12B.7040200@gmx.de> <200711070953.22154.mistry.7@osu.edu> <200711191254.08134.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.2-RELEASE-p8 i386 User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: RELENG_7 jerky mouse and skipping sound (still a problem -BETA3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 11:55:46 -0000 --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 19, 2007 at 10:22:33AM -0800, Kip Macy wrote: > On Nov 19, 2007 9:53 AM, Anish Mistry wrote: > > On Wednesday 07 November 2007, Anish Mistry wrote: > > > On Monday 05 November 2007, [LoN]Kamikaze wrote: > > > > Marc Fonvieille wrote: > > > > > On Thu, Oct 18, 2007 at 05:53:47PM +0200, [LoN]Kamikaze wrote: > > > > >> Anish Mistry wrote: > > > > >>> On Thursday 18 October 2007, Marc Fonvieille wrote: > > > > >>>> On Wed, Oct 17, 2007 at 12:28:30PM -0400, Anish Mistry wrote: > > > > >>>>> I just updated to RELENG_7 from 6.2 and I'm running into > > > > >>>>> some really annoying issues with jerky mouse movement and > > > > >>>>> skipping sound. This seems to be similar to: > > > > >>>>> Re: SCHED_4BSD in RELENG_7 disturbs workflow > > > > >>>>> This happens both with 4BSD and ULE. > > > > >>>>> > > > > >>>>> I seems to happen when I'm compiling ports and a new > > > > >>>>> cc/bzip2/sh process fires off (I'm just watching top), I'll > > > > >>>>> get the skip/freezeup. > > > > >>>> > > > > >>>> [...] > > > > >>>> > > > > >>>> Using ULE and UP kernel (i.e. without SMP etc.) helped a bit > > > > >>>> the things but it's still very annoying to use firefox > > > > >>>> during ports build. I see this lag/freeze on all boxes I > > > > >>>> use with 7.0, but it's true that with a fast machine people > > > > >>>> can ignore the problem, it's less obvious than with a 1GHz > > > > >>>> box for example. > > > > >>> > > > > >>> Yeah, I'm still seeing this behavior. Does anyone have > > > > >>> suggestions on debugging? > > > > >>> > > > > >>> Thanks, > > > > >> > > > > >> I did post the solution in this thread. > > > > > > > > > > It has nothing to do with the mouse. > > > > > > > > Does the problem persist for you? It's gone for me, even with > > > > moused. > > > > > > Yes, the problem seems to have been fixed. I'm back to > > > kern.hz=3D1000 and removed FULL_PREEMPTION. No skipping. > > It looks like I spoke too soon. I've just tried to compile miro and > > as it was compiling the boost-python dependency I noticed the problem > > again. Switching kern.hz=3D"100" seems to fix the problem. Can any of > > the developers in this area reproduce the issue? It's pretty easy to > > reproduce on my 1.33Ghz Athlon. > > > There is an ithread priority inversion bug that might be causing this. > The fix for that should be going in shortly. I have a similar problem under 7.0-BETA3 with SCHED_ULE and snd_ich. Sound is skipping with/without load every few seconds. kern.hz is at 1000 and dev.pcm.0.buffersize: 16384 % kldstat Id Refs Address Size Name 1 29 0xc0400000 4f6390 kernel 2 1 0xc08f7000 16e8 splash_pcx.ko 3 1 0xc090f000 28660 linux.ko 4 1 0xc0938000 102e8 if_iwi.ko 5 1 0xc0949000 6ec8 snd_ich.ko 6 2 0xc0950000 4a36c sound.ko 7 1 0xc099b000 4ce4 ichsmb.ko 8 2 0xc09a0000 2c20 smbus.ko 9 1 0xc09a3000 2a90 ichwd.ko 10 1 0xc09a6000 6a184 acpi.ko 11 1 0xc4786000 f000 geom_eli.ko 12 1 0xc4795000 24000 crypto.ko 13 1 0xc47b9000 a000 zlib.ko 14 1 0xc48cf000 3000 pflog.ko 15 1 0xc48d2000 33000 pf.ko 16 1 0xcaaa2000 6000 i915.ko 17 1 0xcaaa8000 f000 drm.ko Copyright (c) 1992-2007 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 7.0-BETA3 #0: Fri Nov 30 11:16:35 CET 2007 hoschi@dogbert.geonosis.homeunix.org:/usr/obj/usr/src/sys/DOGBERT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1596.01-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x6d8 Stepping =3D 8 Features=3D0xafe9fbff Features2=3D0x180 AMD Features=3D0x100000 real memory =3D 1601044480 (1526 MB) avail memory =3D 1559543808 (1487 MB) ichwd module loaded kbd1 at kbdmux0 module_register_init: MOD_LOAD (splash_pcx, 0xc08f7790, 0) error 19 ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or = length: 0 102C/0 [20070320] acpi0: on motherboard acpi0: [ITHREAD] acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 5ff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x1807 mem 0xa0080000-0xa00ff= fff,0xc0000000-0xcfffffff,0xa0000000-0xa003ffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M vgapci1: at device 2.1 on pci0 pcib1: irq 11 at device 28.0 on pci0 pci2: on pcib1 bge0: me= m 0xa0100000-0xa010ffff irq 11 at device 0.0 on pci2 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000ba= seT-FDX, auto bge0: Ethernet address: 00:16:d3:c1:66:16 bge0: [ITHREAD] uhci0: port 0x1820-0x= 183f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1840-0x= 185f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1860-0x= 187f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1880-0x= 189f irq 11 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xa0040000-0xa00403ff = irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib2: at device 30.0 on pci0 pci4: on pcib2 cbb0: mem 0xa0200000-0xa0200fff irq 11 at devi= ce 0.0 on pci4 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] pci4: at device 0.1 (no driver attached) iwi0: mem 0xa0202000-0xa0202fff irq 11 at de= vice 2.0 on pci4 iwi0: Ethernet address: 00:16:6f:c3:e3:48 iwi0: [ITHREAD] pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xa004080= 0-0xa00409ff,0xa0040400-0xa00404ff irq 11 at device 30.2 on pci0 pcm0: [ITHREAD] pcm0: isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x17= 7,0x376,0x1810-0x181f at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ichsmb0: port 0x18a0-0x18bf irq 11 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] ichsmb0: [ITHREAD] smbus0: on ichsmb0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 ichwd0: on isa0 ichwd0: Intel ICH6M watchdog timer (ICH6 or equivalent) orm0: at iomem 0xc0000-0xce7ff,0xd0000-0xd0fff,0xdc000-0x= dffff,0xe0000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: on uhub2 Timecounter "TSC" frequency 1596012590 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 --=20 Oliver PETER, eMail: hoschi@mouhaha.de, ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iEYEARECAAYFAkdRRvoACgkQ6LH/IUVtaI9NMQCfYn9ZFMde5LJJSEhs850/deun 8DMAn1GW2gbqlgQoEPR0KipEaUh0CNm/ =QmhG -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X--