Re: Bumping MAXCPU on amd64?

2010-09-22 Thread pluknet
) -- wbr, pluknet ___ 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: Bumping MAXCPU on amd64?

2010-09-22 Thread pluknet
beyond the limits of feasible server. There is a one (16cores per socket, up to 4 sockets, 512 way). http://www.oracle.com/us/corporate/press/173536 -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: zfs + uma

2010-09-18 Thread pluknet
if required. FYI, There is a PR 146119 about sort of fixing that issues. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: strange problem with int64_t variables

2010-07-16 Thread pluknet
On 16 July 2010 01:42, Gabor Kovesdan ga...@freebsd.org wrote: Em 2010.07.13. 16:05, pluknet escreveu: #ifndef _SYS_SYSPROTO_H_ struct setjlimit_args {         jid_t   jid;         int     resource;         struct rlimit *rlp; }; #endif int setjlimit(td, uap)         struct thread *td

Re: strange problem with int64_t variables

2010-07-13 Thread pluknet
On 12 July 2010 15:11, Gabor Kovesdan ga...@freebsd.org wrote: Em 2010.07.12. 9:00, pluknet escreveu: Looking at getjid() impl, I see you're trying to put jid_t into the one register_t which are 64-bit vs 32-bit capable respectively. You need to cast so you put 64-bit into two 32-bit as done

Re: strange problem with int64_t variables

2010-07-12 Thread pluknet
() returns 1 this case, whose type is jid_t Looking at getjid() impl, I see you're trying to put jid_t into the one register_t which are 64-bit vs 32-bit capable respectively. You need to cast so you put 64-bit into two 32-bit as done for e.g. lseek(). -- wbr, pluknet

Re: envy24 driver broken

2010-07-07 Thread pluknet
(or recommendations for pro audio hardware that actually works with freebsd). Regards, xw Hi! I have audiophile192 card, it uses a different envy24ht (not envy24), but with the same mixer warnings you described above. I saw these warning since time driver has been committed to the tree. -- wbr, pluknet

Re: envy24 driver broken

2010-07-07 Thread pluknet
On 7 July 2010 22:58, xorquew...@googlemail.com wrote: On 2010-07-07 22:50:14, pluknet wrote: Hi! I have audiophile192 card, it uses a different envy24ht (not envy24), but with the same mixer warnings you described above. I saw these warning since time driver has been committed to the tree

Re: How change process flags from userland?

2010-06-30 Thread pluknet
, this behav isn't portable. -- wbr, pluknet ___ 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: How change process flags from userland?

2010-06-30 Thread pluknet
On 30 June 2010 11:33, pluknet pluk...@gmail.com wrote: On 30 June 2010 10:26, Andrey Zonov andrey.zo...@gmail.com wrote: Hi, I want to set P_PROTECTED flag for some daemons after it start, without patching application and kernel. It possible? May be madvise(NULL, 0, MADV_PROTECT

Re: How to get a thread ID?

2010-06-03 Thread pluknet
); Thanks, I'll try it. Is the returned ID the LWP ID that GDB shows? thr_self() does its work as well as ddb and procstat do: using td-td_tid. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: utimes(2): changing the birth time

2010-05-12 Thread pluknet
will be added that allows the setting of all three times at once. btw, there's a paper someone can find something interesting at. http://www.usenix.org/events/bsdcon03/tech/full_papers/mckusick/mckusick_html/ -- wbr, pluknet ___ freebsd-hackers@freebsd.org

Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server

2010-04-21 Thread pluknet
, 7.3-R (all amd64). All runs flawlessly. I'll try to boot it from head today if that matters. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Panic in vm_map_stack

2010-03-26 Thread pluknet
    /* Copy the current memory usage to the prison struct */  764     mtx_lock(pr-pr_mtx);  765     pr-pr_mem_usage = mem_used;  766     pr-pr_full_mem_usage = full_mem_used;  767     mtx_unlock(pr-pr_mtx);  768 }  769 Tom -- wbr, pluknet

Re: ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread pluknet
. That's what I see on Solaris: df: operation not applicable for FSType zfs -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: [patch] burncd: honour for envar SPEED

