documentation looking for a home. (kernel modules and Vimage)

2016-05-13 Thread Julian Elischer
Sorry for double posting.. this email addresses two separate groups of people. Some time ago I wrote the following. http://p4web.freebsd.org/@md=d&cd=//depot/projects/vimage/&cdf=//depot/projects/vimage/porting_to_vimage.txt&c=s0G@//depot/projects/vimage/porting_to_vimage.txt?ac=64&rev1=18 It

RFC on a published change to FreeBSD 11 kqueue file ops.

2016-04-26 Thread Julian Elischer
the following change is sitting out at github, to add kqueue support for more file operations: https://github.com/dmatveev/libinotify-kqueue/blob/master/patches does anyone have reasons why we shouldn't import this change. libinotify is now a port and could use these. ___

Re: [CFT] packaging the base system with pkg(8)

2016-04-19 Thread Julian Elischer
On 20/04/2016 2:25 PM, Daniel Eischen wrote: On Wed, 20 Apr 2016, Allan Jude wrote: On 2016-04-20 01:12, Daniel Eischen wrote: For one of our Solaris 11 boxes, which also serves as a VNC thin client server and NFS server, we have: [sol11] $ pkg list | wc -l 968 That server includes t

Re: [CFT] packaging the base system with pkg(8)

2016-04-19 Thread Julian Elischer
On 20/04/2016 11:41 AM, Nathan Whitehorn wrote: On 04/19/16 20:15, Warner Losh wrote: On Apr 19, 2016, at 4:12 PM, Matthew Grooms wrote: On 4/19/2016 3:09 PM, Poul-Henning Kamp wrote: As far as I know, nobody is taking the source code or the Makefiles away, so if somebody doesn't like the

Re: [CFT] packaging the base system with pkg(8)

2016-04-19 Thread Julian Elischer
On 19/04/2016 5:29 AM, Alfred Perlstein wrote: Guys please stop arguing about the number of packages. The high granularity is VERY useful! it's going to make us a laughing stock "look FreeBSD just split into 1.43 million packages" (effectively the same number.. it's bigger than 10) Managi

Re: [CFT] packaging the base system with pkg(8)

2016-04-19 Thread Julian Elischer
On 19/04/2016 3:14 AM, Glen Barber wrote: On Mon, Apr 18, 2016 at 12:01:46PM -0700, Sean Fagan wrote: On Apr 18, 2016, at 11:52 AM, Lev Serebryakov wrote: I understand, that maybe it is too late, but ARE YOU KIDDING?! 755 packages?! WHY?! What are reasons and goals to split base in such enormo

Re: ng_ether(4) performance implications

2016-02-23 Thread Julian Elischer
On 23/02/2016 7:09 AM, Franco Fichtner wrote: Hi all, I'm working on FreeBSD-based configuration code dating back more than 5 years. Although this code uses NETGRAPH compiled into the kernel, it also makes use of NGM_ETHER_DETACH and a self-rolled NGM_ETHER_ATTACH to avoid having netgraph-attac

Re: HPN and None options in OpenSSH

2016-01-22 Thread Julian Elischer
On 22/01/2016 10:31 PM, Dag-Erling Smørgrav wrote: The HPN and None cipher patches have been removed from FreeBSD-CURRENT. I intend to remove them from FreeBSD-STABLE this weekend. The HPN patches were of limited usefulness and required a great deal of effort to maintain in our tree. The None c

Re: IoT OS

