Re: BSD sleep

2013-05-28 Thread Matthew Seaman
On 29/05/2013 05:59, Michael Sierchio wrote: > On Tue, May 28, 2013 at 4:45 PM, Joshua Isom wrote: > > >> You think it's trivial until you read this: >> >> http://infiniteundo.com/post/**25326999628/falsehoods-** >> programmers-believe-about-time

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-05-28 Thread Sergey V. Dyatko
On Tue, 28 May 2013 13:20:53 -0500 Bryan Drewery wrote: > On 4/21/2013 2:38 PM, Sergey V. Dyatko wrote: > > Hi, > > > > Can anybody explain why USB keyboard (and keyboard from > > integrated IPKVM) doesn't work when I boot with 'C606 > > chipset Dual 4-Port SATA/SAS Storage Control Unit' enabl

Re: [head tinderbox] failure on powerpc/powerpc

2013-05-28 Thread Glen Barber
The suspect commit was already reverted. Glen On Wed, May 29, 2013 at 01:33:11AM +, FreeBSD Tinderbox wrote: > >>> stage 3.3: building the modules > -- > cd /obj/powerpc.powerpc/src/sys/MPC85XX; > MAKEOBJDIRPREFIX=/obj/powerpc.power

[head tinderbox] failure on powerpc/powerpc

2013-05-28 Thread FreeBSD Tinderbox
TB --- 2013-05-28 22:21:37 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-28 22:21:37 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

BSD sleep

2013-05-28 Thread Kenta Suzumoto
Hi. Is there no built-in way of making "sleep" sleep in increments of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep 1h" for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature her

Re: BSD sleep

2013-05-28 Thread Joshua Isom
On 5/28/2013 6:01 PM, Kenta Suzumoto wrote: Hi. Is there no built-in way of making "sleep" sleep in increments of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep 1h" for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is t

Re: files disappearing from ls on NFS

2013-05-28 Thread Rick Macklem
Hartmut Brandt wrote: > On Wed, 15 May 2013, Rick Macklem wrote: > > RM>Well, getdents() basically just calls kern_getdirentries() and it > calls > RM>VOP_READDIR() { which is called nfs_readdir() in the NFS clients }. > RM>nfs_readdir() calls ncl_bioread() to do the real work of finding > the > R

Re: Incorrect comparison of ticks in deadlkres

2013-05-28 Thread Attilio Rao
On Wed, May 29, 2013 at 1:18 AM, Ryan Stone wrote: > On Tue, May 28, 2013 at 5:29 PM, Ian Lepore wrote: >> >> ticks is defined as a signed integer but conceptually it is unsigned -- >> it increments from 0 to UINT_MAX (not INT_MAX) then rolls over. If >> td->td_blktick is captured while ticks =

Re: Incorrect comparison of ticks in deadlkres

2013-05-28 Thread Ryan Stone
On Tue, May 28, 2013 at 5:29 PM, Ian Lepore wrote: > ticks is defined as a signed integer but conceptually it is unsigned -- > it increments from 0 to UINT_MAX (not INT_MAX) then rolls over. If > td->td_blktick is captured while ticks = UINT_MAX and later ticks has > rolled over and counted back

Re: Incorrect comparison of ticks in deadlkres

2013-05-28 Thread Ian Lepore
On Sun, 2013-05-26 at 02:53 +0200, Attilio Rao wrote: > On Sat, May 25, 2013 at 11:55 PM, Ryan Stone wrote: > > Currently deadlkres performs the following comparison when trying to check > > for threads that have been blocked on a mutex or sleeping on an sx lock: > > > > if (TD_ON_LOCK(td) && tick

[head tinderbox] failure on i386/i386

2013-05-28 Thread FreeBSD Tinderbox
TB --- 2013-05-28 14:50:20 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-28 14:50:20 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-05-28 Thread Bryan Drewery
On 4/21/2013 2:38 PM, Sergey V. Dyatko wrote: > Hi, > > Can anybody explain why USB keyboard (and keyboard from > integrated IPKVM) doesn't work when I boot with 'C606 > chipset Dual 4-Port SATA/SAS Storage Control Unit' enabled in bios? > Also I can't boot that box from usb memstick and > FreeB

Re: mounting root from NFS via ROOTDEVNAME

2013-05-28 Thread Eggert, Lars
Hi, to conclude this thread, the patch below allows one to specify an nfs rootfs via the ROOTDEVNAME kernel option, which will be mounted when BOOTP does not return a root-path option. Lars diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c index 2c57a91..972fb12 100644 --- a/sys/nfs/bo

Re: make: "/usr/ports/mail/postfix/Makefile" line 92: warning: Couldn't read shell's output ...

2013-05-28 Thread Mark Johnston
On Sun, May 26, 2013 at 08:39:36PM -0400, Michael Butler wrote: > What's up with this? > > imb@toshi:/home/imb> sudo portupgrade -aR > make: "/usr/ports/mail/postfix/Makefile" line 92: warning: Couldn't read > shell's output for "/usr/bin/grep -m 1 '^purgestat' > /etc/mail/mailer.conf || true" I'

Re: copyin+copyout in one step ?

2013-05-28 Thread Luigi Rizzo
On Tue, May 28, 2013 at 6:56 AM, Zaphod Beeblebrox wrote: > On Mon, May 27, 2013 at 7:38 PM, Luigi Rizzo wrote: > >> >> say a process P1 wants to use the kernel to copy the content of a >> buffer SRC (in its user address space) to a buffer DST (in the >> address space of another process P2), and

Re: copyin+copyout in one step ?

2013-05-28 Thread David Chisnall
On 28 May 2013, at 05:56, Zaphod Beeblebrox wrote: > Urm... Isn't the use of shared memory the more obvious way to transfer data > between processes? Am I missing some nuance? I can't speak for Luigi's use-case, but the Binder APIs in BeOS and Android call for this kind of copy. The receiving