2009-11-10 Thread pluknet
to find, rather than easier. And which is a way some well known OS' developers like to choose to fix sec.holes. No cookie. P.S. I apologize for flaming on this. (next week's topic: the return value of malloc(0)...) DES -- Dag-Erling Smørgrav - d...@des.no -- wbr, pluknet

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread pluknet
ee just dumped me straight to the prompt. I am wondering if this has anything to do with the new tty subsystem in 8.0, as this wasn't a problem I've experienced before under 7.x... No, that's a regression appeared in (FreeBSD'ish? version of) ee 1.5.0. -- wbr, pluknet

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread pluknet
2009/10/23 Alexander Best alexbes...@math.uni-muenster.de: Gary Jennejohn schrieb am 2009-10-23: On Fri, 23 Oct 2009 12:58:43 +0400 pluknet pluk...@gmail.com wrote: 2009/10/23 Antony Mawer li...@mawer.org: On Fri, Oct 23, 2009 at 1:35 PM, Alexander Best alexbes...@math.uni-muenster.de

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread pluknet
2009/10/23 Alexander Best alexbes...@math.uni-muenster.de: pluknet schrieb am 2009-10-23: 2009/10/23 Alexander Best alexbes...@math.uni-muenster.de: Gary Jennejohn schrieb am 2009-10-23: On Fri, 23 Oct 2009 12:58:43 +0400 pluknet pluk...@gmail.com wrote: 2009/10/23 Antony Mawer li

Re: [problem] aac0 does not respond

2009-03-24 Thread pluknet
) after read 6GB data from this file and print debug messages on ttyv0 As to prevent the emergence of this problem? As monitor the status of RAID-controller? You can check status of aac controller with arcconf utility and post results there.. -- wbr, pluknet

Non-existing p_vmspace. When is it possible?

2009-03-11 Thread pluknet
is not need. Am I right? Thanks. -- wbr, pluknet ___ 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: Debugging init process.

2009-03-10 Thread pluknet
): P_SYSTEM0x00200 System proc: no sigs, stats or swapping -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd

OT: svn commit: r188764 - head/sys/kern

2009-02-18 Thread pluknet
Hi. Am I right that td_estcpu is only updated under SCHED_4BSD ? (well, user's ki_estcpu is not used in top anyway. ps shows all zeroes under SCHED_ULE (as it should then though). I'm just interested.) -- wbr, pluknet ___ freebsd-hackers@freebsd.org

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread pluknet
= if +2drop +share-logo +exit +then 2dup s none compare-insensitive 0= if 2drop \ no logo (spied out from http://www.opennet.ru/opennews/art.shtml?num=20136) -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list

linking .a lib with another library

2009-02-05 Thread pluknet
Hi. The problem is: I have a program which is statically linked to my static lib during a build. The lib is in turn uses kvm*() calls, hence it should be linked with libkvm. During the build of my binaries which are linked to my libucron.a I get the following: /usr/home/pluknet/svn/ucron

Re: linking .a lib with another library

2009-02-05 Thread pluknet
2009/2/5 pluknet pluk...@gmail.com: Hi. The problem is: I have a program which is statically linked to my static lib during a build. The lib is in turn uses kvm*() calls, hence it should be linked with libkvm. During the build of my binaries which are linked to my libucron.a I get

dublicated vm stats in sysctl

2009-01-28 Thread pluknet
but cannot understand it. -- wbr, pluknet ___ 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: Determine if a kernel is built with a specific option?

2009-01-12 Thread pluknet
) fi So I simply want to figure out an equalavant check I can do on FreeBSD. Hi. You may look at sysctl kern.polling presence. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: extattr problems?

2009-01-11 Thread pluknet
2009/1/11 Tim Kientzle kient...@freebsd.org: pluknet wrote: 2009/1/11 Tim Kientzle kient...@freebsd.org: FreeBSD 6.3: fd = open(test, O_WRONLY | O_CREAT | O_EXCL, 0777); n = extattr_set_fd(fd, EXTATTR_NAMESPACE_USER, testattr, 1234, 4); After this, fd=3, n is non-zero, errno = 9 (EBADF

Re: extattr problems?

2009-01-10 Thread pluknet
EBADF from getvnode() on failed (td-td_proc-p_fd == NULL) or (fp = fdp-fd_ofiles[fd]) == NULL) checks. Tim -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: How to quickly determine if UFS2 FS is clean from command line?

