Re: Disabling ethernet link on an Intel nic?

2012-08-14 Thread Eugene Grosbein
11.08.2012 20:35, David Duchscher пишет: Greetings, I have a need to turn off the link of an ethernet port on a Intel nic. The issue is not a big deal but one we would like to solve. we have no way of signaling an upstream router that a path is down but via turning off the link of the

Re: /etc/resolv.conf getting over written with dhcp

2012-06-15 Thread Eugene Grosbein
} Works just fine for my systems. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Kernel threads inherit CPU affinity from random sibling

2012-02-24 Thread Eugene Grosbein
24.02.2012 18:45, Attilio Rao пишет: I have the pathological test-case for it: http://www.freebsd.org/cgi/query-pr.cgi?pr=165444 A fix has been committed as r230984, it should apply to STABLE_9/8 too, can you try it? Attilio I will try but I already run my patch for netisr, so it

Re: Kernel threads inherit CPU affinity from random sibling

2012-02-24 Thread Eugene Grosbein
/cgi/query-pr.cgi?pr=165444 Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Kernel threads inherit CPU affinity from random sibling

2012-02-24 Thread Eugene Grosbein
24.02.2012 19:05, Attilio Rao пишет: 2012/2/24, Eugene Grosbein eu...@grosbein.pp.ru: 24.02.2012 18:45, Attilio Rao пишет: I have the pathological test-case for it: http://www.freebsd.org/cgi/query-pr.cgi?pr=165444 A fix has been committed as r230984, it should apply to STABLE_9/8 too

Re: dummynet(4) kernel process CPU usage monitoring

2011-11-21 Thread Eugene Grosbein
, but top -SHP shows me 0.00% meantime. Where is my error? Please CC: me as I'm not in the list. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd

Re: dummynet(4) kernel process CPU usage monitoring

2011-11-21 Thread Eugene Grosbein
21.11.2011 23:37, Ryan Stone пишет: On Mon, Nov 21, 2011 at 1:23 AM, Eugene Grosbein eu...@grosbein.pp.ru wrote: Hi! I need to draw graph of dummynet's CPU usage. procstat -t 0 shows me TID (thread id) of dummynet kernel thread. ps -Hxo time,lwp shows me total CPU time consumed

Re: dummynet(4) kernel process CPU usage monitoring

2011-11-21 Thread Eugene Grosbein
21.11.2011 15:30, Luigi Rizzo пишет: On Mon, Nov 21, 2011 at 01:23:22PM +0700, Eugene Grosbein wrote: Hi! I need to draw graph of dummynet's CPU usage. procstat -t 0 shows me TID (thread id) of dummynet kernel thread. ps -Hxo time,lwp shows me total CPU time consumed by this thread. Now I

Re: dummynet(4) kernel process CPU usage monitoring

2011-11-20 Thread Eugene Grosbein
, but top -SHP shows me 0.00% meantime. Where is my error? Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Does anyone use nscd?

2011-10-05 Thread Eugene Grosbein
04.10.2011 22:47, Sean M. Collins пишет: I've never heard of the utility until you mentioned it. I'd nuke it, since really there are more popular alternatives like Redis and Memcached in the ports tree that most people will reach for first. Please look at

Re: boot0sio waits a minute

2011-02-08 Thread Eugene Grosbein
this too. I do not known a reason. And since I do not use physical serial console I just replace boot0sio with boot0 while building NanoBSD and skip the problem :-) Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Querying bsnmpd through /var/run/snmpd.sock

2011-01-23 Thread Eugene Grosbein
do I use the socket? I hope to be able to call mib_find_if_sys() function from another process using the socket. Is there a documentation for this? Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

syscall

2010-10-18 Thread Eugene Grosbein
/libc/arm/sys/syscall.S lib/libc/i386/sys/syscall.S lib/libc/mips/sys/syscall.S What about amd64? Eugene Grosbein P.S. Please reply to the list. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: syscall

