Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Daichi GOTO
Next step discussion engaged from this research I guess. Should we do change FreeBSD's fcntl(2) to return correct l_pid when called with F_SETLK? Or keep current behavior?? I want to hear other developers ideas and suggetions. On Mon, 4 Oct 2010 20:17:08 -0700 Garrett Cooper wrote: > test_fcntl

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Daichi GOTO
Thanks nice test tool :) And at last I got it excepting one mystery! On Mon, 4 Oct 2010 20:17:08 -0700 Garrett Cooper wrote: > Following through the same process on FreeBSD... > > Window 1: > $ ls -l /tmp/lockfile > ls: /tmp/lockfile: No such file or directory > $ ./test_fcntl > > Window 2: >

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Garrett Cooper
On Mon, Oct 4, 2010 at 5:38 PM, Daichi GOTO wrote: > On Mon, 4 Oct 2010 07:19:45 -0700 > Garrett Cooper wrote: >> >> issues that might be occurring with the software, as per my copy of >> >> SUSv4 (see the ERRORS section of fcntl). I would print out the >> >> strerror for that case. >> >>     Pro

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Daichi GOTO
On Mon, 4 Oct 2010 07:19:45 -0700 Garrett Cooper wrote: > >> issues that might be occurring with the software, as per my copy of > >> SUSv4 (see the ERRORS section of fcntl). I would print out the > >> strerror for that case. > >>     Providing a backtrace of the application's execution and the >

FYI: USB 3.0 support and the XHCI driver is now fully committed to FreeBSD-current

2010-10-04 Thread Hans Petter Selasky
http://svn.freebsd.org/changeset/base/213437 Please test if you have USB 3.0 hardware. --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubsc

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread David Wolfskill
On Fri, Oct 01, 2010 at 08:56:13PM -0500, Brandon Gooch wrote: > On Fri, Oct 1, 2010 at 8:33 PM, David Wolfskill wrote: > > On Fri, Oct 01, 2010 at 04:30:01PM -0700, David Wolfskill wrote: > >> ... > >> I found the disabling the "Module Bay" appears to avoid the hang -- > >> reliably. > >> > >> Th

Re: Another clang problem

2010-10-04 Thread Derek Tattersall
* Dimitry Andric [101004 17:12]: > On 2010-10-04 20:41, Renato Botelho wrote: > >>There is also a chance this might fix your issue, can you please try it > >>out? > >Same problem here with this patch > > It turns out it was an issue in libvgl, which should be fixed by > r213412. Can you please t

Re: tun(4) in -CURRENT: No buffer space available - race condition patch

2010-10-04 Thread Marcin Cieslak
>> John Baldwin wrote: > On Thursday, September 16, 2010 9:02:23 am Marcin Cieslak wrote: >> Dnia 15.09.2010 John Baldwin napisał/a: >> > On Monday, September 13, 2010 9:10:01 pm Marcin Cieslak wrote: >> >> Output queue of tun(4) gets full after some time when sending lots of >> >> data. >> >> I

Re: Issues after running make installworld

2010-10-04 Thread Stefan Bethke
Am 04.10.2010 um 21:23 schrieb Kevin Mai: > I've just tried to do a make installworld DESTDIR=$jail1 where > jail1='/var/lib/jail1' and I changed my mind. > > I tried to delete the folder but it seems somehow some ACLs got between. I don't think installworld does anything with ACLs. What's th

Re: Issues after running make installworld

