From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 2 19:46:25 2008 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 6D338106566B; Wed, 2 Apr 2008 19:46:23 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Wed, 2 Apr 2008 15:46:11 -0400 User-Agent: KMail/1.6.2 References: <200804020055.m320tEKh075558@freefall.freebsd.org> <200804021314.12780.jkim@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200804021546.14393.jkim@FreeBSD.org> Cc: Warren Block , freebsd-ports-bugs@freebsd.org Subject: Re: ports/122363: x11-servers/xorg-server 1.4_7, 1 locks up on mouse detection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 19:46:25 -0000 On Wednesday 02 April 2008 03:15 pm, Warren Block wrote: > On Wed, 2 Apr 2008, Jung-uk Kim wrote: > > On Wednesday 02 April 2008 12:30 pm, Warren Block wrote: > >> On Wed, 2 Apr 2008, Jung-uk Kim wrote: > >>> On Wednesday 02 April 2008 12:23 pm, Jung-uk Kim wrote: > >>>> Did you update ports/sysutils/hal? If not, please do and give > >>>> us feedback. > >>> > >>> Sorry, I missed you're using hal-0.5.11rc2_5. Did you reboot > >>> after the upgrade? > >> > >> At first, I just stopped and restarted dbus and hald. Then I > >> rebooted. Both the same--xorg-server just stops. > > > > Okay. Can you tell me where it 'stops', e.g., > > > > top > > ps -p `pgrep -nx Xorg` -u -w > > ktrace -p `pgrep -nx Xorg`; sleep 10; ktrace -cp `pgrep -nx > > Xorg`; kdump > > top: > > last pid: 59644; load averages: 0.02, 0.47, 0.53 > up 0+00:19:50 13:06:35 61 processes: 1 running, 60 > sleeping > CPU states: 0.4% user, 0.0% nice, 1.1% system, 0.4% interrupt, > 98.1% idle Mem: 27M Active, 220M Inact, 107M Wired, 268K Cache, 86M > Buf, 390M Free Swap: 1024M Total, 1024M Free > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU > COMMAND 59595 wblock 1 96 0 60924K 9084K select 0:01 > 0.51% Xorg 830 haldaemon 1 96 0 5380K 3948K select 0:02 > 0.00% hald 840 root 1 96 0 3548K 1836K select > 0:01 0.00% hald-addon-mouse-sy 842 root 1 96 0 3548K > 1836K select 0:01 0.00% hald-addon-mouse-sy 846 root 1 > 96 0 1912K 1484K select 0:00 0.00% hald-addon-storage 841 > root 1 96 0 1908K 1456K select 0:00 0.00% > hald-addon-storage 887 root 1 5 0 3868K 2236K ttyin > 0:00 0.00% csh 653 root 1 96 0 3044K 1808K > select 0:00 0.00% ntpd 834 root 19 20 0 6128K > 3444K kserel 0:00 0.00% console-kit-daemon 693 messagebus 1 > 96 0 1988K 1636K select 0:00 0.00% dbus-daemon > > ps -p `pgrep -nx Xorg` -u -w: > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME > COMMAND root 59595 0.0 1.2 60924 9084 v3 S 1:06PM > 0:00.60 X :0 -auth /home/wblock/.serverauth.59576 (Xorg) > > ktrace -p `pgrep -nx Xorg`; sleep 10; ktrace -cp `pgrep -nx Xorg`; > kdump (first part, it repeats like this): > > 59595 Xorg RET sigprocmask 0 > 59595 Xorg CALL sigreturn(0xbfbfdd00) > 59595 Xorg RET sigreturn JUSTRETURN > 59595 Xorg CALL select(0x400,0xbfbfe080,0,0,0xbfbfe078) > 59595 Xorg RET select -1 errno 4 Interrupted system call > 59595 Xorg PSIG SIGALRM caught handler=0x2836ca48 mask=0x0 > code=0x0 59595 Xorg CALL sigprocmask(0x1,0,0x81e811c) > 59595 Xorg RET sigprocmask 0 > 59595 Xorg CALL sigreturn(0xbfbfdd00) > 59595 Xorg RET sigreturn JUSTRETURN > 59595 Xorg CALL select(0x400,0xbfbfe080,0,0,0xbfbfe078) > 59595 Xorg RET select -1 errno 4 Interrupted system call > 59595 Xorg PSIG SIGALRM caught handler=0x2836ca48 mask=0x0 > code=0x0 59595 Xorg CALL sigprocmask(0x1,0,0x81e811c) > 59595 Xorg RET sigprocmask 0 > 59595 Xorg CALL sigreturn(0xbfbfdd00) > 59595 Xorg RET sigreturn JUSTRETURN > 59595 Xorg CALL select(0x400,0xbfbfe080,0,0,0xbfbfe078) > 59595 Xorg RET select -1 errno 4 Interrupted system call > 59595 Xorg PSIG SIGALRM caught handler=0x2836ca48 mask=0x0 > code=0x0 59595 Xorg CALL sigprocmask(0x1,0,0x81e811c) > 59595 Xorg RET sigprocmask 0 > 59595 Xorg CALL sigreturn(0xbfbfdd00) > 59595 Xorg RET sigreturn JUSTRETURN Nothing seems obviously wrong to me. :-( In fact, I was not able to replicate the problem, i.e., hal, xorg-server, USB mouse, PS/2 mouse, and moused on /dev/ums0. Is moused running on /dev/ums0 and/or /dev/psm0? ps -p `pgrep -x moused` If not, please add the following line in /etc/rc.conf and reboot: moused_enable="YES" Jung-uk Kim