2010-10-18 Thread Eugene Grosbein
On 18.10.2010 18:11, Kostik Belousov wrote: On Mon, Oct 18, 2010 at 05:27:21PM +0700, Eugene Grosbein wrote: Hi! I've written an utility in C that does not link libc normally, instead it includes sys/syscall.h and calls syscall(). It works nice for FreeBSD8/i386. Now I'm porting

Re: syscall

2010-10-18 Thread Eugene Grosbein
compat.h #include SYS.h RSYSCALL(syscall) Well, I can just copy there three lines to ./syscall.S and add the file to gcc command line. Thanks. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: syscall

2010-10-18 Thread Eugene Grosbein
On 18.10.2010 18:41, Garrett Cooper wrote: Official work similar to this was just committed yesterday at SVN r214006. Cheers, -Garrett Thanks, interesting. ___ freebsd-hackers@freebsd.org mailing list

Re: Support for WD Advanced Format disks

2010-08-11 Thread Eugene Grosbein
, this would satisfy any disk. If 4KB sectors are our future for a few next years, this shall be implemented anyway... Also, we have geom_cache for performance-sensetive setups anyway :-) Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list

Re: loader prompt: list / on other device

2010-06-23 Thread Eugene Grosbein
to change 'currdev' variable to point to right diskX Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: AHCI Driver on ICH7 (27c08086) Chipset

2010-04-01 Thread Eugene Grosbein
for this machine. http://www.intel.com/support/chipsets/imst/sb/cs-012304.htm In short: ICH7R and ICH7M both have AHCI support but ICH7 does not. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Email sent from at command going to the wrong account

2009-12-16 Thread Eugene Grosbein
/61355 The PR has some kind of patch in the Audit-Trail. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: [patch] add pwait utility

2009-11-07 Thread Eugene Grosbein
:-) Vote for it. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: SIGUNUSED

2009-11-07 Thread Eugene Grosbein
); Easy Editor is contributed software (now lives in contrib/). Such naive signgal handling had already hurt it in the past, f.e. plain ignore of SIGTTIN, SIGTTOU without sanity checks for STDIN_FILENO, STDOUT_FILENO made it CPU hog for 'ee file ' or 'ee /dev/null' in early versions. Eugene Grosbein

Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-27 Thread Eugene Grosbein
present in FreeBSD 7.x? If not, you may want to take a look: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/time.h#rev1.71 Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Determine if a kernel is built with a specific option?

2009-01-12 Thread Eugene Grosbein
it, if so sets a #define, otherwise doesn't. You should not assume that compiled code does not need polling support just because _buildbox_ doesn't have it enabled in time of build. If the code builds here, it does not mean it will run here. Eugene Grosbein

Re: tcpdump filter for out/in traffic

2009-01-04 Thread Eugene Grosbein
to /etc/ethers with name 'me-rl4' or just 'me' if you need not watch other interfaces this way. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd

Re: FreeBSD kernel Debugging tools for Virtual Memory Module

2009-01-02 Thread Eugene Grosbein
to debug the kernel and need not rebuild your development box. Test your changes with the system installed into VM and reboot it only. Use ddb or kgdb already noted here. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http

Re: forcefsck on booting stage

2008-07-28 Thread Eugene Grosbein
On Mon, Jul 28, 2008 at 04:11:49PM +0400, sam wrote: How to make 'fsck -f' on booting stage of remote system? echo '/sbin/fsck -y -f' /etc/rc.early ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: SCHED_4BSD bad interactivity on 7.0 vs 6.3

2008-07-13 Thread Eugene Grosbein
exactly the same problem with SCHED_4BSD after upgrade from 6.3-STABLE to 7.0-STABLE. I didn't upgrade my x.org 6.9.0, only OS (all 6.x compat shims are installed). There is some sort of regression, certainly. Eugene Grosbein ___ freebsd-hackers@freebsd.org

Re: ntpd jail problem

2008-06-08 Thread Eugene Grosbein
client/server connection between your two copies of NTP daemons, the server insures the client that time is right and client will serve your network just right. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Trying to support my product on BSD

