[patch 6/7] Use extended crashkernel command line on sh

2007-09-25 Thread Bernhard Walle
This patch removes the crashkernel parsing from arch/sh/kernel/machine_kexec.c and calls the generic function, introduced in the generic patch, in setup_bootmem_allocator(). This is necessary because the amount of System RAM must be known in this function now because of the new syntax. NOTE: Due

[patch 7/7] Add documentation for extended crashkernel syntax

2007-09-25 Thread Bernhard Walle
This adds the documentation for the extended crashkernel syntax into Documentation/kdump/kdump.txt. Signed-off-by: Bernhard Walle [EMAIL PROTECTED] --- Documentation/kdump/kdump.txt | 26 ++ Documentation/kernel-parameters.txt |7 +++ 2 files changed, 33

Re: Warnings and Oops on 2.6.23-rc6 while activily using rfcomm links (mm/slab.c)

2007-09-25 Thread Chuck Ebbert
On 09/25/2007 11:04 AM, Pierre-Yves Paulus wrote: Hello, Putting the bluetooth system under load (opening and closing several rfcomm links off several USB adapters, and transmitting data over them), I got the Oops below. The computer hung completely, as you can see. Just before, I also got

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Berck E. Nash
Jens Axboe wrote: On Tue, Sep 25 2007, Berck E. Nash wrote: Jeff Garzik wrote: The first step would be to clone the upstream branch of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git and see if the problem is reproducible there. If yes, then you have narrowed down the

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Jens Axboe
On Tue, Sep 25 2007, Berck E. Nash wrote: Jens Axboe wrote: On Tue, Sep 25 2007, Berck E. Nash wrote: Jeff Garzik wrote: The first step would be to clone the upstream branch of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git and see if the problem is

Re: [PATCH 0/3] More group scheduler related fixes

2007-09-25 Thread Ingo Molnar
* Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: On Tue, Sep 25, 2007 at 04:44:43PM +0200, Ingo Molnar wrote: The latest sched-devel.git tree can be pulled from: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git Ingo, Few more patches

[PATCH] xen: execve's error paths don't pin the mm before unpinning

2007-09-25 Thread Jeremy Fitzhardinge
execve's error paths don't activate (and therefore pin) the mm before calling exit_mmap to free it up, so don't try to unpin unless it is actually pinned. This prevents a BUG_ON from triggering. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] --- arch/i386/xen/mmu.c

RE: [PATCH 1/1] Kernel compile bug in 2.6.22.6/7 {maybe more} ARM/StrongARM

2007-09-25 Thread Greg.Chandler
Well then, now I guess I know why the FB isn't working... Sorry to open up the can of worms this turned out to be {after reading all the other replies first}... -Original Message- From: Russell King [mailto:[EMAIL PROTECTED] On Behalf Of Russell King Sent: Tuesday, September 25, 2007

Re: [patch 3/5] Add samples subdir

2007-09-25 Thread Sam Ravnborg
Hi Mathieu Randy. On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote: From: Randy Dunlap [EMAIL PROTECTED] Begin infrastructure for kernel code samples in the samples/ directory. Add its Kconfig and Kbuild files. Source its Kconfig file in all arch/ Kconfigs. Sorry for not

Re: [PATCH 1/3] Fix coding style

2007-09-25 Thread Ingo Oeser
On Tuesday 25 September 2007, Srivatsa Vaddagiri wrote: Index: current/kernel/sched_debug.c === --- current.orig/kernel/sched_debug.c +++ current/kernel/sched_debug.c @@ -239,11 +239,7 @@ static int

[PATCH] cxacru: Use appropriate logging for errors

2007-09-25 Thread Simon Arlott
When an error occurs, existing logging uses dbg() so the cause of a problem is hard to determine. Error conditions shouldn't only be properly reported with debugging enabled. A side effect of this change is that when an uninitialised device is started, a log message similar to the following is

Re: [PATCH 04/22] CRED: Request a credential record for a kernel service

2007-09-25 Thread Jonathan Corbet
Hi, David, One little thing I noticed: + * @cred_kernel_act_as: + * Set the credentials for a kernel service to act as (subjective context). + * @cred points to the credentials structure to be filled in. + * @service names the service making the request. + * @daemon: A userspace

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-25 Thread Sam Ravnborg
Hi Henry. On Tue, Sep 25, 2007 at 11:49:44AM +0200, Henry Nestler wrote: In reference of git 114f51577724b782a30f4f5ceaee9880de93d776: kbuild: use LDFLAGS_MODULE only for .ko links Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt already says this is

