nanosleep - does it make sense with tv_sec 0?

2010-07-29 Thread Garrett Cooper
Hi Hackers, I ran into an oddity with the POSIX spec that seems a bit unrealistic: [EINVAL] The rqtp argument specified a nanosecond value less than zero or greater than or equal to 1000 million. Seems like it should also apply for seconds 0. We current silently pass this argument

Deterministic failure to meet sysconf(_SC_TIMER_MAX) for CLOCK_REALTIME

2010-07-29 Thread Garrett Cooper
Hi, Running the following noted test [1], I always run into issues on the 29th iteration and EAGAIN: $ conformance/behavior/timers/1-1.run-test timer_create() did not return success for iteration 29: Resource temporarily unavailable $ conformance/behavior/timers/1-1.run-test timer_create()

(no subject)

2010-07-29 Thread rhfb
I have a similar problem. I have a NFS server (8.0 upgraded a couple times since Feb 2010) that locks up and requires a reboot. The clients are busy vm's from VMWare ESXi using the NFS server for vmdk virtual disk storage. The ESXi reports nfs server inactive and all the vm's post disk write

coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
Hello hackers, while working on the ringmap-project I've faced a problem of no coherency in the memory regions mapped from kernel into the user-space. Details: While integrating ringmap with the ixgbe-driver, I've made some changes to the ixgbe: 1. The mbufs for received packets will be

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Andriy Gapon
on 29/07/2010 17:13 Alexander Fiveg said the following: P.S. Details about hardware and used software: 1. /var/run/dmesg.boot : ... CPU: Dual Core AMD Opteron(tm) Processor 865 (1800.01-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f10 Family = f Model = 21 Stepping = 0

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
On Thursday 29 July 2010 18:13:23 Andriy Gapon wrote: on 29/07/2010 17:13 Alexander Fiveg said the following: P.S. Details about hardware and used software: 1. /var/run/dmesg.boot : ... CPU: Dual Core AMD Opteron(tm) Processor 865 (1800.01-MHz 686-class CPU) Origin = AuthenticAMD Id

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Andriy Gapon
on 29/07/2010 19:13 Andriy Gapon said the following: on 29/07/2010 17:13 Alexander Fiveg said the following: P.S. Details about hardware and used software: 1. /var/run/dmesg.boot : ... CPU: Dual Core AMD Opteron(tm) Processor 865 (1800.01-MHz 686-class CPU) Origin = AuthenticAMD Id =

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Andriy Gapon
on 29/07/2010 19:45 Alexander Fiveg said the following: On Thursday 29 July 2010 18:13:23 Andriy Gapon wrote: on 29/07/2010 17:13 Alexander Fiveg said the following: P.S. Details about hardware and used software: 1. /var/run/dmesg.boot : ... CPU: Dual Core AMD Opteron(tm) Processor 865

Re: Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Sergey Babkin
Jul 29, 2010 12:58:07 PM, a...@icyb.net.ua wrote: on 29/07/2010 19:13 Andriy Gapon said the following: on 29/07/2010 17:13 Alexander Fiveg said the following: In fact I have a suspicion that the problem might have to do with multiple mappings of the shared pages, but far from sure... Take a look

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Andriy Gapon
on 29/07/2010 23:02 Sergey Babkin said the following: Jul 29, 2010 12:58:07 PM, a...@icyb.net.ua wrote: on 29/07/2010 19:13 Andriy Gapon said the following: on 29/07/2010 17:13 Alexander Fiveg said the following: In fact I have a suspicion that the problem might have to do with multiple

Improvement for Distributed Audit Project

2010-07-29 Thread Sergio Ligregni
I am Sergio Ligregni, from Mexico, I am currently working in the Distributed Audit Project at GSoC 2010, I want to ask your help in these things: HELP NEEDED: /*++*/ - which code should I base my development in getting parameters from a file? (I've searched some audit.c,

Re: svn commit: r210561 - projects/sv/sys/net

2010-07-29 Thread Ed Maste
On Wed, Jul 28, 2010 at 03:10:31PM +, Attilio Rao wrote: Log: Initial import of the netdump files. They still need a lot of polishing and cleanup so they might not be considered definitive at all. This code is a port to recent FreeBSD of Darrell Anderson's network crashdump

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Alexander Fiveg
On Thursday 29 July 2010 22:16:24 Andriy Gapon wrote: on 29/07/2010 23:02 Sergey Babkin said the following: Jul 29, 2010 12:58:07 PM, a...@icyb.net.ua wrote: on 29/07/2010 19:13 Andriy Gapon said the following: on 29/07/2010 17:13 Alexander Fiveg said the following: In fact I have a

Re: coherence-problem on the mapped memory buffer

2010-07-29 Thread Andriy Gapon
on 30/07/2010 00:41 Alexander Fiveg said the following: Thanks a lot for your answers. But i am afraid i do not have enough experience to solve these tasks. Could you please provide me with helpful information how to: - get access to the pages associated with a certain memory-buffer ? I

sched_pin() versus PCPU_GET

2010-07-29 Thread mdf
We've seen a few instances at work where witness_warn() in ast() indicates the sched lock is still held, but the place it claims it was held by is in fact sometimes not possible to keep the lock, like: thread_lock(td); td-td_flags = ~TDF_SELECT; thread_unlock(td); What I

Re: sched_pin() versus PCPU_GET

2010-07-29 Thread mdf
On Thu, Jul 29, 2010 at 4:39 PM, m...@freebsd.org wrote: We've seen a few instances at work where witness_warn() in ast() indicates the sched lock is still held, but the place it claims it was held by is in fact sometimes not possible to keep the lock, like:        thread_lock(td);