Re: Lost file-system story

2011-12-14 Thread David Holland
On Thu, Dec 15, 2011 at 12:48:51AM +0400, Aleksej Saushev wrote: > >> There have of course also been some pretty serious bugs in various fsck > >> implementations across the years and vendors. > > > > I'd be suspicious of fsck failing on a regularly mounted disk with > > corruption that can't

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
Eric Haszlakiewicz wrote: > I know approximately nothing about the FUSE protocol, but would it to be > feasible to keep a fixed length header with a flag that says extra groups > can be found in the payload of the message, either before or after the regular > payload? We could have a secondary g

Re: Lost file-system story

2011-12-14 Thread Greg A. Woods
At Wed, 14 Dec 2011 07:50:37 + (UTC), mlel...@serpens.de (Michael van Elst) wrote: Subject: Re: Lost file-system story > > wo...@planix.ca ("Greg A. Woods") writes: > > >easy, if not even easier, to do a "mount -u -r" > > Does this work again? Not that I know of, and PR#30525 concurs, as d

Re: [RFC] getgroups2 system call

2011-12-14 Thread Michael van Elst
On Wed, Dec 14, 2011 at 03:22:19PM -0600, Eric Haszlakiewicz wrote: > On Wed, Dec 14, 2011 at 07:57:43AM +, Michael van Elst wrote: > > mm_li...@pulsar-zone.net (Matthew Mondor) writes: > > > > >What does NFS do in this case? I seem to remember that it also imposes > > >a sane size limit, pos

Re: ehci1: missed microframe, TT reset not implemented, hub might be inoperational

2011-12-14 Thread Christos Zoulas
In article , Donald Allen wrote: >I am seeing the subject message > >ehci1: missed microframe, TT reset not implemented, hub might be inoperational > >on occasion on my Lenovo S10 workstation. It seems to coincide with >the mouse not working (usb mouse, connected through a Raritan KVM). I >have h

Re: [RFC] getgroups2 system call

2011-12-14 Thread Eric Haszlakiewicz
On Wed, Dec 14, 2011 at 07:57:43AM +, Michael van Elst wrote: > mm_li...@pulsar-zone.net (Matthew Mondor) writes: > > >What does NFS do in this case? I seem to remember that it also imposes > >a sane size limit, possibly even below NGROUPS_MAX, is it really the > >case? If so, would this als

Re: [RFC] getgroups2 system call

2011-12-14 Thread Eric Haszlakiewicz
On Wed, Dec 14, 2011 at 07:04:06AM +0100, Emmanuel Dreyfus wrote: > I explored the option of modifying the FUSE protocol, and that is > though. We can easily negociate an extended FUSE header that contains > secondary groups, and I already submitted a patch that does exactly > that, but then we fac

Re: Lost file-system story

2011-12-14 Thread Aleksej Saushev
James Chacon writes: > On Tue, Dec 13, 2011 at 4:09 PM, Greg A. Woods wrote: >> At Wed, 14 Dec 2011 09:06:23 +1030, Brett Lymn >> wrote: >> Subject: Re: Lost file-system story >>> >>> On Tue, Dec 13, 2011 at 01:38:57PM +0100, Joerg Sonnenberger wrote: >>> > >>> > fsck is supposed to handle *al

Re: [RFC] getgroups2 system call

2011-12-14 Thread Christos Zoulas
On Dec 14, 6:05am, m...@netbsd.org (Emmanuel Dreyfus) wrote: -- Subject: Re: [RFC] getgroups2 system call | Christos Zoulas wrote: | | > Don't you need a getuid2(pid_t pid)? | | uid, gid and pid are passed inthe FUSE header, so we aready have them. | | > Why don't you add separate fuse messa

Re: Audio drivers- Difference between start_output and trigger_output.

2011-12-14 Thread Iain Hibbert
On Wed, 14 Dec 2011, Nat Sloss wrote: > Is is possible to rewrite btsco so that it uses trigger_output/input? > Any thoughts appreciated. I don't think trigger_input/output is very useful for btsco(4), as it just forwards the output it receives it rather than producing/consuming audio in real ti

Re: Audio drivers- Difference between start_output and trigger_output.

2011-12-14 Thread Valeriy E. Ushakov
Disclaimer: it's almost 10 years since I last touched our audio framework :) On Wed, Dec 14, 2011 at 23:23:31 +1100, Nat Sloss wrote: > I have read audio(9) and have looked at several audio drivers. I was having > trouble with btsco and have found it uses start output instead of trigger > outp