2008-12-26 Thread pluknet
, /stand was only ever populated on install and there's no guarantees it was ever up to date. Humm, 8.0 has /rescue/sed. It's was added there over a year ago, but not in stable. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http

Re: PRINTF_BUFR_SIZE in freebsd6

2008-12-17 Thread pluknet
2008/12/17 Paul B. Mahol one...@gmail.com: On 12/17/08, pluknet pluk...@gmail.com wrote: 2008/12/17 Paul B. Mahol one...@gmail.com: On 12/17/08, pluknet pluk...@gmail.com wrote: 2008/12/17 pluknet pluk...@gmail.com: 2008/12/16 Kostik Belousov kostik...@gmail.com: On Tue, Dec 16, 2008 at 03

Re: PRINTF_BUFR_SIZE in freebsd6

2008-12-17 Thread pluknet
2008/12/17 pluknet pluk...@gmail.com: 2008/12/16 Kostik Belousov kostik...@gmail.com: On Tue, Dec 16, 2008 at 03:23:28PM +0300, pluknet wrote: Hi. Could the PRINTF_BUFR_SIZE option be safely merged into RELENG_6 without merging a possible underlining infrastructure and breaking something

Re: PRINTF_BUFR_SIZE in freebsd6

2008-12-17 Thread pluknet
2008/12/17 Paul B. Mahol one...@gmail.com: On 12/17/08, pluknet pluk...@gmail.com wrote: 2008/12/17 pluknet pluk...@gmail.com: 2008/12/16 Kostik Belousov kostik...@gmail.com: On Tue, Dec 16, 2008 at 03:23:28PM +0300, pluknet wrote: Hi. Could the PRINTF_BUFR_SIZE option be safely merged

Re: PRINTF_BUFR_SIZE in freebsd6

2008-12-17 Thread pluknet
2008/12/16 Kostik Belousov kostik...@gmail.com: On Tue, Dec 16, 2008 at 03:23:28PM +0300, pluknet wrote: Hi. Could the PRINTF_BUFR_SIZE option be safely merged into RELENG_6 without merging a possible underlining infrastructure and breaking something else? I want to use it in my custom

Re: FreeBSD (russian)

2008-12-10 Thread pluknet
://lists.freebsd.org/pipermail/freebsd-hackers/2008-November/026566.html and especially http://www.freebsd.org/projects/index.html http://wiki.freebsd.org/ will be good too. can we have a russian speaking developer contact him too? it's her :) -- wbr, pluknet

Re: who on FreeBSD 8.0 - AMD64

2008-12-09 Thread pluknet
that was imported a few months ago. What was the reason to rename? Isn't that a POLA violation for both users/older software? You should read pty(4). -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: kernel vm_submap's

2008-12-04 Thread pluknet
..)? vm_map_submap(9) might help you. btw, it's called only from one place I can find: kmem_suballoc. Thanks, -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: crash at in_pcb.c

2008-10-29 Thread pluknet
. It's definitely 7.0 backtrace (or close to).. 6.2 has different line numbers. -- wbr, pluknet ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Stupid driver build/debug questions

2008-03-27 Thread pluknet
, It will if you add them to standard files list (see conf/files). (Otherwise if you want it as options directive in your kernel config than you should mark its module name in conf/files and also put an appropriate record into conf/options). - pluknet ___ freebsd

Re: pfind() in ithread handler

2008-02-28 Thread pluknet
-1.92.tbz) can be found at http://www.pastebin.ca/921830 TIA, Yuri You cannot sleep in high priority ithread handler, pfind() uses sleepable sx(9) lock. In your case it fail to acquire a shared lock and trying to sleep. Probably you should call pfind() elsewhere. wbr, pluknet

Re: struct devstat's bytes[] meaning

2008-01-30 Thread pluknet
that those two numbers represent the amount of IO generated within some time slice, but I can't find any documentation on it... Did you look at devstat(3) ? I think there is all you need to know about devstat library. wbr, pluknet ___ freebsd-hackers