Re: GPL vs non-GPL device drivers

2007-02-14 Thread Neil Brown
On Wednesday February 14, [EMAIL PROTECTED] wrote: > You don't get it do you. Our source code is meaningless to the Open > Source community at large. It is only useful to our tiny set of > competitors that have nothing to do with Linux. The Embedded space is > very specific. We are only _using_

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, Neil Brown <[EMAIL PROTECTED]> wrote: [..] then it is less clear what people believe Another area where it is less clear what people believe is if you are distributing the module separately to the kernel, but, as I understand it, vj says he is not. But of course the person who's

Re: [RFC][PATCH 6/6] automatic tuning applied to some kernel components

2007-02-14 Thread Eric W. Biederman
Nadia Derbey <[EMAIL PROTECTED]> writes: > But, what do you do with Oracle that's asking maxfiles to be set to 0x1, > while the default value might be enough for a system that's not running > Oracle. > I'm afraid that giving boot time values to the max_* tunables we will loose > all > the

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Neil Brown
On Wednesday February 14, [EMAIL PROTECTED] wrote: > On 2/14/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: > > We seem to have different definitions of open and closed. > > Open = 3rd party Linux drivers can be loaded. Closed = No third party > Linux drivers can be loaded. Loading a driver is not

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Nick Piggin
Ben Nizette wrote: v j wrote: This is in reference to the following thread: http://lkml.org/lkml/2006/12/14/63 I am not sure if this is ever addressed in LKML, but linux is _very_ popular in the embedded space. We (an embedded vendor) chose Linux 3 years back because of its lack of royalty

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Arjan van de Ven
On Wed, 2007-02-14 at 21:16 -0800, v j wrote: > This is in reference to the following thread: > > http://lkml.org/lkml/2006/12/14/63 > > I am not sure if this is ever addressed in LKML, but linux is _very_ > popular in the embedded space. We (an embedded vendor) chose Linux 3 > years back

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 10:46:13PM -0800, v j wrote: > You don't get it do you. Our source code is meaningless to the Open > Source community at large. Linux supports entire _architectures_ of which there are single figures of people using it. What makes your hardware special ? > We are

[patch 3/3] mm: fix PageUptodate memorder

2007-02-14 Thread Nick Piggin
After running SetPageUptodate, preceeding stores to the page contents to actually bring it uptodate may not be ordered with the store to set the page uptodate. Therefore, another CPU which checks PageUptodate is true, then reads the page contents can get stale data. Fix this by ensuring

[PATCH] fix mempolicy's check on a system with memory-less-node take4

2007-02-14 Thread KAMEZAWA Hiroyuki
please ack if O.K. -Kame -- bind_zonelist() can create zero-length zonelist if there is a memory-less-node. This patch checks the length of zonelist. If length is 0, returns -EINVAL. Changelog: v3 -> v4: - changes a name of a temporal void* variable as "error_code" Changelog: v2 -> v3 -

[patch 2/3] fs: buffer don't PageUptodate without page locked

2007-02-14 Thread Nick Piggin
__block_write_full_page is calling SetPageUptodate without the page locked. This is unusual, but not incorrect, as PG_writeback is still set. However the next patch will require that SetPageUptodate always be called with the page locked. Simply don't bother setting the page uptodate in this case

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Neil Brown
On Wednesday February 14, [EMAIL PROTECTED] wrote: > I am well aware of what Greg KHs position is, in fact he is the reason > I started the whole rant. This is only a plea to the "higher > authorities". Linus, please save Linux! Linus is not in any position to do anything. The die is cast. You

[patch 1/3] mm: make read_cache_page synchronous

2007-02-14 Thread Nick Piggin
Ensure pages are uptodate after returning from read_cache_page, which allows us to cut out most of the filesystem-internal PageUptodate calls. I didn't have a great look down the call chains, but this appears to fixes 7 possible use-before uptodate in hfs, 2 in hfsplus, 1 in jfs, a few in