Re: [PATCH 04/22] CRED: Request a credential record for a kernel service

2007-09-25 Thread David Howells
Jonathan Corbet [EMAIL PROTECTED] wrote: The comment describes a dentry argument, but the actual function does not have that argument. oops. Yeah, I decided I didn't want that there. David - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Berck E. Nash
Jeff Garzik wrote: Once the blame has been squared fixed upon me :) you can use git-bisect to locate the precise change that broke your setup. Okay, here's the problem: 268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit commit 268fe6f9f15551be9abedd44a237392675d529d5 Author: Jeff

[PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

2007-09-25 Thread Thomas Gleixner
commit 3556ddfa9284a86a59a9b78fe5894430f6ab4eef titled [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E solves a problem with AMD dual core laptops e.g. HP nx6325 (Turion 64 X2) with C1E enabled: When both cores go into idle at the same time, then the system switches into

Re: menuconfig idea: lift fs menu

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 10:10:26 +0200 (CEST) Jan Engelhardt wrote: Lift the FS menu a bit by moving filesystem-specific parts into their own menu. This is an idea I had. Comments please, if any. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Hi Jan, The current fs menu is too long IMO,

Re: Linux 2.6.22.8, pata_ali issue

2007-09-25 Thread Jan Engelhardt
On Sep 25 2007 10:35, Greg KH wrote: On Tue, Sep 25, 2007 at 07:03:24PM +0200, Jan Engelhardt wrote: So, here is something that I think should go into the next 2.6.22. A proper fix is already in 2.6.23-git-du-jour. Feel free to send the patch, with the git commit id of the upstream commit to

Re: [patch 1/2] menuconfig: transform NLS and DLM menus

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 10:10:14 +0200 (CEST) Jan Engelhardt wrote: Changes NLS and DLM menus into a 'menuconfig' object so that it can be disabled at once without having to enter the menu first to disable the config option. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Acked-by: Randy

Re: [patch 2/2] menuconfig: transform Network Filesystems menu

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 10:10:19 +0200 (CEST) Jan Engelhardt wrote: Turn Network File Systems into a menuconfig so that it can be disabled at once. (Note: I added a default y. If you do not like that, speak up.) Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Acked-by: Randy Dunlap [EMAIL

Re: [patch 5/7] Use extended crashkernel command line on ppc64

2007-09-25 Thread Andrew Morton
On Tue, 25 Sep 2007 20:23:02 +0200 Bernhard Walle [EMAIL PROTECTED] wrote: This patch adapts the ppc64 code to use the generic parse_crashkernel() function introduced in the generic patch of that series. I really don't like to see patches get a wholesale replacement, especially when

[git patches] additional net driver fixes

2007-09-25 Thread Jeff Garzik
These two wireless fixes are IN ADDITION to the previously submitted fixes. Same linear history. In other words, if you pull upstream-linus, you will get both the changes below, _and_ the changes I submitted yesterday. If you have already pulled yesterday's fixes, then you will only receive

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

2007-09-25 Thread Rafael J. Wysocki
On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote: On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote: [--snip--] I start to get desperate. Below is a patch, which moves the apic timer disable check after the calibration routine. Can you please apply on top of -hrt and add

Re: [PATCH] UML - time build fix

2007-09-25 Thread Thomas Gleixner
On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote: Put back an implementation of timeval_to_ns in arch/um/os-Linux/time.c. tglx pointed out in his review of tickless support that there was a perfectly good implementation of it in linux/time.h. The problem is that this is userspace code

NLM: Fix a circular lock dependency in lockd

2007-09-25 Thread Trond Myklebust
The problem is that the garbage collector for the 'host' structures nlm_gc_hosts(), holds nlm_host_mutex while calling down to nlmsvc_mark_resources, which, eventually takes the file-f_mutex. We cannot therefore call nlmsvc_lookup_host() from within nlmsvc_create_block, since the caller will

Re: 2.6.23-rc8-mm1 - powerpc memory hotplug link failure

2007-09-25 Thread Kamalesh Babulal
Hi Andrew, The 2.6.23-rc8-mm1 kernel linking fails on the powerpc (P5+) box CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `memory_block_action': /root/scrap/linux-2.6.23-rc8/drivers/base/memory.c:188: undefined reference to

[PATCH] fs/dcache.c: revamped to use a more straightforward and efficient way to operate

2007-09-25 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/dcache.c | 39 ++- 1 files changed, 18 insertions(+), 21 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..05ed44a 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1138,29 +1138,26 @@ struct

Re: [patch 3/5] Add samples subdir

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 21:00:36 +0200 Sam Ravnborg wrote: Hi Sam, Thanks for looking. I was hoping that you would find time to look/comment on it. Hi Mathieu Randy. On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote: From: Randy Dunlap [EMAIL PROTECTED] Begin

[RFC Patch] Trace - Samples

2007-09-25 Thread David J. Wilder
This patch Moves the trace example into the new samples/ infrastructure Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157) and create samples/Makefile or apply: [patch 4/5] Linux Kernel Markers - Samples (http://lkml.org/lkml/2007/9/25/166) Signed-off-by: David

Re: [patch 1/7] Extended crashkernel command line

2007-09-25 Thread Oleg Verych
* Tue, 25 Sep 2007 20:22:58 +0200 This is the generic part of the patch. It adds a parse_crashkernel() function in kernel/kexec.c that is called by the architecture specific code that actually reserves the memory. That function takes the whole command line and looks itself for crashkernel= in

Re: [patch 3/5] Add samples subdir

2007-09-25 Thread Mathieu Desnoyers
* Randy Dunlap ([EMAIL PROTECTED]) wrote: On Tue, 25 Sep 2007 21:00:36 +0200 Sam Ravnborg wrote: Hi Sam, Thanks for looking. I was hoping that you would find time to look/comment on it. Hi Mathieu Randy. On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote: From:

Re: [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

2007-09-25 Thread Rafael J. Wysocki
On Tuesday, 25 September 2007 21:37, Thomas Gleixner wrote: commit 3556ddfa9284a86a59a9b78fe5894430f6ab4eef titled [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E solves a problem with AMD dual core laptops e.g. HP nx6325 (Turion 64 X2) with C1E enabled: When both

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Jeff Garzik
Berck E. Nash wrote: Jeff Garzik wrote: Once the blame has been squared fixed upon me :) you can use git-bisect to locate the precise change that broke your setup. Okay, here's the problem: 268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit commit

Re: 2.6.23 /proc/bus/input/devices content question

2007-09-25 Thread Dmitry Torokhov
On 9/25/07, Michael Guntsche [EMAIL PROTECTED] wrote: On Sep 25, 2007, at 19:51, Dmitry Torokhov wrote: Hi Michael, ... I this a wanted change or should I still see the same with 2.6.23? Is this with CONFIG_SYSFS_DEPRECATED=y? No, CONFIG_SYSFS_DEPRECATED is not set with both

Re: libata not working for sis5533

2007-09-25 Thread Patrizio Bassi
Chuck Ebbert ha scritto: On 08/31/2007 06:20 PM, Patrizio Bassi wrote: Patrizio Bassi ha scritto: Michal Piotrowski ha scritto: Hi, [Adding IDE wizards to CC] On 26/08/07, Patrizio Bassi [EMAIL PROTECTED] wrote: My sis630 chipset shipped with Asus A1000

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

2007-09-25 Thread Thomas Gleixner
Rafael, On Tue, 2007-09-25 at 22:07 +0200, Rafael J. Wysocki wrote: On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote: On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote: [--snip--] I start to get desperate. Below is a patch, which moves the apic timer disable check

Re: [PATCH 1/3] Fix coding style

2007-09-25 Thread Kyle Moffett
On Sep 25, 2007, at 15:16:20, Ingo Oeser wrote: On Tuesday 25 September 2007, Srivatsa Vaddagiri wrote: @@ -297,7 +293,7 @@ static int __init init_sched_debug_procf pe-proc_fops = sched_debug_fops; #ifdef CONFIG_FAIR_USER_SCHED - pe = create_proc_entry(root_user_share, 0644,

2.6.23-rc8-mm1: somewhat broken forced HPET on ICH5

2007-09-25 Thread Alexey Dobriyan
ich-force-hpet-ich5-quirk-to-force-detect-enable.patch is causing the following on Etch boot: [initscripts as usual] Setting system clock: [nothing happens for several seconds] select to /dev/rtc to wait for clock tick timed out [initscripts as usual] Then

Re: [patch 3/5] Add samples subdir (updated)

2007-09-25 Thread Mathieu Desnoyers
Randy, since I did big changes to the patch, I removed your Signed-off-by. Tell me if you want me to add it back... (Is the From: still valid ?) Mathieu Add samples subdir (updated) From: Randy Dunlap [EMAIL PROTECTED] Begin infrastructure for kernel code samples in the samples/ directory.

Re: Chroot bug

2007-09-25 Thread David Newall
Jan Engelhardt wrote: On Sep 26 2007 01:11, David Newall wrote: Jan Engelhardt wrote: On Sep 26 2007 00:40, David Newall wrote: Miloslav Semler pointed out that a root process can chdir(..) out of its chroot. So what? Just do this: chdir into the root after chroot.

Re: sys_chroot+sys_fchdir Fix

2007-09-25 Thread Phillip Susi
Alan Cox wrote: On Fri, 21 Sep 2007 13:39:34 -0400 Phillip Susi [EMAIL PROTECTED] wrote: David Newall wrote: * In particular, the superuser can escape from a =91chroot jail=92 by d= oing=20 =91mkdir foo; chroot foo; cd ..=92. No, he can not. The superuser can escape that way - its expected

Re: [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

2007-09-25 Thread Thomas Gleixner
On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote: I have reworked the patch a bit so that it applies on top of 2.6.23-rc8-mm1 and compiles (my version is attached). With this patch applied, the kernel boots correctly on the nx6325. I know. It's basically enforced noapictimer. But

Re: 2.6.23-rc8-mm1: drivers/kvm/ioapic.o build failure

2007-09-25 Thread Mariusz Kozlowski
Hello, Similar (the same?) as in 2.6.23-rc6-mm1? http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html CC [M] drivers/kvm/ioapic.o drivers/kvm/ioapic.c: In function 'ioapic_deliver': drivers/kvm/ioapic.c:208: error: 'dest_LowestPrio' undeclared (first use

Re: [patch 3/5] Add samples subdir (updated)

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 16:50:21 -0400 Mathieu Desnoyers wrote: Randy, since I did big changes to the patch, I removed your Signed-off-by. Tell me if you want me to add it back... (Is the From: still valid ?) Mathieu Heck, I dunno. Just make it from you and SOB by me, if that works_for_you.

Re: 2.6.23 /proc/bus/input/devices content question

2007-09-25 Thread Michael Guntsche
On Sep 25, 2007, at 22:41, Dmitry Torokhov wrote: Ok, this is expected. Input devices were converted form class devices into standard devices. Unless SYSFS_DEPRECTAED is set to Y sysfs changes are expected. Ah ok, so this is a known change. I thought about enabling it for testing but did

Re: [patch 3/5] Add samples subdir

2007-09-25 Thread Oleg Verych
* Tue, 25 Sep 2007 21:00:36 +0200 Hi Mathieu Randy. On Tue, Sep 25, 2007 at 08:11:48AM -0400, Mathieu Desnoyers wrote: From: Randy Dunlap [EMAIL PROTECTED] Begin infrastructure for kernel code samples in the samples/ directory. Add its Kconfig and Kbuild files. Source its Kconfig file

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

2007-09-25 Thread Rafael J. Wysocki
Thomas, On Tuesday, 25 September 2007 22:46, Thomas Gleixner wrote: Rafael, On Tue, 2007-09-25 at 22:07 +0200, Rafael J. Wysocki wrote: On Tuesday, 25 September 2007 15:17, Thomas Gleixner wrote: On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote: [--snip--] I start to

Re: [RFC Patch] Trace - Samples

2007-09-25 Thread Randy Dunlap
On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote: This patch Moves the trace example into the new samples/ infrastructure Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157) and create samples/Makefile or apply: [patch 4/5] Linux Kernel Markers - Samples

Re: [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

2007-09-25 Thread Rafael J. Wysocki
On Tuesday, 25 September 2007 22:55, Thomas Gleixner wrote: On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote: I have reworked the patch a bit so that it applies on top of 2.6.23-rc8-mm1 and compiles (my version is attached). With this patch applied, the kernel boots correctly

Re: [-mm patch] unexport sys_{open,read}

2007-09-25 Thread Dave Jones
On Mon, Sep 10, 2007 at 04:14:56PM +0100, Arjan van de Ven wrote: Maybe I'm too pessimistic in my assumption that external open module writers don't actually follow mainline closely; and maybe part of me would love for them to follow it closer, so close that they would even consider

Re: [PATCH] Uninline kcalloc()

2007-09-25 Thread Christoph Lameter
On Mon, 24 Sep 2007, [EMAIL PROTECTED] wrote: I think I looked at that, and it wasn't as easy as it looked, because there were ugly corner cases for what __builtin_return_address() returned depending on exactly what did or didn't get inlined. Basically, it's ugly stuff - if you try to use

Re: [patch 3/5] Add samples subdir (updated)

2007-09-25 Thread Randy Dunlap
Mathieu Desnoyers wrote: Randy, since I did big changes to the patch, I removed your Signed-off-by. Tell me if you want me to add it back... (Is the From: still valid ?) Mathieu How about from: you and add Signed-off-by: Randy Dunlap [EMAIL PROTECTED] Thanks. Add samples subdir (updated)

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

2007-09-25 Thread Thomas Gleixner
Rafael, On Tue, 2007-09-25 at 23:28 +0200, Rafael J. Wysocki wrote: I'm a bit confused by your earlier confirmation, that mainline w/o the -hrt patches boots fine, when you add apicmaintimer to the kernel command line. apicmaintimer stops the PIT like we do in -hrt and we just use the

Re: [PATCH 01/15] sysfs: kill SYSFS_FLAG_REMOVED

2007-09-25 Thread Greg KH
On Thu, Sep 20, 2007 at 04:05:09PM +0900, Tejun Heo wrote: With sysfs_get_dentry() simplified, there's no user of SYSFS_FLAG_REMOVED left. Kill it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- This patch reverts driver/sysfs-kill-sysfs_flag_removed.patch and thus can be removed together

Re: [git] CFS-devel, latest code

2007-09-25 Thread Dmitry Adamushko
humm... I think, it'd be safer to have something like the following change in place. The thing is that __pick_next_entity() must never be called when first_fair(cfs_rq) == NULL. It wouldn't be a problem, should 'run_node' be the very first field of 'struct sched_entity' (and it's the second).

ACPI suspend/hibernate tests (was: ACPI power off regression in 2.6.23-rc8)

2007-09-25 Thread Frans Pop
On Tuesday 25 September 2007, Rafael J. Wysocki wrote: On Tuesday, 25 September 2007 17:40, Linus Torvalds wrote: Len - why are you guys moving stuff into CONFIG_PM_SLEEP? I know you seem to think that absolutely *everybody* should always support suspend and hibernation, but the fact is,

Re: 2.6.23-rc8-mm1: somewhat broken forced HPET on ICH5

2007-09-25 Thread Thomas Gleixner
Alexey, On Wed, 2007-09-26 at 00:50 +0400, Alexey Dobriyan wrote: ich-force-hpet-ich5-quirk-to-force-detect-enable.patch is causing the following on Etch boot: [initscripts as usual] Setting system clock: [nothing happens for several seconds] select to /dev/rtc to

Re: [PATCH] UML - time build fix

2007-09-25 Thread Jeff Dike
On Tue, Sep 25, 2007 at 09:54:15PM +0200, Thomas Gleixner wrote: On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote: Put back an implementation of timeval_to_ns in arch/um/os-Linux/time.c. tglx pointed out in his review of tickless support that there was a perfectly good implementation of

Re: 2.6.23-rc8-mm1 - powerpc memory hotplug link failure

2007-09-25 Thread Badari Pulavarty
On Wed, 2007-09-26 at 01:30 +0530, Kamalesh Babulal wrote: Hi Andrew, The 2.6.23-rc8-mm1 kernel linking fails on the powerpc (P5+) box CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `memory_block_action':

Re: 2.6.23-rc8-mm1

2007-09-25 Thread Badari Pulavarty
Hi Andy, One the patch you created in -mm is causing compile warning. Here is the fix. Please verify. Thanks, Badari arch/powerpc/mm/init_64.c: In function `vmemmap_populated': arch/powerpc/mm/init_64.c:211: warning: passing arg 1 of `vmemmap_section_start' makes pointer from integer without a

Re: ACPI suspend/hibernate tests (was: ACPI power off regression in 2.6.23-rc8)

2007-09-25 Thread Rafael J. Wysocki
On Tuesday, 25 September 2007 23:44, Frans Pop wrote: On Tuesday 25 September 2007, Rafael J. Wysocki wrote: On Tuesday, 25 September 2007 17:40, Linus Torvalds wrote: Len - why are you guys moving stuff into CONFIG_PM_SLEEP? I know you seem to think that absolutely *everybody* should

[GIT PATCH] ACPI patches for 2.6.23-rc8

2007-09-25 Thread Len Brown
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release This will update the files shown below. thanks! -Len ps. individual patches are available on [EMAIL PROTECTED] and a consolidated plain patch is available here:

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Berck E. Nash
Jeff Garzik wrote: Can you tell me something about this device? [ 49.045635] ata2.00: ATA-6: Config Disk, RGL10364, max UDMA/133 [ 49.051677] ata2.00: 640 sectors, multi 1: LBA [ 49.056321] ata2.00: configured for UDMA/133 It seems like it does not support the 'check power mode'

Re: [PATCH] UML - time build fix

2007-09-25 Thread Thomas Gleixner
Jeff, On Tue, 2007-09-25 at 17:56 -0400, Jeff Dike wrote: On Tue, Sep 25, 2007 at 09:54:15PM +0200, Thomas Gleixner wrote: On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote: Put back an implementation of timeval_to_ns in arch/um/os-Linux/time.c. tglx pointed out in his review of

Re: [PATCHSET 2/4] sysfs: allow suicide

2007-09-25 Thread Greg KH
On Thu, Sep 20, 2007 at 04:26:15PM +0900, Tejun Heo wrote: Hello, all. This is the second patchset of four sysfs update patchset series[1] and to be applied on top of the first patchset[1]. I have no specific objection to this patchset, but it seems that others still do, so I'll hold off on

KPROBES: Instrumenting a function's call site

2007-09-25 Thread Avishay Traeger
Hello, I am trying to use kprobes to measure the latency of a function by instrumenting its call site. Basically, I find the call instruction, and insert a kprobe with a pre-handler and post-handler at that point. The pre-handler measures the latency (reads the TSC counter). The post-handler

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-09-25 Thread Greg KH
On Thu, Sep 20, 2007 at 05:05:39PM +0900, Tejun Heo wrote: Subject: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model Hello, all. This is the third patchset of four sysfs update patchset series[1] and to be applied on top of the second patchset[2]. Currently, sysfs

Re: 2.6.23-rc8-mm1 : wgt634u.c

2007-09-25 Thread trem
Hi I've applied the 2.6.23-rc8-mm1 patch, and I've got a new directory mips at root of my linux source. This directory only contain : bcm947xx/wgt634u.c I think that this directory bcm947xx should be added in arch/mips subdirectory. regards, trem - To unsubscribe from this list: send the line

subsystem_unregister() breakage in -mm

2007-09-25 Thread Miklos Szeredi
I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm when removing the fuse module. This patch titled kobject: remove the static array for the name looks like it's responsible. Reverting it cures the problem. The root of the problem seems to be, that decl_subsys() initializes

Re: ACPI suspend/hibernate tests (was: ACPI power off regression in 2.6.23-rc8)

2007-09-25 Thread Frans Pop
On Wednesday 26 September 2007, Rafael J. Wysocki wrote: I compiled kernels (i386) for my laptop (Toshiba Satellite A40) with: A) PM + SUSPEND + HIBERNATION + ACPI B) PM + SUSPEND + ACPI C) PM + HIBERNATION + ACPI D) PM + ACPI E) PM + SUSPEND + HIBERNATION but _without_ ACPI F)

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Robert Hancock
Jeff Garzik wrote: Berck E. Nash wrote: Jeff Garzik wrote: Once the blame has been squared fixed upon me :) you can use git-bisect to locate the precise change that broke your setup. Okay, here's the problem: 268fe6f9f15551be9abedd44a237392675d529d5 is first bad commit commit

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-25 Thread Berck E. Nash
Berck E. Nash wrote: hdparm output attached. Whoops, it really is this time. /dev/sde: 427a 3fff 0010 e100 0258 003f 000e 5744 2d57 4d41 4b48 3131 3235 3131 3700 0003 4000 004a 3331 2e30 3846 3331 5744 4320 5744 3336 3047 442d 3030 464c 4132 2020 2020 2020 2020 2020

