Re: [patch 0/9] compat_ioctl: introduce block/compat_ioctl.c

2007-10-08 Thread David Miller
From: Al Viro [EMAIL PROTECTED] Date: Mon, 8 Oct 2007 06:12:18 +0100 On Sat, Oct 06, 2007 at 08:19:02PM +0200, Arnd Bergmann wrote: This is my block ioctl series split up into managable chunks. I'm not really sure about the last two of these, I'd prefer to get a second opinion on those.

Re: [git patches] net driver updates

2007-10-08 Thread David Miller
From: Jeff Garzik [EMAIL PROTECTED] Date: Fri, 5 Oct 2007 14:20:08 -0400 Please pull from 'upstream-davem' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-davem Pulled, and pushed back out to net-2.6.24, thanks Jeff. - To unsubscribe from this list:

Re: [NET] IPv6 oops bisected

2007-10-08 Thread David Miller
From: Jeff Garzik [EMAIL PROTECTED] Date: Sun, 07 Oct 2007 10:56:07 -0400 /etc/sysconfig/network-scripts/network-functions-ipv6: line 246: 1760 Killed LC_ALL=C /sbin/ip $options NULL pointer dereference at 0x03f8 backtrace: :ipv6:ip6_route_add+0x1b1/0x543 'dev' can be NULL

Re: [NET] IPv6 oops bisected