2008-01-18 Thread Eugene Grosbein
them binaries using this package by issuing single command. First, please read The Porter's Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html If, after finishing, you still have a question, ask again :-) Eugene Grosbein

Re: building images for running from flash

2007-06-13 Thread Eugene Grosbein
on. Any nice way to deal with this? nanobsd(8) Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: building images for running from flash

2007-06-13 Thread Eugene Grosbein
On Wed, Jun 13, 2007 at 09:07:45AM -0400, Z.C.B. wrote: nanobsd(8) I am aware of it, but it does not cover what I need for either questions, except for possibly the make part. It does. Eugene ___ freebsd-hackers@freebsd.org mailing list

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Eugene Grosbein
didn't mention are you running 4.11-RELEASE or 4.11-STABLE. If you are using RELEASE then you definitely should try latest 4.11-STABLE, because there were lots of anti-panic fixes to RELENG_4 for USB subsystem aftere 4.11-RELEASE. Eugene Grosbein ___ freebsd

Re: usb keyboard attach crashes process usb0 (under FreeBSD4.11)

2007-04-03 Thread Eugene Grosbein
-RELEASE. Eugene Grosbein The entry in my sup-file is RELENG_4_11, not RELENG_4_11_0_RELEASE. So I think this is 4.11-STABLE, isn't it? No, this is so-called '4.11-SECURITY' (unofficial name since some moment). You need RELENG_4 in sup-file to obtain 4.11-STABLE, not RELENG_4_11. I believe

Re: Fwd: Abyssmal dump cache efficiency

2007-02-23 Thread Eugene Grosbein
The maintainer timeout for the PR has occured long time ago. Eugene Grosbein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 01:48:49PM +0200, Kostik Belousov wrote: I've tried. Now machine just hangs if I try to switch from X to vty. It stays in graphics mode locked. Does it crash when exiting glxgears/some video player ? It does not crash now when exiting glxgears but glxgears does not

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 12:37:08PM +0200, Kostik Belousov wrote: The problem is revealed by INVARIANTS option, not by WITNESS, and is definitely the use-after-free. in src/nvidia_dev.c, nvidia_dev_close(), that is cdevsw.d_close proc, the destroy_dev() is called. Please, apply rev. 1.199

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 01:02:08PM +0200, Kostik Belousov wrote: Hmm, it needs 1.198 as well. Below is aggregated patch against RELENG_6. Index: kern_conf.c === RCS file: /usr/local/arch/ncvs/src/sys/kern/kern_conf.c,v

Re: WITNESS RELENG_6

2007-01-04 Thread Eugene Grosbein
On Thu, Jan 04, 2007 at 02:12:45PM +0200, Kostik Belousov wrote: I've tried. Now machine just hangs if I try to switch from X to vty. It stays in graphics mode locked. Does it crash when exiting glxgears/some video player ? It does not crash now when exiting glxgears but glxgears

WITNESS RELENG_6

2007-01-03 Thread Eugene Grosbein
Hi! I try to find bugs in 6.2-PRERELEASE by using it (q) :-) The question is: are kernel options WITNESS/WITNESS_KDB expected to be in usable kernel? I don't worry about performance overhead here. The problem is, I've found this is nearly impossible to run my home system with RELENG_6 build from

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Eugene Grosbein
On Wed, Feb 22, 2006 at 03:50:17PM +0200, Nikos Vassiliadis wrote: netstat -r prints link-layer generated routes and many times the output becomes somehow obscure. For example: [EMAIL PROTECTED]:0:/usr/home/src/FreeBSD-6/src/usr.bin/netstat# netstat -ranfinet Routing tables Internet:

Re: (feature change request) remove link-layer generated routes from netstat -r

2006-02-24 Thread Eugene Grosbein
On Thu, Feb 23, 2006 at 09:56:46AM +0200, Nikos Vassiliadis wrote: Just use: netstat -rn | awk '$3 !~ /L/ { print }' That's exactly the point Eugene, I don't want to find ways to filter it out. It happens frequently. I didn't say it's difficult to remove it, I just don't want it there

