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

2013-09-02 Thread Yuri
command "n" (next) 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.o

Kernel DDB doesn't work in VM ?

2013-08-13 Thread Yuri
leaves it in hung state. 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/li

Re: Discussing ideas or wish list

2013-08-10 Thread Yuri
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
rozen 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-hacker

DTrace copyin with struct doesn't work?

2013-07-24 Thread Yuri
eneric.c: int 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.freebs

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

2013-07-23 Thread Yuri
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

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

2013-07-23 Thread Yuri
lugin. 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.f

Re: Kernel crashes after sleep: how to debug?

2013-07-19 Thread Yuri
up from sleep. dev/acpica/acpi.c has acpi_EnterSleepState, which, as I understand, contains top-level code for S3 sleep. Before sleep it invokes event 'power_suspend' on all devices, and after sleep it calls 'power_resume' on devices. So maybe I will call the page check proce

Re: Kernel crashes after sleep: how to debug?

2013-07-19 Thread Yuri
= 0, act_count = 0 '\0', busy = 176 '�', valid = 208 '�', dirty = 126 '~'} 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.

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
y, I get this: (kgdb) 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 ___

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, &nex

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

Kernel crashes after sleep: how to debug?

2013-07-15 Thread Yuri
(PID=5: pagedaemon) doadump (textdump=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, a

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

2013-06-03 Thread Yuri
anybody has an expertise and would know if this error means the hardware or software failure? Anybody is able to burn DVDs with the same/similar burner? Or maybe some other command should be used for burning? (growisofs is recommended by the handbook) Googling the message doesn't clar

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

2013-05-03 Thread Yuri
her symbol __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

What is the correct way to declare assembler global variable ?

2013-05-03 Thread Yuri
%%rdx, %1;" : "=r" (my_curbrk), "=r" (my_curbrk_ptr) :: "%rax", "%rdx"); ... } I get a warning: /usr/bin/ld: warning: type and size of dynamic symbol `.curbrk@@FBSDprivate_1.0' are

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

2013-03-24 Thread Yuri
uch errors 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_tryl

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

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

2013-01-25 Thread Yuri
directory' 5191: open("/dev/dtrace/syscall",O_RDONLY,00) ERR#2 'No such file or directory' I satisfied all conditions mentioned in https://wiki.freebsd.org/DTrace on how to run DTrace on 9.0 (I am on 9.1-STABLE). kernel modules are loaded, see below. So: * Why/How ustack

Re: Why DTrace sensor is listed but not called?

2013-01-24 Thread Yuri
is a bug in gcc 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/li

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 _

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

2013-01-20 Thread Yuri
IOC_IN/IOC_OUT 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/fre

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

2013-01-20 Thread Yuri
from 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

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 la

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 h

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

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

2012-11-06 Thread Yuri
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 "fr

pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-05 Thread Yuri
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
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 SAT

Re: 'device atapicam' breaks the build

2012-10-29 Thread Yuri
it also mean that atapicam won't 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

'device atapicam' breaks the build

2012-10-28 Thread Yuri
' fails: kldload: can't load atapicam: 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

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

2012-10-27 Thread Yuri
grub, 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 ma

How to boot FreeBSD and linux from FreeBSD MBR?

2012-10-26 Thread Yuri
ot 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...@freebsd.org"

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

2012-09-14 Thread Yuri
. Thanks! 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
e MBR. Try to use gpart(8) The question 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 becau

Re: How to diagnose system freezes?

2012-08-27 Thread Yuri
em by buying another 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 i

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: How to diagnose system freezes?

2012-08-25 Thread Yuri
than mine nvidia cards. So maybe I 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: 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.

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 for

How to diagnose system freezes?

2012-07-31 Thread Yuri
t 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

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

2012-07-05 Thread Yuri
nothing instead of finding multimedia/vlc. 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

Re: Pull in upstream before 9.1 code freeze?

2012-07-04 Thread Yuri
is typed 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 unsubscri

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
nd next 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 expl

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

2012-07-02 Thread Yuri
en at this time. 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 "free

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

2012-07-02 Thread Yuri
hat nobody ever 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-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

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

2012-07-01 Thread Yuri
INFTIM); poll hangs during the third call 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 retu

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

2012-06-29 Thread Yuri
ostly 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; # # Def

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 ma

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

nvidia-driver-295.49 is highly unstable

2012-05-27 Thread Yuri
ck 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/mailma

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

2012-04-23 Thread Yuri
kldunload: 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
lly use usound, just loaded the module. 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 mail

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

Re: Is there any modern alternative to pstack?

2012-04-15 Thread Yuri
don't 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 curr

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"

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

2012-04-11 Thread Yuri
0 ls ufs-snapshot.mount/ What 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 _

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-hacker

Re: Is there any modern alternative to pstack?

2012-04-02 Thread Yuri
fe4e8, 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 ___ fr

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

Is there any modern alternative to pstack?

2012-03-31 Thread Yuri
no updates, 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 issue

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

2012-03-03 Thread Yuri
I don't know where to go 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
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 "fr

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

2012-02-17 Thread Yuri
't 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 som

compiler configuration regression in 9.0?

2012-01-18 Thread Yuri
n, cpp breaks in 9.0. 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__

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

2012-01-16 Thread Yuri
ives when the system is idle (last 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/freeb

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

2012-01-15 Thread Yuri
urning off 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: Sound on the system briefly interrupts when kde4 switches windows with nvidia card

2012-01-15 Thread Yuri
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 To

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

2012-01-15 Thread Yuri
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 To

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.

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

2011-08-18 Thread Yuri
underlying device 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

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

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

DTrace script asserts and kills the other process

2011-07-22 Thread Yuri
c.c, line 751. 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-ha

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

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

2011-06-28 Thread Yuri
s mean bug in kernel? 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 can process in STOP state consume 200% CPU?

2011-06-28 Thread Yuri
E C 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 unsubscrib

Why user time of the process depends on machine load?

2011-06-15 Thread Yuri
67GHz. 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
r 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 unsubs

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

2011-03-25 Thread Yuri
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 to

Re: Is pthread_cond_signal(3) man page correct?

2011-03-17 Thread Yuri
elivered during 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 unsubs

Re: Is pthread_cond_signal(3) man page correct?

2011-03-16 Thread Yuri
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
to expect it to wake 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 ___ fr

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. On

Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread Yuri
POSIX and all POSIX-compliant systems should work 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-hack

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
probably decided 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: 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 mise

Re: FreeBSD ABI?

2011-02-21 Thread Yuri
ignment 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 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@f

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 . Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hacke

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

2010-09-10 Thread Yuri
uss that it doesn't 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 ___

  1   2   >