2016-01-22 Thread Julian Elischer
On 22/01/2016 2:08 AM, Mathieu Prevot wrote: 2016-01-21 17:38 GMT+01:00 NGie Cooper : On Jan 21, 2016, at 08:34, Jan Bramkamp wrote: On 21/01/16 17:19, Mathieu Prevot wrote: Dear all, I would like to connect several connected object (with homogeneous or heterogenous hardare: intel edison,

Re: kernel && poudriere jails

2015-12-27 Thread Julian Elischer
On 28/12/2015 1:48 AM, Matthias Apitz wrote: Hello, I have on a Dell M5500 my poudriere jails for amd64; the host system is at the moment r276659 (January 2015) and the jails are: r276659 (January 2015) + ports r392920 (July 2015) r276659 (January 2015) + ports r403255 (December 2015) I'm righ

ssh and HPN

2015-12-20 Thread Julian Elischer
So was there ever a result as to whether HPN still plays a useful role in the current openSSH? I haven't seen any note in the openssh docs about adding bigger window support and that is a definite requirement when you are on the end of a 500mSec RTT like I am, but the last time we discussed it,

Re: My build work and goals

2015-12-10 Thread Julian Elischer
On 11/12/2015 3:56 AM, Bryan Drewery wrote: I think it is fair to say that most people don't understand how any of this works. [...] - No one really was trying to improve it head-on and focused on FreeBSD's general audience needs. The maintenance problems come down to expertise. Most develo

Re: OpenSSH HPN

2015-11-30 Thread Julian Elischer
On 1/12/2015 3:23 AM, Brooks Davis wrote: On Tue, Nov 24, 2015 at 09:29:44PM +0100, Aaron Zauner wrote: Hi, Please forgive my ignorance but what's the reason FreeBSD ships OpenSSH patched with HPN by default? Besides my passion for security, I've been working in the HPC sector for a while and b

Re: libXO-ification - Why - and is it a symptom of deeper issues?

2015-11-17 Thread Julian Elischer
On 11/16/15 7:36 AM, Don Lewis wrote: On 15 Nov, Allan Jude wrote: On 2015-11-15 13:06, Garrett Cooper wrote: On Nov 15, 2015, at 09:51, Andrey Chernov wrote: On 15.11.2015 20:37, Adrian Chadd wrote: On 15 November 2015 at 09:10, Dan Partelly wrote: Meaning, is that simple to push things i

Re: libXO-ification - Why - and is it a symptom of deeper issues?

2015-11-17 Thread Julian Elischer
On 11/16/15 1:51 AM, Andrey Chernov wrote: On 15.11.2015 20:37, Adrian Chadd wrote: On 15 November 2015 at 09:10, Dan Partelly wrote: Meaning, is that simple to push things in head , if somone does the work, even with with no proper review of the problem at hand , and the proposed solutions ?

Re: libXO-ification - Why - and is it a symptom of deeper issues?

2015-11-17 Thread Julian Elischer
On 11/15/15 8:54 PM, Dan Partelly wrote: Hi all, I was looking at the new facility of dumping JSON,XML from many utils in base and after some funny minutes, I couldn't stop ask myself “ Ok, this is funny , but why ? “ And I couldn't find a real answer. Ill outline what I think: 1. Undoubtedl

Re: OpenSSH HPN

2015-11-12 Thread Julian Elischer
On 11/12/15 5:32 AM, Bryan Drewery wrote: On 11/10/2015 1:42 AM, Dag-Erling Smørgrav wrote: I would also like to remove the NONE cipher patch, which is also available in the port (off by default, just like in base). Fun fact, it's been broken in the port for several months with no complaints.

Re: OpenSSH HPN

2015-11-12 Thread Julian Elischer
On 11/12/15 3:28 AM, Brooks Davis wrote: On Tue, Nov 10, 2015 at 04:40:42PM -0800, Bryan Drewery wrote: On 11/10/15 1:42 AM, Dag-Erling Sm??rgrav wrote: Some of you may have noticed that OpenSSH in base is lagging far behind the upstream code. The main reason for this is the burden of maintain

Re: OpenSSH HPN

2015-11-11 Thread Julian Elischer
On 11/11/15 7:56 PM, Dag-Erling Smørgrav wrote: Julian Elischer writes: The inclusion of the HPN patches meant that we could drop a custom unsupported HPN enabled ssh from our build process. It makes ssh actually usable. Define "usable". Does it actually make a measurable diffe

Re: OpenSSH HPN

2015-11-11 Thread Julian Elischer
On 11/10/15 7:16 PM, Dag-Erling Smørgrav wrote: Bob Bishop writes: Is removing HPN going to impact the performance of tunnelled X connexions? yes if your rtt is greater than about 85 mSec I don't know he details but I noticed a big difference. I had thought X wouldn't show much difference but

Re: OpenSSH HPN

2015-11-11 Thread Julian Elischer
On 11/10/15 5:42 PM, Dag-Erling Smørgrav wrote: Some of you may have noticed that OpenSSH in base is lagging far behind the upstream code. The main reason for this is the burden of maintaining the HPN patches. They are extensive, very intrusive, and touch parts of the OpenSSH code that change si

Re: Build Options Survey run

2015-11-03 Thread Julian Elischer
Can you put the MK_FOO column at the end so it doesn't push everything else off the Right hand side of the screen? On 11/4/15 12:37 AM, Bjoern A. Zeeb wrote: Hi, phk had asked me to run a build options survey again. It took about two weeks to go through all of them. The results are here: h

Re: pf NAT and VNET Jails

2015-10-31 Thread Julian Elischer
On 11/1/15 2:50 AM, Shawn Webb wrote: I'm at r290228 on amd64. I'm not sure which revision I was on last when it last worked, but it seems VNET jails aren't working anymore. I've got a bridge, bridge1, with an IP of 192.168.7.1. The VNET jails set their default route to 192.168.7.1. The host sim

Re: nanoBSD boot problem (on USB stick or as a HD)

2015-09-15 Thread Julian Elischer
On 9/15/15 5:31 PM, Stefano Garzarella wrote: Hi all, I created a nanoBSD image for my gsoc project (ptnetmap on bhyve). I would like to boot this image on USB stick or in the hypervisor as a HD. I have some problem because if I set NANO_DRIVE="da0" (for USB boot) in the nanoBSD configuration fi

Re: Why does netstat not work in jails?

2015-08-27 Thread Julian Elischer
On 8/28/15 9:54 AM, Chris H wrote: I've been attempting to run jails on an 11-CURRENT for the purpose of building world/kernel && ports for all of our 9-STABLE production servers. I'm using standard/classic jail setup(s) -- not using any of the "convenience" ports/applications that abstract the p

ramblings.. or not

2015-08-26 Thread Julian Elischer
I just enjoyed the following video. http://nextbsd.org/jordan-hubbard-visits-bafug/ The talk itself is fun to listen to (in a nerdy way) but the final 3 minutes are, I think, the most important.. We need to look harder at bringing in features from people's various science experiments. On th

Re: ipfw rules for connect port 993

2015-08-25 Thread Julian Elischer
On 8/25/15 4:02 PM, Petr Chocholáč wrote: Hello , ignore my previous email, you have answered my questions here. the firewall set you show is pretty horrible. It really needs a rewrite. do you want to block the two LANs from each other or block any machines on the LANs from reaching the fire

Re: ipfw rules for connect port 993

2015-08-25 Thread Julian Elischer
On 8/24/15 9:05 PM, Petr Chocholáč wrote: Hello, I would like to ask you for advice. I can not connect to imap.gmail.com on port 993 from my local network. My LAN is behind freeBSD server with IPFW. Server has two network cards rl0=Internet and re0=LAN(10.0.0.0/16). Tcpdump on re0 shows three

Re: freebsd-head: suddenly NMI panics lead to ddb being unable to stop CPUs?

2015-08-21 Thread Julian Elischer
On 8/22/15 12:23 AM, Ian Lepore wrote: On Fri, 2015-08-21 at 23:30 +0800, Julian Elischer wrote: On 8/21/15 11:25 PM, Adrian Chadd wrote: Ah, cool. I'll give it a whirl. I'm a little worried about having all of the other cores spinning in this case (mostly thermal; the machines get

Re: freebsd-head: suddenly NMI panics lead to ddb being unable to stop CPUs?

2015-08-21 Thread Julian Elischer
On 8/21/15 11:25 PM, Adrian Chadd wrote: Ah, cool. I'll give it a whirl. I'm a little worried about having all of the other cores spinning in this case (mostly thermal; the machines get VERY LOUD when the CPUs are spinning..) make each spin with the pause instruction.. and for N seconds (N bein

Re: 11-CURRENT build fail with base gcc

2015-08-19 Thread Julian Elischer
On 8/20/15 6:56 AM, Oliver Pinter wrote: Hi All! I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: I thought that the switch do only allow clang had already been thrown... --- delay.o --- cc -O2 -pipe -fPIC -mno-red-zone -I/usr/data/source/git/opBSD/opBSD.gi

Re: futimens and utimensat vs birthtime

2015-08-16 Thread Julian Elischer
On 8/17/15 5:46 AM, Jilles Tjoelker wrote: On Sun, Aug 16, 2015 at 10:26:21PM +0800, Julian Elischer wrote: On 8/15/15 1:39 AM, John Baldwin wrote: On Friday, August 14, 2015 10:46:10 PM Julian Elischer wrote: I would like to implement this call. but would like input as to it's nature

Re: futimens and utimensat vs birthtime

2015-08-16 Thread Julian Elischer
On 8/15/15 1:39 AM, John Baldwin wrote: On Friday, August 14, 2015 10:46:10 PM Julian Elischer wrote: I would like to implement this call. but would like input as to it's nature. The code inside the system would already appear to support handling three elements, though it needs some scr

Re: [CFT] rewrite of the merge(1) utility

2015-08-14 Thread Julian Elischer
On 8/13/15 11:23 PM, John Baldwin wrote: On Thursday, August 13, 2015 04:13:43 PM Slawa Olhovchenkov wrote: On Tue, Aug 04, 2015 at 10:00:06PM -0700, John Baldwin wrote: On Sunday, July 26, 2015 03:26:22 AM Baptiste Daroussin wrote: Hi all, I was botherd to not have the merge(1) utility avai

futimens and utimensat vs birthtime

2015-08-14 Thread Julian Elischer
So, currently the method of setting birthtime on a file is an awkward combination of tricks. These break down in a number of situations, but the one I'm specifically interested in is as follows: windows robocopy running through samba, onto a ZFS filesystem. (may happen for UFS2 as well.) In

Re: Appending to message buffer while in ddb

2015-08-03 Thread Julian Elischer
On 8/4/15 11:36 AM, Julian Elischer wrote: On 8/4/15 4:21 AM, Marcel Moolenaar wrote: On Aug 3, 2015, at 12:59 PM, Eric Badger wrote: Hi there, Since r226435, output from kernel printf/log functions is not appended to the message buffer when in ddb. The commit message doesn't call

Re: Appending to message buffer while in ddb

2015-08-03 Thread Julian Elischer
On 8/4/15 4:21 AM, Marcel Moolenaar wrote: On Aug 3, 2015, at 12:59 PM, Eric Badger wrote: Hi there, Since r226435, output from kernel printf/log functions is not appended to the message buffer when in ddb. The commit message doesn't call this out specifically; instead it appears to have bee

Re: FreeBSD Quarterly Status Report - Second Quarter 2015

2015-07-27 Thread Julian Elischer
On 7/27/15 10:32 PM, Willem Jan Withagen wrote: On 27/07/2015 16:25, Glen Barber wrote: On Mon, Jul 27, 2015 at 04:14:54PM +0200, Willem Jan Withagen wrote: On 27/07/2015 04:39, Benjamin Kaduk wrote: * Separated email services (and single-point-of-failure cases) from the machine that h

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-23 Thread Julian Elischer
that an incompatibility can be committed and not caught. Please let me know. well, what are you doing? Thanks, Venkat. On Wed, Jul 22, 2015 at 8:33 PM, Julian Elischer <mailto:jul...@freebsd.org>> wrote: On 7/22/15 2:56 PM, Venkat Duvvuru wrote: I have this setup wher

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-22 Thread Julian Elischer
On 7/22/15 2:56 PM, Venkat Duvvuru wrote: I have this setup where FreeBSD 9.0 OCE driver is loaded on FreeBSD 9.3. The OCE module loads just fine but when the interface is brought up, the system crashes. This happens everytime I bring the interface up. The backtraces are attached with this ema

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-21 Thread Julian Elischer
elist makes sure that once the symbol is added into the whitelist, it will never be changed during the major releases of that kernel. Thanks, Venkat. On Fri, Jul 17, 2015 at 8:29 PM, Allan Jude wrote: On 2015-07-17 10:47, Julian Elischer wrote: On 7/17/15 9:02 PM, Venkat Duvvuru wrote: Hi, Is

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-17 Thread Julian Elischer
On 7/17/15 11:31 PM, Konstantin Belousov wrote: On Fri, Jul 17, 2015 at 11:05:59PM +0800, Julian Elischer wrote: On 7/17/15 10:59 PM, Conrad Meyer wrote: On Fri, Jul 17, 2015 at 7:47 AM, Julian Elischer wrote: On 7/17/15 9:02 PM, Venkat Duvvuru wrote: Hi, Is there kABI (Kabi-whitelist

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-17 Thread Julian Elischer
On 7/17/15 10:59 PM, Conrad Meyer wrote: On Fri, Jul 17, 2015 at 7:47 AM, Julian Elischer wrote: On 7/17/15 9:02 PM, Venkat Duvvuru wrote: Hi, Is there kABI (Kabi-whitelist) equivalent feature in FreeBSD? well, yes and no. Julian, I believe Venkat is asking about a specific Linux package

Re: Kernel Application Binary Interface (kABI) support in FreeBSD

2015-07-17 Thread Julian Elischer
On 7/17/15 9:02 PM, Venkat Duvvuru wrote: Hi, Is there kABI (Kabi-whitelist) equivalent feature in FreeBSD? well, yes and no. Firstly, FreeBSD maintains a backwards compatible kABI (with the exception of programs that hunt around in kernel memory). We also use symbol versioning on the libc. s

Re: Getting Asus FM200 working with FreeBSD

2015-07-12 Thread Julian Elischer
On 7/11/15 8:29 PM, Daniel Peyrolon wrote: Hi everyone, I'm trying to get FreeBSD-CURRENT up and running with anything different than console-only on an Asus FM200. I created a wiki page for it: [1]. I've tried GhostBSD on it, and everything pretty much worked, except suspend/resume, and audio.

Re: libc compile failure with new syscall.

2015-06-29 Thread Julian Elischer
On 6/29/15 4:43 PM, Konstantin Belousov wrote: On Mon, Jun 29, 2015 at 04:33:31PM +0800, Julian Elischer wrote: Hi all, At $JOB we have a few extra syscalls that we have added to our kernel. After generating the new sysent files in /sys/kern, libc fails to compile with: ===> lib/libc (

Re: libc compile failure with new syscall.

2015-06-29 Thread Julian Elischer
On 6/29/15 4:33 PM, Julian Elischer wrote: Hi all, At $JOB we have a few extra syscalls that we have added to our kernel. After generating the new sysent files in /sys/kern, libc fails to compile with: ===> lib/libc (obj,depend,all,install) building shared library libc.so.7 [...] /usr/

libc compile failure with new syscall.

2015-06-29 Thread Julian Elischer
Hi all, At $JOB we have a few extra syscalls that we have added to our kernel. After generating the new sysent files in /sys/kern, libc fails to compile with: ===> lib/libc (obj,depend,all,install) building shared library libc.so.7 [...] /usr/bin/ld: rlk_check_offline.So: relocation R_X86_64_

odd compile failure with both clang and gcc.. weird (standard) library install

2015-06-21 Thread Julian Elischer
Working on -current as of about March 7. I'm building some software that uses the standard FreeBSD Makefile includes but it's failing on its library linking (the linking of a library which is part of the application) with the following error [...] building shared library libcbc.so.1 FreeBSD

Re: obtaining a minidump from panic() called from NMI handler

2015-06-13 Thread Julian Elischer
On 6/13/15 10:01 PM, O'Connor, Daniel wrote: On 13 Jun 2015, at 09:17, Julian Elischer wrote: could it be that more than one CPUs get the NMI at the same time? i guess, its possible. is there an easy way to check for that? hard code checks in the code so that all except the fir

Re: obtaining a minidump from panic() called from NMI handler

2015-06-13 Thread Julian Elischer
On 6/13/15 2:49 AM, Maksim Yevmenkin wrote: Andriy, i have a question about obtaining minidump as result of panic() being called from nmi handler. basically, i have a way to trigger nmi, and, i would like to panic() system and obtain a minidump. i have modified isa_nmi() to appropriately inspe

Re: seekdir/readdir patch .. Call for Review.

2015-05-05 Thread Julian Elischer
On 5/6/15 7:33 AM, Rick Macklem wrote: Julian Elischer wrote: On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and

Re: seekdir/readdir patch .. Call for Review.

2015-05-04 Thread Julian Elischer
On 5/5/15 8:42 AM, Rick Macklem wrote: Julian Elischer wrote: On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and

Re: seekdir/readdir patch .. Call for Review.

2015-05-04 Thread Julian Elischer
On 5/5/15 12:04 AM, Konstantin Belousov wrote: On Mon, May 04, 2015 at 10:52:42PM +0800, Julian Elischer wrote: On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if

Re: seekdir/readdir patch .. Call for Review.

2015-05-04 Thread Julian Elischer
On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and telldir(3) then you should look at https

Re: seekdir/readdir patch .. Call for Review.

2015-05-04 Thread Julian Elischer
On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and telldir(3) then you should look at https

Re: seekdir/readdir patch .. Call for Review.

2015-05-03 Thread Julian Elischer
On 5/3/15 10:33 PM, Jilles Tjoelker wrote: On Fri, May 01, 2015 at 07:17:42PM +0300, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and telldir(3) then you should look at https

Re: seekdir/readdir patch .. Call for Review.

2015-05-03 Thread Julian Elischer
On 5/2/15 12:17 AM, Konstantin Belousov wrote: On Fri, May 01, 2015 at 03:04:51PM +0800, Julian Elischer wrote: if you are interested in readdir(3), seekdir(3) and telldir(3) then you should look at https://reviews.freebsd.org/D2410 this patches around a problem in seekdir() that breaks

seekdir/readdir patch .. Call for Review.

2015-05-01 Thread Julian Elischer
if you are interested in readdir(3), seekdir(3) and telldir(3) then you should look at https://reviews.freebsd.org/D2410 this patches around a problem in seekdir() that breaks Samba. Seekdir(3) will not work as expected when files prior to the point of interest in directory have been deleted

Re: readdir/telldir/seekdir problem (i think)

2015-04-30 Thread Julian Elischer
On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. I have a patch for review at https://reviews.freebsd.org/D2410 which fixes this special case needed for samba, and im

Re: readdir/telldir/seekdir problem (i think)

2015-04-29 Thread Julian Elischer
On 4/25/15 5:52 AM, Jilles Tjoelker wrote: On Fri, Apr 24, 2015 at 04:28:12PM -0400, John Baldwin wrote: Yes, this isn't at all safe. There's no guarantee whatsoever that the offset on the directory fd that isn't something returned by getdirentries has any meaning. In particular, the size of t

Re: readdir/telldir/seekdir problem (i think)

2015-04-27 Thread Julian Elischer
On 4/28/15 4:03 AM, Rick Macklem wrote: Julian Elischer wrote: On 4/25/15 4:28 AM, John Baldwin wrote: On Saturday, April 25, 2015 02:36:24 AM Julian Elischer wrote: On 4/25/15 1:30 AM, Julian Elischer wrote: On 4/24/15 10:59 PM, John Baldwin wrote: Index: head/lib/libc/gen/telldir.c

Re: readdir/telldir/seekdir problem (i think)

2015-04-27 Thread Julian Elischer
On 4/25/15 4:28 AM, John Baldwin wrote: On Saturday, April 25, 2015 02:36:24 AM Julian Elischer wrote: On 4/25/15 1:30 AM, Julian Elischer wrote: On 4/24/15 10:59 PM, John Baldwin wrote: Index: head/lib/libc/gen/telldir.c

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/25/15 9:39 AM, Rick Macklem wrote: Jilles Tjoelker wrote: On Fri, Apr 24, 2015 at 04:28:12PM -0400, John Baldwin wrote: Yes, this isn't at all safe. There's no guarantee whatsoever that the offset on the directory fd that isn't something returned by getdirentries has any meaning. In part

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/25/15 5:52 AM, Jilles Tjoelker wrote: On Fri, Apr 24, 2015 at 04:28:12PM -0400, John Baldwin wrote: Yes, this isn't at all safe. There's no guarantee whatsoever that the offset on the directory fd that isn't something returned by getdirentries has any meaning. In particular, the size of t

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/25/15 4:28 AM, John Baldwin wrote: On Saturday, April 25, 2015 02:36:24 AM Julian Elischer wrote: On 4/25/15 1:30 AM, Julian Elischer wrote: On 4/24/15 10:59 PM, John Baldwin wrote: On Friday, April 24, 2015 01:02:39 PM Julian Elischer wrote: On 4/23/15 9:54 PM, John Baldwin wrote: On

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/25/15 1:30 AM, Julian Elischer wrote: On 4/24/15 10:59 PM, John Baldwin wrote: On Friday, April 24, 2015 01:02:39 PM Julian Elischer wrote: On 4/23/15 9:54 PM, John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/24/15 10:59 PM, John Baldwin wrote: On Friday, April 24, 2015 01:02:39 PM Julian Elischer wrote: On 4/23/15 9:54 PM, John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/24/15 10:43 PM, John Baldwin wrote: On Friday, April 24, 2015 06:42:01 PM Julian Elischer wrote: On 4/24/15 6:12 AM, Rick Macklem wrote: John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugg

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/24/15 6:48 PM, Garrett Cooper wrote: On Apr 24, 2015, at 3:42, Julian Elischer wrote: here's an interesting datapoint. If the test program is run on kFreeBSD using glibc, it runs without flaw. OS-X (bsd derived libc) HFS+ fails FreeBSD libc (UFS) fails FreeBSD libc (ZFS)

Re: readdir/telldir/seekdir problem (i think)

2015-04-24 Thread Julian Elischer
On 4/24/15 6:12 AM, Rick Macklem wrote: John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advert

Re: readdir/telldir/seekdir problem (i think)

2015-04-23 Thread Julian Elischer
On 4/24/15 5:50 AM, Rick Macklem wrote: John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advert

Re: readdir/telldir/seekdir problem (i think)

2015-04-23 Thread Julian Elischer
On 4/23/15 9:54 PM, John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. ok so it

Re: readdir/telldir/seekdir problem (i think)

2015-04-23 Thread Julian Elischer
On 4/24/15 6:12 AM, Rick Macklem wrote: John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advert

Re: readdir/telldir/seekdir problem (i think)

2015-04-23 Thread Julian Elischer
On 4/23/15 9:54 PM, John Baldwin wrote: On Thursday, April 23, 2015 05:02:08 PM Julian Elischer wrote: On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. ok so it

Re: readdir/telldir/seekdir problem (i think)

2015-04-23 Thread Julian Elischer
On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. ok so it looks like readdir() (and friends) is totally broken in the face of deletes unless you read the entire di

Re: readdir/telldir/seekdir problem (i think)

2015-04-22 Thread Julian Elischer
On 4/23/15 11:20 AM, Julian Elischer wrote: I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. On the intergooglewebs I see multiple previous reports of similar problems, some going back 30 years, but we supposedl

readdir/telldir/seekdir problem (i think)

2015-04-22 Thread Julian Elischer
I'm debugging a problem being seen with samba 3.6. basically telldir/seekdir/readdir don't seem to work as advertised.. here's a little test program #include #include #include #include #include #include #include #include #include #include #define CHUNKSIZE 5 #define TOTALFILES 40 s

Re: Bazaaring the cathedral (Lowering the Barrier to Entry)

2015-04-03 Thread Julian Elischer
On 4/2/15 6:28 PM, Hans Petter Selasky wrote: I hope this is not one more of those April fools :-) yep --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "fr

Re: SSE in libthr

2015-03-28 Thread Julian Elischer
On 3/28/15 5:44 AM, Konstantin Belousov wrote: On Fri, Mar 27, 2015 at 01:49:03PM -0700, Rui Paulo wrote: On Mar 27, 2015, at 12:26, Eric van Gyzen wrote: In a nutshell: Clang emits SSE instructions on amd64 in the common path of pthread_mutex_unlock. This reduces performance by a non-trivia

Re: What parts of UMA are part of the stable ABI?

2015-03-18 Thread Julian Elischer
On 3/19/15 3:28 AM, Adrian Chadd wrote: On 18 March 2015 at 08:23, John Baldwin wrote: On Wednesday, March 18, 2015 11:19:21 AM Ryan Stone wrote: On Wed, Mar 18, 2015 at 10:24 AM, John Baldwin wrote: I do think the normal zone callbacks passed to uma_zcreate() are too public to change. Or

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:30 PM, Alfred Perlstein wrote: On Mar 2, 2015, at 4:22 PM, Andrey Chernov wrote: On 02.03.2015 22:55, Julian Elischer wrote: On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:27 AM, Alfred Perlstein wrote: On 3/2/15 4:14 AM, Julian Elischer wrote: On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/2/15 5:25 AM, Alfred Perlstein wrote: On 3/2/15 4:25 AM, David Chisnall wrote: On 2 Mar 2015, at 09:16, Julian Elischer wrote: if we develop a suitable post processor with pluggable grammars, we save a lot of work. given enough examples you could almost have automatically generated

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/1/15 11:10 AM, Allan Jude wrote: On 2015-03-01 13:49, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and it can't serve up JSON or HTML without additional u

Re: Massive libxo-zation that breaks everything

2015-03-02 Thread Julian Elischer
On 3/1/15 10:49 AM, Harrison Grundy wrote: Thanks! That does seem useful, but I'm not sure I see the reasoning behind putting into base, over a port or package, since processing XML in base is a pain, and it can't serve up JSON or HTML without additional utilities anyway. (If I'm reviving a lon

Re: FreeBSD FUSE calls truncate() on read-only files

2015-03-02 Thread Julian Elischer
On 2/27/15 7:32 AM, Benjamin Kaduk wrote: On Fri, 27 Feb 2015, Julian Elischer wrote: for example it caches information when it shouldn't, even from 'dynamic' file systems We had to change the code to disable it as our data is synthetic and might change between reads. fst

Re: FreeBSD FUSE calls truncate() on read-only files

2015-02-26 Thread Julian Elischer
On 2/25/15 5:34 AM, Eggert, Lars wrote: Hi, this came up when trying to port tup (https://github.com/gittup/tup) to FreeBSD. Even though we are opening the file read-only with cat, FUSE calls truncate() on it, which modifies its mtime and this screws up tup. See https://github.com/gittup/tup/

Re: default pager (csh)

2015-02-19 Thread Julian Elischer
On 2/18/15 3:41 PM, Xin Li wrote: The _only_ reason that I can think of is that more(1) does not clear screen for certain terminals (done with 'ti' and 'te' sequences), while less(1) when running as less does. The less(1) behavior can be annoying to some people (sometimes even myself when using

Re: bmake and .USEBEFORE

2015-01-27 Thread Julian Elischer
On 1/28/15 1:41 PM, Julian Elischer wrote: If I try the following: bar: .USE @echo @ = $(@) all: bar @echo here is all oops the failing example should be .USEBEFORE.. I pasted the wrong clip. I always get "bar is up to date" Does anyone know how this is suppos

bmake and .USEBEFORE

2015-01-27 Thread Julian Elischer
If I try the following: bar: .USE @echo @ = $(@) all: bar @echo here is all I always get "bar is up to date" Does anyone know how this is supposed to work? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailma

Re: any primer on running bhyve guests sharing disk with host ?

2015-01-06 Thread Julian Elischer
On 1/6/15 10:55 PM, John Baldwin wrote: On 1/3/15 1:43 PM, Craig Rodrigues wrote: On Sat, Jan 3, 2015 at 8:15 AM, Luigi Rizzo wrote: Hi, in order to do some kernel testing, I would like to run bhyve guests using (through NFS, probably) the host's file system. diskless(8) is probably one way t

Re: witness and modules.

2014-12-03 Thread Julian Elischer
On 12/3/14, 7:26 PM, Andriy Gapon wrote: On 03/12/2014 04:33, Julian Elischer wrote: On 12/3/14, 12:24 AM, Warner Losh wrote: On Dec 1, 2014, at 10:08 PM, Julian Elischer wrote: On 12/1/14, 11:39 PM, John Baldwin wrote: On Friday, November 28, 2014 11:08:35 PM Julian Elischer wrote: Do we

Re: witness and modules.

2014-12-02 Thread Julian Elischer
On 12/3/14, 12:24 AM, Warner Losh wrote: On Dec 1, 2014, at 10:08 PM, Julian Elischer wrote: On 12/1/14, 11:39 PM, John Baldwin wrote: On Friday, November 28, 2014 11:08:35 PM Julian Elischer wrote: Do we need to compile all modules with witness definitions when linking with a kernel

Re: witness and modules.

2014-12-02 Thread Julian Elischer
On 12/3/14, 12:24 AM, Warner Losh wrote: On Dec 1, 2014, at 10:08 PM, Julian Elischer wrote: On 12/1/14, 11:39 PM, John Baldwin wrote: On Friday, November 28, 2014 11:08:35 PM Julian Elischer wrote: Do we need to compile all modules with witness definitions when linking with a kernel

Re: witness and modules.

2014-12-01 Thread Julian Elischer
On 12/1/14, 11:39 PM, John Baldwin wrote: On Friday, November 28, 2014 11:08:35 PM Julian Elischer wrote: Do we need to compile all modules with witness definitions when linking with a kernel compiled with witness? This was true at one stage but I remember some work was done to make them

Re: Possible bug in softfloat

2014-11-30 Thread Julian Elischer
On 11/29/14, 4:59 AM, Adrian Chadd wrote: You can easily fire up a mips32 / mips64 emulator build - cross-build a world+kernel, build an image, then run qemu-devel to boot it. https://wiki.freebsd.org/FreeBSD/MipsEmulation You should be able to get a 32 bit soft-float mips environment inside th

Re: RFC: Remove pty(4)

2014-11-28 Thread Julian Elischer
On 11/28/14, 2:37 AM, Alfred Perlstein wrote: On Nov 27, 2014, at 1:52 AM, Konstantin Belousov wrote: On Wed, Nov 26, 2014 at 04:41:27PM -0800, Davide Italiano wrote: On Mon, Aug 25, 2014 at 12:37 PM, John Baldwin wrote: On Wednesday, August 20, 2014 11:00:14 AM Davide Italiano wrote: One o

witness and modules.

2014-11-28 Thread Julian Elischer
Do we need to compile all modules with witness definitions when linking with a kernel compiled with witness? This was true at one stage but I remember some work was done to make them compatible. ___ freebsd-current@freebsd.org mailing list http://li

Re: samba/NSSWITCH interaction in fbsd 10 vs fbsd 8

2014-11-11 Thread Julian Elischer
ins_freebsd.o" WINBIND_NSS="../nsswitch/nss_winbind.$SHLIBEXT" WINBIND_WINS_NSS="../nsswitch/nss_wins.$SHLIBEXT" ;; On Mon, Nov 10, 2014 at 1:14 PM, Julian Elischer <mailto:jul...@freebsd.org>> wrote: When I try use the libnss_w

<    1   2   3   4   5   6   7   8   9   10   >