Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2007 12:35:23 +0100
From:      Oliver Peter <hoschi@mouhaha.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_7 jerky mouse and skipping sound (still a problem -BETA3)
Message-ID:  <20071201113522.GC2812@nemesis.frida.mouhaha.de>
In-Reply-To: <b1fa29170711191022k2e3ea2afocdcd32ca0279c41a@mail.gmail.com>
References:  <200710171228.39123.mistry.7@osu.edu> <472ED12B.7040200@gmx.de> <200711070953.22154.mistry.7@osu.edu> <200711191254.08134.mistry.7@osu.edu> <b1fa29170711191022k2e3ea2afocdcd32ca0279c41a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <mistry.7@osu.edu> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=3D0x180<EST,TM2>
  AMD Features=3D0x100000<NX>
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: <IBM TP-74> on motherboard
acpi0: [ITHREAD]
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> 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: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xa0080000-0xa00ff=
fff,0xc0000000-0xcfffffff,0xa0000000-0xa003ffff irq 11 at device 2.0 on pci0
agp0: <Intel 82915GM (915GM GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1: <VGA-compatible display> at device 2.1 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 11 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4101> me=
m 0xa0100000-0xa010ffff irq 11 at device 0.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> 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: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x1820-0x=
183f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) 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> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x1840-0x=
185f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) 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> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x1860-0x=
187f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0x1880-0x=
189f irq 11 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> 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: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib2
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xa0200000-0xa0200fff irq 11 at devi=
ce 0.0 on pci4
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
pci4: <base peripheral> at device 0.1 (no driver attached)
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xa0202000-0xa0202fff irq 11 at de=
vice 2.0 on pci4
iwi0: Ethernet address: 00:16:6f:c3:e3:48
iwi0: [ITHREAD]
pcm0: <Intel ICH6 (82801FB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xa004080=
0-0xa00409ff,0xa0040400-0xa00404ff irq 11 at device 30.2 on pci0
pcm0: [ITHREAD]
pcm0: <Analog Devices AD1981B AC97 Codec>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6M SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x17=
7,0x376,0x1810-0x181f at device 31.2 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ichsmb0: <SMBus controller> port 0x18a0-0x18bf irq 11 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
ichsmb0: [ITHREAD]
smbus0: <System Management Bus> on ichsmb0
acpi_tz0: <Thermal Zone> 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]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
ichwd0: <Intel ICH6M watchdog timer> on isa0
ichwd0: Intel ICH6M watchdog timer (ICH6 or equivalent)
orm0: <ISA Option ROMs> at iomem 0xc0000-0xce7ff,0xd0000-0xd0fff,0xdc000-0x=
dffff,0xe0000-0xeffff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ugen0: <STMicroelectronics Biometric Coprocessor, class 0/0, rev 1.00/0.01,=
 addr 2> on uhub2
Timecounter "TSC" frequency 1596012590 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 57231MB <HTC426060G9AT00 00P3A0B5> 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--



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