Re: resource leak in linux emulation?

2014-05-04 Thread Christos Zoulas
In article 201405040936.21907.m...@ecs.vuw.ac.nz, Mark Davies m...@ecs.vuw.ac.nz wrote: On Thu, 24 Apr 2014 07:18:10 David Laight wrote: To fix, this should be added somewhere, probably at sys/kern/kern_exit.c:487 (but I'm not sure if there's a better location): if ((l-l_pflag

Re: Inconsistency with COMPAT_10

2014-04-18 Thread Christos Zoulas
In article 5350e2b5.6000...@m00nbsd.net, Maxime Villard m...@m00nbsd.net wrote: Hi all, I think there's an inconsistency with COMPAT_10 in the open() syscall: - kern/vfs_syscalls.c - l.1631 -- #ifdef COMPAT_10 /* XXX: and perhaps later */ if (path ==

Re: Rewrite kernfs and procfs.

2014-04-08 Thread Christos Zoulas
On Apr 8, 9:15pm, net...@izyk.ru (Ilia Zykov) wrote: -- Subject: Rewrite kernfs and procfs. | Hello! | I desire become a NetBSD developer and develop this project. Excellent... | Sorry to disturb, maybe I need anything else. What else do you need? | Also little patch, that removes unusable

Re: Enhance ptyfs to handle multiple instances.

2014-04-04 Thread Christos Zoulas
On Apr 4, 12:29pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | | - I don't like the refactoring because it makes ptyfs less optional (brings |in code and headers to the base kernel). I think it is simpler to provide |an entry

Re: Enhance ptyfs to handle multiple instances.

2014-04-04 Thread Christos Zoulas
On Apr 4, 6:40pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | | Should we put a pointer in the pty node that points to the primary mount point | then so we get the correct one? | | Why? In general case we forever must return first which

Re: Enhance ptyfs to handle multiple instances.

2014-04-04 Thread Christos Zoulas
On Apr 4, 7:28pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | On 04.04.2014 18:55, Christos Zoulas wrote: | On Apr 4, 6:40pm, net...@izyk.ru (Ilya Zykov) wrote: | -- Subject: Re: Enhance ptyfs to handle multiple instances

Re: Enhance ptyfs to handle multiple instances.

2014-04-03 Thread Christos Zoulas
On Apr 2, 10:36am, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. Looks very good. Some changes: - I don't like the refactoring because it makes ptyfs less optional (brings in code and headers to the base kernel). I think it is simpler to provide

Re: Enhance ptyfs to handle multiple instances.

2014-03-27 Thread Christos Zoulas
On Mar 27, 5:53pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | This is a multi-part message in MIME format. | --040300020609040305030709 | Content-Type: text/plain; charset=ISO-8859-1 | Content-Transfer-Encoding: 7bit | | On

Re: [M-Labs devel] NetBSD kernel booting on lm32

2014-03-27 Thread Christos Zoulas
On Mar 27, 8:55pm, yann.sionn...@gmail.com (Yann Sionneau) wrote: -- Subject: Re: [M-Labs devel] NetBSD kernel booting on lm32 | Le 21/03/14 21:42, Christos Zoulas a écrit : | On Mar 21, 7:05pm, yann.sionn...@gmail.com (Yann Sionneau) wrote: | -- Subject: Re: [M-Labs devel] NetBSD kernel

Re: Enhance ptyfs to handle multiple instances.

2014-03-27 Thread Christos Zoulas
On Mar 28, 12:37am, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | Please, don't forget this, otherwise readdir returns released(free), but still hashed inode numbers. | Got it, thanks! christos

Re: Enhance ptyfs to handle multiple instances.

2014-03-26 Thread Christos Zoulas
On Mar 26, 2:09pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | Index: fs/ptyfs/ptyfs_subr.c | === | RCS file: /cvsil/nbcur/src/sys/fs/ptyfs/ptyfs_subr.c,v | retrieving revision

Re: Enhance ptyfs to handle multiple instances.

2014-03-26 Thread Christos Zoulas
On Mar 26, 6:36pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | PTYFS has dependency from ptm driver. | If config has NO_DEV_PTM, PTYFS isn't compiled. | PTYFS is useless without ptm. | | How, better, this condition is fixed in config files?

Re: Enhance ptyfs to handle multiple instances.

2014-03-26 Thread Christos Zoulas
In article 5332dc47.1060...@izyk.ru, Ilya Zykov net...@izyk.ru wrote: | | - error = (*ptm-makename)(ptm, l, name, sizeof(name), dev, ms); | + error = pty_makename(ptm, l, name, sizeof(name), dev, ms); |if (error) |return error; | Are you sure about this one? It is

Re: Enhance ptyfs to handle multiple instances.

2014-03-24 Thread Christos Zoulas
On Mar 24, 5:46pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | Hello! | | Please, tell me know if I wrong. | In general case I can't find(easy), from driver, where its device file located on file system, | its vnode or its directory vnode

Re: Enhance ptyfs to handle multiple instances.

2014-03-22 Thread Christos Zoulas
On Mar 22, 3:50pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | | I don't understand why you want to get rid of the mountpoint arg inside | the pty structure. It certainly makes things faster, and the pty can't | be shared... | |

Re: Enhance ptyfs to handle multiple instances.

2014-03-22 Thread Christos Zoulas
In article 532def5e.2040...@izyk.ru, Ilya Zykov net...@izyk.ru wrote: The mountpoint inside ptm_pty. Perhaps by having separate instances in the ptm driver? christos I think, it's not better. I can do so, but: 1. Now we have only 2 instances ptm_pty, one for ptyfs one for bsdpty and

Re: [M-Labs devel] NetBSD kernel booting on lm32

2014-03-21 Thread Christos Zoulas
In article CACi+aWYQ9x8c2W6M7qwzOdr=l9cvzkz_p4jsporttsoagjx...@mail.gmail.com, Yann Sionneau yann.sionn...@gmail.com wrote: 2014-03-20 10:38 GMT+01:00 Yann Sionneau yann.sionn...@gmail.com: Hi, I am very happy to announce that the NetBSD/lm32 project is making good progress :) [...]

Re: Enhance ptyfs to handle multiple instances.

2014-03-21 Thread Christos Zoulas
In article 532c0718.3020...@izyk.ru, Ilya Zykov net...@izyk.ru wrote: -=-=-=-=-=- Hello! Correct ptyfs_readdir for multi mount points use. committed. christos

Re: [M-Labs devel] NetBSD kernel booting on lm32

2014-03-21 Thread Christos Zoulas
On Mar 21, 7:05pm, yann.sionn...@gmail.com (Yann Sionneau) wrote: -- Subject: Re: [M-Labs devel] NetBSD kernel booting on lm32 | Do you see the printf: | | printf(sysctl_createv: sysctl_locate(%s) returned %d\n, | nnode.sysctl_name, error); | | Yes that's

Re: Enhance ptyfs to handle multiple instances.

2014-03-21 Thread Christos Zoulas
On Mar 21, 10:23pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | If seriously, it's first working prototype for comments and objections. | | It's working as follow: | | Mount first ptyfs instance in /dev/pts(or other path) you can get access

Re: Enhance ptyfs to handle multiple instances.

2014-03-19 Thread Christos Zoulas
On Mar 19, 9:51pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | Ok, but bug will stay in the system, temporarily. No problem, no worse than we have now. christos | | fs/ptyfs/ptyfs_vfsops.c | 16 +++- | kern/tty_ptm.c |

Re: Enhance ptyfs to handle multiple instances.

2014-03-14 Thread Christos Zoulas
On Mar 14, 12:30pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Enhance ptyfs to handle multiple instances. | Hello! | I desire develop this project. Excellent. | About me. | I am system administrator in little Italy-Russia's firm. I live in Moscow. | OS kernel it's my hobby mainly. | I have

Re: Enhance ptyfs to handle multiple instances.

2014-03-14 Thread Christos Zoulas
In article 20140314143532.ga17...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Fri, Mar 14, 2014 at 09:51:12AM -0400, Christos Zoulas wrote: I don't think that putting ptmx inside devpts makes sense. OTOH, we could have multiple ptmx devices with different minor

Re: Enhance ptyfs to handle multiple instances.

2014-03-14 Thread Christos Zoulas
On Mar 14, 6:49pm, net...@izyk.ru (Ilya Zykov) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | We first need to decide if disclosing gaps in the pty number is a security | issue. If not, it is simple; we just allocate the next free one and we don't | care about gaps. I.e.

Re: Enhance ptyfs to handle multiple instances.

2014-03-14 Thread Christos Zoulas
On Mar 14, 5:08pm, campbell+netbsd-tech-k...@mumble.net (Taylor R Campbell) wrote: -- Subject: Re: Enhance ptyfs to handle multiple instances. | We could install a symlink at /dev/ptmx pointing to pts/ptmx, and we | could install a device node at /dev/pts/ptmx, which gets hidden by the | ptyfs

Re: DIOCGDISKINFO support for vnd

2014-03-11 Thread Christos Zoulas
In article 20140311130940.GA456@quark, Patrick Welche pr...@cam.ac.uk wrote: -=-=-=-=-=- The attached trivial patch allows vnd(4) to support generic disk ioctls. The only one in kern/subr_disk.c at the moment is DIOCGDISKINFO. Before: $ ./vndtest /dev/vnd0a vndtest: DIOCGDISKINFO:

Re: 4byte aligned com(4) and PCI_MAPREG_TYPE_MEM

2014-02-09 Thread Christos Zoulas
In article 52f7c96e.6000...@execsw.org, SAITOH Masanobu msai...@execsw.org wrote: Hello, all. I'm now working to support Intel Quark X1000. This chip's internal com is MMIO(PCI_MAPREG_TYPE_MEM). Our com and puc don't support such type of device, yet. To solve the problem, I wrote a patch.

Re: [PATCH] netbsd32 swapctl, round 4

2014-02-03 Thread Christos Zoulas
On Feb 3, 8:04am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [PATCH] netbsd32 swapctl, round 4 | On Mon, Feb 03, 2014 at 03:06:14AM +, Christos Zoulas wrote: | I thought we decided that it is better to have one sep32 on the stack | and do copyout in the loop. | | I can do

Re: [PATCH] netbsd32 swapctl, round 4

2014-02-02 Thread Christos Zoulas
In article 20140202043534.ga8...@homeworld.netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: Latest revision of the netbsd32 swapctl patch + for (i = 0; i count; i++) { + sep32[i].se_dev = sep[i].se_dev; + sep32[i].se_flags = sep[i].se_flags; +

Re: compat_netbsd32 swapctl

2014-01-29 Thread Christos Zoulas
In article 20140129153713.gl5...@homeworld.netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: On Wed, Jan 29, 2014 at 01:48:35PM +0100, Martin Husemann wrote: My vote for this special case: hard code it #ifdef __x86_64__. If we run into other instances, we can add a define (like:

Re: amd64 kernel, i386 userland

2014-01-25 Thread Christos Zoulas
In article 1lfyrch.n0en6eho0ft6m%m...@netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: Since nobody opposes, I am going to commit that. Perhaps the option name could be better: NATIVE_EMULROOT or EMULROOT_NATIVE? --- sys/kern/kern_exec.c.orig 2014-01-21 16:55:00.0 +0100 +++

Re: Autoload of pseudo-device driver module

2013-12-28 Thread Christos Zoulas
In article pine.neb.4.64.1312280809050.26...@screamer.whooppee.com, Paul Goyette p...@whooppee.com wrote: I've noticed that the vnd(4) driver seems to be able to auto-load when one runs vndconfig. Can someone tell me how this is triggered? The module_autoload() in

Re: Problem with autounload of nfsserver module

2013-12-14 Thread Christos Zoulas
In article pine.neb.4.64.1312140541170@screamer.whooppee.com, Paul Goyette p...@whooppee.com wrote: I believe that the nfsserver module should not be allowed to autounload. Consider the following sequence of events: 1. mountd is started, and calls nfssvc(2) 2. The module subsystem autoloads

Re: Problem with autounload of nfsserver module

2013-12-14 Thread Christos Zoulas
In article pine.neb.4.64.1312140648400.22...@screamer.whooppee.com, Paul Goyette p...@whooppee.com wrote: On Sat, 14 Dec 2013, Christos Zoulas wrote: In article pine.neb.4.64.1312140541170@screamer.whooppee.com, Paul Goyette p...@whooppee.com wrote: I believe that the nfsserver module

re: Problem with autounload of nfsserver module

2013-12-14 Thread Christos Zoulas
On Dec 15, 5:07pm, m...@eterna.com.au (matthew green) wrote: -- Subject: re: Problem with autounload of nfsserver module | right, that's my whole point. | | what's the real benefit to the end user for having these modules | use auto unload? mostly they seem to present bugs we have to fix |

Re: qsort_r

2013-12-09 Thread Christos Zoulas
In article 20131209061036.ge2...@apb-laptoy.apb.alt.za, Alan Barrett a...@cequrux.com wrote: On Sun, 08 Dec 2013, David Holland wrote: My irritation with not being able to pass a data pointer through qsort() boiled over just now. Apparently Linux and/or GNU has a qsort_r() that supports

Re: qsort_r

2013-12-08 Thread Christos Zoulas
In article 20131208222953.gb25...@netbsd.org, David Holland dholland-t...@netbsd.org wrote: (Cc: tech-kern because of kheapsort()) My irritation with not being able to pass a data pointer through qsort() boiled over just now. Apparently Linux and/or GNU has a qsort_r() that supports this; so,

Re: in which we present an ugly hack to make sys/queue.h CIRCLEQ work

2013-11-26 Thread Christos Zoulas
In article 96497888-f8c7-49f2-958b-532a2093b...@gmail.com, Dennis Ferguson dennis.c.fergu...@gmail.com wrote: I think getting rid of uses of the CIRCLEQ macros was the right thing to do in any case, since code which works like that doesn't need to exist. I'm not sure that that TAILQ macros are

Re: in which we present an ugly hack to make sys/queue.h CIRCLEQ work

2013-11-26 Thread Christos Zoulas
On Nov 26, 8:20pm, m...@linuxbox.com (Matt W. Benjamin) wrote: -- Subject: Re: in which we present an ugly hack to make sys/queue.h CIRCLEQ | What's your issue with TAILQ? #define TAILQ_LAST(head, headname) \ (*(((struct headname *)((head)-tqh_last))-tqh_last)) #define TAILQ_PREV(elm,

Re: Help for PR kern/46606 is needed

2013-11-25 Thread Christos Zoulas
In article 6eefbae491842ca53ddd56690ba31...@mail.marples.name, Roy Marples r...@marples.name wrote: -=-=-=-=-=- Hi On 25/11/2013 10:33, Ryo ONODERA wrote: pulseaudio needs pkgsrc/sysutils/hal, and running hal causes PR kern/46606 kernel panic when the NetBSD system is shutdown. See

Re: posix_fallocate

2013-11-17 Thread Christos Zoulas
On Nov 17, 1:15pm, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: posix_fallocate | ps: I have not examined the FreeBSD implementation - if they've done it the | hard, safe, way, and worked out all the potential kinks, and if it doesn't | depend too much upon other aspects of their I/O

Re: [patch] changing lua_Number to int64_t

2013-11-17 Thread Christos Zoulas
On Nov 17, 10:36am, lourival.n...@gmail.com (Lourival Vieira Neto) wrote: -- Subject: Re: [patch] changing lua_Number to int64_t | I mean know it as a script programmer. I think that would be helpful | to know the exact lua_Number width when you are writing a script. | AFAIK, you don't have

Re: [patch] changing lua_Number to int64_t

2013-11-17 Thread Christos Zoulas
On Nov 17, 10:46am, lourival.n...@gmail.com (Lourival Vieira Neto) wrote: -- Subject: Re: [patch] changing lua_Number to int64_t | On Sun, Nov 17, 2013 at 7:37 AM, Marc Balmer m...@msys.ch wrote: | Am 17.11.13 04:49, schrieb Terry Moore: | I believe that if you want the Lua scripts to be

Re: [patch] changing lua_Number to int64_t

2013-11-17 Thread Christos Zoulas
On Nov 17, 3:36pm, lourival.n...@gmail.com (Lourival Vieira Neto) wrote: -- Subject: Re: [patch] changing lua_Number to int64_t | 1. Lua 5.3 will have 64 bit integer support as standard, which will | make interop and reuse between kernel and userspace code much easier, | iff we use int64_t |

Re: [patch] changing lua_Number to int64_t

2013-11-17 Thread Christos Zoulas
On Nov 17, 7:14pm, lourival.n...@gmail.com (Lourival Vieira Neto) wrote: -- Subject: Re: [patch] changing lua_Number to int64_t | Humm.. I think that =A72.1 brings a good argument: Standard Lua uses | 64-bit integers and double-precision floats, (...). I think that | would not hurt to stick to

Re: [patch] changing lua_Number to int64_t

2013-11-16 Thread Christos Zoulas
In article 52872b0c.5080...@msys.ch, Marc Balmer m...@msys.ch wrote: Changing the number type to int64_t is certainly a good idea. Two questions, however: Why not intmax_t? christos

Re: [patch] changing lua_Number to int64_t

2013-11-16 Thread Christos Zoulas
On Nov 16, 9:30pm, lourival.n...@gmail.com (Lourival Vieira Neto) wrote: -- Subject: Re: [patch] changing lua_Number to int64_t | On Sat, Nov 16, 2013 at 8:52 PM, Christos Zoulas chris...@astron.com wrote: | In article 52872b0c.5080...@msys.ch, Marc Balmer m...@msys.ch wrote: | Changing

Re: posix_fallocate

2013-11-16 Thread Christos Zoulas
In article 1lcgiu4.18zr2h51aac07zm%m...@netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: Hi NetBSD-current seems to lack posix_fallocate(2) http://pubs.opengroup.org/onlinepubs/009695299/functions/posix_fallocate .html Is someone already working on it, or has thoughs about how it should be

Re: Changing __USING_TOPDOWN_VM to a runtime decision

2013-11-05 Thread Christos Zoulas
In article 20131105144023.gc17...@mail.duskware.de, Martin Husemann mar...@duskware.de wrote: -=-=-=-=-=- Hey folks, I would like to change the current (mostly) compile time decision wether we will use top-down VA layout for userland processes to a runtime check. This allows emulations to

Re: zero-length symlinks

2013-11-05 Thread Christos Zoulas
In article 20131105220754.gb...@snowdrop.l8s.co.uk, David Laight da...@l8s.co.uk wrote: On Sun, Nov 03, 2013 at 04:35:19PM -0800, John Nemeth wrote: It has to do with the fact that historically mkdir(2) was actually mkdir(3), it wasn't an atomic syscall and was a sequence of operation

Re: autoconf deferred processing

2013-10-22 Thread Christos Zoulas
In article 20131022205705.c0dc812...@ren.fdy2.co.uk, Robert Swindells r...@fdy2.co.uk wrote: Can somebody explain how the deferred processing code in subr_autoconf.c is supposed to work ? Looking at config_create_interruptthreads() it creates 8 threads all of which seem to walk the same list

Re: kgdb on NetBSD/amd64 6.99.23

2013-09-19 Thread Christos Zoulas
In article 523aab61.8000...@gmail.com, Jan Danielsson jan.m.daniels...@gmail.com wrote: On 9/18/13 7:00 PM, Jan Danielsson wrote: I'm trying to get kgdb working between two virtual box instances. (I have verified that /dev/tty00 - /dev/tty00 works by running GENERIC kernels and minicom on

Re: high load, no bottleneck

2013-09-19 Thread Christos Zoulas
On Sep 19, 11:35am, buh...@nfbcal.org (Brian Buhrow) wrote: -- Subject: Re: high load, no bottleneck | Hello. the worst case scenario is when a raid set is running in | degraded mode. Greg sent me some notes on how to calculate the memory | utilization in this instance. I'll go dig them

Re: high load, no bottleneck

2013-09-18 Thread Christos Zoulas
On Sep 18, 3:34am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: high load, no bottleneck | Christos Zoulas chris...@zoulas.com wrote: | | On large filesystems with many files fsck can take a really long time after | a crash. In my personal experience power outages are much less

Re: high load, no bottleneck

2013-09-17 Thread Christos Zoulas
In article 1l9czcn.y6kr35aruvzvm%m...@netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: Emmanuel Dreyfus m...@netbsd.org wrote: db{0} show vnode c5a24b08 OBJECT 0xc5a24b08: locked=0, pgops=0xc0b185a8, npages=1720, refs=16 VNODE flags 0x4030MPSAFE,LOCKSWORK,ONWORKLST mp 0xc4a14000

Re: high load, no bottleneck

2013-09-17 Thread Christos Zoulas
On Sep 17, 9:48pm, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: high load, no bottleneck | Excellent: the load does not go over 2 now (compared to 50). | | Thank you for saving my day. But now what happens? | I note the SATA disks are in IDE emulation mode, and not AHCI. This is |

Re: high load, no bottleneck

2013-09-17 Thread Christos Zoulas
On Sep 18, 2:22am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: high load, no bottleneck | The case to worry about is the scenario where the machine | suddently loses power, the data never makes it to the physical media, | and gets lost from the cache. In this case you might end

Re: NFS over-quota not detected if utimes() called before fsync()/close()

2013-08-04 Thread Christos Zoulas
In article 20130731222303.gj96...@trav.math.uni-bonn.de, Edgar Fuß e...@math.uni-bonn.de wrote: Yes, I believe you are right. Return an error for all errors. Any idea what the intent of only catching EINTR was? The flawed logic of: If the write fails for any other reason than being

Re: NFS over-quota not detected if utimes() called before fsync()/close()

2013-07-31 Thread Christos Zoulas
In article 20130730211200.gd96...@trav.math.uni-bonn.de, Edgar Fuß e...@math.uni-bonn.de wrote: I think the problem is in nfs_setattr(), sys/nfs/nfs_vnops.c:681, where files are flushed before setattr because a later write of cached data might change timestamps or reset sugid bits, but the

Re: ibcs2 syscalls.master problem

2013-06-26 Thread Christos Zoulas
In article 51c9db37.1090...@netbsd.org, Jeff Rizzo r...@netbsd.org wrote: The last time sys/compat/ibcs2/syscalls.master was edited [1] (July 2010), the dependent files were not regenerated. There was at least one typo (fixed), but there are also duplicate syscall names, which cause the

Re: DTrace syscall provider - please test/comment

2013-06-25 Thread Christos Zoulas
On Jun 24, 6:12pm, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: DTrace syscall provider - please test/comment | | On Jun 24, 2013, at 6:01 PM, Christos Zoulas chris...@astron.com wrote: | | Can't this be done as an addition/enhancement to the trace_enter()/ | trace_exit

Re: DTrace syscall provider - please test/comment

2013-06-25 Thread Christos Zoulas
On Jun 25, 9:32am, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: DTrace syscall provider - please test/comment | | On Jun 25, 2013, at 5:25 AM, chris...@zoulas.com (Christos Zoulas) wrote: | | On Jun 24, 6:12pm, m...@3am-software.com (Matt Thomas) wrote: | -- Subject: Re

Re: NetBSD/avr32

2013-05-18 Thread Christos Zoulas
In article caev1cwcb1-+eyu+enmdq9omh8tzuanu8k4spurxw8uvpwfa...@mail.gmail.com, Tomas Niño Kehoe tomasninoke...@gmail.com wrote: -=-=-=-=-=- Hi all, I'd like to announce the existence of a NetBSD port to the AVR32 processor architecture. This port is being developed in the context of my

Re: revert broken O_SEARCH

2013-01-13 Thread Christos Zoulas
In article 74e9a033-b75c-45b8-beee-a7380baa8...@gmail.com, Garrett Cooper yaneg...@gmail.com wrote: On Jan 13, 2013, at 12:59 AM, Martin Husemann wrote: On Sun, Jan 13, 2013 at 08:49:06AM +, David Holland wrote: Nope, don't have that kind of setup and atf is way too invasive to allow just

Re: revert broken O_SEARCH

2013-01-13 Thread Christos Zoulas
In article c96ccc7b-08cc-4404-b567-1a5aa2c02...@gmail.com, Garrett Cooper yaneg...@gmail.com wrote: This is what I would like to happen (similar to LTP with Linux), but it hasn't yet because of other items on my priority list of things to do. But, I would really like working with someone

Re: Porting FreeBSD drm2 driver

2013-01-12 Thread Christos Zoulas
In article 20130112154830.gc22...@falu.nl, Rhialto rhia...@falu.nl wrote: I just noticed that FreeBSD's new 9.1 release has Kernel Mode Setting: The drm2(4) Intel GPU driver, which supports GEM and KMS and works with new generations of GPUs such as IronLake, SandyBridge, and IvyBridge, has been

Re: Importing lua(4), but where in the source tree?

2013-01-09 Thread Christos Zoulas
In article de1aa2ee-2a57-4255-9f6c-84b240596...@msys.ch, Marc Balmer m...@msys.ch wrote: Am 09.01.2013 um 16:28 schrieb matthew green m...@eterna.com.au: I want to import the lua(4) device driver, which is currently a module only, which seems wrong. Is sys/dev/lua/ a good place? can

Re: WAPBL and write cacheing (was: SATA write performance problems)

2013-01-03 Thread Christos Zoulas
In article cajcb3foogeoiw_xgnrkovykigab+vf8jsiffiz8zgpyjrij...@mail.gmail.com, Andy Ruhl acr...@gmail.com wrote: On Thu, Jan 3, 2013 at 4:54 AM, Lars Heidieker lars.heidie...@googlemail.com wrote: On Thu, Jan 3, 2013 at 12:49 PM, Edgar Fuß e...@math.uni-bonn.de wrote: Doesn't this depend on

Re: fixing compat_12 getdents

2012-12-10 Thread Christos Zoulas
In article 20121210195346.ga8...@apb-laptoy.apb.alt.za, Alan Barrett a...@cequrux.com wrote: also, EINVAL doesn't seem like a great error code for this condition. it's not an input parameter that's causing the error, but rather that the required output format cannot express the data to be

Re: Making forced unmounts work

2012-12-08 Thread Christos Zoulas
In article 31490263-5a8e-411a-bb57-f7fc5cffc...@eis.cs.tu-bs.de, J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote: The more I think the more I just want to remove forced unmounts. I think that any operation that cannot be undone (and requires reboot to be undone) makes the OS less resilient to

Re: fexecve, round 3

2012-11-25 Thread Christos Zoulas
In article 20121125152520.ga17...@panix.com, Thor Lancelot Simon t...@panix.com wrote: On Sat, Nov 24, 2012 at 06:53:16PM +0100, Emmanuel Dreyfus wrote: Let's try to move forward, and I will start will a sum up of what I understand from the standard. It would be nice if we could at least reach

Re: WAPL panic

2012-11-06 Thread Christos Zoulas
In article 20121106221628.gl22...@trav.math.uni-bonn.de, Edgar Fuß e...@math.uni-bonn.de wrote: So, while investigating my WAPL performance problems, It looks like I can crash the machine (not reliably, but more often that not) with a simple seq 1 3000 | xargs mkdir command. I get the

Re: ETHERCAP_* ioctl()

2012-10-31 Thread Christos Zoulas
In article 5090fc73.4060...@execsw.org, Masanobu SAITOH msai...@execsw.org wrote: Hi, all. I sent the followin mail more than two years ago. http://mail-index.netbsd.org/tech-kern/2010/07/28/msg008613.html As the starting point to solve this problem, I committed the change to add

Re: suenv

2012-10-23 Thread Christos Zoulas
In article c75a84166056c94f84d238a44af9f6ad277...@ausx10mpc103.amer.dell.com, paul_kon...@dell.com wrote: But apache is security critical, isn't it? And it certainly is threaded. Or are you applying the term security critical only to a smaller set of components? Yes, but apache is designed

Re: suenv

2012-10-23 Thread Christos Zoulas
In article 20121023162142.gb24...@panix.com, Thor Lancelot Simon t...@panix.com wrote: Nasty hacks like subverting the protection against LD_PRELOAD on setuid executables are not called for in a case like this. If we resort to them, why should our users trust us to deliver quality software? If

Re: fixing zfs

2012-10-14 Thread Christos Zoulas
In article 20121014193635.6ccf360...@jupiter.mumble.net, Taylor R Campbell campbell+netbsd-tech-k...@mumble.net wrote: -=-=-=-=-=- The attached patches fixes a lot of issues in our zfs port mainly having to do with locking and our (insane) vop protocols. With it, many of the zfs tests pass much

Re: 5.1 vs gdb

2012-10-14 Thread Christos Zoulas
In article 201210142318.taa11...@sparkle.rodents-montreal.org, Mouse mo...@rodents-montreal.org wrote: I've run into an issue with gdb on 5.1, and ktrace leads me to think it's likely a kernel issue (hence this list). It wouldn't surprise me too much if I were wrong, though; feel free to point

Re: pass-through linux ioctl for mfi(4)

2012-09-18 Thread Christos Zoulas
On Sep 19, 12:38am, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | Hello, | so it seems we can't do much better in compat_linux. | Here's an updated patch, which checks the size before malloc in mfifioctl(), | and I also removed a debug printf

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 2:49pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | I agree, but I don't know how to do this (is there a better way than | hardcoding mfi's major number in compat_linux), can you give details on how | you would do this ?

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 5:47pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | But this assumes that the mfi driver is compiled in. it doesn't | look right, especially in the context of modules. It works for modules (which is the reason we cannot cache

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 6:08pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | Sorry but I can't see how a kernel with COMPAT_LINUX but without | mfi would compile. You you get the major by name using mfi... christos

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 8:42pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | On Mon, Sep 17, 2012 at 02:31:35PM -0400, Christos Zoulas wrote: | On Sep 17, 6:08pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: | -- Subject: Re: pass-through linux ioctl

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 8:42pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | On Mon, Sep 17, 2012 at 02:30:03PM -0400, Christos Zoulas wrote: | On Sep 17, 5:47pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: | -- Subject: Re: pass-through linux ioctl

Re: pass-through linux ioctl for mfi(4)

2012-09-17 Thread Christos Zoulas
On Sep 17, 9:22pm, bou...@antioche.eu.org (Manuel Bouyer) wrote: -- Subject: Re: pass-through linux ioctl for mfi(4) | I agree it's too complicated. Couldn't we just keep the dispatch based on | com then ? Let's leave it as it is. christos

Re: pass-through linux ioctl for mfi(4)

2012-09-16 Thread Christos Zoulas
In article 20120916132322.ga6...@antioche.eu.org, Manuel Bouyer bou...@antioche.eu.org wrote: Hello, the attached patch adds a pass-through ioctl interface, with the necessery linux compat code, for mfi(4). This allows to run the linux binary of the MegaCLI tool provided by LSI logic. Adding

Re: CVS commit: src

2012-09-12 Thread Christos Zoulas
On Sep 12, 4:04pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src | On Wed, Sep 12, 2012 at 01:00:52PM +, Christos Zoulas wrote: | This is orthogonal. I believe that in the discussion we had in core | we decided to not define _UC_TLSBASE unconditionally

Re: freebsd binary and kern.usrstack

2012-09-12 Thread Christos Zoulas
In article 20120912202823.ga5...@antioche.eu.org, Manuel Bouyer bou...@antioche.eu.org wrote: Hello, I'm trying to run a FreeBSD binary under emulation, but it dies in this piece of code: if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1) PANIC(Cannot get kern.usrstack from

Re: quotactl permissions

2012-09-05 Thread Christos Zoulas
In article 20120905123416.gb10...@homeworld.netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: On Wed, Sep 05, 2012 at 06:37:27AM +, David Holland wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? Yes, but it should all

Re: [PATCH] swapcontext vs libpthread

2012-08-25 Thread Christos Zoulas
On Aug 25, 7:00am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [PATCH] swapcontext vs libpthread | FIX: ./alpha/gen/swapcontext.S: CALL(setcontext)/* setcontext(ucp) */ | | That one seems already fine to me. The CALL macro is here to invoke a function | Am I

Re: [PATCH] swapcontext vs libpthread

2012-08-25 Thread Christos Zoulas
On Aug 25, 9:10am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [PATCH] swapcontext vs libpthread | On Sat, Aug 25, 2012 at 03:10:51AM -0400, Christos Zoulas wrote: | [Call a C function from hppa assembly] | Yes, that loads the address to %1, you'll need to call afterwards

Re: [PATCH] swapcontext vs libpthread

2012-08-23 Thread Christos Zoulas
In article 20120822170050.gj2...@homeworld.netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: -=-=-=-=-=- Here is an updated patch for sorting out swapcontext with libpthread, with documentation and test cases. I would appreciate feedback on LWP_PRESERVETLS flag to _lwp_create(). This tells

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Christos Zoulas
In article 20120810173818.ga8...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Fri, Aug 10, 2012 at 07:31:59PM +0200, Emmanuel Dreyfus wrote: Joerg Sonnenberger jo...@britannica.bec.de wrote: I maintain that trying to move contexts between threads is an inherently

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Christos Zoulas
On Aug 11, 11:16am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [RFC][PATCH] _UC_TLSBASE for all ports | Christos Zoulas chris...@astron.com wrote: | | Like it or not most of the world has turned into linux. We can either | provide compatibility where possible (and not overly

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Christos Zoulas
On Aug 11, 12:40pm, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [RFC][PATCH] _UC_TLSBASE for all ports | Christos Zoulas chris...@zoulas.com wrote: | | I could believe that, if the change suggested to make this the default | behavior (which some would argue it should

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Christos Zoulas
On Aug 11, 5:13pm, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [RFC][PATCH] _UC_TLSBASE for all ports | Well, why don't we make it that way then? | | We cannot toggle an option that does not exist, so that require adding | _UC_TLSBASE for ports that miss it. This meets a strong

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Christos Zoulas
On Aug 11, 1:35pm, t...@panix.com (Thor Lancelot Simon) wrote: -- Subject: Re: [RFC][PATCH] _UC_TLSBASE for all ports | On Sat, Aug 11, 2012 at 06:45:12AM +, Christos Zoulas wrote: | | It is a slippery slope, but I think in this case it is wise to bend. | If we cannot reach agreement

Re: malo@pci vs malo@pcmcia

2012-08-03 Thread Christos Zoulas
In article 20120803084934.GA3362@bugfree, Arnaud Degroote arnaud.degro...@laas.fr wrote: -=-=-=-=-=- On 01/Aug - 21:43, KIYOHARA Takashi wrote: Hi! all, I have a 'I-O DATA WN-G54/CF'. And some on-board 88W8686 has on pcmcia-bus of Gumstix. I think, malo@pcmcia and malo@pci is all

Re: pinning down dk? assignment

2012-07-24 Thread Christos Zoulas
In article julcud$9sd$1...@serpens.de, Michael van Elst mlel...@serpens.de wrote: Let wd1 disappear and the raid will try to use wd0a (dk0) and sd0a (dk1). Of course raidframe will notice the mismatch in this case, but you can easily imagine more complex scenarios where it doesn't. But a simple

Re: pinning down dk? assignment

2012-07-23 Thread Christos Zoulas
In article 20120723141721.gj4...@trav.math.uni-bonn.de, Edgar Fuß e...@math.uni-bonn.de wrote: Can I somehow pin down which dk? gets assigned to which GPT partition? In a disklabel world, I have components sd2a..sd6a making raid1. I then have raid1a mounted on /export/home and raid1e on

Re: pinning down dk? assignment

2012-07-23 Thread Christos Zoulas
In article juk971$qpi$1...@serpens.de, Michael van Elst mlel...@serpens.de wrote: e...@math.uni-bonn.de (=?iso-8859-1?Q?Edgar_Fu=DF?=) writes: It probably won't help you with raidframe. It would indeed help in my case. In case sd6 has gone missing, so dk4 is on the RAID and not on sd6, it would

<    1   2   3   4   5   6   7   8   >