kgdb 'next' command crashes kernel during inter-VM kernel debugging

2013-09-02 Thread Yuri
) causes target to reboot. Device /dev/cuau0 is used for the serial port. On the host it goes through the local socket /tmp/com_1 All with FreeBSD 10 (trunk) amd64, virtualbox 4.2.16 Yuri ___ freebsd-hackers@freebsd.org mailing list http

Kernel DDB doesn't work in VM ?

2013-08-13 Thread Yuri
. sysctl debug.kdb.enter=1 also causes the above behavior as if panic has occurred. Is it possible to make DDB kick in while running as VM? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Discussing ideas or wish list

2013-08-11 Thread Yuri
of ZFS lacks zones. Yuri ___ 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: After the FreeBSD VM crash, file system in VM got rolled back to some old previous state causing data loss

2013-08-07 Thread Yuri
On 08/07/2013 01:56, Wojciech Puchar wrote: not possible in FreeBSD with UFS. but if you run virtualbox under linux i cannot say much... This happened with FreeBSD guest with UFS (journaled soft-updates) and FreeBSD host. What is out of normal, it rolled back for many hours (~20). Yuri

After the FreeBSD VM crash, file system in VM got rolled back to some old previous state causing data loss

2013-08-02 Thread Yuri
Xorg, I had to kill it and reboot. VirtualBox processes got killed in the process. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

DTrace copyin with struct doesn't work?

2013-07-24 Thread Yuri
sys_select(struct thread *td, struct select_args *uap) arg1 in DTrace script should correspond to uap argument of sys_select, and dereferencing should always produce an int. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Yuri
. But when it reads /compat/linux/dev/mounts in order to find /dev/shm (linux shm_open(3) function), it sees the wrong paths there and fails. It can't statfs the mount point. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: Should process run under chroot(8) still see mounts on the original system?

2013-07-23 Thread Yuri
and host app reads through symbolic links. It might also be assuming that it runs on the same host and maybe is unable to connect to X server other than through the shared memory. Such functionality can be made optional through some sysctl variable. Yuri

Re: Kernel crashes after sleep: how to debug?

2013-07-19 Thread Yuri
'~'} Yuri ___ 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 crashes after sleep: how to debug?

2013-07-19 Thread Yuri
' and 'power_resume'. But it is possible that memory gets damaged somewhere else after power_resume happens. Do you have any thought/suggestions? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/16/2013 08:07, John Baldwin wrote: Can you go to frame 8 and do 'l' in kgdb? (kgdb) up 8 #8 0x80baea78 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:829 829 if (!VM_OBJECT_TRYLOCK(object) (kgdb) l 824 if (!vm_pageout_page_lock(m,

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
) p *m No symbol m in current context. even though kernel was built with makeoptions DEBUG=-g, same for other symbols there. Is there a way to identify when and by whom the page has been allocated? Yuri ___ freebsd-hackers@freebsd.org mailing list

Re: Kernel crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/18/2013 13:52, John Baldwin wrote: Are you in frame 8? Yes. Yuri ___ 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 crashes after sleep: how to debug?

2013-07-18 Thread Yuri
On 07/18/2013 13:52, John Baldwin wrote: Are you in frame 8? For some reason the debug info is missing in frame 8, but is present in surrounding frames 7 and 9. The might be a bug in makefiles that debug flag isn't passed into sys/vm/ directory. Yuri

Kernel crashes after sleep: how to debug?

2013-07-15 Thread Yuri
: pagedaemon) doadump (textdump=value optimized out) at pcpu.h:234 How to find the cause of the crash? Yuri --- kgdb log --- # kgdb /boot/kernel/kernel vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License

Re: Kernel crashes after sleep: how to debug?

2013-07-15 Thread Yuri
On 07/15/2013 00:22, Yuri wrote: How to find the cause of the crash? I added WITNESS and related options and next crash produced such messages: Jul 15 03:25:53 satellite kernel: panic: Bad link elm 0xfe00b780d000 next-prev != elm Jul 15 03:25:53 satellite kernel: cpuid = 1 Jul 15 03:25

DVD burner failure on FreeBSD: the LUN appears to be stuck

