From owner-freebsd-gnome@FreeBSD.ORG Mon Apr 21 20:57:33 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AF2B106564A for ; Mon, 21 Apr 2008 20:57:33 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 50C928FC1B for ; Mon, 21 Apr 2008 20:57:32 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m3LKvKH10072; Mon, 21 Apr 2008 16:57:20 -0400 (EDT) Received: from [64.102.221.177] (dhcp-64-102-221-177.cisco.com [64.102.221.177]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id m3LKw8u19838; Mon, 21 Apr 2008 16:58:08 -0400 (EDT) Message-ID: <480CFFB0.7000102@freebsd.org> Date: Mon, 21 Apr 2008 16:57:20 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Jan Henrik Sylvester References: <480CFCFD.6010702@janh.de> In-Reply-To: <480CFCFD.6010702@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome-list freebsd Subject: Re: hald constantly eating cpu X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 20:57:33 -0000 Jan Henrik Sylvester wrote: > After booting, top always shows about 4% user and 10% system without any > process having any (W)CPU. If I stop hald, everything goes down to 0, if > I start hald again after that, the cpu usage goes up again. This is most likely caused by the two mouse pollers. You can follow the HAL FAQ at http://www.freebsd.org/gnome/docs/halfaq.html to see how you can ignore these two devices. That will disable auto-config of the mice in X, but it should reduce the CPU usage. Joe > > Every related port is up to date (as of portsnap Apr-21 20:41 CEST). > > Kernel is GENERIC+SCHED_ULE. > > Any idea how to fix the problem? > > Since I have read about hald problems related to moused, I will state my > mouse config, although my configuration seems different: > /etc/rc.conf: > moused_enable="NO" > /etc/X11/xorg.conf: > InputDevice "Synaptics_Touchpad" "CorePointer" > InputDevice "Mouse0" "SendCoreEvents" > [...] > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "Auto" > Option "Device" "/dev/sysmouse" > [...] > Identifier "Synaptics_Touchpad" > Driver "synaptics" > Option "Device" "/dev/psm0" > Option "Protocol" "psm" > > Removing the usb mouse does not make a difference. > > hald or mouse related processes (no activity in top): > 2357 ?? Ss 0:00.87 /usr/sbin/moused -p /dev/ums0 -t auto -I > /var/run/moused.ums0.pid > 2666 ?? Ss 0:00.52 /usr/local/sbin/hald > 2667 ?? I 0:00.02 hald-runner > 2671 ?? S 0:00.32 hald-addon-mouse-sysmouse: /dev/psm0 > (hald-addon-mouse-sy) > 2676 ?? S 0:00.23 hald-addon-mouse-sysmouse: /dev/ums0 > (hald-addon-mouse-sy) > 2691 ?? S 0:00.11 hald-addon-storage: /dev/acd0 > (hald-addon-storage) > > Finally my dmesg: > Copyright (c) 1992-2008 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-RELEASE #0: Wed Feb 27 03:15:08 CET 2008 > jan@janh.freebsd:/usr/obj/usr/src/sys/ULEGENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) M processor 1400MHz (1394.35-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x695 Stepping = 5 > > Features=0xa7e9f9bf > > Features2=0x180 > real memory = 2146893824 (2047 MB) > avail memory = 2091327488 (1994 MB) > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Feb 27 2008 03:14:42) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 7ff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > cpu0: on acpi0 > acpi_perf0: on cpu0 > p4tcc0: on cpu0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0x3000-0x30ff mem > 0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 10 at device 0.0 on pci1 > uhci0: port 0x1800-0x181f > irq 10 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 0x1820-0x183f > irq 5 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 0x1840-0x185f > irq 10 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 > ehci0: mem > 0xd0000000-0xd00003ff irq 10 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: on usb3 > uhub3: 6 ports with 6 removable, self powered > pcib2: at device 30.0 on pci0 > pci_link4: BIOS IRQ 10 for 2.4.INTA is invalid > pci2: on pcib2 > bfe0: mem 0xd0214000-0xd0215fff irq 5 > at device 2.0 on pci2 > miibus0: on bfe0 > bmtphy0: PHY 1 on miibus0 > bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > bfe0: using obsoleted if_watchdog interface > bfe0: Ethernet address: 00:c0:9f:28:7f:1e > bfe0: [ITHREAD] > ath0: mem 0xd0200000-0xd020ffff irq 9 at device 4.0 on pci2 > ath0: [ITHREAD] > ath0: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:11:f5:83:f6:e6 > ath0: mac 10.5 phy 6.1 radio 6.3 > cbb0: mem 0xd0216000-0xd0216fff at > device 6.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > cbb1: at device 6.1 on pci2 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb1: [ITHREAD] > pci2: at device 6.2 (no driver attached) > fwohci0: mem > 0xd0218000-0xd02187ff,0xd0210000-0xd0213fff irq 10 at device 7.0 on pci2 > fwohci0: [FILTER] > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:c0:9f:00:00:0c:ef:cd > fwohci0: Phy 1394a available S400, 1 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:c0:9f:0c:ef:cd > fwe0: Ethernet address: 02:c0:9f:0c:ef:cd > fwip0: on firewire0 > fwip0: Firewire address: 00:c0:9f:00:00:0c:ef:cd @ 0xfffe00000000, S400, > maxrec 2048 > sbp0: on firewire0 > dcons_crom0: on firewire0 > dcons_crom0: bus_addr 0x7d840000 > fwohci0: Initiate bus reset > fwohci0: BUS reset > fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > pci0: at device 31.3 (no driver attached) > pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem > 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 10 at device 31.5 on pci0 > pcm0: [ITHREAD] > pcm0: > pci0: at device 31.6 (no driver attached) > acpi_lid0: on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > battery1: on acpi0 > acpi_button0: on acpi0 > 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 Synaptics Touchpad, device ID 0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1 port 0x2f8-0x2ff irq 3 drq 1 on acpi0 > sio1: type 16550A > sio1: [FILTER] > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd17ff pnpid > ORM0000 on isa0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > ppbus0: [ITHREAD] > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ppc0: [GIANT-LOCKED] > ppc0: [ITHREAD] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ums0: 2> on uhub0 > ums0: 8 buttons and Z dir. > Timecounter "TSC" frequency 1394345791 Hz quality 800 > Timecounters tick every 1.000 msec > hptrr: no controller detected. > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > ad0: 95396MB at ata0-master UDMA100 > interrupt storm detected on "irq10:"; throttling interrupt source > GEOM_LABEL: Label for provider ad0 is msdosfs/SMART BTMGR. > acd0: CDRW at ata1-master UDMA33 > pccard1: (manufacturer=0xffff, product=0x0001, > function_type=-1) at function 0 > pccard1: CIS info: O2Micro, SmartCardBus Reader, V1.0 > GEOM_LABEL: Label for provider ad0s1 is ntfs/WINDOWS_XP. > GEOM_LABEL: Label for provider ad0s5 is msdosfs/XCHANGE. > Trying to mount root from ufs:/dev/ad0s2a > GEOM_LABEL: Label msdosfs/SMART BTMGR removed. > fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 > drm0: on vgapci0 > info: [drm] AGP at 0xe0000000 256MB > info: [drm] Initialized radeon 1.25.0 20060524 > info: [drm] Setting GART location based on new memory map > info: [drm] Loading R200 Microcode > info: [drm] writeback test succeeded in 1 usecs > drm0: [ITHREAD] > > Thanks > Jan Henrik > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome