Date: Mon, 21 Apr 2008 22:45:49 +0200 From: Jan Henrik Sylvester <me@janh.de> To: gnome-list freebsd <freebsd-gnome@freebsd.org> Subject: hald constantly eating cpu Message-ID: <480CFCFD.6010702@janh.de>
next in thread | raw e-mail | index | archive | help
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. 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> Features2=0x180<EST,TM2> 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: <ACER Cardinal> 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: <Embedded Controller: GPE 0x1d> port 0x62,0x66 on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82855 host to AGP bridge> on hostb0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 10 at device 0.0 on pci1 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 10 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 5 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <Intel 82801DB (ICH4) 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 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 10 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: <Intel 82801DB (ICH4) 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 ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> 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: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0 usb3: USB revision 2.0 uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci_link4: BIOS IRQ 10 for 2.4.INTA is invalid pci2: <ACPI PCI bus> on pcib2 bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xd0214000-0xd0215fff irq 5 at device 2.0 on pci2 miibus0: <MII bus> on bfe0 bmtphy0: <BCM4401 10/100baseTX PHY> 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: <Atheros 5212> 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: <O2Micro OZ711M1 PCI-CardBus Bridge> mem 0xd0216000-0xd0216fff at device 6.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: <O2Micro OZ711M1 PCI-CardBus Bridge> at device 6.1 on pci2 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] pci2: <base peripheral> at device 6.2 (no driver attached) fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> 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: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:c0:9f:0c:ef:cd fwe0: Ethernet address: 02:c0:9f:0c:ef:cd fwip0: <IP over FireWire> on firewire0 fwip0: Firewire address: 00:c0:9f:00:00:0c:ef:cd @ 0xfffe00000000, S400, maxrec 2048 sbp0: <SBP-2/SCSI over FireWire> on firewire0 dcons_crom0: <dcons configuration ROM> on firewire0 dcons_crom0: bus_addr 0x7d840000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 10 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: <Avance Logic ALC202 AC97 Codec> pci0: <simple comms, generic modem> at device 31.6 (no driver attached) acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 battery1: <ACPI Control Method Battery> on acpi0 acpi_button0: <Sleep Button> on acpi0 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 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: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd17ff pnpid ORM0000 on isa0 ppc0: <Parallel port> 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: <Parallel port bus> on ppc0 ppbus0: [ITHREAD] plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] 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 ums0: <B16_b_02 USB-PS/2 Optical Mouse, class 0/0, rev 2.00/98.02, addr 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 <FUJITSU MHV2100AH 00000096> at ata0-master UDMA100 interrupt storm detected on "irq10:"; throttling interrupt source GEOM_LABEL: Label for provider ad0 is msdosfs/SMART BTMGR. acd0: CDRW <QSI CD-RW/DVD-ROM SBW-242/UX08> at ata1-master UDMA33 pccard1: <unknown card> (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: <ATI Radeon Lf RV250 Mobility 9000 M9 / FireMV 2400 PCI> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480CFCFD.6010702>