From owner-freebsd-current@FreeBSD.ORG Fri May 15 14:09:45 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CBB4106568B for ; Fri, 15 May 2009 14:09:45 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id ACE998FC1E for ; Fri, 15 May 2009 14:09:44 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 397DF19914D; Fri, 15 May 2009 16:09:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 2CA56199139; Fri, 15 May 2009 16:09:40 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 182C51990B8; Fri, 15 May 2009 16:09:40 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009051516093902-2197 ; Fri, 15 May 2009 16:09:39 +0200 Received: by wep4035 (sSMTP sendmail emulation); Fri, 15 May 2009 16:09:39 +0200 Date: Fri, 15 May 2009 16:09:39 +0200 From: Alexey Shuvaev To: Ed Schouten Message-ID: <20090515140939.GA59115@wep4035.physik.uni-wuerzburg.de> References: <20090514211215.GN58540@hoeg.nl> MIME-Version: 1.0 In-Reply-To: <20090514211215.GN58540@hoeg.nl> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.19 (2009-01-05) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 05/15/2009 04:09:39 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 05/15/2009 04:09:39 PM, Serialize complete at 05/15/2009 04:09:39 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: current@FreeBSD.org Subject: Re: CFT: consolectl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 14:09:45 -0000 On Thu, May 14, 2009 at 11:12:15PM +0200, Ed Schouten wrote: > Hello folks, > > I just made the following patch for -CURRENT. I did some tests to see > whether it works, but I'd rather send to to hackers@ to see whether it > introduces any regressions: > > http://80386.nl/pub/syscons.diff > [snip] > > I'd love to have some reports of people running X11 to know whether > their mouse still works. Unfortunately I don't have a FreeBSD -CURRENT > system running X11 at the moment. Just let me know if it breaks stuff. > Thanks! > System is: FreeBSD wep4035 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri May 15 13:50:21 CEST 2009 root@wep4035:/usr/obj/usr/src/sys/GENERIC amd64 + your patch above. x11 + moused + without hal + fluxbox = runs as before. If needed I can test with hal + kde4 (on another partition, I need to reboot then :( but for now pstat -t hangs here (part of ktrace): 84347 pstat CALL __sysctl(0x7fffffffd8e0,0x2,0x7fffffffd8fc,0x7fffffffd8f0, 0,0) 84347 pstat SCTL "kern.osreldate" 84347 pstat RET __sysctl 0 84347 pstat CALL mmap(0,0x100000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON, 0xffffffff,0) 84347 pstat RET mmap 10997760/0x800a7d000 84347 pstat CALL mmap(0x800b7d000,0x83000,PROT_READ|PROT_WRITE,MAP_PRIVATE| MAP_ANON,0xffffffff,0) 84347 pstat RET mmap 12046336/0x800b7d000 84347 pstat CALL munmap(0x800a7d000,0x83000) 84347 pstat RET munmap 0 84347 pstat CALL ioctl(0x1,TIOCGETA,0x7fffffffdae0) 84347 pstat RET ioctl 0 84347 pstat CALL write(0x1,0x800b02000,0x48) 84347 pstat GIO fd 1 wrote 72 bytes " LINE INQ CAN LIN LOW OUTQ USE LOW COL SESS PGID STAT\ E " 84347 pstat RET write 72/0x48 84347 pstat CALL __sysctl(0x7fffffffdbd0,0x2,0x7fffffffdb60,0x7fffffffdbc8, 0x402269,0x9) 84347 pstat SCTL "sysctl.name2oid" 84347 pstat RET __sysctl 0 84347 pstat CALL __sysctl(0x7fffffffdb60,0x2,0x800b03080,0x7fffffffe028,0,0 ) 84347 pstat SCTL "kern.ttys" 84347 pstat RET __sysctl -1 errno 12 Cannot allocate memory 84347 pstat CALL __sysctl(0x7fffffffdbd0,0x2,0x7fffffffdb60,0x7fffffffdbc8, 0x402269,0x9) 84347 pstat SCTL "sysctl.name2oid" 84347 pstat RET __sysctl 0 84347 pstat CALL __sysctl(0x7fffffffdb60,0x2,0x800b0510c,0x7fffffffe028,0,0 ) 84347 pstat SCTL "kern.ttys" 84347 pstat RET __sysctl -1 errno 12 Cannot allocate memory Just typing sysctl kern.ttys returns nothing. The system has 4G RAM with ~2 Free as per top's output at the moment of running pstat. HTH, Alexey.