[patch 0/3] 2.6.20 fix for PageUptodate memorder problem (try 4)

2007-02-14 Thread Nick Piggin
Various little cleanups and commenting fixes. Fixed up the patchset so each one, incrementally, should give a properly compiling and running kernel. I'd still like Hugh to ack the anon/swap changes when he can find the time. It would be desirable to get at least one ack as to the overall problem

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
On 2/14/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: At least one of us is confused about that an embedded User is. It seems to me that you are an embedded developer, not User. I doubt that most Embedded Users care what their OS is, or even know what an OS is. I am not sure what the difference

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 10:27:10PM -0800, v j wrote: > Not everybody has to be a contributor. The reason Linux is popular is > because of its openness. Take that away and see where it goes. please expand on this openness. Especially wrt your add-ons. Dave --

Re: [PATCH 02/05] Linux Kernel Markers, architecture independant code.

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:24 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > Linux Kernel Markers, architecture independant code. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > > ... > > + > +#ifndef MARK > +#define MARK GEN_MARK > +#define MARK_ENABLE_TYPE GEN_MARK_ENABLE_TYPE

Re: [PATCH 07/10] local_t : powerpc extension

2007-02-14 Thread Mathieu Desnoyers
* Andrew Morton ([EMAIL PROTECTED]) wrote: > On Sun, 11 Feb 2007 14:18:12 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> > wrote: > > > local_t : powerpc extension > > This diff contains changes which are also present in "[PATCH 07/10] > atomic.h : Add atomic64 cmpxchg, xchg and add_unless to

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, v j <[EMAIL PROTECTED]> wrote: I am well aware of what Greg KHs position is, in fact he is the reason I started the whole rant. This is only a plea to the "higher authorities". Linus, please save Linux! Oh boy. Guess what? $ head -3 Documentation/ABI/testing/sysfs-class What:

Re: [PATCH 05/05] Linux Kernel Markers, non optimized architectures

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:27 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > Linux Kernel Markers, non optimized architectures > > This patch also includes marker code for non optimized architectures. I think once we've done this we can nuke CONFIG_MARKERS_ENABLE_OPTIMIZATION? (Please,

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Randy Dunlap
On Wed, 14 Feb 2007 22:27:10 -0800 v j wrote: > On 2/14/07, Dave Jones <[EMAIL PROTECTED]> wrote: > > On Wed, Feb 14, 2007 at 09:16:28PM -0800, v j wrote: > > > > Welcome to three months ago. > > Here in the future, this was deemed a non-issue. > > However this does highlight another problem. > >

Re: [PATCH 00/05] Linux Kernel Markers - kernel 2.6.20

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:22 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > You will find, in the following posts, the latest revision of the Linux Kernel > Markers. And what can I do with these markers? And once I've done it, are there any userspace applications I can use to get the

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
I am well aware of what Greg KHs position is, in fact he is the reason I started the whole rant. This is only a plea to the "higher authorities". Linus, please save Linux! vj On 2/14/07, Trent Waddington <[EMAIL PROTECTED]> wrote: On 2/15/07, v j <[EMAIL PROTECTED]> wrote: > If adding closed

Re: [RFC][PATCH 6/6] automatic tuning applied to some kernel components

2007-02-14 Thread Nadia Derbey
Eric W. Biederman wrote: Nadia Derbey <[EMAIL PROTECTED]> writes: So, should I understand from this that automatic tuning and the AKT framework itself would make sense, given that I find the rigth tunables it should be applied to? Sort of. The concept of things tuning themselves

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, v j <[EMAIL PROTECTED]> wrote: If adding closed drivers to Linux is illegal, I am perfectly fine with that. Just say so. I am not at a dead-end yet, until you make that statement. Once you make that statement, then all bets are off. I am betting that most companies will not even

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, v j <[EMAIL PROTECTED]> wrote: You don't get it do you. I think everyone on the list was thinking the same thing about you. We are only _using_ Linux. Yes, I think we all can see that. Using our source code would not benefit anybody but our competitors. Without knowing what