2010-10-04 Thread Andriy Gapon
on 04/10/2010 22:23 Kevin Mai said the following: > I've just tried to do a make installworld DESTDIR=$jail1 where > jail1='/var/lib/jail1' and I changed my mind. > > I tried to delete the folder but it seems somehow some ACLs got between. I'm > doing this make as root: > > [r...@mrefns09 /va

Issues after running make installworld

2010-10-04 Thread Kevin Mai
I've just tried to do a make installworld DESTDIR=$jail1 where jail1='/var/lib/jail1' and I changed my mind. I tried to delete the folder but it seems somehow some ACLs got between. I'm doing this make as root: [r...@mrefns09 /var/lib]# setfacl -k jail1/bin/rcp setfacl: jail1/bin/rcp: acl_ge

Re: Another clang problem

2010-10-04 Thread Dimitry Andric
On 2010-10-04 20:41, Renato Botelho wrote: There is also a chance this might fix your issue, can you please try it out? Same problem here with this patch It turns out it was an issue in libvgl, which should be fixed by r213412. Can you please try to update to that revision, rebuild and reinst

Re: Another clang problem

2010-10-04 Thread Renato Botelho
On Sun, Oct 3, 2010 at 7:34 PM, Dimitry Andric wrote: > On 2010-10-03 17:21, Dimitry Andric wrote: >> >> Since gnash has about a gazillion dependencies, and I have the idea that >> after 12 hours of building stuff, I will not be able to reproduce your >> error message anyway, could you please post

Re: Multithread Make in multicore server

2010-10-04 Thread Rui Paulo
On 4 Oct 2010, at 18:46, Kevin Mai wrote: > I'm trying to do a "make buildworld" to build some jails on a Dell R710 > server. > > It has 16 cores: > > [r...@mrefns09 ~]# sysctl hw.ncpu > hw.ncpu: 16 > > but, when doing running the "make buildworld" command: > > last pid: 77993; load aver

Multithread Make in multicore server

2010-10-04 Thread Kevin Mai
I'm trying to do a "make buildworld" to build some jails on a Dell R710 server. It has 16 cores: [r...@mrefns09 ~]# sysctl hw.ncpu hw.ncpu: 16 but, when doing running the "make buildworld" command: last pid: 77993; load averages: 1.07, 1.03, 0.95 up 38+01:12:10 17:42:09 87 processes: 2 ru

Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread Andriy Gapon
on 04/10/2010 19:30 Andriy Gapon said the following: > on 04/10/2010 19:14 David Wolfskill said the following: >> Is there a way I can use USB or firewire in a way similar to a serial >> console? The laptop has both of those (though I only have connectors >> for USB at the moment), and does not ha

Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread Andriy Gapon
on 04/10/2010 19:14 David Wolfskill said the following: > On Mon, Oct 04, 2010 at 10:44:18AM +0300, Andriy Gapon wrote: >> ... >> Interesting! > > :-} > >> So, init thread is blocked in vfs_mountroot()->g_waitidle() waiting for geom >> to >> complete probing cd device, but the latter is blocked

Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread Hans Petter Selasky
On Monday 04 October 2010 18:14:15 David Wolfskill wrote: > Is there a way I can use USB or firewire in a way similar to a serial > console? If a USB keyboard is enumerated at the point of break, it will be available from KDB. --HPS ___ freebsd-curren

Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread David Wolfskill
On Mon, Oct 04, 2010 at 10:44:18AM +0300, Andriy Gapon wrote: > ... > Interesting! :-} > So, init thread is blocked in vfs_mountroot()->g_waitidle() waiting for geom > to > complete probing cd device, but the latter is blocked in cam_periph_getccb() > waiting for a ccb. > Can you try to reproduc

Re: Very interesting paper: An Analysis of Linux Scalability to many Cores

2010-10-04 Thread stephano zanzin
Very interesting! Thanks On Fri, Oct 1, 2010 at 4:05 PM, Andre Oppermann wrote: > Just saw the link to a very interesting paper on SMP scalability. > A very good read and highly relevant for our efforts as well. In > certain areas we may already fare better, in others we still have > some work t

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Garrett Cooper
On Sun, Oct 3, 2010 at 10:05 PM, Garrett Cooper wrote: > On Sun, Oct 3, 2010 at 8:37 PM, Daichi GOTO wrote: >> It looks very strange. fcntl() always fails to delete lock file >> and command.l_pid is always -6464. This issue is disclosed in >> porting Google's Japanese input system called "mozc".

Fwd: Examining the VM splay tree effectiveness

2010-10-04 Thread Mayur
By mistake last mail went to hackers sending it to freebsd-current -- Hi, Sorry for pitching in late on the discussion Looks like I have missed many mails, Will start from this point in the discussion I just took a look (not in-depth though) at the patch and can't follow your conclusio

[geom, cam] Hang near end of kernel probes since r213267 (likely earlier)

2010-10-04 Thread Andriy Gapon
on 04/10/2010 03:49 David Wolfskill said the following: > db> bt 1 > Tracing pid 1 tid 12 td 0xc91d6b40 > sched_switch(c91d6b40,0,104,191,a4bfdaac,...) at 0xc08cccec = > sched_switch+0x3bc > mi_switch(104,0,c0cccb89,1f3,68,...) at 0xc08af3a0 = mi_switch+0x200 > sleepq_switch(c91d6b40,0,c0cccb8

[PATCH] panic on boot with QEMU a multiple cpu emulated

2010-10-04 Thread Giovanni Trematerra
Qemu 0.11.1 installed from port with -CURRENT as host, emulating 8 CPU on a 8-way box makes my FreeBSD -CURRENT guest kernel, panic with this bt at boot: panic: sched_priority: invalid priority 230: nice 0, ticks 2289712 ftick 353 ltick 1363 tick pri 50 cpuid = 7 KDB: stack backtrace: db_trace_sel

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Garrett Cooper
On Sun, Oct 3, 2010 at 8:37 PM, Daichi GOTO wrote: > It looks very strange. fcntl() always fails to delete lock file > and command.l_pid is always -6464. This issue is disclosed in > porting Google's Japanese input system called "mozc". > >  details follow: >    http://code.google.com/p/mozc/issue

Re: fcntl always fails to delete lock file, and PID is always -6464

2010-10-04 Thread Daichi GOTO
On Sun, 3 Oct 2010 22:05:12 -0700 Garrett Cooper wrote: > On Sun, Oct 3, 2010 at 8:37 PM, Daichi GOTO wrote: > > It looks very strange. fcntl() always fails to delete lock file > > and command.l_pid is always -6464. This issue is disclosed in > > porting Google's Japanese input system called "moz