Re: [RFC] getgroups2 system call

2011-12-14 Thread Thor Lancelot Simon
On Wed, Dec 14, 2011 at 02:00:49PM +, Emmanuel Dreyfus wrote: > On Wed, Dec 14, 2011 at 08:55:35AM -0500, Thor Lancelot Simon wrote: > > So, um, whoever "considers" it that way -- they understand there are > > security impliations to not doing it some other way? > > Not quite. But BTW, what ar

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
On Wed, Dec 14, 2011 at 08:55:35AM -0500, Thor Lancelot Simon wrote: > So, um, whoever "considers" it that way -- they understand there are > security impliations to not doing it some other way? Not quite. But BTW, what are the security implication? The only case I can think of is a thread doing a

Re: [RFC] getgroups2 system call

2011-12-14 Thread Thor Lancelot Simon
On Wed, Dec 14, 2011 at 07:04:06AM +0100, Emmanuel Dreyfus wrote: > > desired. That last proposal has been considered "a series of hacks to > make it confirm to the requirements", therefore I am left with fetching > secondary groups asynchrnously through sysctl. So, um, whoever "considers" it tha

ehci1: missed microframe, TT reset not implemented, hub might be inoperational

2011-12-14 Thread Donald Allen
I am seeing the subject message ehci1: missed microframe, TT reset not implemented, hub might be inoperational on occasion on my Lenovo S10 workstation. It seems to coincide with the mouse not working (usb mouse, connected through a Raritan KVM). I have had to reboot to get the mouse working -- r

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
David Holland wrote: > So they want to do it right, but this causes trouble on Linux? Why is > this *our* problem? Our problem is to have NetBSD supporting FUSE filesystem, and this sometime require changes to libfuse. > Also, has fuse really been around this long without ever having had > sup

Audio drivers- Difference between start_output and trigger_output.

2011-12-14 Thread Nat Sloss
Hi. I have read audio(9) and have looked at several audio drivers. I was having trouble with btsco and have found it uses start output instead of trigger output. So my question is what is the difference between start output and trigger output? Is block,blksize in start output equivalent to

Re: [RFC] getgroups2 system call

2011-12-14 Thread David Holland
On Wed, Dec 14, 2011 at 10:51:20AM +, Emmanuel Dreyfus wrote: > On Wed, Dec 14, 2011 at 09:09:59AM +, YAMAMOTO Takashi wrote: > > in my understanding, fuse_getgroups needs to talk with perfused, > > not kernel. so i suggested creating a side channel between > > fuse_getgroups and perfu

Re: [RFC] getgroups2 system call

2011-12-14 Thread David Holland
On Wed, Dec 14, 2011 at 08:19:42AM +, Emmanuel Dreyfus wrote: > On Wed, Dec 14, 2011 at 01:10:19AM -0500, Matthew Mondor wrote: > > What does NFS do in this case? I seem to remember that it also imposes > > a sane size limit, possibly even below NGROUPS_MAX, is it really the > > case? If

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
On Wed, Dec 14, 2011 at 09:09:59AM +, YAMAMOTO Takashi wrote: > in my understanding, fuse_getgroups needs to talk with perfused, not kernel. > so i suggested creating a side channel between fuse_getgroups and perfused. There is a proposal from fuse-devel mailing list to add FUSE message to sen

Re: [RFC] getgroups2 system call

2011-12-14 Thread YAMAMOTO Takashi
hi, > On Wed, Dec 14, 2011 at 07:45:11AM +, YAMAMOTO Takashi wrote: >> do you mean to implement fuse_getgroups for NetBSD with the sysctl? >> if you are adding a #ifdef NetBSD block to the fuse, can't it use >> a NetBSD-specific sidechannel to get the info from an appropriate >> puffs-supplied

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
On Wed, Dec 14, 2011 at 07:45:11AM +, YAMAMOTO Takashi wrote: > do you mean to implement fuse_getgroups for NetBSD with the sysctl? > if you are adding a #ifdef NetBSD block to the fuse, can't it use > a NetBSD-specific sidechannel to get the info from an appropriate > puffs-supplied uucred? F

Re: [RFC] getgroups2 system call

2011-12-14 Thread Emmanuel Dreyfus
On Wed, Dec 14, 2011 at 01:10:19AM -0500, Matthew Mondor wrote: > What does NFS do in this case? I seem to remember that it also imposes > a sane size limit, possibly even below NGROUPS_MAX, is it really the > case? If so, would this also be acceptable? FUSE people want the filesystem to accept