Re: [PATCH 07/10] local_t : powerpc extension

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 14:18:12 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > local_t : powerpc extension This diff contains changes which are also present in "[PATCH 07/10] atomic.h : Add atomic64 cmpxchg, xchg and add_unless to powerpc", resulting in rather a mess. I dropped the

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
On 2/14/07, Neil Brown <[EMAIL PROTECTED]> wrote: > Not everybody has to be a contributor. The reason Linux is popular is > because of its openness. Take that away and see where it goes. So tell us? where does it go? You seem to have the experience already. You took an open linux, added some

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Gene Heskett
On Thursday 15 February 2007, Neil Brown wrote: >On Wednesday February 14, [EMAIL PROTECTED] wrote: >> However we have a worrying trend here. If at some point it becomes >> illegal to load our modules into the linux kernel, then it is >> unacceptable to us. We would have been better off choosing

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
You don't get it do you. Our source code is meaningless to the Open Source community at large. It is only useful to our tiny set of competitors that have nothing to do with Linux. The Embedded space is very specific. We are only _using_ Linux. Just as we could have used VxWorks or OSE. Using our

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Neil Brown
On Wednesday February 14, [EMAIL PROTECTED] wrote: > You are right. I have not contributed anything to Linux. Except one > small patch to the MTD code. However, I don't think that is the point > here. I am perfectly willing to live with the way Linux is today. I am > telling you as a user that if

Re: [PATCH 1/1] Fabric7 VIOC driver source code

2007-02-14 Thread Andrew Morton
On Wed, 07 Feb 2007 13:07:40 -0800 Sriram Chidambaram <[EMAIL PROTECTED]> wrote: > This patch provides the Fabric7 VIOC driver source code. > This git mbox patch is built against > git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git > > The patch can be pulled from

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, v j <[EMAIL PROTECTED]> wrote: This has nothing to do with politics. I am not a Linux contributor. Here-in lies the problem. I am one of the few people willing to state openly that I wish those who can, would use their legal claims to stop people like you from writing proprietary

Re: [RFC PATCH(Experimental) 0/4] Freezer based Cpu-hotplug

2007-02-14 Thread Gautham R Shenoy
On Wed, Feb 14, 2007 at 10:43:35PM +0100, Rafael J. Wysocki wrote: > Hi, > > On Wednesday, 14 February 2007 15:40, Gautham R Shenoy wrote: > > Hello Everybody, > > > > This is an experiment towards process_freezer based implementation > > of cpu-hotplug. This is mainly based on ideas of Andrew

irqdesc porting help

2007-02-14 Thread Maximus
Im trying to port some drivers between 2.6.14 and 2.6.19 I find that irqdesc has changed completely. how do i port the drivers between 2.6.14 and 2.6.19? is there a porting guide available to port the drivers which use irqdesc?. my drivers use variables triggered, ... which dont exist in

Re: [LIBATA BUG] sr.c: TEST_UNIT_READY error

2007-02-14 Thread Conke Hu
On 2/13/07, Conke Hu <[EMAIL PROTECTED]> wrote: On 2/2/07, Conke Hu <[EMAIL PROTECTED]> wrote: > On Wed, 2007-02-07 at 07:40 -0500, Jeff Garzik wrote: > > Conke Hu wrote: > > > Hi, > > >TEST_UNIT_READY in get_capabilities (drivers/scsi/sr.c line 743, or > > > see below) always returns error.

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
On 2/14/07, Dave Jones <[EMAIL PROTECTED]> wrote: On Wed, Feb 14, 2007 at 09:16:28PM -0800, v j wrote: Welcome to three months ago. Here in the future, this was deemed a non-issue. However this does highlight another problem. End-users who take linux for use in embedded systems (especially)

[PATCH 000/196] V4L/DVB updates

2007-02-14 Thread Mauro Carvalho Chehab
Linus, Please pull 'master' from: git://git.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master Basically, this series adds support for a bunch of newer cards and newer drivers, do some relevant cleanups on cx88 (improving source code readability and reducing binary code

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Ben Nizette
v j wrote: This is in reference to the following thread: http://lkml.org/lkml/2006/12/14/63 I am not sure if this is ever addressed in LKML, but linux is _very_ popular in the embedded space. We (an embedded vendor) chose Linux 3 years back because of its lack of royalty model, robustness and

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 10:14:53PM -0800, Andreas Gruenbacher wrote: > On Wednesday 14 February 2007 21:45, Dave Jones wrote: > > well, the situation for external modules is no worse than usual. > > They still work, they just aren't signed. Which from a distributor point > > of view, is

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
On 2/14/07, v j <[EMAIL PROTECTED]> wrote: This has nothing to do with politics. I am not a Linux contributor. I realize that people who have contributed to the Linux Kernel have very valid points. It is their sweat and blood. They have a right to protect what they have worked on. I am purely

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Neil Brown
On Wednesday February 14, [EMAIL PROTECTED] wrote: > > However we have a worrying trend here. If at some point it becomes > illegal to load our modules into the linux kernel, then it is > unacceptable to us. We would have been better off choosing VxWorks or > OSE 3 years ago when we made an OS

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Andreas Gruenbacher
On Wednesday 14 February 2007 21:45, Dave Jones wrote: > well, the situation for external modules is no worse than usual. > They still work, they just aren't signed. Which from a distributor point > of view, is actually a nice thing, as they stick out like a sore thumb > in oops reports with (U)

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 09:16:28PM -0800, v j wrote: > This is in reference to the following thread: > > http://lkml.org/lkml/2006/12/14/63 > > I am not sure if this is ever addressed in LKML, but linux is _very_ > popular in the embedded space. We (an embedded vendor) chose Linux 3 >

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Andrew Morton
On Thu, 15 Feb 2007 04:43:41 +0100 Blaisorblade <[EMAIL PROTECTED]> wrote: > > I sent an equivalent patch in earlier today: > Doh! Interesting this timing... > > > Index: linux-2.6/arch/x86_64/ia32/ptrace32.c > > === > > ---

Re: 2.6.20 mmc: problem with highspeed SD card

2007-02-14 Thread Pierre Ossman
Eugene Ilkov wrote: > I have I/O errors with Transcend SD highspeed card 2GB/150x when it's > mounted in r/w mode (cardreader on sharp sl-c1000) > It works well if I reverse mmcv4 patch commited to 2.6.19-git2 > (http://lkml.org/lkml/2006/10/4/27) That patch is not the same as you are

Re: GPL vs non-GPL device drivers

2007-02-14 Thread Trent Waddington
On 2/15/07, v j <[EMAIL PROTECTED]> wrote: The drivers which we have written over the last three years are suddenly under threat. [..] The fact that Linux is becoming more and more closed is very very alarming. Sigh. Someone remind me of the rules against "politics" on the list before I get

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 09:35:40PM -0800, Andreas Gruenbacher wrote: > On Wednesday 14 February 2007 20:13, Dave Jones wrote: > > I've not investigated it, but I hear rumours that suse has something > > similar. > > Actually, no. We don't belive that module signing adds significant value,

Re: GPL vs non-GPL device drivers

2007-02-14 Thread v j
No its not. It wasn't common knowledge 3 years ago when we chose Linux as an embedded platform. If it indeed is common knowledge that loadable modules in Linux have to be open-source then it is very probable that we wouldn't have chosen Linux as the platform of choice. If this indeed is the case

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Andreas Gruenbacher
On Wednesday 14 February 2007 20:13, Dave Jones wrote: > I've not investigated it, but I hear rumours that suse has something > similar. Actually, no. We don't belive that module signing adds significant value, and it also doesn't work well with external modules. (The external modules we really

RE: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-14 Thread Ananiev, Leonid I
> Please, tell us what problem this is fixing so that we can look into > alternative solutions. This patch fixes a kernel panic "Kernel BUG at fs/aio.c:509" http://marc.theaimsgroup.com/?l=linux-kernel=117031052517746=2 First of all it was found that the kernel panic happens after IO error

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Shawn O. Pearce
Jakub Narebski <[EMAIL PROTECTED]> wrote: > Junio C Hamano wrote: > > >  - git-blame learned a new option, --incremental, that tells it > >    to output the blames as they are assigned.  A sample script > >    to use it is also included as contrib/blameview. > > And there are example GUI

GPL vs non-GPL device drivers

2007-02-14 Thread v j
This is in reference to the following thread: http://lkml.org/lkml/2006/12/14/63 I am not sure if this is ever addressed in LKML, but linux is _very_ popular in the embedded space. We (an embedded vendor) chose Linux 3 years back because of its lack of royalty model, robustness and availability

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 21:42:26 + Ralf Baechle <[EMAIL PROTECTED]> wrote: > Time for a little bit of dead horse flogging. > > On Mon, Mar 06, 2006 at 05:05:52PM -0800, Andrew Morton wrote: > > > > --- a/include/asm-generic/unaligned.h > > > +++ b/include/asm-generic/unaligned.h > > > @@ -78,7

sata_nv ADMA controller lockup investigation

2007-02-14 Thread Robert Hancock
While testing out some libata FUA changes I was working on, I was inadvertently able to reproduce the kind of NCQ command timeouts in sata_nv that a few people have reported. I since verified that the FUA stuff had nothing to do with it as it still happens even with FUA disabled. However I'm

[PATCH 2/2] autofs4 - check for directory re-create in lookup

2007-02-14 Thread Ian Kent
Hi Andrew, This problem was identified and fixed some time ago by Jeff Moyer but it fell through the cracks somehow. It is possible that a user space application could remove and re-create a directory during a request. To avoid returning a failure from lookup incorrectly when our current dentry

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-14 Thread Andrew Morton
On Thu, 15 Feb 2007 15:05:56 +1100 Paul Mackerras <[EMAIL PROTECTED]> wrote: > Andrew Morton writes: > > > This is all fairly unpleasant. > > > > What architecture is preventing us from using DIE_NMI_POST on all > > architectures which support ipmi? ia64? > > > > It would be better to simply

[PATCH 1/2] autofs4 - fix another race between mount and expire

2007-02-14 Thread Ian Kent
Hi Andrew, Jeff Moyer has identified a race between mount and expire. What happens is that during an expire the situation can arise that a directory is removed and another lookup is done before the expire issues a completion status to the kernel module. In this case, since the the lookup gets a

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Dave Jones
On Wed, Feb 14, 2007 at 07:41:12PM -0800, Andrew Morton wrote: > 77 files changed, 9681 insertions(+), 10 deletions(-) > > just to be able to sign modules. > > Normally I'd collapse writhing in laughter, but.. > > > These patches have been in use by RHEL and Fedora kernels for years,

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-14 Thread Paul Mackerras
Andrew Morton writes: > This is all fairly unpleasant. > > What architecture is preventing us from using DIE_NMI_POST on all > architectures which support ipmi? ia64? > > It would be better to simply require that all ipmi-using architectures > implement notify_die(DIE_NMI_POST, ...). We're

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 14:12:57 -0600 Corey Minyard <[EMAIL PROTECTED]> wrote: > > Convert over to the new NMI handling for getting IPMI watchdog > timeouts via an NMI. This add config options to know if there > is the ability to receive NMIs and if it has an NMI post processing > call. Then it

[PATCH] autofs4 - header file update

2007-02-14 Thread Ian Kent
Hi Andrew, The current header file definitions for autofs version 5 have caused a couple of problems for application builds downstream. This fixes the problem by separating the definitions. Signed-off-by: Ian Kent <[EMAIL PROTECTED]> Ian --- ---

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Blaisorblade
On Thursday 15 February 2007 03:54, Jeff Dike wrote: > On Thu, Feb 15, 2007 at 03:34:23AM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > > Index: linux-2.6.git/arch/x86_64/ia32/ptrace32.c > > === > > ---

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 19:09:38 + David Howells <[EMAIL PROTECTED]> wrote: > These patches provide a GPG-based kernel module signing facility. Their use > is > not fully automated within the confines of the kernel build process because it > needs provision of keys from outside of the kernel