Re: [PATCHSET 4/4] sysfs: implement new features

2007-09-25 Thread Greg KH
On Thu, Sep 20, 2007 at 05:31:37PM +0900, Tejun Heo wrote: Hello, all. This is the fourth patchset of four sysfs update patchset series[1] and to be applied on top of the third patchset[2]. This patchset implements the following new features. * Notify pollers on file deactivation. This

Re: subsystem_unregister() breakage in -mm

2007-09-25 Thread Greg KH
On Wed, Sep 26, 2007 at 12:27:14AM +0200, Miklos Szeredi wrote: I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm when removing the fuse module. This patch titled kobject: remove the static array for the name looks like it's responsible. Reverting it cures the problem.

[patch] fix sys_mknodat breakage from r/o bind mounts

2007-09-25 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] mknod(foo, 0644) returns EINVAL, even though it should succeed. The responsible patch is this: r-o-bind-mounts-sys_mknodat-elevate-write-count-for-vfs_mknod-create.patch Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] --- Index: linux/fs/namei.c

Re: subsystem_unregister() breakage in -mm

2007-09-25 Thread Miklos Szeredi
On Wed, Sep 26, 2007 at 12:27:14AM +0200, Miklos Szeredi wrote: I get BUG: failure at mm/slab.c:591/page_get_cache()! in latest -mm when removing the fuse module. This patch titled kobject: remove the static array for the name looks like it's responsible. Reverting it cures the