2013-06-03 Thread Yuri
clarify the issue. Yuri --- error log --- 1072726016/8061945856 (13.3%) @0.0x, remaining 86:00 RBU 100.0% UBU 100.0% 1072726016/8061945856 (13.3%) @0.0x, remaining 86:19 RBU 100.0% UBU 100.0% 1072726016/8061945856 (13.3%) @0.0x, remaining 86:45 RBU 100.0% UBU 100.0% 1072726016/8061945856 (13.3

What is the correct way to declare assembler global variable ?

2013-05-03 Thread Yuri
(my_curbrk_ptr) :: %rax, %rdx); ... } I get a warning: /usr/bin/ld: warning: type and size of dynamic symbol `.curbrk@@FBSDprivate_1.0' are not defined What is the correct way to declare .curbrk in in-place assembly? Yuri ___ freebsd-hackers

Re: What is the correct way to declare assembler global variable ?

2013-05-03 Thread Yuri
__sbrk, and they just use it to conenct to the original sbrk. But there is no such thing of FreeBSD. Yuri static inline void* do_sbrk(intptr_t increment) { void* curbrk = 0; #if defined(__x86_64__) || defined(__amd64__) # ifdef PIC __asm__ __volatile__( movq .curbrk@GOTPCREL(%%rip

helgrind (valgrind plugin) errors coming from nsdispatch(3)

2013-03-24 Thread Yuri
should be ignored? 9.1-STABLE amd64 valgrind-3.8.0_1,1 Yuri ---helgrind log--- ==6736== Thread #1: lock order 0x282B150 before 0x282B190 violated ==6736== ==6736== Observed (incorrect) order is: acquisition of lock at 0x282B190 ==6736==at 0x155AA4F: pthread_mutex_trylock (hg_intercepts.c:550

top(1) doesn't report the correct CPU time for a multithreaded process

2013-03-13 Thread Yuri
values around 3400% and then it goes down to the values below 1% for the rest of the run: 50619 yuri 206 200 621M 555M uwait 7 0:31 0.68% myapp In the end, after all threads have quit, process measures its resources with getrusage(RUSAGE_SELF, u); and it shows that CPU time

Calling ustack(); from DTrace script crashes the user process

2013-01-25 Thread Yuri
like /dev/dtrace/io don't exist? Maybe some extra-options are required for ustack() to work? If this is the case this should be mentioned in wiki. Yuri # kldstat Id Refs AddressSize Name 3 16 0x81861000 84c0 opensolaris.ko 44 0x8186a000 53a00

Re: Why DTrace sensor is listed but not called?

2013-01-24 Thread Yuri
that static empty functions with 'noinline' attributes get eliminated by the optimizer. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56099 Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Why DTrace sensor is listed but not called?

2013-01-22 Thread Yuri
::xxx_my_trace:entry { printf(xxx_my_trace); } It does print the following, but nothing else: dtrace: script './dt.d' matched 1 probe Adding __attribute__((noinline)) doesn't help. What is the problem? Why dtrace sensors aren't invoked? Yuri ___ freebsd-hackers

How to validate the variable size memory block in ioctl handler?

2013-01-20 Thread Yuri
, _IOWR do validation based on the size of structure supplied to them. So that the handler procedures don't have to do that. I was expecting to find among them some macro that would work for such variable size structure, but it isn't there. (Not sure if this is possible language-wise). Yuri

Re: How to validate the variable size memory block in ioctl handler?

2013-01-20 Thread Yuri
this. Yuri Index: sys/kern/sys_generic.c === --- sys/kern/sys_generic.c (revision 245654) +++ sys/kern/sys_generic.c (working copy) @@ -640,6 +640,7 @@ int arg, error; u_int size; caddr_t data

Re: How to validate the variable size memory block in ioctl handler?

2013-01-20 Thread Yuri
is set, so all 3 bits would mean _IORWE. And arbitrarily high parameter size can be explicitly limited in sys_generic.c to IOCPARM_MAX. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Is there a way to prioritize disk operations ?

2013-01-15 Thread Yuri
disk priority won't affect the other processes at all. Yuri ___ 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

How to overload the system call in the userland program?

2012-11-30 Thread Yuri
to overload the system call like this would be in linux?: extern C void* __sbrk(ptrdiff_t increment); extern C void* sbrk(intptr_t increment) { return__sbrk(increment); } Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Yuri
. It looks like in their test FreeBSD behaved in somewhat impaired way. Any ideas what can I try to tune? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Yuri
On 11/06/2012 11:10, Samuel J. Greear wrote: Single and multi-socket hardware are not really directly comparable in PostgreSQL tests. So if the CPUs are split between sockets, would such system generally perform better or worse with PostgeSQL vs. non-split situation? Yuri

pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-05 Thread Yuri
to the level of ~88% of linux with 80 clients. Yuri ___ 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: 'device atapicam' breaks the build

2012-10-29 Thread Yuri
load in case such older disks are in use? If yes, why there is such dependency? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: 'device atapicam' breaks the build

2012-10-29 Thread Yuri
On 10/29/2012 00:27, Yuri wrote: Unfortunately the root disk on this machine is attached to ata3 and isn't visible when 'device ATA_CAM' is commented out. (mountroot prompt shows up on boot only listing ahci-compatible disks). Actually BIOS has the option to present SATA as AHCI, so

'device atapicam' breaks the build

2012-10-28 Thread Yuri
: Exec format error with system log having an error: link_elf_obj: symbol ata_controlcmd undefined What is wrong with atapicam? I need atapicam because section 23.3.3 of handbook suggests that it is a prerequisite for being able to use DVD drive from the vbox guests. Yuri 9.1-RC3

Re: How to boot FreeBSD and linux from FreeBSD MBR?

2012-10-27 Thread Yuri
, your choice. So you are saying I can't keep BSD MBR and boot linux from under it when linux uses grub2? Is it still possible to still use lilo? I vaguely remember that it used to work like this. Yuri ___ freebsd-hackers@freebsd.org mailing list

How to boot FreeBSD and linux from FreeBSD MBR?

2012-10-26 Thread Yuri
. Yuri ___ 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

Why fdisk can't open root disk with MBR for writing?

2012-09-14 Thread Yuri
is: why the disk can't be open RW under root? The secondary issue is the bug in fdisk: once -a option is supplied and it can't open it RW it should just say so, and not suggest using gpart because gpart will probably have the same issue. Yuri ___ freebsd

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-14 Thread Yuri
! Yuri ___ 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 to diagnose system freezes?

2012-08-27 Thread Yuri
nvidia card? I did send the bug report to NVidia's address freebsd-gfx-b...@nvidia.com. So far no response. I am not sure how such one way, secretive, PR handling works in general for any product. So not sure how NVidia can manage it. No way to track the issue with NVidia. Yuri

Re: How to diagnose system freezes?

2012-08-25 Thread Yuri
should also just get the newer nvidia card and shut up, not sure. Yuri ___ 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 to diagnose system freezes?

2012-08-25 Thread Yuri
On 08/25/2012 13:11, Andriy Gapon wrote: options KDB options KDB_TRACE options KDB_UNATTENDED KDB and KDB_TRACE are on by default in 9.1 that I am running. Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: Is there any modern alternative to pstack?

2012-08-06 Thread Yuri
On 04/16/2012 06:59, John Baldwin wrote: I'm fine with putting it into the base. If so, we should import 1.2 first I think and then apply the 1.3 patch. So are there plans to import it into the base? Maybe for 9.1? /usr/ports/sysutils/pstack is still i386 only. Yuri

How to diagnose system freezes?

2012-07-31 Thread Yuri
is that the kernel is built for DTrace. But DTrace was never used in the sessions that had a freeze. What is the way to diagnose this problem? CPU: i7 CPU 920 @ 2.67GHz Memory: 24GB MB: P2T Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: How to diagnose system freezes?

2012-07-31 Thread Yuri
On 07/31/2012 17:50, Mark Saad wrote: Yuri Install sysutils/mcelog and try running the example included . While not a complete definitative hardware test it can report other hardware issues that memtest86+ misses and it can be run on line in multiuser mode and via cron . Thanks

Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-05 Thread Yuri
. make search seems to search through package names, dependency names, but not command names for some reason. Maybe this would be the reasonable feature to implement first instead of changing the missing command handlers in shells. Yuri ___ freebsd

Re: Pull in upstream before 9.1 code freeze?

2012-07-04 Thread Yuri
by the user. Such implementation should leave all parties happy. People who hate it just wouldn't install this port. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: nvidia-driver-295.49 is highly unstable

2012-07-03 Thread Yuri
, is there a for example bugzilla or other bug reporting system for this? In addition, I observe system hangup for a few seconds when running glxinfo. Also I observe Xorg freeze when I run nvidia-settings. So I have to run 285.05.09 from cvs instead. Yuri

Re: System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-07-02 Thread Yuri
fixed this issue on any platform where xorg is running. Yuri ___ 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: System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-07-02 Thread Yuri
. This essentially about doubles the number of system calls that any X app makes. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-07-02 Thread Yuri
to it a succeeding one. And this dtrace script only shows one failed open(2) call, not two as you would expect if errno was indeed preserved between them. So maybe there is some magic to it in dtrace functionality. Someone more familiar with the matter maybe can explain this. Yuri

Re: System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-07-01 Thread Yuri
in simple test app, because poll_for_response is called during XFlush when it is nothing to actually read. So some of libX11 code should be changed to only call poll when response is expected. Otherwise it looks like poll indeed returns xorg socket as being ready. Yuri

Re: System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-07-01 Thread Yuri
On 07/01/2012 13:27, Adrian Chadd wrote: Hm, can you try it with an xorg TCP socket versus an xorg UNIX socket and see if the behaviour differs? TCP connection exhibits exactly the same behavior. Yuri ___ freebsd-hackers@freebsd.org mailing list

System is flooded with failed read(2) calls: Resource temporarily unavailable (errno=35) coming from xorg unix socket

2012-06-29 Thread Yuri
come from kdeinit4 but some also from kwin, chrome and even Xorg itself. Rate of failure for read(2) calls is ~2500/sec systemwide. This is of course not a deadly problem. But is this situation considered to be normal? Yuri --- dtrace script--- !/usr/bin/perl use Getopt::Std; # # Defaults

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread Yuri
. Maybe the OP has done the same thing and not realized it? Unfortunately, that's not the case. I wish it was. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

nvidia-driver-295.49 is highly unstable

2012-05-27 Thread Yuri
to 295.05.09 from Feb 11, 2012 fixed the problem. 9400GT I can't believe this is only my problem. I think the version should be rolled back until the problem is fixed. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: nvidia-driver-295.49 is highly unstable

2012-05-27 Thread Yuri
On 05/27/2012 10:01, David Wolfskill wrote: So, at least in my case, I respectfully disagree with the assessment in the Subject. i386 is one difference (I use amd64) FX 770M is another difference (I use 9400GT) I also have everything updated with the similar portmaster command. Yuri

Re: Can't unload snd_uaudio: it hangs in D+ state

2012-04-23 Thread Yuri
: can't unload file: Device busy Something is different with snd_usound.ko Yuri ___ 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

Can't unload snd_uaudio: it hangs in D+ state

2012-04-22 Thread Yuri
. What is wrong with snd_uaudio? Yuri ___ 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

Why make(1) doesn't support the internal macro $ ?

2012-04-21 Thread Yuri
When I run 'make' on the following makefile, $@ gets printed but $ doesn't. Why? Yuri --- Makefile --- file-out: file-in @echo target= $@ src= $; touch $@ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Is there any modern alternative to pstack?

2012-04-15 Thread Yuri
allow anyone to take over such project. They suggest to fork. So will you object if I create a new project on SF, say bsd-pstack-new, will import the current source and apply your patch and make a release? I will also update pstack port so that it will become current. Yuri

Re: Is there any modern alternative to pstack?

2012-04-15 Thread Yuri
On 04/15/2012 02:30, Konstantin Belousov wrote: It seems that the license is two-clause BSD. My opinion is that such tool should be imported into the base. I agree, this is the best option. This is a very low level tool, somewhat similar to or extending procstat(1). Yuri

cp -R from the mounted ufs disk image hangs in DL+ vnread

2012-04-11 Thread Yuri
is happening? Why cp and ls hanged? I think, cp -R hanged first and later ls is waiting on some op initiated by cp -R. Somehow, cp -R managed to hang itself. How can I find out what cp is waiting on? 9.0-STABLE amd64 Yuri ___ freebsd-hackers

Re: cp -R from the mounted ufs disk image hangs in DL+ vnread

2012-04-11 Thread Yuri
I created a PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=166851 ___ 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: Is there any modern alternative to pstack?

2012-04-04 Thread Yuri
, commit the change and make a release. It's better than to keep private patches. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: Is there any modern alternative to pstack?

2012-04-02 Thread Yuri
, af61795, bfbfe500, bfbfe540) + 9013 0x81c6452 _init (0, 0, bfbfe518, 81c63a7, 2, bfbfe540) + 8fba 0x81c63a7 _init (3791afd0, 2, bfbfe540, 0, 0, 0) + 8f0f 0x81c6318 _init (bfbfe6d0, bfbfe6f1, 0, bfbfe6ff, bfbfe762, bfbfe7b8) + 8e80 Yuri ___ freebsd

Is there any modern alternative to pstack?

2012-03-31 Thread Yuri
, I wonder, is this because there is some alternative in FreeBSD that I don't know about, or it is primarily due to the lack of interest/resources? I don't take gdb as alternative since it is not single line, and also it has some threading issues of its own. Yuri

Re: Is there any modern alternative to pstack?

2012-03-31 Thread Yuri
On 03/31/2012 14:22, Jason Hellenthal wrote: procstat(1) I don't see which key of procstat(1) displays this information. The closest key is: -k Display the stacks of kernel threads in the process It shows kernel threads, but no user space stacks. How can I get user space stacks? Yuri

Re: Can I take a snapshot of the current stack for every thread in some process from outside?

2012-03-03 Thread Yuri
from here. Yuri ___ 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

Can I take a snapshot of the current stack for every thread in some process from outside?

2012-03-02 Thread Yuri
to attach (?). DTrace is only activated particular sensors are crossed. So is there such a tool/command? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd

Why /dev/dsp can get into Device busy state?

2012-02-17 Thread Yuri
it supposed to mix all inputs no matter how many? It usually works fine with many apps playing sound at the same time. What exactly is the condition that causes sound device to become busy? Driver in use is snd_es137x. fstat /dev/dsp doesn't show who opened sound device for some reason. Yuri

compiler configuration regression in 9.0?

2012-01-18 Thread Yuri
. But when the same /usr/local/bin is in the end of the path it works fine. I also noticed that in 9.0 gcc is 4.2.1 and in 8.2 gcc is 4.2.2, which may be related. What might be a problem with this? Yuri --- testcase --- #!/bin/sh echo conftest.c __END__ /* confdefs.h */ #ifdef __STDC__

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-16 Thread Yuri
time I tried I got system crash). These make it very difficult to use FreeBSD on the laptops. Major usability issues. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Sound on the system briefly interrupts when kde4 switches windows with nvidia card

2012-01-15 Thread Yuri
. Is this likely a bug in nvidia driver that it locks up the system when a lot of OpenGL operations are in progress? Or what might be a problem? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Sound on the system briefly interrupts when kde4 switches windows with nvidia card

2012-01-15 Thread Yuri
is closed source and ships with many binaries. But code immediately interacting with kernel is open and it does call DELAY and also tsleep(9) Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Sound on the system briefly interrupts when kde4 switches windows with nvidia card

2012-01-15 Thread Yuri
window effects. Yuri ___ 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: top(1) loses process user time count when threads end

2012-01-03 Thread Yuri
On 01/03/2012 09:13, John Baldwin wrote: I can't tell how recent your kernel/world are though from your message to see if you have both of these changes. My kernel/userland were from Aug 17, 2011. Probably before the change in question. I will retest with the latest 8.2. Yuri

ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-18 Thread Yuri
or at least issue a warning? Yuri ___ 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: top(1) loses process user time count when threads end

2011-08-06 Thread Yuri
On 08/06/2011 02:11, Alexander Best wrote: On Fri Aug 5 11, Yuri wrote: I have the process that first runs in 3 threads but later two active threads exit. top(1) shows this moment this way (1 sec intervals): 30833 yuri3 760 4729M 4225M nanslp 4 0:32 88.62% app 30833 yuri

top(1) loses process user time count when threads end

2011-08-05 Thread Yuri
I have the process that first runs in 3 threads but later two active threads exit. top(1) shows this moment this way (1 sec intervals): 30833 yuri3 760 4729M 4225M nanslp 4 0:32 88.62% app 30833 yuri3 760 4729M 4225M nanslp 6 0:34 90.92% app 30833

dhclient fails: DHCPNACK rejected

2011-07-27 Thread Yuri
. No static lease files present: /var/db/dhclient.leases.*. dhcpcd has no problem setting up re0 on thisn host. This happens on the router DLink DIR-601 with the latest firmware. 8.2-STABLE amd64 Yuri ___ freebsd-hackers@freebsd.org mailing list http

Re: dhclient fails: DHCPNACK rejected

2011-07-27 Thread Yuri
On 07/27/2011 12:06, Adam Vande More wrote: Do you have a /etc/dhclient.conf on the box? Reject statement was there. Sorry, forgot about this file, it was there for 5 years for unknown reason. Thank you, Yuri ___ freebsd-hackers@freebsd.org mailing

DTrace script asserts and kills the other process

2011-07-22 Thread Yuri
. Abort trap: 6 Also the target process is killed too: Killed: 9 8.2-STABLE amd64 Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Possible to see which requests are in queue contributing to system load?

2011-07-07 Thread Yuri
top(1) shows the load as a number supposedly equal to the resource queue length. But is there a way to detail this information? For example I want the system to log which requests to which files by which process/thread are in the queue and when they are fulfilled by the scheduler? Yuri

How can process in STOP state consume 200% CPU?

2011-06-28 Thread Yuri
TIMECPU COMMAND 9390 yuri3 440 508M 246M STOP3 0:00 200.00% VirtualBox ... 8.2-STABLE Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: How can process in STOP state consume 200% CPU?

2011-06-28 Thread Yuri
? Yuri ___ 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

Why user time of the process depends on machine load?

2011-06-15 Thread Yuri
. Yuri ___ 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

ndis driver presents the valid WiFi network as having the name 0x000000

2011-05-27 Thread Yuri
and apple both connect to it fine. What might be causing such weird behavior? Is this a known problem? Any way to troubleshoot this? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-25 Thread Yuri
it relate to portmaster and portupgrade packages, which both have (or include) supposedly the same functionality? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Is pthread_cond_signal(3) man page correct?

2011-03-17 Thread Yuri
pthread_cond_signal, or it will just return 0? In the latter case, how can I distinguish signal delivery and successful return? Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: Is pthread_cond_signal(3) man page correct?

2011-03-16 Thread Yuri
in their man pages? Yuri ___ 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: Is pthread_cond_signal(3) man page correct?

2011-02-28 Thread Yuri
exactly one thread. So the users won't need to have any special cycles like you suggested in your previous post. What is the underlying reason for POSIX to define it this way and for OSes to implement it this way? Yuri ___ freebsd-hackers@freebsd.org

Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread Yuri
exactly the same. I think man page should be expanded to give more comprehensive explanation. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread Yuri
pthread_cond_signal call crashes, and the only reasonable explanation so far is that more than one threads are actually being woken up. Yuri On 02/27/2011 12:54, Yuri wrote: On FreeBSD-8.1 this page says: The pthread_cond_signal() function unblocks one thread waiting for the condition variable cond

FreeBSD ABI?

2011-02-21 Thread Yuri
() || isTargetSolaris() || Is64Bit) stackAlignment = 16; But FreeBSD is excluded there. Is this a bug in LLVM which magically doesn't cause crashes or this is correct and FreeBSD doesn't have 16 bit alignment? Yuri ___ freebsd-hackers@freebsd.org

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
of the stack, software convention and the operating system requires that the stack be aligned on a word boundary. But I know for the fact that Solaris-i386 uses 16 byte alignment. At least that's what gcc-4.5.2 thinks when on Solaris. Still not sure about FreeBSD-i386. Yuri

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
On 02/21/2011 15:38, Joerg Sonnenberger wrote: That's a major difference. The Linux people decided a while ago that stack alignment should be 16 Byte. GCC effectively forces that down everyone's throat because until at least GCC 4.2 or 4.3, it can't correctly realign the stack and just fails

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
to change this. Yuri ___ 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: Why I can't trace linux process's childs with truss?

2010-09-11 Thread Yuri
Resulting trace again shows only the main process, not it's descendants, despite -d flag. Same in the case of calling with pid: ktrace -d -p pid. Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Why I can't trace linux process's childs with truss?

2010-09-10 Thread Yuri
follow 'cloned' processes? Is there any workaround or other way I can debug skype? strace doesn't work on amd64. I am primarily interested why it can't read /dev/video0 device, created by webcamd. Yuri ___ freebsd-hackers@freebsd.org mailing list http

  1   2   >