2007-10-08 Thread Herbert Xu
On Sun, Oct 07, 2007 at 11:16:08PM -0700, David Miller wrote: diff --git a/net/ipv6/route.c b/net/ipv6/route.c index a7db84c..7109ad6 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1188,7 +1188,7 @@ int ip6_route_add(struct fib6_config *cfg) if ((cfg-fc_flags RTF_REJECT) ||

Re: [NET] IPv6 oops bisected

2007-10-08 Thread David Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Mon, 8 Oct 2007 14:19:42 +0800 On Sun, Oct 07, 2007 at 11:16:08PM -0700, David Miller wrote: diff --git a/net/ipv6/route.c b/net/ipv6/route.c index a7db84c..7109ad6 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1188,7 +1188,7 @@ int

Re: [NET] IPv6 oops bisected

2007-10-08 Thread Denis V. Lunev
David Miller wrote: From: Herbert Xu [EMAIL PROTECTED] Date: Mon, 8 Oct 2007 14:19:42 +0800 On Sun, Oct 07, 2007 at 11:16:08PM -0700, David Miller wrote: diff --git a/net/ipv6/route.c b/net/ipv6/route.c index a7db84c..7109ad6 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@

Re: [ofa-general] Updated InfiniBand/RDMA merge plans for 2.6.24

2007-10-08 Thread Jack Morgenstein
On Saturday 06 October 2007 01:18, Roland Dreier wrote:  - XRC.  Given the length of the backlog above and the fact that a    first draft of this code has not been posted yet, I don't see any    way that we could have something this major ready in time. I posted the first draft patch set to

[PATCHv2 1/9] compat_ioctl: move common block ioctls to compat_blkdev_ioctl

2007-10-08 Thread Arnd Bergmann
Make compat_blkdev_ioctl and blkdev_ioctl reflect the respective native versions. This is somewhat more efficient and makes it easier to keep the two in sync. Also get rid of the bogus handling for broken_blkgetsize and the duplicate entry for BLKRASET. Signed-off-by: Arnd Bergmann [EMAIL

Re: 2.6.23-rc8-mm2

2007-10-08 Thread Dave Young
On 9/29/07, Greg KH [EMAIL PROTECTED] wrote: On Sat, Sep 29, 2007 at 05:37:29PM +0800, Dave Young wrote: Hi, The kernel report warnings about sysfs filename duplicate under rc8-mm1 and rc8-mm2. 1. cut NET: Registered protocol family 16 ACPI: bus type pci registered PCI:

Re: [NET] IPv6 oops bisected

2007-10-08 Thread David Miller
From: Denis V. Lunev [EMAIL PROTECTED] Date: Mon, 08 Oct 2007 10:34:23 +0400 OK. I am installing Fedora 7 right now... You don't need to install Fedora, just read the code! :-) The bug is obvious and it's been explained thoroughly in this thread. When 'dev' is NULL in ip6_route_add() we need

[PATCH] param_sysfs_builtin memchr argument fix

2007-10-08 Thread Dave Young
If memchr argument is longer than strlen(kp-name), there will be some weird result. Signed-off-by: Dave Young [EMAIL PROTECTED] --- params.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -upr linux/kernel/params.c linux.new/kernel/params.c --- linux/kernel/params.c

[patch] fs: restore nobh

2007-10-08 Thread Nick Piggin
Hi, This is overdue, sorry. Got a little complicated, and I've been away from my filesystem test setup so I didn't want ot send it (lucky, coz I found a bug after more substantial testing). Anyway, RFC? --- Implement nobh in new aops. This is a bit tricky. FWIW, nobh_truncate is now implemented

Re: [NET] IPv6 oops bisected

2007-10-08 Thread Denis V. Lunev
David Miller wrote: From: Denis V. Lunev [EMAIL PROTECTED] Date: Mon, 08 Oct 2007 10:34:23 +0400 OK. I am installing Fedora 7 right now... You don't need to install Fedora, just read the code! :-) The bug is obvious and it's been explained thoroughly in this thread. When 'dev' is

Re: [PATCH] net/core: split dev_ifsioc() according to locking

2007-10-08 Thread David Miller
From: Arnd Bergmann [EMAIL PROTECTED] Date: Sun, 7 Oct 2007 02:17:08 +0200 On Saturday 06 October 2007, Jeff Garzik wrote: This always bugged me:  dev_ioctl() called dev_ifsioc() either inside read_lock(dev_base_lock) or rtnl_lock(), depending on the ioctl being executed. This

Re: [PATCH] param_sysfs_builtin memchr argument fix

2007-10-08 Thread WANG Cong
On Mon, Oct 08, 2007 at 02:50:10PM +0800, Dave Young wrote: If memchr argument is longer than strlen(kp-name), there will be some weird result. Signed-off-by: Dave Young [EMAIL PROTECTED] --- params.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) Hmm, you used diffstat

Re: [PATCH] param_sysfs_builtin memchr argument fix

2007-10-08 Thread Dave Young
Hi, Thanks for comment. fixed. Regards dave - If memchr argument is longer than strlen(kp-name), there will be some weird result. Signed-off-by: Dave Young [EMAIL PROTECTED] --- kernel/params.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff -upr linux/kernel/params.c

irqbalance considered obsolete by powertop

2007-10-08 Thread Pavel Machek
Hi! Powertop tells me that irqbalance is obsolete/burns too much power, while it is default Y and its help test does not provide any clues: Enable kernel irq balancing (IRQBALANCE) [Y/n/?] (NEW) ? The default yes will allow the kernel to do irq load balancing. Saying no will keep the kernel

[PATCH] libertas link error due to gcc `smartness'

2007-10-08 Thread Geert Uytterhoeven
Some versions of gcc replace strstr() calls with a single-character `needle' parameter by strchr() behind our back. This causes a link error if strchr() is defined as an inline function in asm/string.h (e.g. on m68k): | drivers/built-in.o: In function `libertas_parse_chan': |

Re: cx88 pci_abort messages

2007-10-08 Thread Gerd Hoffmann
Scott wrote: On Sat, 2007-10-06 at 12:48 -0600, Robert Hancock wrote: Oct 2 21:59:32 htpc cx88[0]: irq mpeg [0x8] pci_abort* Oct 2 21:59:32 htpc cx88[0]/2-mpeg: general errors: 0x0008000 I assumed it was an interrupt issue based on the 'irq mepg' error, not a DMA issue. It's a DMA

[PATCH] Typo: depricated - deprecated

2007-10-08 Thread Rolf Eike Beer
Typo: depricated - deprecated Signed-off-by: Rolf Eike Beer [EMAIL PROTECTED] --- commit b7ec07d26c9fd915fd32b759aa05a1ead8c432f5 tree 6f6dafac4072fddd670a97f68cbd64bf505d0408 parent 43dcafe3f7bfc07bdaf55d353fd4c5112c5f2be6 author Rolf Eike Beer [EMAIL PROTECTED] Sun, 07 Oct 2007 10:29:39 +0200

Re: video resume stuff

2007-10-08 Thread Jiri Kosina
On Fri, 5 Oct 2007, H. Peter Anvin wrote: bootparams.bin can be found at http://www.jikos.cz/jikos/junk/bootparams.bin Looks like this bootparams image was obtained without removing __initdata, so it's unusable. Sorry. Oops, sorry. I have just put the new dump

Re: [NFS] What's slated for inclusion in 2.6.24-rc1 from the NFS client git tree...

2007-10-08 Thread Greg Banks
On Fri, Oct 05, 2007 at 02:00:37PM -0400, Jeff Layton wrote: On Fri, 05 Oct 2007 13:30:10 -0400 [EMAIL PROTECTED] wrote: How does Joe Sysadmin tell if he has an affected legacy app or not? (The obvious try it and see what breaks is a non-starter for many places, because you too easily

Re: [PATCH] Use task_pid_nr() instead of pid_nr(task_pid())

2007-10-08 Thread Pavel Emelyanov
Andrew Morton wrote: On Wed, 03 Oct 2007 18:26:06 +0400 Pavel Emelyanov [EMAIL PROTECTED] wrote: There are two places that do so - the cgroups subsystem and the autofs code. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- diff --git a/fs/autofs/root.c b/fs/autofs/root.c index

compilation warning with rc9

2007-10-08 Thread Oliver Neukum
Hi, I am getting this warning compiling rc9: CC [M] drivers/isdn/i4l/isdn_common.o drivers/isdn/i4l/isdn_common.c: In function ‘isdn_write’: drivers/isdn/i4l/isdn_common.c:990: warning: array subscript is above array bounds drivers/isdn/i4l/isdn_common.c: In function ‘isdn_read’:

Re: One process with multiple user ids.

2007-10-08 Thread Helge Hafting
Giuliano Gagliardi wrote: On Tuesday 02 October 2007, Jan Engelhardt wrote: On Oct 2 2007 12:56, Giuliano Gagliardi wrote: I have a server that has to switch to different user ids, but because it does other complex things, I would rather not have it run as root. I only need the server

nozomi: ERESTARTSYS to userspace?

2007-10-08 Thread Jiri Slaby
Hi, static int ntty_write(struct tty_struct *tty, const unsigned char *buffer, int count) { int rval = -EINVAL; struct nozomi *dc = get_dc_by_tty(tty); struct port *port = (struct port *)tty-driver_data; unsigned long flags; /* DBG1(

Re: Serial ATA does not find partitions (Hitachi HD, new? ATI controller) where old SATA works

2007-10-08 Thread Hernan G Solari
Right, sorry about the confusion. I think the screen capture would be useful to ACPI developers. Thanks. In any case, I appreciate your williness to help, plus I learned things I would have not learned otherwise, many thanks to you Hernan -- Hernán Gustavo Solari, [EMAIL PROTECTED],

[PATCH] Fix data access out of array bounds

2007-10-08 Thread Karsten Keil
Fix against access random data bytes outside the dev-chanmap array. Thanks to Oliver Neukum for pointing me to this issue. Patch is against 2.6.23-rc9-git6 Signed-off-by: Karsten Keil [EMAIL PROTECTED] --- drivers/isdn/i4l/isdn_common.c |5 +++-- 1 files changed, 3 insertions(+), 2

[PATCH] virtualization of sysv msg queues is incomplete

2007-10-08 Thread Kirill Korotaev
Virtualization of sysv msg queues is incomplete: msg_hdrs and msg_bytes variables visible from userspace are global. Let's make them per-namespace. Signed-Off-By: Alexey Kuznetsov [EMAIL PROTECTED] Signed-Off-By: Kirill Korotaev [EMAIL PROTECTED] --- include/linux/ipc.h |2 ++ ipc/msg.c

Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland

2007-10-08 Thread Pekka Enberg
Hi Ryan, On 10/8/07, Ryan Finnie [EMAIL PROTECTED] wrote: Doesn't appear to be enough. I can't figure out why (since it appears write_cache_pages bubbles up directly to sys_msync), but with that patch applied, in my test case[1], msync returns -1 EIO. However, with the exact same kernel

Re: [PATCH] [1/6] scheduler: Remove some unnecessary gotos in sched.c

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: No need to be more spagetti than absolutely necessary. Replace loops implemented with gotos with real loops. Replace err = ...; goto x; x: return err; with return ...; No functional changes. thanks, applied. Ingo - To unsubscribe from this

Re: [PATCH] [2/6] scheduler: Refactor common code of sleep_on / wait_for_completion v2

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Andi Kleen [EMAIL PROTECTED] writes: These functions were largely cut'n'pasted. This moves Here's a replacement patch fixing a minor problem: sleep_on_common wasn't marked __sched and ended up in the wrong section; breaking the WCHAN backtracing.

Re: [PATCH] [3/6] scheduler: Do devirtualization for sched_fair

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Some CPUs like K8 cannot predict indirect calls. A common optimization in object oriented languages is to check for the most common call target and then call it directly; otherwise do an indirect call. This patch does this manually for sched_fair

Re: cx88 pci_abort messages

2007-10-08 Thread Scott
On Oct 8, 2007, at 3:44 AM, Gerd Hoffmann wrote: Scott wrote: On Sat, 2007-10-06 at 12:48 -0600, Robert Hancock wrote: Oct 2 21:59:32 htpc cx88[0]: irq mpeg [0x8] pci_abort* Oct 2 21:59:32 htpc cx88[0]/2-mpeg: general errors: 0x0008000 I assumed it was an interrupt issue based on

Re: [PATCH] [4/6] scheduler: Refactor normalize_rt_tasks

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Replace a particularly ugly ifdef with an inline and a new macro. Also split up the function to be easier readable. thanks, applied. Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

[PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Yan Zheng
Hi all The test for VM_CAN_NONLINEAR always fails Signed-off-by: Yan Zheng[EMAIL PROTECTED] diff -ur linux-2.6.23-rc9/mm/fremap.c linux/mm/fremap.c --- linux-2.6.23-rc9/mm/fremap.c2007-10-07 15:03:33.0 +0800 +++ linux/mm/fremap.c 2007-10-08 19:33:44.0 +0800 @@

Re: [PATCH] [5/6] scheduler: Protect important kernel threads against normalize_rt

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Not only the migration thread, but also softlockup and stop machine need to be protected against normalize_rt(). Instead of checking for them all I added a new process flag for this. hm, i dont really like this. The migration thread is an absolute

Re: [PATCH] [6/6] scheduler: Remove bogus comment in sched_group_set_shares

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Function never returns -EINVAL. thanks, applied. Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread WANG Cong
On Mon, Oct 08, 2007 at 07:45:08PM +0800, Yan Zheng wrote: Hi all The test for VM_CAN_NONLINEAR always fails Signed-off-by: Yan Zheng[EMAIL PROTECTED] diff -ur linux-2.6.23-rc9/mm/fremap.c linux/mm/fremap.c --- linux-2.6.23-rc9/mm/fremap.c 2007-10-07 15:03:33.0 +0800 +++

Re: nozomi: ERESTARTSYS to userspace?

2007-10-08 Thread Alan Cox
if (unlikely(down_trylock(port-tty_sem))) { /* * must test lock as tty layer wraps calls * to this function with BKL */ dev_err(dc-pdev-dev, Would have deadlocked - return

Re: [PATCH] [2/6] scheduler: Refactor common code of sleep_on / wait_for_completion v2

2007-10-08 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: * Andi Kleen [EMAIL PROTECTED] wrote: Andi Kleen [EMAIL PROTECTED] writes: These functions were largely cut'n'pasted. This moves Here's a replacement patch fixing a minor problem: sleep_on_common wasn't marked __sched and ended up in the

[PATCH 1/3] V4L: w9968cf, remove bad usage of ERESTARTSYS

2007-10-08 Thread Jiri Slaby
w9968cf, remove bad usage of ERESTARTSYS down_read_trylock can't be interrupted and so ERESTARTSYS would reach userspace, which is not permitted. Change it to EAGAIN Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit db38c559d37219c32b179ae005ca7e489336ec94 tree

Re: [PATCH] [5/6] scheduler: Protect important kernel threads against normalize_rt

2007-10-08 Thread Andi Kleen
On Monday 08 October 2007 13:51:42 Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: Not only the migration thread, but also softlockup and stop machine need to be protected against normalize_rt(). Instead of checking for them all I added a new process flag for this. hm, i

Re: [PATCH] [3/6] scheduler: Do devirtualization for sched_fair

2007-10-08 Thread Andi Kleen
hm, i'm not convinced about this one. It increases the code size a bit Tiny bit (200 bytes) and the wait_for/sleep_on refactor patch in the series saves over 1K so I should have some room for code size increase. Overall it will be still considerable smaller. and it's a sched.c local hack. If

[PATCH 2/3] V4L: zc0301, remove bad usage of ERESTARTSYS

2007-10-08 Thread Jiri Slaby
zc0301, remove bad usage of ERESTARTSYS down_read_trylock can't be interrupted and so ERESTARTSYS would reach userspace, which is not permitted. Change it to EAGAIN Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 235cf594bc65128250632a642f3e9d7e4df4975e tree

[PATCH 3/3] V4L: cinergyT2, remove bad usage of ERESTARTSYS

2007-10-08 Thread Jiri Slaby
cinergyT2, remove bad usage of ERESTARTSYS test of cinergyt2-disconnect_pending doesn't ensure pending signal and so ERESTARTSYS would reach userspace, which is not permitted. Change it to EAGAIN Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit b227f5517ddd99f581a9d241c8ba9c50c50fbc3e

[PATCH 1/1] V4L: rocket, switch sleep_on to completion

2007-10-08 Thread Jiri Slaby
rocket, switch sleep_on to completion - sleep_on is deprecated and racy, use completion instead - also check retval of interruptible function and return ERESTARTSYS eventually Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 6e42c2183befe136d85e6a8708ee4eabc543774b tree

I/O report detailed meanings

2007-10-08 Thread Bo Yang
Hi, I hope this message is going into the right newsgroup. If it is not, please tell me, thanks. I have get a recent report from my machine and there is something I do not understand. Please take a look at the result first: tps rd_sec/s wr_sec/savgrq-sz avgqu-sz await svctm

Re: [PATCH] [3/6] scheduler: Do devirtualization for sched_fair

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: hm, i'm not convinced about this one. It increases the code size a bit Tiny bit (200 bytes) and the wait_for/sleep_on refactor patch in the series saves over 1K so I should have some room for code size increase. Overall it will be still

Re: [PATCH 2/2] ext2: Avoid rec_len overflow with 64KB block size

2007-10-08 Thread Jan Kara
On Thu 04-10-07 13:12:07, Andrew Morton wrote: On Mon, 01 Oct 2007 17:35:46 -0700 Mingming Cao [EMAIL PROTECTED] wrote: ext2: Avoid rec_len overflow with 64KB block size From: Jan Kara [EMAIL PROTECTED] With 64KB blocksize, a directory entry can have size 64KB which does not fit

Re: [PATCH 1/1] V4L: rocket, switch sleep_on to completion

2007-10-08 Thread Jiri Slaby
On 10/08/2007 02:35 PM, Jiri Slaby wrote: rocket, switch sleep_on to completion Blah, wrong patch, ignore it... - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] [5/6] scheduler: Protect important kernel threads against normalize_rt

2007-10-08 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: softlockup is the same. Just think about it. If you ever renormalize it and then run a fifo thread it will starve and then eventually kill the box. And starving CPU unplug is also equally bad. yeah, agreed. I ended up doing the change below.

PROBLEM: kernel 2.6.22.9-cfs-v22 compile warnings

2007-10-08 Thread Konstantin Oshovskij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, i have encountered 2.6.22.9 compile warnings. This is the first time i decided to report them. I had various compile warnings with earlier kernel versions, its just i didnt had courage to report them :) I'm using instructions from

[PATCH 1/1 try 2] V4L: rocket, switch sleep_on to completion

2007-10-08 Thread Jiri Slaby
rocket, switch sleep_on to completion - sleep_on is deprecated and racy, use completion instead - also check retval of interruptible function and return ERESTARTSYS eventually Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit db2ca3cf492a6a8a4578e6adb869e1a20558b84e tree

Re: Crash on 2.6.21.7 Vanilla + DRBD 0.7

2007-10-08 Thread Laurent CARON
David Chinner wrote: Can you turn on slab debug and poisoning and see where the kernel fails with that? e.g. set: CONFIG_DEBUG_SLAB=y CONFIG_DEBUG_SLAB_LEAK=y I was a little worried about letting those servers in such a bad state, and went the easy way. I did upgrade from drbd 0.7.X to

Re: [PATCH] libertas link error due to gcc `smartness'

2007-10-08 Thread Dan Williams
On Mon, 2007-10-08 at 09:43 +0200, Geert Uytterhoeven wrote: Some versions of gcc replace strstr() calls with a single-character `needle' parameter by strchr() behind our back. This causes a link error if strchr() is defined as an inline function in asm/string.h (e.g. on m68k): |

2.6.23 regression: do_nanosleep will not return

2007-10-08 Thread Bernd Schubert
Hi, we have a system here were e.g. sleep 1 will never finish. This is an issue of 2.6.23, on all older kernel versions it did work fine. Seems to hang in do_nanosleep() [ 153.775792] sleep S 0 5372 5341 [ 153.782385] 81007f0a9ea8

Re: Strange network related data corruption

2007-10-08 Thread Denys Vlasenko
On Sunday 07 October 2007 17:47, Malte Schröder wrote: Hello, I am encountering some strange data corruption when transferring data from one of my PCs that I use as a file-server. on the server: FILE=large file; | cut -d -f1 | nc -lp5000 -q0; while nc -lp5000 -q0 $FILE; do : ; done $

Re: [PATCH] [5/6] scheduler: Protect important kernel threads against normalize_rt

2007-10-08 Thread Andi Kleen
On Monday 08 October 2007 14:43:50 Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: softlockup is the same. Just think about it. If you ever renormalize it and then run a fifo thread it will starve and then eventually kill the box. And starving CPU unplug is also

Re: 2.6.23 regression: do_nanosleep will not return

2007-10-08 Thread Bernd Schubert
Bernd Schubert wrote: Hi, we have a system here were e.g. sleep 1 will never finish. This is an issue of 2.6.23, on all older kernel versions it did work fine. Seems to hang in do_nanosleep() Update: Enabling hpet in the bios and setting clocksource=hpet as command line parameter will

Re: [PATCH 1/2] Colored kernel output (run2)

2007-10-08 Thread Denys Vlasenko
On Saturday 06 October 2007 20:13, Jan Engelhardt wrote: Colored kernel message output (1/2) This patch makes it possible to give kernel messages a selectable color. It can be chosen at compile time, overridden at boot time, and changed at run time. IMHO: useless bloat. And yes, I've read

Re: 2.6.23-rc9-rt2

2007-10-08 Thread Steven Rostedt
-- On Sun, 7 Oct 2007, Jaswinder Singh wrote: Do you have any plans to support nested or reentrant Interrupt Handling schemes. Hi Jaswinder, Not sure what you mean by this, since interrupt handlers are run as threads and are fully preemptible. -- Steve - To unsubscribe from this list:

[PATCH] i386: some MCE cleanups

2007-10-08 Thread Joerg Roedel
MCG_CAP never reports a negative count of available error-reporting banks. Make it unsigned. Check for MCA/MCE feature bits as early as possible. While here, do an indent cleanup. Signed-off-by: Christoph Egger [EMAIL PROTECTED] Signed-off-by: Joerg Roedel [EMAIL PROTECTED] ---

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-08 Thread veerasena reddy
Ralf, thanks for the detailed information. Anyway, it would be much easier to help you if we knew what you are trying to achieve with these functions. Basically our target has a MIPS24KE host processor on which Linux runs and a networking processor (NP) which sits between the EMAC contoller

[PATCH] ehea: use kernel event queue

2007-10-08 Thread Jan-Bernd Themann
eHEA recovery and DLPAR functions are called seldomly. The eHEA workqueues are replaced by the kernel event queue. Signed-off-by: Jan-Bernd Themann [EMAIL PROTECTED] --- The patch has been built against upstream git drivers/net/ehea/ehea.h |3 +-- drivers/net/ehea/ehea_main.c | 28

Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console

2007-10-08 Thread Steven Rostedt
-- On Fri, 5 Oct 2007, Thomas Gleixner wrote: On Fri, 5 Oct 2007, Gregory Haskins wrote: This series may help debugging certain circumstances where the serial console is unreponsive (e.g. RT51+ spinner, or scheduler problem). It changes the serial8250 driver to use IRQF_NODELAY so

Re: [PATCH] i386: some MCE cleanups

2007-10-08 Thread Andi Kleen
Joerg Roedel [EMAIL PROTECTED] writes: MCG_CAP never reports a negative count of available error-reporting banks. Make it unsigned. Check for MCA/MCE feature bits as early as possible. While here, do an indent cleanup. Never mix style cleanups with other changes. It makes it near impossible

Re: irqbalance considered obsolete by powertop

2007-10-08 Thread Arjan van de Ven
On Mon, 8 Oct 2007 09:25:55 +0200 Pavel Machek [EMAIL PROTECTED] wrote: Hi! Powertop tells me that irqbalance is obsolete/burns too much power, while it is default Y and its help test does not provide any clues: it is obsoleted.. (by the userspace balancer) Enable kernel irq balancing

parallel networking (was Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock)

2007-10-08 Thread Jeff Garzik
jamal wrote: On Sun, 2007-07-10 at 21:51 -0700, David Miller wrote: For these high performance 10Gbit cards it's a load balancing function, really, as all of the transmit queues go out to the same physical port so you could: 1) Load balance on CPU number. 2) Load balance on flow 3) Load

Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console

2007-10-08 Thread Gregory Haskins
On Mon, 2007-10-08 at 10:10 -0400, Steven Rostedt wrote: This issue has hit me enough times where I've played with a few other ideas. I just haven't had the time to finish them. The main problem is if the system locks up somewhere we have a lock held that keeps us from scheduling. Once that

Re: 2.6.23 regression: do_nanosleep will not return

2007-10-08 Thread Rik van Riel
On Mon, 08 Oct 2007 15:20:26 +0200 Bernd Schubert [EMAIL PROTECTED] wrote: Bernd Schubert wrote: we have a system here were e.g. sleep 1 will never finish. This is an issue of 2.6.23, on all older kernel versions it did work fine. Seems to hang in do_nanosleep() Update: Enabling

Re: [PATCH] [3/6] scheduler: Do devirtualization for sched_fair

2007-10-08 Thread Andi Kleen
On Monday 08 October 2007 14:39:33 Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: hm, i'm not convinced about this one. It increases the code size a bit Tiny bit (200 bytes) and the wait_for/sleep_on refactor patch in the series saves over 1K so I should have some

Re: 2.6.23-rc9-rt2

2007-10-08 Thread Jaswinder Singh
Hi Steve, On 10/8/07, Steven Rostedt [EMAIL PROTECTED] wrote: -- On Sun, 7 Oct 2007, Jaswinder Singh wrote: Do you have any plans to support nested or reentrant Interrupt Handling schemes. Hi Jaswinder, Not sure what you mean by this, since interrupt handlers are run as threads

Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console

2007-10-08 Thread Steven Rostedt
-- On Mon, 8 Oct 2007, Gregory Haskins wrote: Hi Steve, What you describe is exactly what I did. The IRQF_NODELAY handler just minimally checks to see if the character is a sysrq related one (or KDB, if you have the KDB patches applied). If it is not, it puts the character into a

Re: [ofa-general] Updated InfiniBand/RDMA merge plans for 2.6.24

2007-10-08 Thread Roland Dreier
 - XRC.  Given the length of the backlog above and the fact that a    first draft of this code has not been posted yet, I don't see any    way that we could have something this major ready in time. I posted the first draft patch set to the OpenFabrics list on September 18: Sorry, I

Re: 2.6.23 regression: do_nanosleep will not return

2007-10-08 Thread Bernd Schubert
On Monday 08 October 2007 16:32:52 Rik van Riel wrote: On Mon, 08 Oct 2007 15:20:26 +0200 Bernd Schubert [EMAIL PROTECTED] wrote: Bernd Schubert wrote: we have a system here were e.g. sleep 1 will never finish. This is an issue of 2.6.23, on all older kernel versions it did work

Re: 2.6.23-rc9-rt2

2007-10-08 Thread Thomas Gleixner
On Mon, 8 Oct 2007, Jaswinder Singh wrote: On 10/8/07, Steven Rostedt [EMAIL PROTECTED] wrote: Not sure what you mean by this, since interrupt handlers are run as threads and are fully preemptible. I think by nested or reentrant interrupt handling technique you can further reduce

Re: [PATCH 0/2] [RFC] RT: Optionally allow IRQF_NODELAY on serial console

2007-10-08 Thread Gregory Haskins
On Mon, 2007-10-08 at 10:41 -0400, Steven Rostedt wrote: -- On Mon, 8 Oct 2007, Gregory Haskins wrote: Hi Steve, What you describe is exactly what I did. The IRQF_NODELAY handler just minimally checks to see if the character is a sysrq related one (or KDB, if you have the KDB

Re: 2.6.23 regression: do_nanosleep will not return

2007-10-08 Thread Peter Zijlstra
On Mon, 2007-10-08 at 17:01 +0200, Bernd Schubert wrote: On Monday 08 October 2007 16:32:52 Rik van Riel wrote: On Mon, 08 Oct 2007 15:20:26 +0200 Bernd Schubert [EMAIL PROTECTED] wrote: Bernd Schubert wrote: we have a system here were e.g. sleep 1 will never finish. This is an

Linux Kernel 2.6 CPU scheduler

2007-10-08 Thread Thierry Brown
Hi- I wish to be personally CC'ed the answers/comments posted to the list in response to this post I am new to Linux. i was reading about CPU scheduling in general and that of Linux Kernel 2.6 in particular. I have three main questions: 1- Assume that the upper [higher priority] queue is empty

[PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Yan Zheng
Hi all find_lock_page increases page's usage count, we should decrease it before return VM_FAULT_SIGBUS Signed-off-by: Yan Zheng[EMAIL PROTECTED] diff -ur linux-2.6.23-rc9/mm/filemap.c linux/mm/filemap.c --- linux-2.6.23-rc9/mm/filemap.c 2007-10-07 15:03:33.0 +0800 +++

Re: [RFC][PATCH] New message-logging API (kprint)

2007-10-08 Thread Stephen Hemminger
On Sun, 7 Oct 2007 16:50:49 -0500 Rob Landley [EMAIL PROTECTED] wrote: On Saturday 06 October 2007 1:10:26 am Vegard Nossum wrote: On 10/5/07, Rob Landley [EMAIL PROTECTED] wrote: The original idea (selectively compile out printk() instances based on log level to conserve space) is

Re: [PATCH 1/1 try 2] V4L: rocket, switch sleep_on to completion

2007-10-08 Thread Mauro Carvalho Chehab
Hi Jiri, The patch might be right, however, AFAIK, this has nothing to do with V4L. Better to change the subject ;) Cheers, Mauro. Em Seg, 2007-10-08 às 08:45 -0400, Jiri Slaby escreveu: rocket, switch sleep_on to completion - sleep_on is deprecated and racy, use completion instead - also

Re: [RFC][PATCH] New message-logging API (kprint)

2007-10-08 Thread Vegard Nossum
On 10/8/07, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 7 Oct 2007 16:50:49 -0500 Rob Landley [EMAIL PROTECTED] wrote: On Saturday 06 October 2007 1:10:26 am Vegard Nossum wrote: On 10/5/07, Rob Landley [EMAIL PROTECTED] wrote: I made it about halfway through the patch and the

Re: [PATCH 1/1 try 2] V4L: rocket, switch sleep_on to completion

2007-10-08 Thread Jiri Slaby
On 10/08/2007 05:31 PM, Mauro Carvalho Chehab wrote: Hi Jiri, The patch might be right, however, AFAIK, this has nothing to do with V4L. Better to change the subject ;) Aha, you're right, forgot to change it to Char after V4L patchset :). thanks, -- Jiri Slaby ([EMAIL PROTECTED]) Faculty

Re: parallel networking (was Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock)

2007-10-08 Thread jamal
On Mon, 2007-08-10 at 10:22 -0400, Jeff Garzik wrote: Any chance the NIC hardware could provide that guarantee? If you can get the scheduling/dequeuing to run on one CPU (as we do today) it should work; alternatively you can totaly bypass the qdisc subystem and go direct to the hardware for

Re: [RFC][PATCH] New message-logging API (kprint)

2007-10-08 Thread Stephen Hemminger
On Mon, 8 Oct 2007 17:33:53 +0200 Vegard Nossum [EMAIL PROTECTED] wrote: On 10/8/07, Stephen Hemminger [EMAIL PROTECTED] wrote: On Sun, 7 Oct 2007 16:50:49 -0500 Rob Landley [EMAIL PROTECTED] wrote: On Saturday 06 October 2007 1:10:26 am Vegard Nossum wrote: On 10/5/07, Rob Landley

Re: [uml-devel] [PATCH 1/3] UML - Fix stub address calculations

2007-10-08 Thread Jeff Dike
On Tue, Oct 02, 2007 at 08:43:00AM +0200, Geert Uytterhoeven wrote: Hmm, perhaps you can use _AC() (from linux/const.h) to defined the original constants instead, so you don't need the #ifdefs? Ah, neat. Those are exactly what I need. Jeff -- Work email -

Re: [NET] IPv6 oops bisected

2007-10-08 Thread Eric W. Biederman
Denis V. Lunev [EMAIL PROTECTED] writes: David Miller wrote: From: Denis V. Lunev [EMAIL PROTECTED] Date: Mon, 08 Oct 2007 10:34:23 +0400 OK. I am installing Fedora 7 right now... You don't need to install Fedora, just read the code! :-) The bug is obvious and it's been explained

Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel

2007-10-08 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): Kyle Moffett [EMAIL PROTECTED] writes: On Oct 04, 2007, at 21:44:02, Eric W. Biederman wrote: What we want from the LSM is the ability to say -EPERM when we can clearly articulate that we want to disallow something. This sort of depends

[PATCH] sata_nv: add the wildcard support for ahci legacy mode

2007-10-08 Thread peerchen
Add the wildcard support to sata_nv driver for those new ahci controllers being configured as IDE/RAID mode and also their DIDs haven't been added into ahci driver. The patch base on kernel 2.6.23-rc9 Signed-off-by: Peer Chen [EMAIL PROTECTED] --- --- linux-2.6.23-rc9/drivers/ata/sata_nv.c.orig

Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel

2007-10-08 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): --- Kyle Moffett [EMAIL PROTECTED] wrote: On Oct 05, 2007, at 00:45:17, Eric W. Biederman wrote: Kyle Moffett [EMAIL PROTECTED] writes: On Oct 04, 2007, at 21:44:02, Eric W. Biederman wrote: SElinux is not all encompassing or it is

