Re: [patch] unprivileged mounts update

2007-04-25 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): > Miklos Szeredi <[EMAIL PROTECTED]> writes: > > >> From: Miklos Szeredi <[EMAIL PROTECTED]> > >> > >> - refine adding "nosuid" and "nodev" flags for unprivileged mounts: > >> o add "nosuid", only if mounter doesn't have CAP_SETUID capability >

Re: [patch] unprivileged mounts update

2007-04-25 Thread Eric W. Biederman
Miklos Szeredi <[EMAIL PROTECTED]> writes: >> From: Miklos Szeredi <[EMAIL PROTECTED]> >> >> - refine adding "nosuid" and "nodev" flags for unprivileged mounts: >> o add "nosuid", only if mounter doesn't have CAP_SETUID capability >> o add "nodev", only if mounter doesn't have CAP_MKNOD

Re: [patch] unprivileged mounts update

2007-04-25 Thread Serge E. Hallyn
Quoting H. Peter Anvin ([EMAIL PROTECTED]): > Miklos Szeredi wrote: > > > > Andrew, please skip this patch, for now. > > > > Serge found a problem with the fsuid approach: setfsuid(nonzero) will > > remove filesystem related capabilities. So even if root is trying to > > set the "user=UID" flag

Re: mm snapshot broken-out-2007-04-25-02-49.tar.gz uploaded

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-04-25-02-49.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-25-02-49.tar.gz Was support for UnionFS deliberately removed in this release? William Heimbigner

Re: Found this in my logs

2007-04-25 Thread Udo van den Heuvel
Udo van den Heuvel wrote: > Apr 25 17:28:18 epia kernel: [ INFO: possible circular locking > dependency detected ] > Apr 25 17:28:18 epia kernel: 2.6.20.1 #8 [cut] I think I was copying a not so large file to my windoze box. The cp took relatively long and afterwards I noticed the logged things.

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Alan D. Brunelle wrote: > Hi Jens - > > The attached patch speeds it up even more - I'm finding a >9% reduction > in %system with no loss in IO performance. This just sets the cached > element when the first is looked for. Interesting, good thinking. It should not change

Re: [RFC][PATCH] ChunkFS: fs fission for faster fsck

2007-04-25 Thread David Lang
On Wed, 25 Apr 2007, Nikita Danilov wrote: David Lang writes: > On Tue, 24 Apr 2007, Nikita Danilov wrote: > > > David Lang writes: > > > On Tue, 24 Apr 2007, Nikita Danilov wrote: > > > > > > > Amit Gud writes: > > > > > > > > Hello, > > > > > > > > > > > > > > This is an initial

Re: [linux-pm] Linux 2.6.21-rc6

2007-04-25 Thread Tobias Diedrich
Rafael J. Wysocki wrote: > On Sunday, 15 April 2007 21:40, Tobias Diedrich wrote: > > Rafael J. Wysocki wrote: > > > On Sunday, 15 April 2007 17:14, David Brownell wrote: > > > > On Sunday 15 April 2007 4:16 am, Rafael J. Wysocki wrote: > > > > > On Sunday, 15 April 2007 10:02, Tobias Diedrich

[PATCH 0/2] Lumpy Reclaim V6 cleanups

2007-04-25 Thread Andy Whitcroft
Following this email are two cleanup patches against lumpy V6 (as contained in v2.6.21-rc7-mm1). These address the review feedback from Andrew Morton, thanks for reviewing. introduce-HIGH_ORDER-delineating-easily-reclaimable-orders-fix: changes the name of the constant to

[PATCH 1/2] introduce HIGH_ORDER delineating easily reclaimable orders cleanups

2007-04-25 Thread Andy Whitcroft
Switch from HIGH_ORDER to the more logical and descriptive PAGE_ALLOC_COSTLY_ORDER indicating the boundary between orders easily reclaimed and allocated and those which are not. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> --- diff --git

[PATCH 2/2] lumpy: increase pressure at the end of the inactive list cleanups

2007-04-25 Thread Andy Whitcroft
Cleanups following review feedback for the patch below: lumpy: increase pressure at the end of the inactive list This patch: 1) introduces ISOLATE_[ACTIVE,INACTIVE], 2) changes the name of the deactivate_pages() helper to clear_active_flags(), 3) cleans up and simplifies the checks in

Re: [patch] unprivileged mounts update