Re: Low umass performance with USB 2.0 ports

2005-08-30 Thread Eugene Grosbein
Eygene A. Ryabinkin wrote: Good day. I am observing very low umass performance: when I am trying to move a large file from/to my USB 2.0 flash that is plugged into the USB 2.0 port: transfer starts fine at 3.5 Mb/sec, but after some 20 Mbytes it hangs and the process (dd) stay in the

writing ktrace output to serial port

2004-06-21 Thread Eugene Grosbein
, ktrace() in src/sys/kern/kern_trace.c does not permit writing to non-regular file. Why? Eugene Grosbein P.S. Please CC: me as I'm not in a list. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

Re: writing ktrace output to serial port

2004-06-21 Thread Eugene Grosbein
Julian Elischer wrote: I decided to divert ktrace.out to /dev/cuaa0 so another FreeBSD will keep it. However, ktrace() in src/sys/kern/kern_trace.c does not permit writing to non-regular file. Why? As for your problem.. Can you NFS mount? If you have no ethernet you could NFS mount

Re: Testers needed: Joe's MFC of USB code

2004-02-27 Thread Eugene Grosbein
SHUTDOWN_BEEP options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options INVARIANTS options INVARIANT_SUPPORT device agp device radeondrm Eugene Grosbein

syslog

2004-01-03 Thread Eugene Grosbein
Hi! [EMAIL PROTECTED] wrote 8 years ago in src/lib/libc/gen/syslog.c: p += sprintf(p, %.15s , ctime(now) + 4); What is '+ 4' for? http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/syslog.c.diff?r1=1.2r2=1.3 Eugene Grosbein P.S. Please CC me, I'm not in list

Re: syslog

2004-01-03 Thread Eugene Grosbein
Eugene Grosbein wrote: [EMAIL PROTECTED] wrote 8 years ago in src/lib/libc/gen/syslog.c: p += sprintf(p, %.15s , ctime(now) + 4); What is '+ 4' for? Oh, I've got it. Please ignore this question, sorry. Eugene ___ [EMAIL PROTECTED] mailing list

Re: kern.vm.kmem.size

2001-11-15 Thread Eugene Grosbein
kern.vm.kmem.size). Hmm, my test seems to be incorrect somehow. How can I see used amount of kernel malloc area? Eugene Grosbein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: kern.vm.kmem.size

2001-11-13 Thread Eugene Grosbein
can I estimate needed value of kern.vm.kmem.size? Eugene Grosbein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: porting OpenSSH to 2.2.8

2001-11-13 Thread Eugene Grosbein
distfile and patches from current ports tree for perl5. You can build and install it manually with no problems. 2. Take distfile and patches from current ports tree for openssl. You can build and install it manually with no problems, too. 3. The same with openssh-portable from ports. Eugene

Re: Cron pickle

2001-09-16 Thread Eugene Grosbein
day (or every 28-31): #!/bin/sh tomorrow=`date -v+1d %d` if [ $tomorroq -ne 01 ]; then exit # if tomorrow is not begin of month, do nothing fi # do work now ... Eugene Grosbein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Cron pickle

2001-09-16 Thread Eugene Grosbein
Greg Black wrote: Eugene Grosbein wrote: | On Mon, Sep 17, 2001 at 12:17:30PM +1000, Greg Black wrote: | | | I need to be able to run a particular program at the last | | minute of each month and yes I know it would be much easier to | | run it at the first minute of each month

libvgl

2001-07-01 Thread Eugene Grosbein
this situation. My system is FreeBSD 4.3-STABLE Eugene Grosbein P.S. Please CC me when replying. Thank you. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: libvgl

2001-07-01 Thread Eugene Grosbein
the ioctl VT_ACTIVATE when a key combination for vty switching is seen. Thank you very much. Can you please point me to the right place where I can read about syscons's ioctl, it's possibilities and semantics? RTFS around dev/syscons is not enough. Eugene Grosbein To Unsubscribe: send mail