Buffered filesystem AIO status?

2007-10-08 Thread Dmitry Sychov
Hello, I'am the developer of the subset of Linux API on windows. Pretty much all system calls were wrapped up to the the latest kernel native AIO support. While compiling/running test program natively on Linux (2.6.18-8.1.10.el5) I've got hit by undocumented limitations of AIO system: * aio

Re: [PATCH for testing] Re: Decreasing stime running confuses top

2007-10-08 Thread Christian Borntraeger
Am Freitag, 5. Oktober 2007 schrieb Frans Pop: On Thursday 04 October 2007, you wrote: Frans can you test this patch if this makes stime and utime monotic again? It basically reverts the rest of b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa and should restore the 2.6.22 behavior. The

[PATCH] mm: set_page_dirty_balance() vs -page_mkwrite()

2007-10-08 Thread Peter Zijlstra
It seems that with the recent usage of -page_mkwrite() a little detail was overlooked. .22-rc1 merged OCFS2 usage of this hook .23-rc1 merged XFS usage .24-rc1 will most likely merge NFS usage Please consider this for .23 final and maybe even .22.x --- Subject: mm: set_page_dirty_balance() vs

Re: [PATCH for testing] Re: Decreasing stime running confuses top

2007-10-08 Thread Ingo Molnar
* Christian Borntraeger [EMAIL PROTECTED] wrote: Why does it still shows numbers going backwards? I guess the sampled values for stime and utime change in flight between task_utime and task_stime are called. Lets say utime will be increased. Given the same sum_exec_runtime that means that

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Andrew Morton
On Mon, 8 Oct 2007 19:45:08 +0800 Yan Zheng [EMAIL PROTECTED] wrote: Hi all The test for VM_CAN_NONLINEAR always fails Signed-off-by: Yan Zheng[EMAIL PROTECTED] diff -ur linux-2.6.23-rc9/mm/fremap.c linux/mm/fremap.c --- linux-2.6.23-rc9/mm/fremap.c 2007-10-07

Re: [PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Peter Zijlstra
On Mon, 2007-10-08 at 23:28 +0800, Yan Zheng wrote: Hi all find_lock_page increases page's usage count, we should decrease it before return VM_FAULT_SIGBUS Signed-off-by: Yan Zheng[EMAIL PROTECTED] Nice catch, .23 material? Acked-by: Peter Zijlstra [EMAIL PROTECTED] diff -ur

Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel

2007-10-08 Thread Eric W. Biederman
Serge E. Hallyn [EMAIL PROTECTED] writes: Quoting Eric W. Biederman ([EMAIL PROTECTED]): Perform the split up you talked about above and move the table matching into the LSM hooks. Use something like the iptables action and match to module mapping code so we can have multiple modules

Re: [PATCH]fix page release issue in filemap_fault

2007-10-08 Thread Rik van Riel
On Mon, 08 Oct 2007 19:15:23 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Mon, 2007-10-08 at 23:28 +0800, Yan Zheng wrote: Hi all find_lock_page increases page's usage count, we should decrease it before return VM_FAULT_SIGBUS Signed-off-by: Yan Zheng[EMAIL PROTECTED] Nice

  1   2   3   4   5   6   >