[PATCH 2/8] Kconfig: unwanted menus for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Disable all menus in the configuration that are of no interest to a s390 machine. There are quite a few of them.. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/ata/Kconfig|1 + drivers/char/ipmi/Kconfig |2 ++

[PATCH 3/8] Kconfig: unwanted config options for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Disable all configuration options in the common Kconfig files that are of no interest to a s390 machine. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/char/Kconfig |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-)

[PATCH 4/8] Kconfig: use common Kconfig for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Disband drivers/s390/Kconfig, use the common Kconfig files. The s390 specific config options from drivers/s390/Kconfig are moved to the respective common Kconfig files. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/Kconfig

preempt_rt bug or warn on arm v4t

2007-04-20 Thread Manfred Gruber
Hi ! I am using 2.6.21-rc7 with Preempt_rt Patch 2.6.20-rc6-rt0 on ep93xx. This oops does not trigger in preempt_rt patch is applied. On startup i get following oops when preemption is none. Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok BUG: at kernel/sched.c:4285

[PATCH 5/8] Kconfig: no wireless on s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Hide the config menues for wireless on s390. Goes on top of git-wireless.patch. Cc: John W. Linville [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/net/wireless/Kconfig |1 + net/Kconfig |1 +

[PATCH 6/8] Kconfig: no userspace I/O on s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Hide the config menu for userspace I/O on s390. Goes on top of gregkh-driver-uio.patch. Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/uio/Kconfig |2 ++ 1 files changed, 2 insertions(+)

[PATCH 7/8] Kconfig: silicon backplane dependency.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Make the Sonics Silicon Backplane menu dependent on the two buses it can be found on. Goes on top of git-wireless.patch. Cc: Michael Buesch [EMAIL PROTECTED] Cc: John W. Linville [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[PATCH 8/8] Kconfig: broadcom 4400 dependency.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Make the broadcom 4400 driver dependent on SSB. With the select statement for SSB the config option for the driver is always present even if the target of selection (SSB) is not available. Goes on top of git-wireless.patch. Cc: Michael Buesch [EMAIL

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Avi Kivity
Andi Kleen wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux kernel development. You can now debug kernel of Linux VM

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Avi Kivity
Nigel Cunningham wrote: Hi. On Fri, 2007-04-20 at 14:45 +0300, Avi Kivity wrote: Andi Kleen wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Nigel Cunningham
Hi. On Fri, 2007-04-20 at 14:45 +0300, Avi Kivity wrote: Andi Kleen wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool

[PATCH 1/7] External power framework

2007-04-20 Thread Anton Vorontsov
External power framework - 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 (next patches). It's permitted for supply to be bound to several supplicants (think main and backup

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Rafael J. Wysocki
On Friday, 20 April 2007 13:05, Gautham R Shenoy wrote: On Fri, Apr 20, 2007 at 10:54:36AM +0200, Rafael J. Wysocki wrote: Hmm, can't we do something like this instead: --- kernel/kthread.c | 10 ++ 1 file changed, 10 insertions(+) Index:

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

2007-04-20 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/battery/Kconfig |7 + drivers/battery/Makefile |1 + drivers/battery/ds2760_battery.c | 499 ++ include/linux/ds2760_battery.h | 32 +++ 4 files changed, 539

Re: GPL-incompatible Module Error Message

2007-04-20 Thread Adrian Bunk
On Fri, Apr 20, 2007 at 03:47:27AM +0200, Andi Kleen wrote: Chris Bergeron [EMAIL PROTECTED] writes: Hello all, Building the fglrx module against the current Linux kernel (2.6.20.7 as of this e-mail) I'm getting an error: FATAL: modpost: GPL-incompatible module fglrx.ko uses

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Gautham R Shenoy
On Fri, Apr 20, 2007 at 01:59:29PM +0200, Rafael J. Wysocki wrote: Actually, I thought about it for a while. The thread that is going to stop another one may temporarily mark itself as freezable in all cases, which will have no effect on it, since it's not going to cally try_to_freeze(), but

Re: [PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Alan Cox
Acquire a port lock only if not in_interrupt in some places, because ISR holds the lock yet (and ldisc calls some of driver's routines which tries to acquire it again due to tty-low_latency). NAK This is the wrong way to do it. If you don't support recursive entry then don't use -low_latency.

[PATCH] workqueue: cancel_rearming_delayed_work/workqueue usage warning

2007-04-20 Thread Jarek Poplawski
Here is my proposal to make things clearer: (this time on 2.6.21-rc7) CC: David Chinner [EMAIL PROTECTED] CC: Oleg Nesterov [EMAIL PROTECTED] Signed-off-by: Jarek Poplawski [EMAIL PROTECTED] --- diff -Nurp 2.6.21-rc7-/kernel/workqueue.c 2.6.21-rc7/kernel/workqueue.c ---

[PATCH 2/7] pda power driver

2007-04-20 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. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/power/Kconfig |8 ++ drivers/power/Makefile|1 +

[PATCH 3/7] Universal battery class

2007-04-20 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Documentation/battery-class.txt | 150 ++ drivers/Kconfig |2 + drivers/Makefile|1 + drivers/battery/Kconfig | 11 ++ drivers/battery/Makefile|1 +

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Peter Williams wrote: Ingo Molnar wrote: * Peter Williams [EMAIL PROTECTED] wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll

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

2007-04-20 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(-) diff

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-20 Thread guilherme
Sorry, i put the wrong option in the last mail. The options that freeze my machine at boot is HPET Timer Support. Thanks. -- Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br - To unsubscribe from this

Re: Loud pop coming from hard drive on reboot

2007-04-20 Thread Stephen Clark
Chuck Ebbert wrote: Stephen Clark wrote: Mark Lord wrote: Mark Lord wrote: With the patch applied, I don't see *any* new activity in those S.M.A.R.T. attributes over multiple hibernates (Linux suspend-to-disk). Scratch that -- operator failure. ;) The patch

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Nigel Cunningham
Hi. On Fri, 2007-04-20 at 04:21 -0700, Petr Vandrovec wrote: Andi Kleen wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux

Re: [PATCH] Make new setting of panic_on_oom

2007-04-20 Thread Benjamin LaHaise
On Fri, Apr 20, 2007 at 08:43:56PM +0900, Yasunori Goto wrote: The current panic_on_oom may not work if there is a process using cpusets/mempolicy, because other nodes' memory may still free. But some people want failover by panic ASAP even if they are used. This patch makes new setting for

Re: [patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-20 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): This patchset has now been bared to the lowest common denominator that everybody can agree on. Or at least there weren't any objections to this proposal. Andrew, please consider it for -mm. Thanks, Miklos v3 - v4: - simplify

Re: [PATCH] saa7134-tvaudio: Convert to kthread API.

2007-04-20 Thread Cedric Le Goater
Eric W. Biederman wrote: From: Eric W. Biederman [EMAIL PROTECTED] - unquoted It is my goal to replace all kernel code that handles signals from user space, calls kernel_thread or calls daemonize. All of which the kthread_api makes unncessary. Handling signals from user space is a

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Andi Kleen
Do you mean with qemu qemu. -Andi - 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 read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Rafael J. Wysocki
On Friday, 20 April 2007 14:26, Gautham R Shenoy wrote: On Fri, Apr 20, 2007 at 01:59:29PM +0200, Rafael J. Wysocki wrote: Actually, I thought about it for a while. The thread that is going to stop another one may temporarily mark itself as freezable in all cases, which will have no

Re: preempt_rt bug or warn on arm v4t

2007-04-20 Thread Jan Altenberg
Hi Manfred, I am using 2.6.21-rc7 with Preempt_rt Patch 2.6.20-rc6-rt0 on ep93xx. Do you mean 2.6.21-rc6-rt0? This oops does not trigger in preempt_rt patch is applied. It does only appear, when the preempt_rt patch is applied. Did I get you right? On startup i get following oops when

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-20 Thread Andi Kleen
guilherme [EMAIL PROTECTED] writes: Sorry, i put the wrong option in the last mail. The options that freeze my machine at boot is HPET Timer Support. Either an interrupt routing problem or your HPET timer is broken. Does it work with noapic? Can you describe your hardware?

Re: [S390] add arch_trampoline_kprobe.

2007-04-20 Thread Ananth N Mavinakayanahalli
On Fri, Apr 20, 2007 at 01:08:42PM +0200, Martin Schwidefsky wrote: From: Martin Schwidefsky [EMAIL PROTECTED] Add the missing arch_trampoline_kprobe function for s390 required by kprobes-the-on-off-knob-thru-debugfs-updated.patch. Martin, Cornelia provided this patch sometime earlier

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread James Bottomley
On Thu, 2007-04-19 at 22:20 -0700, Andrew Morton wrote: On Thu, 19 Apr 2007 16:27:26 - Cameron, Steve [EMAIL PROTECTED] wrote: Something like if (sizeof(blah) 4) { do all the assignments with shifts } might be slighly better since the CDB is already zeroed by

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread Aubrey Li
On 4/20/07, David Howells [EMAIL PROTECTED] wrote: Aubrey Li [EMAIL PROTECTED] wrote: as checked in packet_set_ring, buffer size must be a multiple of PAGE_SIZE, packet_set_ring if (unlikely(req-tp_block_size (PAGE_SIZE - 1))) So why not use

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Jiri Kosina
On Fri, 20 Apr 2007, Giuseppe Bilotta wrote: could you please send me the product ID of the hardware in question? (you could get it for example by running lsusb). Currently the usbhid driver blacklists just product ids 0x0004 and 0x0008 (so that for these product ids, the HID driver

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Andreas Gruenbacher
On Friday 20 April 2007 17:15, Ulrich Drepper wrote: On 4/20/07, Andreas Gruenbacher [EMAIL PROTECTED] wrote: Possibly for fstatfs(): fstatfs() has no way of looking up mount points per path name in /proc/mounts, and so it resorts to mapping from the numeric statfs-f_type to the filesystem

Re: How to make mmap'ed kernel buffer non-cacheable

2007-04-20 Thread Daniel J Blueman
On 20 Apr, 14:20, Bhuvan Kumar MITTAL [EMAIL PROTECTED] wrote: Hi, I am working on an audio device driver development on Linux. I have a kernel buffer which I have mapped to user space using mmap call from user space. My problem is that the data which comes to the kernel buffer is getting

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread Alan Cox
#if (BITS_PER_LONG 32) || defined(CONFIG_LBD) #define sector_upper_32(sector) ((sector) 32) #else #define sector_upper_32(sector) (0) #endif Gak Just do sector_upper_32(sector) (((sector) 31) 1) and lose all the ifdefs, Alan - To unsubscribe from this list: send the

Re: How to make mmap'ed kernel buffer non-cacheable

2007-04-20 Thread Alan Cox
On Fri, 20 Apr 2007 18:30:25 +0530 Bhuvan Kumar MITTAL [EMAIL PROTECTED] wrote: Hi, I am working on an audio device driver development on Linux. I have a kernel buffer which I have mapped to user space using mmap call from user space. My problem is that the data which comes to the kernel

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-20 Thread Andi Kleen
guilherme [EMAIL PROTECTED] writes: With noapic it freezes too. This doesn't occur with 2.6.20.x thought. Ah. Can you please git bisect it then? -Andi - 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 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: Variable Order Page Cache: Add support to ramfs The simplest file system to use is ramfs. Add a mount parameter that specifies the page order of the pages that ramfs should use. If the order is greater than zero then disable mmap

Re: Success! Was: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-20 Thread Trond Myklebust
On Fri, 2007-04-20 at 08:30 -0500, Florin Iucha wrote: On Thu, Apr 19, 2007 at 04:49:31PM -0500, Florin Iucha wrote: On Thu, Apr 19, 2007 at 05:30:42PM -0400, Trond Myklebust wrote: I'm far from the machine right now, so I will do some more tests tonight, but right now, the new patchset

Re: [RFC 0/8] Variable Order Page Cache

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: Variable Order Page Cache Patchset This patchset modifies the core VM so that higher order page cache pages become possible. The higher order page cache pages are compound pages and can be handled in the same way as regular pages.

[patch] CFS scheduler, v4

2007-04-20 Thread Ingo Molnar
i'm pleased to announce release -v4 of the CFS patchset. The patch against v2.6.21-rc7 can be downloaded from: http://redhat.com/~mingo/cfs-scheduler/ this CFS release too is mainly about fixing regressions and improving interactivity, so the rate of change is relatively low: 11

Re: [PATCH 2/3] Char: mxser_new, fix TIOCMIWAIT

2007-04-20 Thread Jan Yenya Kasprzak
Jiri Slaby wrote: : mxser_new, fix TIOCMIWAIT : : There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving : the code to the wait_event_interruptible. OK, this fixed the problem with your DCD-change monitoring program (sorry that it took me too long to test it). -Yenya

Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

2007-04-20 Thread Robin Holt
On Fri, Apr 20, 2007 at 08:23:39AM +0200, Jes Sorensen wrote: Andrew Morton wrote: Another driver which should be fully converted to the kthread API: kthread_stop() and kthread_should_stop(). And according to my logs, this driver was added to the tree more than a year _after_ the kthread

Re: [PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Jiri Slaby
On 4/20/07, Jan Yenya Kasprzak [EMAIL PROTECTED] wrote: I did as you suggested, and I am not able to reproduce the problem now. The patch is attached. I think it is quite minimal, so it should be safe to apply it. What do you think, Jiri? Signed-off-by: Jan Yenya Kasprzak [EMAIL

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Ingo Molnar
* Peter Williams [EMAIL PROTECTED] wrote: BTW Given that I'm right and dynamic priorities have been dispensed with what do you intend exporting (in their place) to user space for display by top and similar? well i thought of only displaying static ones, i.e. like the current patch does.

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Ulrich Drepper
On 4/20/07, Andreas Gruenbacher [EMAIL PROTECTED] wrote: Yes, that one, sorry. The values it obtains that way are not reliable. Why should the mount point info together with the filesystem type not be reliable? You're trying to find an excuse to break tings, that seems all there is. - To

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread William Lee Irwin III
On Fri, Apr 20, 2007 at 02:42:27PM +0100, Mel Gorman wrote: That's fair enough for the moment but relaxing would make ramfs potentially usable as a replacement for hugetlbfs so there would be just one ram-based filesystem instead of two. Careful there. mmap() needs more than this. (1)

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Dave Jones
On Thu, Apr 19, 2007 at 10:33:39PM -0700, Jeremy Fitzhardinge wrote: Dave Jones wrote: Hmm, given you hit the hpet problems and I didn't I think our X60's aren't quite so similar. Mine is the one with the swivelly touchscreen tablet-pc mode. I understand they made a regular 'laptop'

Re: [RFC 1/1] Char: mxser_new, fix recursive locking

2007-04-20 Thread Jan Yenya Kasprzak
Jiri Slaby wrote: : On 4/14/07, Jan Yenya Kasprzak [EMAIL PROTECTED] wrote: : : I have another problem with the driver - it probably sometimes : drops DCD signal on the serial line or something like that: : when the traffic on the serial console is heavy, it sometimes disconnects : me

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

2007-04-20 Thread Andy Whitcroft
Having selected an area at the end of the inactive list, reclaim is attempted for all LRU pages within that contiguous area. Currently, any pages in this area found to still be active or referenced are rotated back to the active list as normal and the rest reclaimed. At low orders there is a

[PATCH 3/3] introduce HIGH_ORDER delineating easily reclaimable orders

2007-04-20 Thread Andy Whitcroft
The memory allocator treats lower order (order = 3) and higher order (order = 4) allocations in slightly different ways. As lower orders are much more likely to be available and also more likely to be simply reclaimed it is deemed reasonable to wait longer for those. Lumpy reclaim also changes

[PATCH 1/3] kswapd: use reclaim order in background reclaim

2007-04-20 Thread Andy Whitcroft
When an allocator has to dip below the low water mark for a zone, kswapd is awoken to start background reclaim. The highest order of these dipping allocations are accumulated on the zone. With this patch kswapd uses this hint to force reclaim at that order via balance_pgdat(). Signed-off-by:

Re: Interface for the new fallocate() system call

2007-04-20 Thread Jakub Jelinek
On Fri, Apr 20, 2007 at 07:21:46PM +0530, Amit K. Arora wrote: Ok. In this case we may have to consider following things: 1) Obviously, for this glibc will have to call fallocate() syscall with different arguments on s390, than other archs. I think this should be doable and should not be an

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-20 Thread guilherme
Andi, [EMAIL PROTECTED]:/usr/src/linux-2.6# git bisect good 5d8b34fdcb384161552d01ee8f34af5ff11f9684 is first bad commit commit 5d8b34fdcb384161552d01ee8f34af5ff11f9684 Author: Thomas Gleixner [EMAIL PROTECTED] Date: Fri Feb 16 01:27:43 2007 -0800 [PATCH] clocksource: Add verification

Re: [PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Alan Cox
Signed-off-by: Jan Yenya Kasprzak [EMAIL PROTECTED] Cc: Jiri Slaby [EMAIL PROTECTED] Cc: Alan Cox [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] --- linux-2.6.21-rc2/drivers/char/mxser_new.c.orig2007-04-20 15:41:46.0 +0200 +++ linux-2.6.21-rc2/drivers/char/mxser_new.c

Linux on Zyxel G-570U

2007-04-20 Thread Enrico Weigelt
Hi folks, does anyone know how to build an linux kernel for running on the Zyxel G-570U router box ? thx -- - Enrico Weigelt== metux IT service - http://www.metux.de/

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Ulrich Drepper
On 4/20/07, Andreas Gruenbacher [EMAIL PROTECTED] wrote: Possibly for fstatfs(): fstatfs() has no way of looking up mount points per path name in /proc/mounts, and so it resorts to mapping from the numeric statfs-f_type to the filesystem name (e.g., ext3), looks up the first mount point with

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Jeremy Fitzhardinge
Dave Jones wrote: -BUG: at arch/i386/kernel/sched-clock.c:170 init_sched_clock() - [c01091b5] show_trace_log_lvl+0x1a/0x30 - [c010980c] show_trace+0x12/0x14 - [c01098cb] dump_stack+0x16/0x18 - [c0468dbd] init_sched_clock+0x58/0x9b - [c0461502] init+0x14b/0x241 - [c0108d97]

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Alan Stern
Here's a patch to do what I mentioned earlier. Not tested -- it may expose some existing bugs. It may even break something, but I'm not aware of anything that depends on it explicitly. Greg, do you know of anything in particular that depends on a kobjects not being released before their

qla2xxx hba crashes with older 2310 cards

2007-04-20 Thread Robert Peterson
Hi, I've seen some chatter about the qla2xxx driver but not paid attention, so I'm sorry if this is a known issue. I've got an older qlogic hba, and recent drivers don't seem to play nice with it. I've got the latest firmware from qlogic's web site. I'm using a 2.6.21-rc6 kernel from Steve

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Alan Stern
On Fri, 20 Apr 2007, Tejun Heo wrote: Hello, Alan. Alan Stern wrote: This doesn't solve a related problem: a subsystem wants to register devices and to provide a set of mutually-exclusive services to the devices' drivers. The mutual exclusion has to be provided by a mutex or

Re: [RFC 0/8] Variable Order Page Cache

2007-04-20 Thread Mel Gorman
On (19/04/07 21:11), Andi Kleen didst pronounce: We likely need actual defragmentation support. To be honest it looks quite pointless before this is solved. So far it is not even clear if it is feasible to solve it. I've written a proposal in an OLS paper on how such a mechanism would

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Peter Williams wrote: Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll address the many nice level related

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-20 Thread Antonino A. Daplas
On Fri, 2007-04-20 at 10:04 +0100, Alan Hourihane wrote: I've updated the Vermilion Range (LE80578) patch against linus' tree. Hopefully this rectifies all of the issues noted previously. Let me know again if there's more updates needed. Thanks to all who responded with the feedback, it

Success! Was: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-20 Thread Florin Iucha
On Thu, Apr 19, 2007 at 04:49:31PM -0500, Florin Iucha wrote: On Thu, Apr 19, 2007 at 05:30:42PM -0400, Trond Myklebust wrote: I'm far from the machine right now, so I will do some more tests tonight, but right now, the new patchset is not good. What is the difference between reverting

Re: preempt_rt bug or warn on arm v4t

2007-04-20 Thread Manfred Gruber
hi jan ! Am Freitag, 20. April 2007 15:01 schrieben Sie: I am using 2.6.21-rc7 with Preempt_rt Patch 2.6.20-rc6-rt0 on ep93xx. Do you mean 2.6.21-rc6-rt0? sorry yes 2.6.21-rc6-rt0. This oops does not trigger in preempt_rt patch is applied. It does only appear, when the preempt_rt patch

Re: [PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Jan Yenya Kasprzak
Alan Cox wrote: : Acquire a port lock only if not in_interrupt in some places, because ISR : holds the lock yet (and ldisc calls some of driver's routines which tries to : acquire it again due to tty-low_latency). : : NAK : : This is the wrong way to do it. If you don't support recursive

Re: [PATCH] saa7134-tvaudio: Convert to kthread API.

2007-04-20 Thread Christoph Hellwig
On Fri, Apr 20, 2007 at 02:48:35PM +0200, Cedric Le Goater wrote: Eric W. Biederman wrote: From: Eric W. Biederman [EMAIL PROTECTED] - unquoted It is my goal to replace all kernel code that handles signals from user space, calls kernel_thread or calls daemonize. All of which the

Re: [Devel] Re: [PATCH] bluetooth rfcomm: Convert to kthread API.

2007-04-20 Thread Cedric Le Goater
Andrew Morton wrote: On Thu, 19 Apr 2007 01:58:54 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch starts krfcommd using kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more

Re: [patch] CFS scheduler, v3

2007-04-20 Thread William Lee Irwin III
On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: I have a suggestion I'd like to make that addresses both nice and fairness at the same time. As I understand the basic principle behind this scheduler it to work out a time by which a task should make it onto the CPU and then

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Andreas Gruenbacher
On Friday 20 April 2007 11:30, Alan Cox wrote: As far as I can see, glibc internally looks at /proc/mounts (or else mtab) to find out where tmpfs is mounted for opening files there, and to look up filesystem information for statfs(), while accessing that path, too. Fstatfs() also looks

PREEMPT_RT: 2.6.20-rt8 patch tweaked for 2.6.20.7

2007-04-20 Thread John Sigler
Hello, I've tweaked patch-2.6.20-rt8(*) so that it applies to 2.6.20.7 (*) http://rt.wiki.kernel.org/index.php/Main_Page The original patch can be found here: http://people.redhat.com/mingo/realtime-preempt/older/patch-2.6.20-rt8 http://linux.kernel.free.fr/patch-2.6.20-rt8 diff to the

Re: [S390] add arch_trampoline_kprobe.

2007-04-20 Thread Martin Schwidefsky
On Fri, 2007-04-20 at 18:39 +0530, Ananth N Mavinakayanahalli wrote: Cornelia provided this patch sometime earlier (http://marc.info/?l=linux-kernelm=117620748921086w=2). Andrew has picked it up into -mm. Ok, good. The latest version of -mm on kernel.org did not have it yet. -- blue skies,

[PATCH 6/7] ds2760 W1 slave

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

Re: [Devel] Re: [PATCH] bluetooth bnep: Convert to kthread API.

2007-04-20 Thread Cedric Le Goater
Cedric Le Goater wrote: Andrew Morton wrote: On Thu, 19 Apr 2007 01:58:51 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch starts kbenpd using kthread_run replacing a combination of kernel_thread and daemonize. Making the code a little

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

2007-04-20 Thread Richard Knutsson
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 bogus results when used with longs. I think it's like it is just to be consistent

How to make mmap'ed kernel buffer non-cacheable

2007-04-20 Thread Bhuvan Kumar MITTAL
Hi, I am working on an audio device driver development on Linux. I have a kernel buffer which I have mapped to user space using mmap call from user space. My problem is that the data which comes to the kernel buffer is getting dropped in user space and I get only 50-60% of the data which is

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-20 Thread Alan Hourihane
On Fri, 2007-04-20 at 21:51 +0800, Antonino A. Daplas wrote: On Fri, 2007-04-20 at 10:04 +0100, Alan Hourihane wrote: I've updated the Vermilion Range (LE80578) patch against linus' tree. Hopefully this rectifies all of the issues noted previously. Let me know again if there's more

Re: Success! Was: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-20 Thread Florin Iucha
On Fri, Apr 20, 2007 at 09:37:30AM -0400, Trond Myklebust wrote: Thanks! Did you ever find out what had happened to the test that hung last night? Nope. I could not ssh into it and the machine was needed for some windows duty before I got home ;) I'll try again this coming week-end and let

Re: Interface for the new fallocate() system call

2007-04-20 Thread Amit K. Arora
On Wed, Apr 18, 2007 at 07:06:00AM -0600, Andreas Dilger wrote: On Apr 17, 2007 18:25 +0530, Amit K. Arora wrote: On Fri, Mar 30, 2007 at 02:14:17AM -0500, Jakub Jelinek wrote: Wouldn't int fallocate(loff_t offset, loff_t len, int fd, int mode) work on both s390 and ppc/arm? glibc

[PATCH 0/3] Lumpy Reclaim V6

2007-04-20 Thread Andy Whitcroft
Following this email are three patches to the lumpy reclaim algorithm. These apply on top of the lumpy patches in 2.6.21-rc6-mm1 (lumpy V5); making lumpy V6. The first enables kswapd to apply reclaim at the order of the allocations which trigger background reclaim. The second increases pressure

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Giuseppe Bilotta
On 4/20/07, Jiri Kosina [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Giuseppe Bilotta wrote: lsusb claims: Bus 002 Device 003: ID 0460:0004 Ace Cad Enterprise Co., Ltd and according to hid-core.c this *is* a blacklisted ID ... Yes, so it definitely should be ignored and not claimed by the

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 03:10:45AM -0400, Preston A. Elder wrote: I have a Tyan Thunder K7x Pro (S2469) and the amd-k7-agp module does not seem to be probing my AGP device. I have even tried putting debugging code into the amd-k7-agp module, and sure enough I can see it being loaded,

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Dmitry Torokhov
On 4/20/07, Alan Stern [EMAIL PROTECTED] wrote: Dmitry, in thinking things over some more I realized there's going to be a problem with the autosuspend support in USB. It has to do with the way a driver needs to prevent (or block) suspends from occurring while it is actively using a device.

[PATCH 09/10] mm: expose BDI statistics in sysfs.

2007-04-20 Thread Peter Zijlstra
Expose the per BDI stats in /sys/block/dev/queue/* Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- block/ll_rw_blk.c | 32 1 file changed, 32 insertions(+) Index: linux-2.6-mm/block/ll_rw_blk.c

[PATCH 00/10] per device dirty throttling -v5

2007-04-20 Thread Peter Zijlstra
The latest version of the per device dirty throttling. against 2.6.21-rc6-mm1; the first patch is for easy application. Andrew can of course just drop the patch it reverts. Merged BDI_DIRTY and BDI_UNSTABLE into BDI_RECLAIMABLE, and multiplied bdi_stat_delta() by the number of counters summed.

[PATCH 01/10] revert per-backing_dev-dirty-and-writeback-page-accounting

2007-04-20 Thread Peter Zijlstra
For ease of application.. --- block/ll_rw_blk.c | 29 - fs/buffer.c |1 - include/linux/backing-dev.h |2 -- mm/page-writeback.c | 13 ++--- mm/truncate.c |1 - 5 files changed, 2 insertions(+),

[PATCH 04/10] lib: percpu_counter_mod64

2007-04-20 Thread Peter Zijlstra
Add percpu_counter_mod64() to allow large modifications. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/percpu_counter.h |9 + lib/percpu_counter.c | 28 2 files changed, 37 insertions(+) Index:

[PATCH 07/10] mm: count reclaimable pages per BDI

2007-04-20 Thread Peter Zijlstra
Count per BDI reclaimable pages; nr_reclaimable = nr_dirty + nr_unstable. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/buffer.c |2 ++ fs/nfs/write.c |7 +++ include/linux/backing-dev.h |1 + mm/page-writeback.c |4

[PATCH 10/10] mm: per device dirty threshold

2007-04-20 Thread Peter Zijlstra
Scale writeback cache per backing device, proportional to its writeout speed. By decoupling the BDI dirty thresholds a number of problems we currently have will go away, namely: - mutual interference starvation (for any number of BDIs); - deadlocks with stacked BDIs (loop, FUSE and local NFS

[PATCH 08/10] mm: count writeback pages per BDI

2007-04-20 Thread Peter Zijlstra
Count per BDI writeback pages. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/backing-dev.h |1 + mm/page-writeback.c | 12 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) Index: linux-2.6/mm/page-writeback.c

[PATCH 02/10] nfs: remove congestion_end()

2007-04-20 Thread Peter Zijlstra
Its redundant, clear_bdi_congested() already wakes the waiters. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/nfs/write.c |4 +--- include/linux/backing-dev.h |1 - mm/backing-dev.c| 13 - 3 files changed, 1 insertion(+), 17 deletions(-)

[PATCH 03/10] lib: dampen the percpu_counter FBC_BATCH

2007-04-20 Thread Peter Zijlstra
With the current logic the percpu_counter's accuracy delta is quadric wrt the number of cpus in the system, reduce this to O(n ln n). Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/percpu_counter.h |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index:

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Dmitry Torokhov
On 4/20/07, Giuseppe Bilotta [EMAIL PROTECTED] wrote: Sorry, it seems I was wrong, it's not usbhid but usbmouse taking over. After a fresh plug (e.g. at bootup) I get the following: Well, the question is - why do you have usbmouse module on your system? -- Dmitry - To unsubscribe from this

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, Jens Axboe wrote: This works fine as long as you are in the submitter context, but once you pass the into the block layer, we don't have any way to find the address space (at least we don't want to). Would something like this be workable, name withstanding: static

[PATCH 06/10] mm: scalable bdi statistics counters.

2007-04-20 Thread Peter Zijlstra
Provide scalable per backing_dev_info statistics counters. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/backing-dev.h | 50 ++-- mm/backing-dev.c| 26 ++ 2 files changed, 74 insertions(+), 2

<    1   2   3   4   5   6   7   8   >