2007-04-25 Thread H. Peter Anvin
Miklos Szeredi wrote: > > Andrew, please skip this patch, for now. > > Serge found a problem with the fsuid approach: setfsuid(nonzero) will > remove filesystem related capabilities. So even if root is trying to > set the "user=UID" flag on a mount, access to the target (and in case > of bind,

[PATCH] use mutex instead of semaphore in RocketPort driver v3

2007-04-25 Thread Matthias Kaehlcke
the RocketPort driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 76357c8..af9379b 100644 --- a/drivers/char/rocket.c +++

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Dave Jones
On Wed, Apr 25, 2007 at 11:24:42PM +0800, Antonino A. Daplas wrote: > On Wed, 2007-04-25 at 10:33 -0400, Dave Jones wrote: > > On Wed, Apr 25, 2007 at 09:52:16PM +0800, Antonino A. Daplas wrote: > > > > And have you tried the following settings: > > > > FB_BACKLIGHT=y > > > > ACPI_IBM=n >

Re: + handle-kernelcore=-boot-parameter-in-common-code-to-avoid-boot-problem-on-ia64.patch added to -mm tree

2007-04-25 Thread Randy Dunlap
Mel Gorman wrote: On (25/04/07 08:08), Randy Dunlap didst pronounce: On Tue, 24 Apr 2007 14:04:28 -0700 [EMAIL PROTECTED] wrote: The patch titled Handle kernelcore= boot parameter in common code to avoid boot problem on IA64 has been added to the -mm tree. Its filename is

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, John Stoffel wrote: > Ok, no idea then. It's working for me in 2.6.21-rc7 as long as I > don't have more than one console= entry in my kernel boot args. 2.6.21-rc7 is working fine here too. mm is the problem. - To unsubscribe from this list: send the line "unsubscribe

Re: about linux console and printk

2007-04-25 Thread Jan-Benedict Glaw
On Wed, 2007-04-25 22:22:22 +0800, Shan, Guo Wen (Gavin) <[EMAIL PROTECTED]> wrote: > The linux could support several console driver at same time? If so, > what I need to do is call register_console() for several times? Did you try that? Have you read through the register_console() code as well

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread John Stoffel
> "Christoph" == Christoph Lameter <[EMAIL PROTECTED]> writes: Christoph> On Wed, 25 Apr 2007, John Stoffel wrote: Christoph> I use a serial console on my x86_84 box. For a while now I Christoph> can see all output but I cannot type any Christoph> characters. /dev/console broke? >> >> I've

Re: Reasons to merge suspend2.

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, Pavel Machek wrote: Hi! I didn't read your whole post, it's way too long, but I would like to see your patch in mainline as an option to swsusp. What would make this infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing suspend

Re: + handle-kernelcore=-boot-parameter-in-common-code-to-avoid-boot-problem-on-ia64.patch added to -mm tree

2007-04-25 Thread Mel Gorman
On (25/04/07 08:08), Randy Dunlap didst pronounce: > On Tue, 24 Apr 2007 14:04:28 -0700 [EMAIL PROTECTED] wrote: > > > > > The patch titled > > Handle kernelcore= boot parameter in common code to avoid boot problem > > on IA64 > > has been added to the -mm tree. Its filename is > >

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: > But, surely you wouldn't have expected it to stay on the processor > throughout the waiting page allocation?? I think you're misremembering > your expectations, and this was just a simple, understandable, oversight. You do not know my fuzzy brain...

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Hugh Dickins
On Wed, 25 Apr 2007, Christoph Lameter wrote: > On Wed, 25 Apr 2007, Hugh Dickins wrote: > > > > Right. local_irq_save does not switch off preemption as I thought. > > > > Strange comment. Preemption is not possible while IRQs are disabled, > > but new_slab() rightly reenables them within

Re: Reasons to merge suspend2.

2007-04-25 Thread Pavel Machek
Hi! > >>I didn't read your whole post, it's way too long, but I would like to see > >>your patch in mainline as an option to swsusp. What would make this > >>infeasible? > > > >For one thing, Linus said not but yesterday that he doesn't want multiple > >competing suspend algorithms like this in

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Wolfgang Erig
On Wed, Apr 25, 2007 at 03:21:53AM +0200, Adrian Bunk wrote: > On Tue, Apr 24, 2007 at 05:51:11PM -0700, Greg KH wrote: > > On Wed, Apr 25, 2007 at 02:29:58AM +0200, Adrian Bunk wrote: > > > On Tue, Apr 24, 2007 at 05:14:28PM -0700, Greg KH wrote: > > > > On Tue, Apr 24, 2007 at 11:32:53AM +0200,

Re: [RFC][PATCH] on-demand readahead

2007-04-25 Thread Andi Kleen
> Yeah, the on-demand readahead can avoid _all_ lookups for small in-cache > files. How? > But what do you mean by AS? struct address_space > > You seem to have a lot of magic numbers. They probably all need symbols and > > explanations. > > The magic numbers are for easier testings, and

Re: Reasons to merge suspend2.

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, John Anthony Kazos Jr. wrote: I didn't read your whole post, it's way too long, but I would like to see your patch in mainline as an option to swsusp. What would make this infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing

Re: [RFC][PATCH] on-demand readahead

2007-04-25 Thread Fengguang Wu
On Wed, Apr 25, 2007 at 04:37:41PM +0200, Andi Kleen wrote: > Fengguang Wu <[EMAIL PROTECTED]> writes: > > > OVERHEADS > > > > The new code reduced the overheads of > > > > - excessively calling the readahead routine on small sized reads > > (the current readahead code insists on

[PATCH 04/16] AF_RXRPC: Make it possible to merely try to cancel timers from a module [try #4]

2007-04-25 Thread David Howells
Export try_to_del_timer_sync() for use by the AF_RXRPC module. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- kernel/timer.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/timer.c b/kernel/timer.c index dd6c2c1..b22bd39 100644 --- a/kernel/timer.c +++

[PATCH 01/16] AF_RXRPC: Move generic skbuff stuff from XFRM code to generic code [try #4]

2007-04-25 Thread David Howells
Move generic skbuff stuff from XFRM code to generic code so that AF_RXRPC can use it too. The kdoc comments I've attached to the functions needs to be checked by whoever wrote them as I had to make some guesses about the workings of these functions. Signed-Off-By: David Howells <[EMAIL

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Alan D. Brunelle
Hi Jens - The attached patch speeds it up even more - I'm finding a >9% reduction in %system with no loss in IO performance. This just sets the cached element when the first is looked for. Alan From: Alan D. Brunelle <[EMAIL PROTECTED]> Update cached leftmost every time it is found.

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: > > Right. local_irq_save does not switch off preemption as I thought. > > Strange comment. Preemption is not possible while IRQs are disabled, > but new_slab() rightly reenables them within itself in the __GFP_WAIT > case, since it's going off to do a

[PATCH 12/16] AFS: Update the AFS fs documentation [try #4]

2007-04-25 Thread David Howells
Update the AFS fs documentation. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- Documentation/filesystems/afs.txt | 214 +++-- 1 files changed, 154 insertions(+), 60 deletions(-) diff --git a/Documentation/filesystems/afs.txt

[PATCH 13/16] commit ad495d7b6cfcd1bc2eaf06c42699be0bb5d84234 [try #4]

2007-04-25 Thread David Howells
[NETLINK]: Mirror UDP MSG_TRUNC semantics. If the user passes MSG_TRUNC in via msg_flags, return the full packet size not the truncated size. Idea from Herbert Xu and Thomas Graf. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- net/netlink/af_netlink.c |3 +++ 1

[PATCH 14/16] AFS: Add support for the CB.GetCapabilities operation [try #4]

2007-04-25 Thread David Howells
Add support for the CB.GetCapabilities operation with which the fileserver can ask the client for the following information: (1) The list of network interfaces it has available as IPv4 address + netmask plus the MTUs. (2) The client's UUID. (3) The extended capabilities of the client,

Found this in my logs

2007-04-25 Thread Udo van den Heuvel
Hello, I found this in my logs. What can I do about it? Kind regards, Udo Apr 25 17:28:18 epia kernel: Apr 25 17:28:18 epia kernel: === Apr 25 17:28:18 epia kernel: [ INFO: possible circular locking dependency detected ] Apr 25 17:28:18 epia

[PATCH 7/7] ds2760 W1 slave

2007-04-25 Thread Anton Vorontsov
This is W1 slave for ds2760 chip, found inside almost every HP iPaq and HTC PDAs/phones. Acked-by: Evgeniy Polyakov <[EMAIL PROTECTED]> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/w1/slaves/Kconfig | 13 drivers/w1/slaves/Makefile|1 +

Re: Question about Reiser4

2007-04-25 Thread Jeff Chua
On 4/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Laurent Riffard's Reiser4 patch to the default linux-2.6.20 kernel and a couple of others. Thank you. Got it. Testing it now. Jeff. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 5/7] 1-Wire ds2760 chip battery driver

2007-04-25 Thread Anton Vorontsov
This is driver for batteries with ds2760 chip inside, found inside almost every HP iPaq and HTC PDAs/phones. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/battery/Kconfig |7 + drivers/battery/Makefile |2 + drivers/battery/ds2760_battery.c | 503

[PATCH 6/7] remove "#if 0" from find_bus function, export it.

2007-04-25 Thread Anton Vorontsov
This function were placed in "#if 0" because nobody was using it. We using it now. See http://lwn.net/Articles/210610/ Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/base/bus.c |5 ++--- include/linux/device.h |2 ++ 2 files changed, 4 insertions(+), 3 deletions(-)

[PATCH 3/7] Universal battery class

2007-04-25 Thread Anton Vorontsov
Battery class used to export battery properties to userspace in consistent manner. It defines core set of battery attributes, available via sysfs, which should be applicable to (almost) every battery out there. Each attribute has well defined meaning, up to unit of measure used. While the

[PATCH 4/7] APM emulation driver for class batteries

2007-04-25 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/battery/Kconfig |7 ++ drivers/battery/Makefile|2 + drivers/battery/apm_power.c | 228 +++ 3 files changed, 237 insertions(+), 0 deletions(-) create mode 100644

[PATCH 15/16] AFS: Implement the CB.InitCallBackState3 operation [try #4]

2007-04-25 Thread David Howells
Implement the CB.InitCallBackState3 operation for the fileserver to call. This reduces the amount of network traffic because if this op is aborted, the fileserver will then attempt an CB.InitCallBackState operation. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- fs/afs/afs_cm.h|1

[PATCH 2/7] pda power driver

2007-04-25 Thread Anton Vorontsov
Common power driver for PDAs and phones with one or two external power supplies (AC/USB) connected to main and backup batteries, and optional builtin charger. It's used to stop logic duplication through different embedded devices. So, power supply *logic* is here. pda_power register power

[PATCH 1/7] External power framework

2007-04-25 Thread Anton Vorontsov
Power supplies and power supplicants. Supplicants (batteries so far) may ask to notify they when power supply arrive/gone. This framework used by battery class. It's permitted for supply to be bound to several supplicants (think main and backup batteries). It's also permitted for supplicants to

[PATCH 10/16] AFS: Handle multiple mounts of an AFS superblock correctly [try #4]

2007-04-25 Thread David Howells
Handle multiple mounts of an AFS superblock correctly, checking to see whether the superblock is already initialised after calling sget() rather than just unconditionally stamping all over it. Also delete the "silent" parameter to afs_fill_super() as it's not used and can, in any case, be

[PATCH 0/7] Battery class, external power framework, ds2760 battery

2007-04-25 Thread Anton Vorontsov
Hi all, I believe most battery issues elaborated and settled, and battery class has grown up for the -mm merge. Also, I hope that current battery stuff will make everyone happy at some grade. This patchset accumulated ideas and suggestions from reviews by David Brownell, Evgeniy Polyakov, Greg

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Hugh Dickins
On Wed, 25 Apr 2007, Christoph Lameter wrote: > On Wed, 25 Apr 2007, Hugh Dickins wrote: > > > SLUB gave me a NULL pointer dereference in slab_alloc(), in the > > slab_lock(page) of its "Current cpuslab is acceptable" block: cpu > > 1 had been looking at cpu_slab[2], which then went NULL beneath

[PATCH 03/16] AF_RXRPC: Key facility changes for AF_RXRPC [try #4]

2007-04-25 Thread David Howells
Export the keyring key type definition and document its availability. Add alternative types into the key's type_data union to make it more useful. Not all users necessarily want to use it as a list_head (AF_RXRPC doesn't, for example), so make it clear that it can be used in other ways.

[PATCH 00/16] AF_RXRPC socket family and AFS rewrite [try #4]

2007-04-25 Thread David Howells
The first of these patches together provide secure client-side RxRPC connectivity as a Linux kernel socket family. Only the RxRPC transport/session side is supplied - the presentation side (marshalling the data) is left to the client. Copies of the patches can be found here:

[PATCH 02/16] cancel_delayed_work: use del_timer() instead of del_timer_sync() [try #4]

2007-04-25 Thread David Howells
del_timer_sync() buys nothing for cancel_delayed_work(), but it is less efficient since it locks the timer unconditionally, and may wait for the completion of the delayed_work_timer_fn(). cancel_delayed_work() == 0 means: before this patch: work->func may still be running

Re: [PATCH]:Replacing current->state with set_current_state in kernel/signal.c

2007-04-25 Thread Linus Torvalds
On Wed, 25 Apr 2007, Eric Dumazet wrote: > > Either you think you corrected a BUG, so please state it clearly in > Changelog so that Linus immediatly apply your patch for 2.6.21 :) It's not a bug. Setting current state manually is fine _iff_ you don't actually test a condition value. It's

[PATCH] use mutex instead of semaphore in tty_io.c

2007-04-25 Thread Matthias Kaehlcke
drivers/char/tty_io.c uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 7a32df5..4496fd2 100644 --- a/drivers/char/tty_io.c +++

Re: Fw: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-25 Thread Oleg Nesterov
On 04/25, Oleg Nesterov wrote: > > On 04/25, Jarek Poplawski wrote: > > > > Probably this is also possible without timer i.e. > > with queue_work. > > Yes, thanks. While adding cpu-hotplug check I forgot to add ->current_work > check, which is needed to actually implement this

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, John Stoffel wrote: > Christoph> I use a serial console on my x86_84 box. For a while now I > Christoph> can see all output but I cannot type any > Christoph> characters. /dev/console broke? > > I've sorta seen this problem too, but with gdm. If I have my kernel > line

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread Randy Dunlap
John Anthony Kazos Jr. wrote: I think it's like it is just to be consistent with abs() in C, which also contains labs() and llabs(). We actually had labs() before (few months ago), but since it was not used, and if it would it seemed better to just fix abs(), it was removed. So I think this

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Jens Axboe wrote: > I need this patch to actually boot the thing, or it bombs with a NULL > deref in page_cache_size(). Yeah on 32 bit which I disabled > It then boots, doing a little test with 8kb ext2 quickly dies though: > > BUG: unable to handle kernel NULL pointer

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread John Stoffel
Christoph> On Tue, 24 Apr 2007, Andrew Morton wrote: >> > Nothing special apart from >> > the usual problem with serial not accepting characters that we had for >> > awhile now. >> >> I wasn't aware of that one. Christoph> I use a serial console on my x86_84 box. For a while now I Christoph>

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: > SLUB gave me a NULL pointer dereference in slab_alloc(), in the > slab_lock(page) of its "Current cpuslab is acceptable" block: cpu > 1 had been looking at cpu_slab[2], which then went NULL beneath it. > Since new_slab() may reenable interrupts and sleep

Re: [PATCH] Fix chapter reference in CodingStyle

2007-04-25 Thread Randy Dunlap
On Mon, 23 Apr 2007 12:10:22 +0200 Jesper Juhl wrote: > Greetings, > > commit 226a6b84aaaf1fac7a5d41cf4e7387fd9ba895d5 renumbered Chapter 11 in > Documentation/CodingStyle to Chapter 12, but it didn't update the reference > to that chapter further down in the file. This patch corrects the

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread H. Peter Anvin
Andrew Morton wrote: > > This patch causes oopses after a minute or so running LTP's > > ./testcases/bin/growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t > 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ > > on everyone's favoutite Vaio, configured with >

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Antonino A. Daplas
On Wed, 2007-04-25 at 10:33 -0400, Dave Jones wrote: > On Wed, Apr 25, 2007 at 09:52:16PM +0800, Antonino A. Daplas wrote: > > > And have you tried the following settings: > > > FB_BACKLIGHT=y > > > ACPI_IBM=n > > > ACPI_VIDEO=n > BTW, there was one report where resume from RAM resulted in a

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread John Anthony Kazos Jr.
> > > I think it's like it is just to be consistent with abs() in C, > > > which also contains labs() and llabs(). > > > > > We actually had labs() before (few months ago), but since it was not > > used, and if it would it seemed better to just fix abs(), it was > > removed. So I think this

Re: [patch] unprivileged mounts update

2007-04-25 Thread Miklos Szeredi
> From: Miklos Szeredi <[EMAIL PROTECTED]> > > - refine adding "nosuid" and "nodev" flags for unprivileged mounts: > o add "nosuid", only if mounter doesn't have CAP_SETUID capability > o add "nodev", only if mounter doesn't have CAP_MKNOD capability > > - allow unprivileged forced

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Mel Gorman wrote: > HIGHMEM I can understand because I suppose the kmap() issue is still in > there, but why 32 bit? Is this temporary or do you expect to see it > fixed up later? It could be fixed but I only tested with 64 bit. Jens's report shows that my skepticism was

[PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Hugh Dickins
SLUB gave me a NULL pointer dereference in slab_alloc(), in the slab_lock(page) of its "Current cpuslab is acceptable" block: cpu 1 had been looking at cpu_slab[2], which then went NULL beneath it. Since new_slab() may reenable interrupts and sleep (when __GFP_WAIT), we may get rescheduled on a

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-25 Thread Adrian Bunk
On Wed, Apr 25, 2007 at 07:23:50AM +, Pavel Machek wrote: > Hi! > > > This is why there's a lot to be said for > > > > echo mem > /sys/power/state > > > > and being able to follow the path through _one_ object (the kernel) over > > trying to figure out the interaction between many

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread Randy Dunlap
On Fri, 20 Apr 2007 14:44:38 +0200 Richard Knutsson wrote: > Randy Dunlap wrote: > > On Thu, 19 Apr 2007 11:23:39 +0200 Jiri Bohac wrote: > > > > > >> Hi, > >> > >> is there any reason to use an explicit int instead of a typeof in > >> the abs() macro? The current implementation will return

Re: Reasons to merge suspend2.

2007-04-25 Thread John Anthony Kazos Jr.
> I didn't read your whole post, it's way too long, but I would like to see > your patch in mainline as an option to swsusp. What would make this > infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing suspend algorithms like this in the kernel at

Re: + codingstyle-start-flamewar-about-use-of-braces.patch added to -mm tree

2007-04-25 Thread Randy Dunlap
On Fri, 20 Apr 2007 11:02:23 -0700 [EMAIL PROTECTED] wrote: > > The patch titled > CodingStyle: start flamewar about use of braces > has been added to the -mm tree. Its filename is > codingstyle-start-flamewar-about-use-of-braces.patch > > *** Remember to use

Re: [spi-devel-general] adding bits_per_word to struct spi_board_info to mirror struct spi_device

2007-04-25 Thread David Brownell
On Wednesday 25 April 2007, Mike Frysinger wrote: > the spi_device structure has a bits_per_word so that you can change > the value on a per-device setting, yet the spi_board_info structure > does not ... this means that the bus-specific structure has to have a > bits_per_word member which the spi

Re: Advice on debuging the fork syscall hanging forever

2007-04-25 Thread Miguel Freitas
On 4/25/07, Miguel Freitas <[EMAIL PROTECTED]> wrote: hey, could it be that this -513 is actually -ERESTARTNOINTR? if so, that would be a good explanation why it hangs. - copy_process() checks for pending signals, then set retval = -ERESTARTNOINTR and returns. - handle_signal has the

Re: Question about Reiser4

2007-04-25 Thread lkml777
On Wed, 25 Apr 2007 22:49:11 +0800, "Jeff Chua" <[EMAIL PROTECTED]> said: > Will you be releasing a patch for 2.6.21-rc7 for those who are keen to > test it? The latest version I can find is reiser4-for-2.6.19-3.patch.gz. > > Reiser4 has great potential and I'll be more than happy to test it. >

Re: + handle-kernelcore=-boot-parameter-in-common-code-to-avoid-boot-problem-on-ia64.patch added to -mm tree

2007-04-25 Thread Randy Dunlap
On Tue, 24 Apr 2007 14:04:28 -0700 [EMAIL PROTECTED] wrote: > > The patch titled > Handle kernelcore= boot parameter in common code to avoid boot problem > on IA64 > has been added to the -mm tree. Its filename is > >

Re: Question about Reiser4

2007-04-25 Thread Edward Shishkin
[EMAIL PROTECTED] wrote: As I understand it, the default Reiser4 DOES NOT USE any compression at all, not even tail compression, ^tail compression^tail conversion Reiser4 does use tail conversion by default. but saves space by eliminating block alignment wastage (tail compression is an

Re: preempt_rt bug or warn on arm v4t

2007-04-25 Thread Manfred Gruber
Hi ! Gerrit Binnenmars pointed out that others have the same problem: http://linux.omap.com/pipermail/linux-omap-open-source/2007-April/009535.html: http://article.gmane.org/gmane.linux.distributions.gumstix.general/21376/match=gumstix+realtime+bug+sched+c Jan Altenberg showed me that in

Re: [PATCH 0/15] CFQ IO scheduler patch series

2007-04-25 Thread Alan D. Brunelle
Using the patches posted yesterday (http://marc.info/?l=linux-kernel=117740312628325=2) here are some quick read results (as measured by iostat over a 5 minute period, taken in 6 second intervals) on a 4-way IA64 box with 42 disks (24 FC and 18 U320), 42 processes (1 per disk) with 256 AIOs

2.6.21-rc7-mm1: Oops and Gnome desktop freezes

2007-04-25 Thread Antonino A. Daplas
The Gnome desktop does not finish launching. And I get this tracing, all coming from Gnome apps. Tony BUG: unable to handle kernel paging request at virtual address c0a74000 printing eip: c014c469 *pde = 005f3027 *pte = Oops: 0002 [#1] Modules linked in: xt_pkttype xt_tcpudp ipt_LOG

Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- INFO: possible recursive locking detected

2007-04-25 Thread Antonino A. Daplas
On Wed, 2007-04-25 at 14:18 +0900, Tejun Heo wrote: > Miles Lane wrote: > > [ 59.677312] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state > > recovery directory > > [ 59.688633] NFSD: starting 90-second grace period > > [ 60.221454] > > [ 60.221456]

Re: Question about Reiser4

2007-04-25 Thread Jeff Chua
On 4/25/07, Edward Shishkin <[EMAIL PROTECTED]> wrote: Hope we survive this, at least such peaks is not something new in our practice. Well, gentlemen, so we'll address other items (except #26, 27) and resume this discussion. Will you be releasing a patch for 2.6.21-rc7 for those who are keen

Re: Advice on debuging the fork syscall hanging forever

2007-04-25 Thread Miguel Freitas
On 4/25/07, Miguel Freitas <[EMAIL PROTECTED]> wrote: (...) 0x2b2e77d6d5b6 : mov$0x38,%eax 0x2b2e77d6d5bb : syscall 0x2b2e77d6d5bd : cmp$0xf000,%rax (...) (gdb) info reg rax0xfdff -513 hey, could it be that this -513 is

Re: Question about Reiser4

2007-04-25 Thread lkml777
On Tue, 24 Apr 2007 23:39:36 -0700, "Eric M. Hopper" <[EMAIL PROTECTED]> said: > On Tue, 2007-04-24 at 17:12 -0700, [EMAIL PROTECTED] wrote: > > On Sun, 22 Apr 2007 19:00:46 -0700, "Eric Hopper" > > > <[EMAIL PROTECTED]> said: > > > > > I did. That whole thread is some guy spouting off a

[PATCH] use mutex instead of semaphore for misc char devices

2007-04-25 Thread Matthias Kaehlcke
the misc character device driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 7e975f6..afd7cf5 100644 --- a/drivers/char/misc.c +++

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Dave Jones
On Wed, Apr 25, 2007 at 09:52:16PM +0800, Antonino A. Daplas wrote: > > This is really weird, as CONFIG_FB_BACKLIGHT just selects > > BACKLIGHT_CLASS and LCD_CLASS, and adds an entry (bl_curve) > > under /sys/class/backlight/*/. Yeah, it's puzzling to me too. > > ACPI_IBM which is set

Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Michael Tokarev
Sunil Naidu wrote: > Hello, > > I was trying to compile those kernels with make menuconfig. I am > getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the > output: > > [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig Don't compile kernel as root. > HOSTCC

Re: Question about Reiser4

2007-04-25 Thread Edward Shishkin
Andi Kleen wrote: Because there are unaddressed items in this todo list: http://pub.namesys.com/Reiser4/ToDo The main issues here are xattrs and support for blocksize != pagesize. I would consider both to be optional. We have various file systems in tree that don't support either (e.g.

Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Dan Kruchinin
On 4/25/07, Sunil Naidu <[EMAIL PROTECTED]> wrote: Hello, Hi I was trying to compile those kernels with make menuconfig. I am getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the output: [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig HOSTCC

RE: 2.6.20.7 mss negotiation and path mtu discovery mostly broken?

2007-04-25 Thread Ristuccia, Brian
> > 08:39:55.493029 IP 12.33.234.69.35026 > 10.2.10.254.22: S > > 2768979373:2768979373( > > 0) win 5840 > > 08:39:55.493119 IP 10.2.10.254.22 > 12.33.234.69.35026: S > > 963242385:963242385(0) > > ack 2768979374 win 17896 > The MSS clamp for sending to 10.2.10.254.22 is 8960. MSS is > only

menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Sunil Naidu
Hello, I was trying to compile those kernels with make menuconfig. I am getting the error in scripts/kconfig/lxdialog/checklist.o. Here is the output: [EMAIL PROTECTED] linux-2.6.20.7]$ sudo make menuconfig HOSTCC scripts/kconfig/lxdialog/checklist.o In file included from

Advice on debuging the fork syscall hanging forever

2007-04-25 Thread Miguel Freitas
hi, making a long story short: i'm trying to debug a problem with the fork syscall as called from glibc's popen() function. it seems that a given process (in case Xorg) get stuck inside a syscall that never returns. while stuck it keeps using 100% of cpu. I can confirm the problem with kernel

Re: drivers/video/output.c

2007-04-25 Thread Luming Yu
The user of output sysfs class is coming.. Please check out the acpi video_output patch I just sent to acpi mailing list. I can't post link here, just because It is not in archive of the ml yet.. On 4/18/07, Brown, Len <[EMAIL PROTECTED]> wrote: >Asides from git-bisect failing me again[1], what

Re: 2.6.20.7 mss negotiation and path mtu discovery mostly broken?

2007-04-25 Thread Andi Kleen
"Ristuccia, Brian" <[EMAIL PROTECTED]> writes: > I'm seeing a problem where the kernel attempts to send packets with a > MSS larger than the one negotiated when the TCP connection is > established. Even after ICMP "can't fragment" messages arrive, the > kernel still attempts to increase the MSS

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Jeremy Fitzhardinge
Dave Jones wrote: > I think this was due to Jeremy not having CONFIG_FB_BACKLIGHT=y in his config. > No, I enabled it and it still works. J - 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] drivers/net: move the nvidia forcedeth driver from 100M group to 1000M group

2007-04-25 Thread Lennart Sorensen
On Wed, Apr 25, 2007 at 01:30:04PM +0800, Peer Chen wrote: > nForce ehternet is a Gigabit NIC not 100M, move it to 1000M group to > avoid the confusion. The forcedeth on my nforce2 board is 100Mbit. I think the driver handles both 100Mbit and GBit type devices. Makes for an interesting

Re: [PATCH] use mutex instead of semaphore in RocketPort driver v2

2007-04-25 Thread Matthias Kaehlcke
El Wed, Apr 25, 2007 at 03:54:36PM +0200 Jiri Slaby ha dit: > Matthias Kaehlcke napsal(a): > > the RocketPort driver uses a semaphore as mutex. use the mutex API > > instead of the (binary) semaphore > > > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > > > > I think that ERESTARTSYS

Re: [PATCH] use mutex instead of semaphore in RocketPort driver v2

2007-04-25 Thread Jiri Slaby
Matthias Kaehlcke napsal(a): > the RocketPort driver uses a semaphore as mutex. use the mutex API > instead of the (binary) semaphore > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > > -- > > diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c > index 76357c8..7d23790 100644 >

Re: [OOPS] 2.6.21-rc6-git5 in cfq_dispatch_insert

2007-04-25 Thread Roland Kuhn
Hi Jens! On 25 Apr 2007, at 12:18, Jens Axboe wrote: On Wed, Apr 25 2007, Brad Campbell wrote: Jens Axboe wrote: It looks to be extremely rare. Aliases are extremely rare, front merges are rare. And you need both to happen with the details you outlined. But it's a large user base, and

Re: [PATCH] use mutex instead of semaphore in RocketPort driver v2

2007-04-25 Thread Jiri Slaby
Matthias Kaehlcke napsal(a): > the RocketPort driver uses a semaphore as mutex. use the mutex API > instead of the (binary) semaphore > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > > -- > > diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c > index 76357c8..7d23790 100644 >

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Antonino A. Daplas
Forgot to add Richard, sorry for the double post. On Wed, 2007-04-25 at 21:50 +0800, Antonino A. Daplas wrote: > On Wed, 2007-04-25 at 09:01 -0400, Dave Jones wrote: > > On Wed, Apr 25, 2007 at 01:31:02PM +0200, Adrian Bunk wrote: > > > On Wed, Apr 25, 2007 at 04:06:05AM -0700, Andrew Morton

[PATCH] use mutex instead of semaphore in hdaps driver

2007-04-25 Thread Matthias Kaehlcke
the hdaps driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index bf759ea..f8e4952 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Antonino A. Daplas
On Wed, 2007-04-25 at 09:01 -0400, Dave Jones wrote: > On Wed, Apr 25, 2007 at 01:31:02PM +0200, Adrian Bunk wrote: > > On Wed, Apr 25, 2007 at 04:06:05AM -0700, Andrew Morton wrote: > > > On Mon, 23 Apr 2007 23:49:09 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: > > >... > > > > Subject:

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