Re: [patch] fix sys_mknodat breakage from r/o bind mounts

2007-09-25 Thread Dave Hansen
On Wed, 2007-09-26 at 00:58 +0200, Miklos Szeredi wrote: From: Miklos Szeredi [EMAIL PROTECTED] mknod(foo, 0644) returns EINVAL, even though it should succeed. Just to clarify, this is for when we use mknod to create normal, non-device files, right? Your fix looks very correct to me. I'm

missing mnt_drop_write() on open error

2007-09-25 Thread Miklos Szeredi
I get this at umount, if there was a failed open(): WARNING: at fs/namespace.c:586 __mntput() I think the problem is that may_open() calls mnt_want_write(), but if open doesn't succeed, mnt_drop_write() will not be called. Miklos - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/4] module: implement module_inhibit_unload()

2007-09-25 Thread Tejun Heo
Alan Stern wrote: On Tue, 25 Sep 2007, Tejun Heo wrote: Alan Stern wrote: The unloading can proceed once module_unload_inhibit_cnt reaches zero. An unloading thread only has to care about inhibition put in effect before unloading has started, so there's no need to check again. You haven't

Re: [patch] fix sys_mknodat breakage from r/o bind mounts

2007-09-25 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] mknod(foo, 0644) returns EINVAL, even though it should succeed. Just to clarify, this is for when we use mknod to create normal, non-device files, right? Yes. I'm curious, do you have a normal program that uses mknod(2) this way? I'd like to

Re: missing mnt_drop_write() on open error

2007-09-25 Thread Dave Hansen
On Wed, 2007-09-26 at 01:14 +0200, Miklos Szeredi wrote: I get this at umount, if there was a failed open(): WARNING: at fs/namespace.c:586 __mntput() I think the problem is that may_open() calls mnt_want_write(), but if open doesn't succeed, mnt_drop_write() will not be called. I see

[PATCH -mm] swap: fix function declaration

2007-09-25 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Fix function declaration: mm/swap.c:130:22: warning: non-ANSI function declaration of function 'move_tail_pages' Signed-off-by: Randy Dunlap [EMAIL PROTECTED] --- mm/swap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH -mm] ecryptfs: fix printk format warning

2007-09-25 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Fix printk format warning: fs/ecryptfs/crypto.c:1443: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' Signed-off-by: Randy Dunlap [EMAIL PROTECTED] --- fs/ecryptfs/crypto.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC Patch] Trace - Samples

2007-09-25 Thread Mathieu Desnoyers
* Randy Dunlap ([EMAIL PROTECTED]) wrote: On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote: This patch Moves the trace example into the new samples/ infrastructure Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157) and create samples/Makefile or

Re: [RFC Patch] Trace - Samples

2007-09-25 Thread Randy Dunlap
Mathieu Desnoyers wrote: * Randy Dunlap ([EMAIL PROTECTED]) wrote: On Tue, 25 Sep 2007 13:35:47 -0700 David J. Wilder wrote: This patch Moves the trace example into the new samples/ infrastructure Requires: [patch 3/5] Add samples subdir (http://lkml.org/lkml/2007/9/25/157) and create

Re: [PATCH 1/4] module: implement module_inhibit_unload()

2007-09-25 Thread Rusty Russell
On Wed, 2007-09-26 at 08:15 +0900, Tejun Heo wrote: I have no problem with changing the condition check to loop but it would be great if someone can point me to a code where this unexpected wake up is used. This is one of those areas where we're conservative. Historically there have been

[00/17] Virtual Compound Page Support V1

2007-09-25 Thread Christoph Lameter
RFC-V1 - Support for all compound functions for virtual compound pages (including the compound_nth_page() necessary for LBS mmap support) - Fix various bugs - Fix i386 build Currently there is a strong tendency to avoid larger page allocations in the kernel because of past fragmentation issues

[01/17] Vmalloc: Move vmalloc_to_page to mm/vmalloc.

2007-09-25 Thread Christoph Lameter
We already have page table manipulation for vmalloc in vmalloc.c. Move the vmalloc_to_page() function there as well. Move the definitions for vmalloc related functions in mm.h to before the functions dealing with compound pages because they will soon need to use them. Signed-off-by: Christoph

[02/17] vmalloc: add const

2007-09-25 Thread Christoph Lameter
Make vmalloc functions work the same way as kfree() and friends that take a const void * argument. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- include/linux/mm.h |4 ++-- include/linux/vmalloc.h |6 +++--- mm/vmalloc.c| 16 3 files changed,

[03/17] i386: Resolve dependency of asm-i386/pgtable.h on highmem.h

2007-09-25 Thread Christoph Lameter
pgtable.h does not include highmem.h but uses various constants from highmem.h. We cannot include highmem.h because highmem.h will in turn include many other include files that also depend on pgtable.h So move the definitions from highmem.h into pgtable.h. Signed-off-by: Christoph Lameter [EMAIL

[04/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries

2007-09-25 Thread Christoph Lameter
is_vmalloc_addr() is used in a couple of places. Add a version to vmalloc.h and replace the other checks. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- drivers/net/cxgb3/cxgb3_offload.c |4 +--- fs/ntfs/malloc.h |3 +-- fs/proc/kcore.c |2

[05/17] vmalloc: clean up page array indexing

2007-09-25 Thread Christoph Lameter
The page array is repeatedly indexed both in vunmap and vmalloc_area_node(). Add a temporary variable to make it easier to read (and easier to patch later). Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/vmalloc.c | 16 +++- 1 file changed, 11 insertions(+), 5

[06/17] vunmap: return page array passed on vmap()

2007-09-25 Thread Christoph Lameter
Make vunmap return the page array that was used at vmap. This is useful if one has no structures to track the page array but simply stores the virtual address somewhere. The disposition of the page array can be decided upon after vunmap. vfree() may now also be used instead of vunmap which will

[07/17] vmalloc_address(): Determine vmalloc address from page struct

2007-09-25 Thread Christoph Lameter
Sometimes we need to figure out which vmalloc address is in use for a certain page struct. There is no easy way to figure out the vmalloc address from the page struct. So simply search through the kernel page tables to find the address. This is a fairly expensive process. Use sparingly (or provide

[11/17] GFP_VFALLBACK for zone wait table.

2007-09-25 Thread Christoph Lameter
Currently vmalloc is used for the zone wait table possibly generating the need to generate lots of TLBs to access the tables. We can now use GFP_VFALLBACK to attempt the use of a physically contiguous page that can then use the large kernel TLBs. Signed-off-by: Christoph Lameter [EMAIL PROTECTED]

[16/17] Allow virtual fallback for buffer_heads

2007-09-25 Thread Christoph Lameter
This is in particular useful for large I/Os because it will allow 100 allocs from the SLUB fast path without having to go to the page allocator. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/buffer.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index:

[17/17] Allow virtual fallback for dentries

2007-09-25 Thread Christoph Lameter
Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/dcache.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/fs/dcache.c === --- linux-2.6.orig/fs/dcache.c 2007-09-24 16:47:43.0 -0700 +++

[15/17] SLUB: Support virtual fallback via SLAB_VFALLBACK

2007-09-25 Thread Christoph Lameter
SLAB_VFALLBACK can be specified for selected slab caches. If fallback is available then the conservative settings for higher order allocations are overridden. We then request an order that can accomodate at mininum 100 objects. The size of an individual slab allocation is allowed to reach up to

[13/17] Virtual compound page freeing in interrupt context

2007-09-25 Thread Christoph Lameter
If we are in an interrupt context then simply defer the free via a workqueue. Removing a virtual mappping *must* be done with interrupts enabled since tlb_xx functions are called that rely on interrupts for processor to processor communications. Signed-off-by: Christoph Lameter [EMAIL PROTECTED]

[12/17] Virtual Compound page allocation from interrupt context.

2007-09-25 Thread Christoph Lameter
In an interrupt context we cannot wait for the vmlist_lock in __get_vm_area_node(). So use a trylock instead. If the trylock fails then the atomic allocation will fail and subsequently be retried. This only works because the flush_cache_vunmap in use for allocation is never performing any IPIs in

<    4   5   6   7   8   9   10   11   >