Re: CFT: consolectl

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Fri, 15 May 2009 16:09:39 +0200
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_at_ 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_at_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.
Received on Fri May 15 2009 - 12:09:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC