Re: 2.6.22.7 autoconf.h is screwed up

2007-09-24 Thread Jaswinder Singh
Dear Sam, On 9/24/07, Sam Ravnborg [EMAIL PROTECTED] wrote: On Mon, Sep 24, 2007 at 03:50:43PM +0530, Jaswinder Singh wrote: Hi all, 2.6.22.7's include/linux/autoconf.h is completely screwed up as compare to 2.6.10's autoconf.h . 2.6.22.7 totally changed the meaning of autoconf.h

[patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
Thanks to everyone for the feedback. Here's two of the VFS patches reworked according to comments. I also plan to rework the setattr() patch accordingly and perhaps the xattr patch, altough that is the lowest priority. Christoph, are these OK with you in this form? From: Miklos Szeredi

[patch 2/2] VFS: allow filesystem to override mknod capability checks

2007-09-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Add a new super block flag, that results in the VFS not checking if the current process has enough privileges to do an mknod(). If this flag is set, all mounts for this super block will have the nodev flag implied. This is needed on filesystems, where an

2.6.23-rc7-mm1 -- s390 compile failures

2007-09-24 Thread Andy Whitcroft
Getting compile errors on S390: CC arch/s390/mm/cmm.o arch/s390/mm/cmm.c: In function `cmm_init': arch/s390/mm/cmm.c:431: error: implicit declaration of function `register_oom_notifier' arch/s390/mm/cmm.c:443: error: implicit declaration of function

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Jiri Slaby
On 09/24/2007 11:17 AM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ Fine, but on some boots (I noticed this on rc6-mm1 too, but not before): :00:1a.7 EHCI: BIOS handoff failed (BIOS bug ?) 01010001 :00:1d.7 EHCI: BIOS

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-24 Thread Kyle Moffett
On Sep 23, 2007, at 02:22:12, Goswin von Brederlow wrote: [EMAIL PROTECTED] (Mel Gorman) writes: On (16/09/07 23:58), Goswin von Brederlow didst pronounce: But when you already have say 10% of the ram in mixed groups then it is a sign the external fragmentation happens and some time should

2.6.23-rc7-mm1 -- powerpc rtas panic

2007-09-24 Thread Andy Whitcroft
Seeing the following from an older power LPAR, pretty sure we had this in the previous -mm also: Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc0047ac8 cpu 0x0: Vector: 300 (Data Access) at [c058f750] pc:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 02:24:54PM +0200, Miklos Szeredi wrote: Thanks to everyone for the feedback. Here's two of the VFS patches reworked according to comments. I also plan to rework the setattr() patch accordingly and perhaps the xattr patch, altough that is the lowest priority.

Re: [patch 2/2] VFS: allow filesystem to override mknod capability checks

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 02:25:54PM +0200, Miklos Szeredi wrote: From: Miklos Szeredi [EMAIL PROTECTED] Add a new super block flag, that results in the VFS not checking if the current process has enough privileges to do an mknod(). If this flag is set, all mounts for this super block will

Re: Compilation problem with kernel 2.6.9

2007-09-24 Thread Jiri Slaby
On 09/24/2007 11:52 AM, Antoine Zen-Ruffinen wrote: Hello, I tried to compile the kernel 2.6.9 because I want to use it with RTLinux and that the only 2.6.x kernel supported. I used gcc 2.95.3 as recommended. But I have an error by compilation of process.c : CC

Re: [PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks (take 2)

2007-09-24 Thread Sergei Shtylyov
Once I quothed: Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. This one not looking to pretty -- I've geve some thought on how to beautify all these switch fallthoughs but

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 10:07, Thomas Gleixner wrote: On Sun, 2007-09-23 at 22:52 +0200, Rafael J. Wysocki wrote: Second, noacpitimer added to the command line makes all of the kernels, up to and including 2.6.23-rc6-mm1, boot (this seems to be 100% reproducible). That's

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ /home/clg/linux/2.6.23-rc7-mm1/drivers/s390/block/dasd_eckd.c: In function `dasd_eckd_build_cp': /home/clg/linux/2.6.23-rc7-mm1/drivers/s390/block/dasd_eckd.c:1181: error: syntax error

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Balbir Singh
Peter Zijlstra wrote: Only kswapd can do this, direct reclaim has deadlock potential. Yes, but not in all cases, do you want to add any gfp_mask based smartness for direct reclaim? gfp_mask doesn't carry the needed information. It depends on whether the current context holds a

Re: 2.6.23-rc7-mm1 -- s390 compile failures

2007-09-24 Thread Cedric Le Goater
Andy Whitcroft wrote: Getting compile errors on S390: CC arch/s390/mm/cmm.o arch/s390/mm/cmm.c: In function `cmm_init': arch/s390/mm/cmm.c:431: error: implicit declaration of function `register_oom_notifier' arch/s390/mm/cmm.c:443: error:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
On Mon, Sep 24, 2007 at 02:24:54PM +0200, Miklos Szeredi wrote: Thanks to everyone for the feedback. Here's two of the VFS patches reworked according to comments. I also plan to rework the setattr() patch accordingly and perhaps the xattr patch, altough that is the lowest priority.

Re: [PATCH] ahci: Add MCP79 support to AHCI driver

2007-09-24 Thread Sergei Shtylyov
Hello. Peer Chen wrote: Code change, remove some Device IDs. Signed-off-by: Peer Chen [EMAIL PROTECTED] --- --- linux-2.6.23-rc7/drivers/ata/ahci.c.orig2007-09-20 11:01:55.0 -0400 +++ linux-2.6.23-rc7/drivers/ata/ahci.c 2007-09-24 10:08:03.0 -0400 @@ -472,6 +472,14 @@

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Kamalesh Babulal
Hi Andrew, Kernel oops over x86_64 (AMD Opteron(tm) Processor 844) Unable to handle kernel NULL pointer dereference at 0070 RIP: [80290630] fasync_helper+0x6b/0xe4 PGD 181949067 PUD 182228067 PMD 0 Oops: [1] SMP last sysfs file: /devices/system/node/possible CPU 3

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 18:18:30 +0530 Balbir Singh [EMAIL PROTECTED] wrote: Peter Zijlstra wrote: Only kswapd can do this, direct reclaim has deadlock potential. Yes, but not in all cases, do you want to add any gfp_mask based smartness for direct reclaim? gfp_mask doesn't carry the

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 02:48:08PM +0200, Miklos Szeredi wrote: and if that means adding silly rename support so be it. That's what is done currently. But it's has various dawbacks, like rmdir doesn't work if there are open files within an otherwise empty directory. I'd happily accept

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 13:05:08 BST, Christoph Hellwig said: On Mon, Sep 24, 2007 at 06:35:50AM -0400, [EMAIL PROTECTED] wrote: On Mon, 24 Sep 2007 02:17:16 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ It lived fast,

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ I also get this compile error on s390. 'linux/scatterlist.h' has disappeared from the #include pile but where ? /home/clg/linux/2.6.23-rc7-mm1/net/sctp/auth.c: In function

Re: [PATCH] Uninline kcalloc()

2007-09-24 Thread Kyle Moffett
On Sep 24, 2007, at 01:35:08, [EMAIL PROTECTED] wrote: On Sun, 23 Sep 2007 00:03:49 +0400, Alexey Dobriyan said: -static inline void *kcalloc(size_t n, size_t size, gfp_t flags) -{ - if (n != 0 size ULONG_MAX / n) - return NULL; - return __kmalloc(n * size, flags |

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 14:57 +0200, Rafael J. Wysocki wrote: http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 applied. I also have the 2.6.23-rc6-mm1 dmesg output ready, but there's some -mm-specific noise in it. Please let me know if you want it,

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
and if that means adding silly rename support so be it. That's what is done currently. But it's has various dawbacks, like rmdir doesn't work if there are open files within an otherwise empty directory. I'd happily accept suggestions on how to deal with this differenty. Only

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
putting Vlad in Cc: Cedric Le Goater wrote: Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ I also get this compile error on s390. 'linux/scatterlist.h' has disappeared from the #include pile but where ?

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: If a network filesystem protocol can't handle operations (be it data or metadata) on an unlinked file, we must do sillirenaming, so that the file is not actually unlinked. Or not support such a broken protocol at all. - To

2.6.23-rc7-mm1: fix generic_setlease() mismerge

2007-09-24 Thread Alexey Dobriyan
Please, try this: --- a/fs/locks.c +++ b/fs/locks.c @@ -1373,11 +1373,6 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp) if (new_fl == NULL) goto out; - error = -ENOMEM; - new_fl = locks_alloc_lock(); - if (new_fl == NULL) -

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Kamalesh Babulal
Hi Andrew, Kernel BUG over x86_64 (AMD Opteron(tm) Processor 844). Similar kernel Bug was reported for 2.6.23-rc2-mm1 at http://lkml.org/lkml/2007/8/10/20 and the mm-dirty-balancing-for-tasks.patch was dropped from 2.6.23-rc2-mm2. And the same patch is in this -mm version, suspect whether is it

Re: [PATCH0/4] Various bug fixes

2007-09-24 Thread Marcelo Tosatti
Paul, please apply. On Sun, Sep 23, 2007 at 10:16:48PM +0200, Jochen Friedrich wrote: Here is a series fixing some bugs for 8xx powerpc CPUs. 1. [POWERPC] Fix copy'n'paste typo in commproc.c 2. [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem 3. [PPC] Compile fix for 8xx CPM

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: A file isn't deleted while there are still links or open files refering to it. So getting the attributes for a file with nlink==0 is perfectly valid while the file is still open. Is it? Why not just pretend that the attributes

Re: [PATCH] Uninline kcalloc()

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 08:59:56 EDT, Kyle Moffett said: Proper fix is to give __kmalloc a void *caller parameter and have all of the various wrapper functions pass in the value of __builtin_return_address() appropriately. I believe that even works properly for inline functions which may

[PATCH rc7-mm1] fix BUG at mm/swap.c:405!

2007-09-24 Thread Hugh Dickins
a.k.a. mm-use-pagevec-to-rotate-reclaimable-page-fix-2.patch rotate_reclaimable_page() is not necessarily called with IRQ disabled: it must do so when calling the helpfully commented pagevec_move_tail(). Hmm, if pagevec_move_tail() is assuming IRQ disabled, why should it bother with

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, locks_copy_lock(new_fl, lease); locks_insert_lock(before, new_fl); - *flp =

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
If a network filesystem protocol can't handle operations (be it data or metadata) on an unlinked file, we must do sillirenaming, so that the file is not actually unlinked. Or not support such a broken protocol at all. Wonder what people would say if we removed support for NFSv[23]. Just

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Balbir Singh
Pavel Emelyanov wrote: Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, locks_copy_lock(new_fl, lease);

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: A file isn't deleted while there are still links or open files refering to it. So getting the attributes for a file with nlink==0 is perfectly valid while the file is still open. Is it? Why not just pretend that the

Re: USB autosuspend and turning of usb pendrive leds

2007-09-24 Thread Oliver Neukum
Am Montag 24 September 2007 schrieb Hans de Goede: Oliver Neukum wrote: Am Freitag 21 September 2007 schrieb Jiri Kosina: On Fri, 21 Sep 2007, Hans de Goede wrote: Thats not what I had in mind, autosuspend doesn't work (presumably because hal keeps polling for media change) maybe I

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: Or not support such a broken protocol at all. Wonder what people would say if we removed support for NFSv[23]. Just because a protocol does not support perfect UNIX semantics, it doesn't mean it's broken. By that standard

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Vlad Yasevich
Cedric Le Goater wrote: putting Vlad in Cc: Cedric Le Goater wrote: Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ I also get this compile error on s390. 'linux/scatterlist.h' has disappeared from the #include pile but where

Re: [PATCH 14/22] NFS: Use local caching

2007-09-24 Thread Peter Staubach
David Howells wrote: David Howells [EMAIL PROTECTED] wrote: Peter Staubach [EMAIL PROTECTED] wrote: Did I miss the section where the modified semantics about which mounted file systems can use the cache and which ones can not was implemented? Yes. fs/nfs/super.c:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Alan Cox
But it's has various dawbacks, like rmdir doesn't work if there are open files within an otherwise empty directory. I'd happily accept suggestions on how to deal with this differenty. NFS has that problem because it really has to sillyrename into the same directory. I don't see that ssh/sftp

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: Or not support such a broken protocol at all. Wonder what people would say if we removed support for NFSv[23]. Just because a protocol does not support perfect UNIX semantics, it doesn't mean it's broken. By that

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 15:05, Thomas Gleixner wrote: On Mon, 2007-09-24 at 14:57 +0200, Rafael J. Wysocki wrote: http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 applied. I also have the 2.6.23-rc6-mm1 dmesg output ready, but there's some

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
But it's has various dawbacks, like rmdir doesn't work if there are open files within an otherwise empty directory. I'd happily accept suggestions on how to deal with this differenty. NFS has that problem because it really has to sillyrename into the same directory. I don't see that

Re: + git-nfs-vs-nfs-convert-to-new-aops.patch added to -mm tree

2007-09-24 Thread Peter Zijlstra
On Thu, 20 Sep 2007 13:20:47 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: /me continues the mmap write on nfs adventure... My test prog reliably hangs like so: mm_tester D 0040b305 0 2701 2699 6042cef0 602ca520 617dfa50 617de000 617dfa90 60010b62 617dfa80 6002785d

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread Serge E. Hallyn
Quoting David Howells ([EMAIL PROTECTED]): Move into the cred struct the part of the task security data that defines how a task acts upon an object. The part that defines how something acts upon a task remains attached to the task. For SELinux this requires some of task_security_struct

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-24 Thread James Bottomley
On Sun, 2007-09-23 at 20:14 -0400, Jeff Garzik wrote: James Bottomley wrote: On Sun, 2007-09-23 at 19:43 -0400, Jeff Garzik wrote: James Bottomley wrote: On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: Rather than sitting on this for far too long, I wanted to go ahead and get this

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: So I really wonder, why noacpitimer on the kernel command line makes any difference. I'm confused. \metoo Well, it was probably read as noacpi. :-) Hmm, ACPI is in the log all over the place. Well, noacpi

Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared

2007-09-24 Thread David Newall
Paul Rolland (???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] sysfs: backport of sysfs_readdir fix from 2.6.22.y to 2.6.16.y (CVE-2007-3104)

2007-09-24 Thread Jiri Kosina
(Adrian should be CCed on things regarding 2.6.16.y kernel) On Sun, 23 Sep 2007, Miloslav Semler wrote: This patch solves CVE-2007-3104 - sysfs_readdir oops. More can be found here:

Re: [PATCH 24/25] r/o bind mounts: track number of mount writers

2007-09-24 Thread Arjan van de Ven
It look like a false positive to me, but really, for a patchset of this complexity and maturity I cannot fathom how it could have escaped any lockdep testing. the code tries to implement per cpu spinlocks, or rather it tries to bring back the brlocks from way past cute. we can educate

Re: [linux-usb-devel] 2.6.23-rc7-mm1

2007-09-24 Thread Alan Stern
On Mon, 24 Sep 2007, Jiri Slaby wrote: On 09/24/2007 11:17 AM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ Fine, but on some boots (I noticed this on rc6-mm1 too, but not before): :00:1a.7 EHCI: BIOS handoff failed (BIOS

Re: [PATCH] sb1250-mac: Driver model phylib update

2007-09-24 Thread Maciej W. Rozycki
On Fri, 21 Sep 2007, Andrew Morton wrote: A driver model and phylib update. akpm:/usr/src/25 diffstat patches/git-net.patch | tail -n 1 1013 files changed, 187667 insertions(+), 23587 deletions(-) Sorry, but raising networking patches against Linus's crufty old mainline tree just

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-24 Thread Andreas Herrmann
On Sat, Sep 22, 2007 at 07:27:59AM +0200, Mihai Donțu wrote: Hi, Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet weekend). Anyway, it seems that radeonfb and my: 01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE) don't

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Reuben Farrelly
On 24/09/2007 7:17 PM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ - New git tree git-powerpc-galak.patch added to the -mm lineup: ppc32 things, mainly (Kumar Gala [EMAIL PROTECTED]) I'm observing a problem with this kernel

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 16:23, Thomas Gleixner wrote: On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: So I really wonder, why noacpitimer on the kernel command line makes any difference. I'm confused. \metoo Well, it was probably read as noacpi.

Re: [v4l-dvb-maintainer] [PATCH] cafe_ccic: default to allocating DMA buffers at probe time

2007-09-24 Thread Mauro Carvalho Chehab
Hi Andres, Still missing on your patch is your SOB ;) From what I got from Jon, he is ok with your patch. Cheers, Mauro. Em Qua, 2007-09-19 às 01:44 -0400, Andres Salomon escreveu: By default, we allocate DMA buffers when actually reading from the video capture device. On a system with 128MB

Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs (v2)

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 12:46:06 +0400 Andrey Mirkin wrote: From: Andrey Mirkin [EMAIL PROTECTED] Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a little bit confusing. Use 0xBAD1DEA as magic for futexfs and 0x2BAD1DEA as magic for inotifyfs. Signed-off-by: Andrey

Re: [Patch 1/2] Trace code and documentation (updated)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: Your mailer wrapper the patch so I can't actually apply it to start playing with the patch. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [RFC] New kernel-message logging API

2007-09-24 Thread Joe Perches
On Mon, 2007-09-24 at 11:22 +0200, Michael Holzheu wrote: Together with the idea of not allowing multiple lines in the kprint_xxx functions, that would go with our approach having message numbers to identify a message. How does this equate/give message numbers? If you do it like that, you

Re: 2.6.23-rc7-mm1 ia64 build issue in efi.c

2007-09-24 Thread Bob Picco
There isn't a total_memory identifier within this function's scope. The patch was compile/link tested. Signed-off-by: Bob Picco [EMAIL PROTECTED] arch/ia64/kernel/efi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.23-rc7-mm1/arch/ia64/kernel/efi.c

[PATCH 1/2] Uninline find_task_by_xxx set of functions

2007-09-24 Thread Pavel Emelyanov
The find_task_by_something is a set of macros are used to find task by pid depending on what kind of pid is proposed - global or virtual one. All of them are wrappers above the most generic one - find_task_by_pid_type_ns() - and just substitute some args for it. It turned out, that dereferencing

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-24 Thread Jeff Garzik
James Bottomley wrote: On the other hand, I think I can find a nice lever to move Marvell with, so I'll take this on without needing potentially to compromise your contacts. FWIW Marvell is moving quite nicely... they are actively providing docs under NDA, and sometimes sample code (or even

[PATCH 2/2] Uninline find_pid etc set of functions

2007-09-24 Thread Pavel Emelyanov
The find_pid/_vpid/_pid_ns functions are used to find the struct pid by its id, depending on whic id - global or virtual - is used. The find_vpid() is a macro that pushes the current-nsproxy-pid_ns on the stack to call another function - find_pid_ns(). It turned out, that this dereference

Re: Kernel bug

2007-09-24 Thread Mel Gorman
On (19/09/07 17:43), Branislav Bozgai didst pronounce: uname -a Linux tweety 2.6.21.3-default #2 Tue Aug 7 17:11:50 EDT 2007 i686 athlon i386 GNU/Linux Hello, my system is crashing with following info in /var/log/messages, thought I send it to you. Does this happen after suspend/resume by

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Balbir Singh wrote: Pavel Emelyanov wrote: Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, locks_copy_lock(new_fl, lease);

Re: [patch 2/3] new timerfd API - wire the new timerfd API to the x86 family

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Michael Kerrisk wrote: Davide, Is it perhaps not better to group the three syscalls contiguously with respect to syscall numbers? The old timerfd slot can be re-used for some other syscall later. There's no problem if they're not contiguous. Holes, unless filled

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: On Fri, Sep 21, 2007 at 09:23:28PM -0700, David J. Wilder wrote: My last posting was mangled by my mailer. I hope this one is better. Also corrected Randy's concerns. Please see previous posting for more information: http://lkml.org/lkml/2007/9/19/4 (PATCH 0/2) Note:

Re: Mask Issue?

2007-09-24 Thread Mel Gorman
On (19/09/07 17:57), Chris Holvenstot didst pronounce: Still being a little new at this I am not sure if this is an issue at all or not but I noted that while building the 2.6.23-rc6-git8 kernel this afternoon I received the following error message: Building modules, stage 2. MODPOST

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-24 Thread Andrea Arcangeli
On Sun, Sep 23, 2007 at 08:56:39AM +0200, Goswin von Brederlow wrote: As a user I know it because I didn't put a kernel source into /tmp. A programm can't reasonably know that. Various apps requires you (admin/user) to tune the size of their caches. Seems like you never tried to setup a

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 08:38:34AM -0700, David Wilder wrote: NACK, don't put code into Documentation/. Put it into kernel as it's actually useful kernel code. Are you suggesting moving the example code into kernel? Or complaining about example code in /Documentation? Both. example

Re: [patch 1/3] new timerfd API - new timerfd API

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Thomas Gleixner wrote: struct timerfd_ctx { struct hrtimer tmr; + int clockid; ktime_t tintv; wait_queue_head_t wqh; int expired; + u64 ticks; }; Can you please restructure the struct in a way which does not result in padding by the

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Dave Hansen
On Mon, 2007-09-24 at 08:58 -0400, [EMAIL PROTECTED] wrote: do_times passes an unitialized vfsmount into mnt_want_write. Here's the quick fix (untested), but the right fix is to restructure the complete mess do_utimes is (never let a libc developer write your kernel code.. :)): Close -

[patch] Show ioremap and vmap in /proc/meminfo

2007-09-24 Thread Masatake YAMATO
Hi, For long time I've been thought the following equation is correct: The MemUsage is about Active + Inactive + Slab + PageTables + VmallocUsed in /proc/meminfo. (I'm not only the person. See https://bugzilla.redhat.com/show_bug.cgi?id=243657.) However, some VmallocUsed doesn't really

Re: Mask Issue?

2007-09-24 Thread David Woodhouse
On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote: I noticed this in a -mm recently and never got around to kicking it properly because I suspected it was a compiler issue. What version of gcc and binutils are you using? David Woodhouse added to cc in case this is a known problem. The

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread David Howells
Serge E. Hallyn [EMAIL PROTECTED] wrote: Ah, ok, so the daemon would use this to act under the user's credentials. I was thinking the user would be using this to act under the daemon's or kernel's sid. Think kernel service rather than daemon. NFSd provides its own daemons to override the

Re: [patch 1/3] new timerfd API - new timerfd API

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 08:42 -0700, Davide Libenzi wrote: + ticks += (u64) hrtimer_forward(ctx-tmr, hrtimer_cb_get_time(ctx-tmr), You need to use ctx-tmr.base-get_time() here, otherwise you might read

Re: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-24 Thread Scott Wood
Jochen Friedrich wrote: In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc an offset into DP RAM is calculated by substracting a physical memory constant from an virtual address. This patch fixes the problem by converting the virtual address into a physical first. Huh?

Re: Urgent bugzilla mainteinance needed

2007-09-24 Thread Jon Tollefson
Martin J. Bligh wrote: Natalie Protasevich wrote: On 9/23/07, David Woodhouse [EMAIL PROTECTED] wrote: On Sun, 2007-09-23 at 11:08 -0700, Natalie Protasevich wrote: On 9/23/07, Diego Calleja [EMAIL PROTECTED] wrote: Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 bugzilla

MAX_LOCKDEP_SUBCLASSES too low in 2.6.23-rc7-mm1

2007-09-24 Thread Mathieu Desnoyers
Hi Ingo, I got the following printk when booting 2.6.23-rc7-mm1 : BUG: MAX_LOCKDEP_SUBCLASSES too low! turning off the locking correctness validator. Is it known/correct situation ? Regards, Mathieu Here is my config. # # Automatically generated make config: don't edit # Linux kernel

Re: Urgent bugzilla mainteinance needed

2007-09-24 Thread Martin Bligh
Bugzilla really shouldn't be accepting any mail with empty reverse-path (MAIL FROM:) Updated to handle this case. Ah, then should be easy fix then. I don't have access to the system though, will have to helplessly wait until one of the guys picks up... :( Sorry, can't fix this - I don't have

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 08:45:32 PDT, Dave Hansen said: Any idea which fs and distro this was? I'd like to add it to my tests. initscripts-8.56-1, from Fedora Rawhide, /etc/rc.sysinit, line 325: touch /dev/.in_sysinit /dev/null 21 Specific enough? :) pgp3OvCOFx0xa.pgp Description: PGP

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Balbir Singh
Pavel Emelyanov wrote: Balbir Singh wrote: Pavel Emelyanov wrote: Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp,

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 16:41:14 +0100 Christoph Hellwig wrote: On Mon, Sep 24, 2007 at 08:38:34AM -0700, David Wilder wrote: NACK, don't put code into Documentation/. Put it into kernel as it's actually useful kernel code. Are you suggesting moving the example code into kernel? Or

[patch] usb-skeleton leaking locks on open.

2007-09-24 Thread Mark Gross
This weekend I was hacking around with a trivial USB driver for talking to the boot load firmware of a USB Bit Whacker. It's running the MicroChip Pic18 boot loader firmware and I'm putting together a flash program for writing new FW to the thing. Anyway in my use of the usb-skeleton.c as my

[PATCH 0/5] Fair group scheduler - various fixes

2007-09-24 Thread Srivatsa Vaddagiri
Hello Ingo and Andrew, Here are various patches to fair group scheduler code present in sched-devel and in 2.6.23-rc7-mm1. These patches should apply against both sched-devel git tree and 2.6.23-rc7-mm1 (as they are both in sync now). Pls consider for inclusion after review. [there is

[01/50] V4L: ivtv: fix VIDIOC_S_FBUF: new OSD values were never set

2007-09-24 Thread Greg KH
From: Hans Verkuil [EMAIL PROTECTED] cherry picked from commit c3624f99a8c06cfe75e0b06f23a7f7cea9d2d5ff ivtv: fix VIDIOC_S_FBUF support: new OSD values were never actually set. The values set with VIDIOC_S_FBUF were not actually used until the next VIDIOC_S_FMT. Fixed. Signed-off-by: Hans

[00/50] 2.6.22-stable review

2007-09-24 Thread Greg KH
This is the start of the stable review cycle for the 2.6.22.8 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a

[02/50] DVB: get_dvb_firmware: update script for new location of sp8870 firmware

2007-09-24 Thread Greg KH
From: Michael Krufky [EMAIL PROTECTED] cherry picked from commit 302170a4b47e869372974abd885dd11d5536b64a get_dvb_firmware: update script for new location of sp8870 firmware This url is no longer valid: http://www.technotrend.de/new/217g/tt_Premium_217g.zip Replace with:

[03/50] DVB: get_dvb_firmware: update script for new location of tda10046 firmware

2007-09-24 Thread Greg KH
From: Andreas Arens [EMAIL PROTECTED] cherry picked from commit c545d6adbcacd296f7457bd992556feb055379de Update get_dvb_firmware script for the new location of the tda10046 firmware. The old location doesn't work anymore. Signed-off-by: Andreas Arens [EMAIL PROTECTED] Signed-off-by: Michael

[04/50] DVB: b2c2-flexcop: fix Airstar HD5000 tuning regression

2007-09-24 Thread Greg KH
From: Trent Piepho [EMAIL PROTECTED] cherry picked from commit 6175e487e314385e37f06448847e4c46c20edb44 b2c2-flexcop: fix Airstar HD5000 tuning regression Git changeset 6bdcc6e6dbab8daffd05e5026486f34ba41a6c72 dropped the stand-alone lgh06xf module, whose functionality was absorbed into the

[05/50] setpgid(child) fails if the child was forked by sub-thread

2007-09-24 Thread Greg KH
From: Oleg Nesterov [EMAIL PROTECTED] commit b07e35f94a7b6a059f889b904529ee907dc0634d in mainline tree Spotted by Marcin Kowalczyk [EMAIL PROTECTED]. sys_setpgid(child) fails if the child was forked by sub-thread. Fix the is it our child check. The previous commit

[06/50] sigqueue_free: fix the race with collect_signal()

2007-09-24 Thread Greg KH
From: Oleg Nesterov [EMAIL PROTECTED] commit 60187d2708caa870f0825d753df1612ea688eb9e in mainline. Spotted by taoyue [EMAIL PROTECTED] and Jeremy Katz [EMAIL PROTECTED]. collect_signal: sigqueue_free: list_del_init(first-list);

[07/50] kconfig: oldconfig shall not set symbols if it does not need to

2007-09-24 Thread Greg KH
From: Roman Zippel [EMAIL PROTECTED] commit f82f3f9422d4da1eeec6f6cf3e64c6c34c4fe19b in mainline. Avoid setting the value if the symbol doesn't need to be changed or can't be changed. Later choices may change the dependencies and thus the possible input range. make oldconfig from a 2.6.22

[08/50] MTD: Makefile fix for mtdsuper

2007-09-24 Thread Greg KH
From: Satyam Sharma [EMAIL PROTECTED] commit bec494775600b1cd7c144d31a09e1f46df9c6324 in mainline. We want drivers/mtd/{mtdcore, mtdsuper, mtdpart}.c to be built and linked into the same mtd.ko module. Fix the Makefile to ensure this, and remove duplicate MODULE_ declarations in mtdpart.c, as

[09/50] USB: fix linked list insertion bugfix for usb core

2007-09-24 Thread Greg KH
From: Nathael Pajani [EMAIL PROTECTED] commit e5dd01154c1e9ca2400f4682602d1a4fa54c25dd in mainline. This patch fixes the order of list_add_tail() arguments in usb_store_new_id() so the list can have more than one single element. Signed-off-by: Nathael Pajani [EMAIL PROTECTED] Signed-off-by:

[11/50] POWERPC: Flush registers to proper task context

2007-09-24 Thread Greg KH
From: Kumar Gala [EMAIL PROTECTED] commit 0ee6c15e7ba7b36a217cdadb292eeaf32a057a59 in mainline. When we flush register state for FP, Altivec, or SPE in flush_*_to_thread we need to respect the task_struct that the caller has passed to us. Most cases we are called with current, however sometimes

[10/50] ACPI: Validate XSDT, use RSDT if XSDT fails

2007-09-24 Thread Greg KH
From: Zhao Yakui [EMAIL PROTECTED] commit 9f3119b70cf189530f1b46a006a052e171a1622f in mainline. ACPI 1.0 used an RSDT with 32-bit physical addresses. ACPI 2.0 adds an XSDT with 32-bit physical addresses. An ACPI 2.0 aware OS is supposed to use the XSDT (when present) instead of the RSDT.

[12/50] 3w-9xxx: Fix dma mask setting

2007-09-24 Thread Greg KH
From: Adam Radford [EMAIL PROTECTED] [SCSI] 3w-9xxx: Fix dma mask setting Extracted from commit 0e78d158b67fba3977f577f293c323359d80dd0e The attached patch updates the 3ware 9000 driver: - Fix dma mask setting to fallback to 32-bit if 64-bit fails. Signed-off-by: Adam Radford [EMAIL

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