Re: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 20:51:33 +0300 "Ananiev, Leonid I" <[EMAIL PROTECTED]> wrote: > Fix kernel bug when IO page is temporally busy: > invalidate_inode_pages2_range() returns EIOCBRETRY but not EIO. > invalidate_inode_pages2() returns EIO as earlier. > > Signed-off-by: Leonid Ananiev <[EMAIL

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Andreas Gruenbacher
On Wednesday 14 February 2007 14:57, Andreas Gruenbacher wrote: > [1] Always make disconnected paths relative: > > From all these choices, I actually like [1] best, together with hiding > unreachable mount points in /proc/$pid/mounts and /proc/$pid/mountstats: > there is no real point in

Re: x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Jeff Dike
On Thu, Feb 15, 2007 at 03:34:23AM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > Index: linux-2.6.git/arch/x86_64/ia32/ptrace32.c > === > --- linux-2.6.git.orig/arch/x86_64/ia32/ptrace32.c > +++

Re: [patch 05/11] syslets: core code

2007-02-14 Thread Zach Brown
But the whole point is that the notion of a "register" is wrong in the first place. [...] forget about it then. The thing we "register" is dead-simple: struct async_head_user { struct syslet_uatom __user **completion_ring; unsigned long

Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

2007-02-14 Thread Zach Brown
I'm finally back from my travel and conference hiatus.. you guys have been busy! :) On Feb 13, 2007, at 6:20 AM, Ingo Molnar wrote: I'm pleased to announce the first release of the "Syslet" kernel feature and kernel subsystem, which provides generic asynchrous system call support:

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Andreas Gruenbacher
On Sunday 04 February 2007 16:15, Neil Brown wrote: > The behaviour in the face of a lazy unmount should be clarified in > this comment. Done. > If sys_getcwd is called on a directory that is no longer > connected to the root, it isn't clear to me that it should return > without an error. >

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> I'm pretty certain we explicitly drop the weird GNU note that >> is automatically generated by gcc and specifies something informational. >> > But that's something else again, since it appears as a PT_GNU_STACK phdr.

x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Paolo 'Blaisorblade' Giarrusso
Also PTRACE_OLDSETOPTIONS should be accepted, as done by kernel/ptrace.c and forced by binary compatibility. UML/32bit breaks because of this - since it is wise enough to use PTRACE_OLDSETOPTIONS to be binary compatible with 2.4 host kernels. Until 2.6.17 (commit

Two unclear places in lockdep-design.txt

2007-02-14 Thread Pavel Roskin
Hello, Ingo! Many thanks for the lockdep validator! It has helped me immensely. However, lockdep-design.txt has been pretty hard to read for me. It would be great if you find an opportunity to clarify two things in the documentation. 1) What is a lock dependency? What does "L1 -> L2" mean?

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: > I'm pretty certain we explicitly drop the weird GNU note that > is automatically generated by gcc and specifies something informational. > But that's something else again, since it appears as a PT_GNU_STACK phdr. > I don't think anything we are doing is wrong but ld

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> Reasonable and it's probably worth letting the binutils developer know. >> I do agree that it is weird. It might be that something in binutils >> doesn't like us dropping some of the notes. >> > > What do you mean

[PATCH 6/6] atl1: bump version number

2007-02-14 Thread Jay Cliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Bump the version number. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atl1/atl1_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c index

[PATCH 5/6] atl1: add L1 device id to pci_ids, then use it

2007-02-14 Thread Jay Cliburn
From: Chris Snook <[EMAIL PROTECTED]> Add device id for the Attansic L1 chip to pci_ids.h, then use it. Signed-off-by: Chris Snook <[EMAIL PROTECTED]> Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atl1/atl1_main.c |2 +- include/linux/pci_ids.h |1 + 2 files

[PATCH 4/6] atl1: remove unused define

2007-02-14 Thread Jay Cliburn
From: Chris Snook <[EMAIL PROTECTED]> Remove unused define from atl1_main.c. Signed-off-by: Chris Snook <[EMAIL PROTECTED]> Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atl1/atl1_main.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH 6/6] scsi: megaraid_sas - update version and author info

2007-02-14 Thread Sumant Patro
Update version and author information. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c |8 +--- drivers/scsi/megaraid/megaraid_sas.h |6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff -uprN

[PATCH 3/6] atl1: read MAC address from register

2007-02-14 Thread Jay Cliburn
From: Jay Cliburn <[EMAIL PROTECTED]> On some Asus motherboards containing the L1 NIC, the MAC address is written by the BIOS directly to the MAC register during POST, and is not stored in eeprom. If we don't succeed in fetching the MAC address from eeprom or spi, try reading it directly from

[PATCH 2/6] atl1: fix bad ioread address

2007-02-14 Thread Jay Cliburn
From: Al Viro <[EMAIL PROTECTED]> An ioread32 statement reads the wrong address. Fix it. Signed-off-by: Al Viro <[EMAIL PROTECTED]> Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> Signed-off-by: Chris Snook <[EMAIL PROTECTED]> --- drivers/net/atl1/atl1_hw.c |2 +- 1 files changed, 1

[PATCH 1/6] atl1: drop NET_PCI from Kconfig

2007-02-14 Thread Jay Cliburn
From: Jay Cliburn <[EMAIL PROTECTED]> The atl1 driver doesn't need NET_PCI. Remove it from Kconfig. Noticed by Chad Sprouse. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> Signed-off-by: Chris Snook <[EMAIL PROTECTED]> --- drivers/net/Kconfig |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 0/6] atl1: bugfix, cleanup, enhancement

2007-02-14 Thread Jay Cliburn
Jeff, Please accept the following patchset for the atl1 network device driver. * Drop unnecessary NET_PCI config * Fix incorrect hash table address * Read MAC address from register * Remove unused define * Add Attansic L1 device id to pci_ids * Bump version number This patchset contains changes

[PATCH 5/6] scsi: megaraid_sas - return sync cache call with success

2007-02-14 Thread Sumant Patro
FW does not support SYNCHRONIZE_CACHE cmd. FW flush cache on its own. So, we just return success from the megasas_queue_command. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 12 1 files changed, 12 insertions(+) diff -uprN

Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

2007-02-14 Thread Davide Libenzi
On Wed, 14 Feb 2007, Jeremy Fitzhardinge wrote: > Davide Libenzi wrote: > >> Would this work? > >> > > > > Hopefully the API will simplify enough so that emulation will becomes > > easier. > > > > The big question in my mind is how all this stuff interacts with > signals. Can a blocked

[PATCH 4/6] scsi: megaraid_sas - replace pci_alloc_consitent with dma_alloc_coherent in ioctl path

2007-02-14 Thread Sumant Patro
Replaced pci_alloc_consistent with dma_alloc_coherent from the ioctl path. This is to avoid situations where ioctl fails for lack of memory (when system under heavy stress). Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 12 ++-- 1 files

[PATCH 3/6] scsi: megaraid_sas - throttle io if FW is busy

2007-02-14 Thread Sumant Patro
Checks added in megasas_queue_command to know if FW is able to process commands within the timeout period. If number of retries is 2 or more, the driver stops sending cmd to FW. IO is resumed when pending cmd count reduces to 16 or 10 seconds has elapsed from the time cmds were last sent to FW.

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Jakub Narebski
Junio C Hamano wrote: >  - git-blame learned a new option, --incremental, that tells it >    to output the blames as they are assigned.  A sample script >    to use it is also included as contrib/blameview. And there are example GUI blameview (Perk GTK2), and example Emacs module for incremental

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: > Reasonable and it's probably worth letting the binutils developer know. > I do agree that it is weird. It might be that something in binutils > doesn't like us dropping some of the notes. > What do you mean by "dropping some of the notes"? I think the only notes

[PATCH 2/6] scsi: megaraid_sas - added bios_param in scsi_host_template

2007-02-14 Thread Sumant Patro
Added bios_param in scsi_host_template to return disk geometry. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 45 + 1 files changed, 45 insertions(+) Resubmitting with following changes : ulong -> unsigned long, removed

[PATCH 1/6] scsi: megaraid_sas - donot process cmds if hw_crit_error is set

2007-02-14 Thread Sumant Patro
Checks if hw_crit_error is set. If it is set, we donot process commands. Checks added in megasas_queue_command and command completion routines. Signed-off-by: Sumant Patro <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 13 - 1 files changed, 12 insertions(+), 1

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> Ok. If that is all this may be a difference that makes no difference. >> binutils has a bad habit of looking at sections (which are fully >> optional) instead of segments on ET_EXEC and ET_DYN objects. Only >> ET_REL

[patch 2/2] fs: fix nobh data leak

2007-02-14 Thread Nick Piggin
nobh_prepare_write leaks data similarly to how simple_prepare_write did. Fix by not marking the page uptodate until nobh_commit_write time. Again, this could break weird use-cases, but none appear to exist in the tree. We can safely remove the set_page_dirty, because as the comment says,

Re: [patch 06/11] syslets: core, documentation

2007-02-14 Thread Michael K. Edwards
On 2/14/07, Benjamin LaHaise <[EMAIL PROTECTED]> wrote: My opinion of this whole thread is that it implies that our thread creation and/or context switch is too slow. If that is the case, improve those elements first. At least some of those optimizations have to be done in hardware on x86,

[patch 1/2] fs: fix libfs data leak

2007-02-14 Thread Nick Piggin
simple_prepare_write leaks uninitialised kernel data. This happens because the it leaves an uninitialised "hole" over the part of the page that the write is expected to go to. This is fine, but it then marks the page uptodate, which means a concurrent read can come in and copy the uninitialised

Re: [patch 05/11] syslets: core code

2007-02-14 Thread Davide Libenzi
On Wed, 14 Feb 2007, Davide Libenzi wrote: > On Wed, 14 Feb 2007, Ingo Molnar wrote: > > > yeah, that's another key thing. I do plan to provide a sys_upcall() > > syscall as well which calls a 5-parameter user-space function with a > > special stack. (it's like a lightweight signal/event

USB ehci problems with USRP, -71 EPROTO

2007-02-14 Thread George Nychis
Hey all, I am having troubles connecting and interfacing to a device called a USRP via USB which is used with GNU Radio. At one time, the setup worked perfectly fine with no errors. Then i tried to give a regular user permission to the USB device and everything went downhill. Now,

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-14 Thread Paul Menage
On 2/13/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: Well, we already bump up reference count in fork() w/o grabbing those mutexes don't we? Also if rmdir() sees container->count to be zero, then it means no task is attached to the container. How will then a function like bc_file_charge()

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-14 Thread Chuck Lever
David Miller wrote: From: Pete Clements <[EMAIL PROTECTED]> Date: Mon, 12 Feb 2007 20:10:13 -0500 (EST) 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In

Re: [patch 05/11] syslets: core code

2007-02-14 Thread Davide Libenzi
On Wed, 14 Feb 2007, Ingo Molnar wrote: > yeah, that's another key thing. I do plan to provide a sys_upcall() > syscall as well which calls a 5-parameter user-space function with a > special stack. (it's like a lightweight signal/event handler, without > any of the signal handler legacies and

Re: [PATCH 2.6.21-rc1 4/5] ehca: replace yield() by wait_for_completion()

2007-02-14 Thread Roland Dreier
I agree with Christoph -- the use of wait_for_completion() in a loop makes no sense. When you send a new copy of this patch without whitespace damage, please fix that up too... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   >