Re: [PATCH] x86: fix build on non-C locales.

2008-02-24 Thread Ingo Molnar
* Priit Laes [EMAIL PROTECTED] wrote: x86: fix build on some non-C locales[1]. For some locales regex range [a-zA-Z] does not work as it is supposed to so we have to specify LANG=C to make it work as intended. thanks, applied. Ingo -- To unsubscribe from this list: send the line

[PATCH] ps3: Fix unlikely incorrect usage

2008-02-24 Thread Samuel Tardieu
Fix unlikely(plug) == NO_IRQ into unlikely(plug == NO_IRQ). Signed-off-by: Samuel Tardieu [EMAIL PROTECTED] --- arch/powerpc/platforms/ps3/interrupt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/ps3/interrupt.c

Re: 2.6.25-rc2 + smartd = hang

2008-02-24 Thread Anders Eriksson
[EMAIL PROTECTED] said: Could you try bisecting it down to the guilty commit using git-bisect? [ the old stuff got few hundred commits in 2.6.25 ] Thanks, Bart Will do. It'll take a while though. Not a fast machine and used by the household... /A -- To unsubscribe from this list: send the

Re: [PATCH] PM: Introduce PM_EVENT_HIBERNATE (was: Re: i915 hibernation patch (was: Re: 2.6.25-rc2 System no longer ...))

2008-02-24 Thread Pavel Machek
Hi! Thanks, applied. With this, I also find that I dislike the use of suspend/resume for freezing for STD a lot less. It's still too easy to get confused, but at least now drivers always have total knowledge about what is really going on. I'd not like this interface as a driver writer,

Re: Reducing debuginfo size by removing unneeded includes

2008-02-24 Thread Samuel Tardieu
Andy -feliminate-unused-debug-types -feliminate-unused-debug-symbols Andy -feliminate-dwarf2-dups Sam google did not turn up anything useful. Do you have a poiter to Sam where these are described? From GCC (svn) man page: -feliminate-unused-debug-symbols Produce debugging information

Re: Reducing debuginfo size by removing unneeded includes

2008-02-24 Thread Sam Ravnborg
On Sun, Feb 24, 2008 at 09:25:19AM +0100, Samuel Tardieu wrote: Andy -feliminate-unused-debug-types -feliminate-unused-debug-symbols Andy -feliminate-dwarf2-dups Sam google did not turn up anything useful. Do you have a poiter to Sam where these are described? From GCC (svn) man page:

Re: [PATCH] x86: fix build on non-C locales.

2008-02-24 Thread Sam Ravnborg
Hi Prit. Could we just use [[:alnum:]] and drop the setting of LC_ALL? Sam -- 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

Re: [BUG] snd-hda-intel

2008-02-24 Thread Takashi Iwai
At Sat, 23 Feb 2008 19:51:39 -0500, Dave Jones wrote: On Wed, Feb 13, 2008 at 03:31:31PM +0100, Takashi Iwai wrote: At Wed, 13 Feb 2008 15:25:14 +0100, Peter Zijlstra wrote: lspci -vvv: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller

Re: [PATCH] More accessible usage of custom flags

2008-02-24 Thread Nicholas Marquez
On Sat, Feb 23, 2008 at 6:39 PM, Nick Andrew [EMAIL PROTECTED] wrote: On Sat, Feb 23, 2008 at 05:28:23PM -0500, Nicholas Marquez wrote: First of all, thanks for the input! On Sat, Feb 23, 2008 at 5:04 PM, Nick Andrew [EMAIL PROTECTED] wrote: On Sat, Feb 23, 2008 at 04:28:50PM -0500,

help needed : kernel 2.4 sata_nv smp 4G

2008-02-24 Thread Vitaly Kroivets
Dear All, I need help with following problem. We use kernel 2.4.32 , Motherboard is Tyan k8SE which uses Nvidia Nforce 2200 (CK8-04) chips, we have 2 Dualcore opterons and 4G ram , and SATA disk WD1600YS-01S . Sometimes (once a 3-4 weeks) the computer stops responding with following message:

Re: [PATCH][RFC] Remove obsolete digiepca content.

2008-02-24 Thread Jiri Slaby
On 02/09/2008 10:45 PM, Robert P. J. Day wrote: Remove the Digi Intl. epca driver for Linux, which is marked as obsolete. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- this is a quick, first pass at a removal. feel free to suggest tweaks. Was there any comments on this? I suggest

Re: getting uninterruptible sleep processes after upgrade from 2.6.20.20 to 2.6.24.2

2008-02-24 Thread Jiri Slaby
Ccing xfs team On 02/21/2008 02:37 PM, Stefan Priebe - allied internet ag wrote: Hello! I'm using XFS. dmesg -s32000 does not help - no more output. In messages there is also no relevant output. Other than what I've posted here: http://lkml.org/lkml/2008/2/21/76

Re: [PATCH 4/6] regulator: regulator core.

2008-02-24 Thread Mark Brown
On Sat, Feb 23, 2008 at 09:52:17AM +, Russell King - ARM Linux wrote: On Sat, Feb 23, 2008 at 12:05:38AM -0800, Andrew Morton wrote: +#undef current err, no ;) Please rename your stuff. Renaming is not an option - current is an electronic term for which there is no alternative.

[PATCH] USB: remove unnecessary type casting of urb-context

2008-02-24 Thread Ming Lei
urb-context code cleanup Signed-off-by: Ming Lei [EMAIL PROTECTED] --- drivers/usb/atm/cxacru.c |2 +- drivers/usb/class/cdc-acm.c |2 +- drivers/usb/misc/auerswald.c | 12 ++-- drivers/usb/misc/ftdi-elan.c |2 +-

Re: [RFC 01/11] add generic versions of debugfs file operations

2008-02-24 Thread Arnd Bergmann
On Saturday 23 February 2008, Al Viro wrote: Ewww - caps, \n... BTW, \0 is pointless here - simple_read_from_buffer() will not access it with these arguments)... ... Please, check the length; sloppy input grammar is a bad idea. Hell, at the very least you want -EINVAL if input is not

Re: [RFC 02/11] introduce simple_fs_type

2008-02-24 Thread Arnd Bergmann
On Saturday 23 February 2008, Al Viro wrote: On Tue, Feb 19, 2008 at 05:04:37AM +0100, Arnd Bergmann wrote: The most interesting function here is the new struct dentry * simple_register_filesystem(struct simple_fs_type *type), which returns the root directory of a new file system that can

[PATCH 1/2] x86: Coding Style fixes to arch/x86/power/cpu_32.c

2008-02-24 Thread Paolo Ciarrocchi
File is now error free. Compile tested. Patch is against x86#testing Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/power/cpu_32.c | 41 +++-- 1 files changed, 23 insertions(+), 18 deletions(-) diff --git a/arch/x86/power/cpu_32.c

Re: jffs2: -ENOSPC when truncating file?!

2008-02-24 Thread David Woodhouse
On Sun, 2008-02-24 at 07:57 +0100, Jörn Engel wrote: Could a naïve implementation of this get exploited by doing a large number of truncates that just shave single bytes off various files? Yeah, which is why _my_ naïve implementation would do it for truncate-to-zero instead of just _any_

[PATCH 2/2] x86: Coding Style fixes to arch/x86/kernel/cpu/common.c

2008-02-24 Thread Paolo Ciarrocchi
File is now error free. Compile tested. Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/kernel/cpu/common.c | 105 ++--- 1 files changed, 56 insertions(+), 49 deletions(-) diff --git a/arch/x86/kernel/cpu/common.c

Re: [RFC 03/11] slim down debugfs

2008-02-24 Thread Arnd Bergmann
On Saturday 23 February 2008, Al Viro wrote: +config LIBFS + tristate + default m + help +   libfs is a helper library used by many of the simpler file +   systems. Parts of libfs can be modular when all of its users +   are modules as well, and the users

[BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread Mikael Pettersson
The kernel for this 486 has CONFIG_M486=y and CONFIG_M586TSC=n, but the 2.6.25 kernels still try to access the TSC. Here's the oops from 2.6.25-rc2-git8: Pid: 0, comm: swapper Not tainted (2.6.25-rc2-git8 #1) EIP: 0060:[c0106216] EFLAGS: 00010002 CPU: 0 EIP is at native_read_tsc+0x6/0x10 EAX:

strange behavior on multimedia eject button for cdrom

2008-02-24 Thread Harald Dunkel
Hi folks, My laptop (Dell XPS M1330) has some multimedia keys added to the keyboard, including an eject button for the cdrom drive, instead of a regular eject button built into the drive itself. When I press it to eject a CD, then Linux becomes pretty mad: The audio device gets stuck somehow,

Re: jffs2: -ENOSPC when truncating file?!

2008-02-24 Thread Jörn Engel
On Sun, 24 February 2008 18:57:32 +0800, David Woodhouse wrote: On Sun, 2008-02-24 at 07:57 +0100, Jörn Engel wrote: Could a naïve implementation of this get exploited by doing a large number of truncates that just shave single bytes off various files? Yeah, which is why _my_ naïve

Re: [PATCH] PM: Introduce PM_EVENT_HIBERNATE (was: Re: i915 hibernation patch (was: Re: 2.6.25-rc2 System no longer ...))

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Mirco Tischler wrote: On Sa, 2008-02-23 at 19:13 +0100, Rafael J. Wysocki wrote: Index: linux-2.6/drivers/usb/host/u132-hcd.c === --- linux-2.6.orig/drivers/usb/host/u132-hcd.c +++

Re: [PATCH] u132-hcd: add missing braces

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Stephen Rothwell wrote: Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] Thanks, this has been fixed already in the mainline. --- drivers/usb/host/u132-hcd.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Discovered while building Linus'

Re: [2.6.25 patch] fix drivers/usb/host/u132-hcd.c compilation

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Adrian Bunk wrote: This patch fixes the following compile error caused by commit 3a2d5b700132f35401f1d9e22fe3c2cab02c2549: Thanks, it has already been fixed in the mainline. -- snip -- ... CC drivers/usb/host/u132-hcd.o

Re: [PATCH 4/6] regulator: regulator core.

2008-02-24 Thread Russell King - ARM Linux
On Sun, Feb 24, 2008 at 10:23:49AM +, Mark Brown wrote: On Sat, Feb 23, 2008 at 09:52:17AM +, Russell King - ARM Linux wrote: On Sat, Feb 23, 2008 at 12:05:38AM -0800, Andrew Morton wrote: +#undef current err, no ;) Please rename your stuff. Renaming is not an option -

Re: 2.6.25-current-git hangs on boot

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Soeren Sonnenburg wrote: On Sat, 2008-02-23 at 20:00 +0100, Oliver Pinter wrote: the pci=nommconf kernel parameter helped it? yes indeed, this switch reliably helps to over come the hang at *this stage* (I tried booting with booth the switch and w/o).

Re: Hang on suspend

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Julian Blake Kongslie wrote: On Sat, 2008-02-23 at 21:43 +0100, Rafael J. Wysocki wrote: Can you please apply the appened patch and retest? Didn't apply cleanly to v2.6.25-rc2; I had to mangle one or two lines. The patch I applied follows at the end of this

Re: [PATCH] PM: Introduce PM_EVENT_HIBERNATE (was: Re: i915 hibernation patch (was: Re: 2.6.25-rc2 System no longer ...))

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Rafael J. Wysocki wrote: On Sunday, 24 of February 2008, Mirco Tischler wrote: On Sa, 2008-02-23 at 19:13 +0100, Rafael J. Wysocki wrote: Index: linux-2.6/drivers/usb/host/u132-hcd.c ===

lockdep warnings in ipv6

2008-02-24 Thread Jan Engelhardt
Hi, when doing IPv6 (ping6, ssh otherhost, etc.), lockdep spews a warning in 2.6.25-rc2 on the target. CONFIG_..._FRAME_POINTER is off, CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y # CONFIG_FRAME_POINTER is not set so I am not sure if the stack trace is worth something, is it? [ 449.168320]

Re: [patch 2/2] x86,fpu: lazy allocation of FPU area

2008-02-24 Thread Andi Kleen
On Sat, Feb 23, 2008 at 06:34:39PM -0800, Suresh Siddha wrote: Only allocate the FPU area when the application actually uses FPU, i.e., in the first lazy FPU trap. This could save memory for non-fpu using apps. Did you measure this making any difference? At least at some point glibc always

Re: Reducing debuginfo size by removing unneeded includes

2008-02-24 Thread Andi Kleen
Just FYI, newer gcc does this in theory automatically when you specify -feliminate-unused-debug-types -feliminate-unused-debug-symbols google did not turn up anything useful. Do you have a poiter to where these are described? info gcc There is also -feliminate-dwarf2-dups, but it

Re: [PATCH] x86_64: make amd quad core 8 socket system not be clustered_box v2

2008-02-24 Thread Andi Kleen
On Sat, Feb 23, 2008 at 09:48:42PM -0800, Yinghai Lu wrote: quad core 8 socket system will have apic id lifting.the apic id range could be [4, 0x23]. and apic_is_clustered_box will think that need to three clusters and that is large than 2. So it is treated as clustered_box. Ok I see you

Re: 2.6.25-current-git hangs on boot

2008-02-24 Thread Soeren Sonnenburg
On Sun, 2008-02-24 at 12:18 +0100, Rafael J. Wysocki wrote: On Sunday, 24 of February 2008, Soeren Sonnenburg wrote: On Sat, 2008-02-23 at 20:00 +0100, Oliver Pinter wrote: the pci=nommconf kernel parameter helped it? yes indeed, this switch reliably helps to over come the hang at *this

Re: [2.6.25-rc2, 2.6.24-rc8] page allocation failure...

2008-02-24 Thread Daniel J Blueman
On Tue, Feb 19, 2008 at 5:37 PM, Kok, Auke [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Sun, 17 Feb 2008 13:20:59 + Daniel J Blueman [EMAIL PROTECTED] wrote: I'm still hitting this with e1000e on 2.6.25-rc2, 10 times again. are you sure? I don't think that's the case and you're

Re: [PATCH] More accessible usage of custom flags

2008-02-24 Thread Nick Andrew
On Sun, Feb 24, 2008 at 04:36:24AM -0500, Nicholas Marquez wrote: Yes, I would like to expand them. If possibly, I'd like to take out the individual config options for gcc flags and integrate them into the help description. I feel that the redundancy would not only be ugly, but possibly

Re: Please, put 64-bit counter per task and incr.by.one each ctxt switch.

2008-02-24 Thread J.C. Pizarro
Good morning :) On 2008/2/24, Rik van Riel [EMAIL PROTECTED] wrote: OK, one last reply on the (overly optimistic?) assumption that you are not a troll. +++ linux-2.6_git-20080224/include/linux/sched.h2008-02-24 04:50:18.0 +0100 @@ -1007,6 +1007,12 @@ struct

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-24 Thread Theodore Tso
On Sat, Feb 23, 2008 at 01:53:35PM +, John Levon wrote: On Sat, Feb 23, 2008 at 12:37:24PM +0100, Ingo Molnar wrote: It's 200 lines of pretty well isolated code for something that is already much more usable to me than 10 years of oprofile. Really, i'd much rather take 200 lines of

Re: lockdep warnings in ipv6

2008-02-24 Thread Kristof Provost
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2008-02-24 13:10:58 (+0100), Jan Engelhardt [EMAIL PROTECTED] wrote: Hi, when doing IPv6 (ping6, ssh otherhost, etc.), lockdep spews a warning in 2.6.25-rc2 on the target. CONFIG_..._FRAME_POINTER is off, I think that's the same bug I ran

build #380 issue for v2.6.25-rc2-637-g4fa2b1c in ./drivers/media/video/vivi.c

2008-02-24 Thread Toralf Förster
Hello, the build with the attached .config failed, make ends with: ... CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Alan Stern wrote: On Sun, 24 Feb 2008, Rafael J. Wysocki wrote: On Sunday, 24 of February 2008, Alan Stern wrote: On Sat, 23 Feb 2008, Rafael J. Wysocki wrote: Ultimately no, it's not. However, we are now late in the -rc2 time frame and the

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-24 Thread Ingo Molnar
* Theodore Tso [EMAIL PROTECTED] wrote: The abdication of responsibility and the lack of trying to solve the usability issues is one of the things that really worries me about *all* of Linux's RAS tools. We can and should do better! And it's really embarassing that the RAS maintainers

[PATCH 1/3] input: support maple mouse on Dreamcast

2008-02-24 Thread Adrian McMenamin
input: support maple mouse on Dreamcast Signed-off-by: Adrian McMenamin [EMAIL PROTECTED] --- diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 7bbea09..d171336 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig @@ -232,4 +232,16 @@ config

[PATCH 2/3] input: support maple mouse on Dreamcast

2008-02-24 Thread Adrian McMenamin
input: update Makefile to support maple mouse on Dreamcast Signed-off-by: Adrian McMenamin [EMAIL PROTECTED] --- diff --git a/drivers/input/mouse/Makefile b/drivers/input/mouse/Makefile index 9e6e363..5d35939 100644 --- a/drivers/input/mouse/Makefile +++ b/drivers/input/mouse/Makefile @@ -16,6

[BUG] NMI watchdog alert with Linux 2.6.23.16

2008-02-24 Thread Chris Rankin
Hi, This is a strange NMI lockup - I have no idea what triggered it and so cannot possibly reproduce it. Requests to try (try what?) with 2.6.24.x would be similarly unhelpful. But anyway, here it is. A perfectly normal boot of 2.6.23.16 on a dual P4 Xeon (HT enabled, to give 4 logical CPUs)

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Alan Stern wrote: On Sun, 24 Feb 2008, Rafael J. Wysocki wrote: On Sunday, 24 of February 2008, Alan Stern wrote: On Sat, 23 Feb 2008, Rafael J. Wysocki wrote: I still have no clear idea about what's going on with the ACPI bug in #9874. It seems

[PATCH 3/3] input: support maple mouse on Dreamcast

2008-02-24 Thread Adrian McMenamin
input: add support for maple mouse on Dreamcast Signed-off-by: Adrian McMenamin [EMAIL PROTECTED] --- diff --git a/drivers/input/mouse/maplemouse.c b/drivers/input/mouse/maplemouse.c new file mode 100644 index 000..08cfb6f --- /dev/null +++ b/drivers/input/mouse/maplemouse.c @@ -0,0 +1,148

Re: [BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread Ingo Molnar
* Mikael Pettersson [EMAIL PROTECTED] wrote: The kernel for this 486 has CONFIG_M486=y and CONFIG_M586TSC=n, but the 2.6.25 kernels still try to access the TSC. Here's the oops from 2.6.25-rc2-git8: hm, could you send me the full .config you used? Ingo -- To unsubscribe from this

Re: [linux-pm] [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-24 Thread Rafael J. Wysocki
On Sunday, 24 of February 2008, Alan Stern wrote: On Sat, 23 Feb 2008, Alan Stern wrote: It happened in a workqueue. There could be lots of similar cases: Some interrupt-driven event causes a hotplug action. Since the action can't be carried out in interrupt context, the driver has no

[PATCH] input: support maple controller on SEGA Dreamcast

2008-02-24 Thread Adrian McMenamin
This is a port of the old (never in mainline) 2.4 driver. (It also fixes some issues with earlier patches which should be discarded for this) Signed-off-by: Adrian McMenamin [EMAIL PROTECTED] --- diff -ruN ./a/drivers/input/joystick/Kconfig ./b/drivers/input/joystick/Kconfig ---

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Michael Buesch
On Saturday 23 February 2008 12:32:50 Alexey Zaytsev wrote: The problem is not with enabling both b43 and bcm43xx (will, whis won't work anyway, and there is no chance fixing it). The problem is with enabling the bcm43xx wifi driver and the b44 Ethernet driver. The ethernet driver then wrongly

[PATCH] maple: fix device detection

2008-02-24 Thread Adrian McMenamin
The maple bus driver that went into the kernel mainline in September 2007 contained some bugs which were revealed by the update of the kobj code for the current release series. Unfortunately those bugs also helped ensure maple devices were properly detected. This patch (against the current git)

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-24 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: I'm the one to make sure that patches for useful userspace tools that get submitted to me eventually go upstream, one way or another. just to make it clear: that one way or another very much includes the possibility that sysprof is modified to make

Re: Merging of completely unreviewed drivers

2008-02-24 Thread Krzysztof Halasa
Jörn Engel [EMAIL PROTECTED] writes: I strongly disagree. Machine-generated warnings are a great way of quickly locating a large amount of questionable code in an otherwise overwhelming haystack. It doesn't even matter much, which warnings you look for. Almost all code checkers find the

Page scan keeps touching kernel text pages

2008-02-24 Thread Jörn Engel
While tracking down some unrelated bug I noticed that shrink_page_list() keeps testing very low page numbers (aka kernel text) until deciding that the page lacks a mapping and cannot get freed. Looks like a waste of cpu and cachelines to me. Is there a better reason for this behaviour than lack

Re: [patch 00/38] 2.6.24-stable review

2008-02-24 Thread Uli Luckas
Hi stable-team, Could you please include the attached patch [1] to the next stable release. The patch fixes the otherwise unusable bluetooth uart on pxa25x . The patch is written by Russell King [1] who also gave his OK for stable inclusion [2]. The patch is also available as commit

Re: [PATCH][RFC] Remove obsolete digiepca content.

2008-02-24 Thread Robert P. J. Day
On Sun, 24 Feb 2008, Jiri Slaby wrote: On 02/09/2008 10:45 PM, Robert P. J. Day wrote: Remove the Digi Intl. epca driver for Linux, which is marked as obsolete. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- this is a quick, first pass at a removal. feel free to suggest

Re: [BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread Mikael Pettersson
Ingo Molnar writes: * Mikael Pettersson [EMAIL PROTECTED] wrote: The kernel for this 486 has CONFIG_M486=y and CONFIG_M586TSC=n, but the 2.6.25 kernels still try to access the TSC. Here's the oops from 2.6.25-rc2-git8: hm, could you send me the full .config you used? I've

Re: [PATCH] Change a WARN message in checkpatch

2008-02-24 Thread Benny Halevy
On Feb. 23, 2008, 5:38 -0800, Paolo Ciarrocchi [EMAIL PROTECTED] wrote: On Mon, Jan 28, 2008 at 4:13 PM, Paolo Ciarrocchi [EMAIL PROTECTED] wrote: On Jan 28, 2008 3:56 PM, Andy Whitcroft [EMAIL PROTECTED] wrote: On Mon, Jan 14, 2008 at 11:29:13PM +0100, Paolo Ciarrocchi wrote: Hi Andy,

Re: Tabs, spaces, indent and 80 character lines

2008-02-24 Thread Krzysztof Halasa
Richard Knutsson [EMAIL PROTECTED] writes: Why hinder a developer who prefer 2, 4, 6 or any other != 8 width? I guess we could use tabs only at the line start, for indentation only. Rather hard to implement, most text editors can't do that yet. By only using tabs as indents, and changing

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-24 Thread Jochen Friedrich
Hi Olof, 2. record the I2c name in the dts tree, either as seperate tag (like linux,i2c-name=i2c-name) or as additional compatible entry (like compatible=..., linux,i2c-name). I have to say no on this one. The device tree is not supposed to know about how linux uses devices, there

Re: [BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread Ingo Molnar
* Mikael Pettersson [EMAIL PROTECTED] wrote: 2.6.24-git8 changed include/asm-x86/tsc.h:get_cycles() to call rdtscll() even if CONFIG_X86_TSC isn't set. The call is protected by a cpu_has_tsc test, but starting with 2.6.24-git8 cpu_has_tsc is non-zero on this machine, which is very very

Bugs in MMC [was: [Bug 10030] Suspend doesn't work when SD card is inserted]

2008-02-24 Thread Alan Stern
On Sun, 24 Feb 2008, Rafael J. Wysocki wrote: In fact this turns out to be exactly the problem with the MMC subsystem. It uses a dedicated workqueue (kmmcd) to handle state changes, and mmc_suspend_host() does a flush_workqueue(). If the workqueue contains an entry to register or

Re: [PATCH] Make v9fs uname and remotename parsing more robust

2008-02-24 Thread Eric Van Hensbergen
On Sat, Feb 23, 2008 at 2:07 AM, Andrew Morton [EMAIL PROTECTED] wrote: It would be better to present this as two patches. One adds the new core APIs and the other uses those APIs in v9fs. The patches would take separate routes into mainline. I guess I can sneak this one in as-is, as

Re: 2.6.25-rc2 rcupreempt WARN after suspend to ram

2008-02-24 Thread Karsten Wiese
Am Samstag, 23. Februar 2008 schrieb Karsten Wiese: Am Samstag, 23. Februar 2008 schrieb Paul E. McKenney: On Sat, Feb 23, 2008 at 01:41:02PM +0100, Karsten Wiese wrote: Hi, This appeared in dmesg after $ echo core /sys/power/pm_test followed by 3 cycles of $ echo mem

Re: Tabs, spaces, indent and 80 character lines

2008-02-24 Thread Richard Knutsson
Krzysztof Halasa wrote: Richard Knutsson [EMAIL PROTECTED] writes: Why hinder a developer who prefer 2, 4, 6 or any other != 8 width? I guess we could use tabs only at the line start, for indentation only. Rather hard to implement, most text editors can't do that yet. You mean for

[PATCH] invert the axes for HDAPS on Lenovo R61i ThinkPads

2008-02-24 Thread Gabor Czigola
--- /usr/src/linux-source-2.6.24/drivers/hwmon/hdaps.c 2008-02-08 02:20:38.0 +0100 +++ /tmp/hdaps.c2008-02-24 16:42:52.0 +0100 @@ -527,6 +527,7 @@ HDAPS_DMI_MATCH_INVERT(LENOVO, ThinkPad X60), HDAPS_DMI_MATCH_NORMAL(IBM, ThinkPad Z60m),

Re: [PATCH] PM: Introduce PM_EVENT_HIBERNATE (was: Re: i915 hibernation patch (was: Re: 2.6.25-rc2 System no longer ...))

2008-02-24 Thread Jeff Chua
On Sun, Feb 24, 2008 at 2:43 AM, Linus Torvalds [EMAIL PROTECTED] wrote: On Sat, 23 Feb 2008, Rafael J. Wysocki wrote: Thanks for testing. Below is the final version of the patch with a changelog etc. Thanks, applied. With this, I also find that I dislike the use of

Re: 2.6.24.2: 4KSTACKS + pcdrw + dm + mount - stack overflow: ide-cd related? dm-related?

2008-02-24 Thread Nix
On 24 Feb 2008, [EMAIL PROTECTED] outgrape: A loop mount/umounting a pcdrw or iso9660 (through the pktcdvd device) sees a stack overflow in four or five tries. Doing the same thing with the same CD in a normal non-pktcdvd-mounted drive doesn't cause a crash. (This may or may not be

Re: Tabs, spaces, indent and 80 character lines

2008-02-24 Thread Benny Halevy
On Feb. 24, 2008, 7:40 -0800, Richard Knutsson [EMAIL PROTECTED] wrote: Krzysztof Halasa wrote: Richard Knutsson [EMAIL PROTECTED] writes: Why hinder a developer who prefer 2, 4, 6 or any other != 8 width? I guess we could use tabs only at the line start, for indentation only.

Re: [BUG + PATCH/Bugfix] x86/lguest: fix pgdir pmd index calculation

2008-02-24 Thread Ingo Molnar
* Ahmed S. Darwish [EMAIL PROTECTED] wrote: I am not sure why the division over four existed in the first place. It seems bogus, maybe the Xen patch just made the problem appear ? i think so - nice detective work and nice fix! I've picked up your patch into x86.git#testing (until Rusty

[BUG + PATCH/Bugfix] x86/lguest: fix pgdir pmd index calculation

2008-02-24 Thread Ahmed S. Darwish
Hi all, Beginning from commits close to v2.6.25-rc2, running lguest always oopses the host kernel. Oops is at [1]. Bisection led to the following commit: commit 37cc8d7f963ba2deec29c9b68716944516a3244f x86/early_ioremap: don't assume we're using swapper_pg_dir At the early stages

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-24 Thread Jon Smirl
On 2/22/08, Jochen Friedrich [EMAIL PROTECTED] wrote: Hi Jean, +/* + * Wait for patch from Jon Smirl + * #include powerpc-common.h + */ It doesn't make sense to merge this comment upstream. I know you don't like the patch from Jon Smirl and you also explained your

Re: [PATCH] Fix the bcm43xx driver breakage in 2.6.24/25.

2008-02-24 Thread Larry Finger
Alexey Zaytsev wrote: [resent with lkml added to cc, sorry] Hello, gentlemen. Theese two patches fix a problem instroduced in Linux 2.6.24, and still present in the current Linus' 2.6.25 tree. The bcm43xx Wifi driver won't work any more, if the b44 Ethernet driver is enabled. This happens

Re: [BUG + PATCH/Bugfix] x86/lguest: fix pgdir pmd index calculation

2008-02-24 Thread Ahmed S. Darwish
On Sun, Feb 24, 2008 at 05:18:14PM +0100, Ingo Molnar wrote: * Ahmed S. Darwish [EMAIL PROTECTED] wrote: I am not sure why the division over four existed in the first place. It seems bogus, maybe the Xen patch just made the problem appear ? i think so - nice detective work and nice

Re: [patch 1/2] x86,fpu: split FPU state from task struct

2008-02-24 Thread Siddha, Suresh B
On Sun, Feb 24, 2008 at 08:27:30AM +0100, Roger While wrote: On Sat, Feb 23, 2008 at 06:34:38PM -0800, Suresh Siddha wrote: Split the FPU save area from the task struct. This allows easy migration of FPU context, and it's generally cleaner. It also allows the following two optimizations:

Re: [Fixed PATCH] hpt366: fix section mismatch warnings

2008-02-24 Thread Bartlomiej Zolnierkiewicz
On Saturday 23 February 2008, Sam Ravnborg wrote: hpt366: fix section mismatch warnings Fix following warnings: WARNING: o-sparc64/vmlinux.o(.data+0x195a38): Section mismatch in reference from the variable hpt37x_info.0 to the variable .devinit.data:hpt370 WARNING:

Re: [PATCH 00/10] IDE: Coding Style Fixes

2008-02-24 Thread Bartlomiej Zolnierkiewicz
On Saturday 23 February 2008, Paolo Ciarrocchi wrote: Hi Bartlomiej, The following 10 patches remove a huge number of errors and warnings reported by checkpatch.pl from the IDE subsystem. [...] Thanks! I applied everything (patch #8 with fixes based on comments from Adrian Cyrill + patches

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-24 Thread Borislav Petkov
On Sat, Feb 23, 2008 at 04:47:50PM +0100, Andreas Schwab wrote: Kiyoshi Ueda [EMAIL PROTECTED] writes: Could you try this patch? I've only done a compile test, so this patch may not work. Unfortunately, that is not enough to get DVD burning working again. This is the error that

Re: [PATCH 0/6] IDE: new series of Coding Style Fixes

2008-02-24 Thread Bartlomiej Zolnierkiewicz
On Saturday 23 February 2008, Paolo Ciarrocchi wrote: Bart, here is a new series of patches that remove some errors and warnings reported by checkpatch.pl from the IDE subsystem. All the patches have been compile tested and are against this morning (CET time :-) linux-next Paolo

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-24 Thread John Levon
On Sun, Feb 24, 2008 at 08:10:02AM -0500, Theodore Tso wrote: Firstly, the distributions should have set this up automatically. That they don't is a distributor bug. The sheer madness of Linux not leaving a vmlinux file in a stable known location is hardly something oprofile can be blamed

Re: [patch 1/2] x86,fpu: split FPU state from task struct

2008-02-24 Thread Siddha, Suresh B
On Sun, Feb 24, 2008 at 08:22:02AM +0100, Ingo Molnar wrote: * Suresh Siddha [EMAIL PROTECTED] wrote: Split the FPU save area from the task struct. This allows easy migration of FPU context, and it's generally cleaner. It also allows the following two optimizations: 1) only

Re: [PATCH] x86: fix build on non-C locales.

2008-02-24 Thread Priit Laes
Ühel kenal päeval, P, 2008-02-24 kell 10:03, kirjutas Sam Ravnborg: Hi Prit. Could we just use [[:alnum:]] and drop the setting of LC_ALL? Yes, it works. Reverted the previous patch and did this: diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index f385a4b..b8bd0c4 100644 ---

Re: [patch 2/2] x86,fpu: lazy allocation of FPU area

2008-02-24 Thread Siddha, Suresh B
On Sun, Feb 24, 2008 at 01:20:05PM +0100, Andi Kleen wrote: On Sat, Feb 23, 2008 at 06:34:39PM -0800, Suresh Siddha wrote: Only allocate the FPU area when the application actually uses FPU, i.e., in the first lazy FPU trap. This could save memory for non-fpu using apps. Did you measure

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Alexey Zaytsev
On Sun, Feb 24, 2008 at 5:29 PM, Michael Buesch [EMAIL PROTECTED] wrote: On Saturday 23 February 2008 12:32:50 Alexey Zaytsev wrote: The problem is not with enabling both b43 and bcm43xx (will, whis won't work anyway, and there is no chance fixing it). The problem is with enabling the

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-24 Thread Andreas Schwab
Borislav Petkov [EMAIL PROTECTED] writes: burning a dvd here with growisofs works just fine. You probably don't have a Pioneer. However, my strace -v won't dereference the struct pointer passed to the ioctl: I use strace 4.5.16. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: 2.6.24.2: 4KSTACKS + pcdrw + dm + mount - stack overflow: ide-cd related? dm-related?

2008-02-24 Thread Nix
On 24 Feb 2008, Peter Osterlund told this: Nix [EMAIL PROTECTED] writes: But while I'd normally blame pktcdvd there's only one pktcdvd function in these tracebacks (pkt_open) and it's not got a significant stack footprint. Did you verify that with make checkstack or just by looking at the

[RFC] mmiotrace full patch, preview 1

2008-02-24 Thread Pekka Paalanen
Hi all, I have finally got kmmio.c into shape so that it is built in when mmiotrace is built. I'd like to hear your comments on kmmio.c. kmmio.c handles the list of mmio probes with callbacks, list of traced pages, and attaching into the page fault handler and die notifier. It arms, traps and

Re: [git patches] libata fixes

2008-02-24 Thread Bartlomiej Zolnierkiewicz
On Sunday 24 February 2008, Jeff Garzik wrote: [...] Alan Cox (1): pata_atiixp: Use 255 sector limit AHCI needs sorting too but this deals with the old interface Signed-off-by: Alan Cox [EMAIL PROTECTED] Signed-off-by: Jeff Garzik [EMAIL PROTECTED] [...] diff --git

Re: [PATCH] DIGIEPCA: Remove long-obsolete digiepca driver.

2008-02-24 Thread Alan Cox
On Sun, 24 Feb 2008 10:12:41 -0500 (EST) Robert P. J. Day [EMAIL PROTECTED] wrote: Given that the removal of this driver has been under discussion for over a year: http://lkml.org/lkml/2006/10/26/231 it would seem time to get rid of it. NAK - not until a replacement driver supporting

Re: bcm43xx regression in 2.6.24 (with patch)

2008-02-24 Thread Michael Buesch
On Sunday 24 February 2008, Alexey Zaytsev wrote: On Sun, Feb 24, 2008 at 5:29 PM, Michael Buesch [EMAIL PROTECTED] wrote: On Saturday 23 February 2008 12:32:50 Alexey Zaytsev wrote: The problem is not with enabling both b43 and bcm43xx (will, whis won't work anyway, and there is no

Re: [git patches] libata fixes

2008-02-24 Thread Alan Cox
From the patch description it can't be told whether the patch itself is correct and only the patch description is bogus... zero length PRD misparsing. If I remember rightly old IDE never generates 64K PRD slots because other hardware can't handle it either (CS5520/30 etc) -- To unsubscribe from

Re: [PATCH] x86: fix build on non-C locales.

2008-02-24 Thread Ingo Molnar
* Priit Laes [EMAIL PROTECTED] wrote: sed-vdsosym := -e 's/^00*/0/' \ - -e 's/^\([0-9a-fA-F]*\) . \(VDSO[a-zA-Z0-9_]*\)$$/\2 = 0x\1;/p' + -e 's/^\([[:xdigit:]]*\) . \(VDSO[[:alnum:]_]*\)$$/\2 = 0x\1;/p' thanks, i picked up this one instead of the first version. Ingo --

Re: [git patches] libata fixes

2008-02-24 Thread Bartlomiej Zolnierkiewicz
On Sunday 24 February 2008, Alan Cox wrote: From the patch description it can't be told whether the patch itself is correct and only the patch description is bogus... zero length PRD misparsing. If I remember rightly old IDE never generates 64K PRD slots because other hardware can't handle

Re: [BUG] 2.6.25-rc2-git8 fails to boot on 486 due to TSC breakage

2008-02-24 Thread Mikael Pettersson
Mikael Pettersson writes: Ingo Molnar writes: * Mikael Pettersson [EMAIL PROTECTED] wrote: The kernel for this 486 has CONFIG_M486=y and CONFIG_M586TSC=n, but the 2.6.25 kernels still try to access the TSC. Here's the oops from 2.6.25-rc2-git8: hm, could

Re: Tabs, spaces, indent and 80 character lines

2008-02-24 Thread Krzysztof Halasa
Richard Knutsson [EMAIL PROTECTED] writes: I guess we could use tabs only at the line start, for indentation only. Rather hard to implement, most text editors can't do that yet. You mean for split lines? Syntactic indentation vs alignment (including comments after non-blank, values for

[PATCH] Fix alignment of early reservation for EBDA

2008-02-24 Thread Alexander van Heukelum
Hi Andi, My eyes fell on the following table in the boot messages: early res: 0 [0-fff] BIOS data page early res: 1 [6000-7fff] SMP_TRAMPOLINE early res: 2 [20-374557] TEXT DATA BSS early res: 3 [9fc00-a0bff] EBDA early res: 4 [8000-afff] PGTABLE The memory reserved for the EBDA overflows

Re: [patch 2.6.25-rc2-git 1/2] atmel_tc library

2008-02-24 Thread Haavard Skinnemoen
On Fri, 22 Feb 2008 17:23:23 -0800 David Brownell [EMAIL PROTECTED] wrote: Create linux/atmel_tc.h based on asm-arm/arch-at91/at91-tc.h and the at91sam9263 and at32ap7000 datasheets. Most AT91 and AT32 SOCs have one or two of these TC blocks, which include three 16-bit timers that can be

Re: IDE cdrom problem with PLEXTOR DVDR PX-608AL

2008-02-24 Thread Borislav Petkov
On Sun, Feb 24, 2008 at 03:38:34PM +1000, Brad Rosser wrote: [ Added Bart to CC: ] Hi Brad, Borislav Petkov wrote: Feb 14 00:18:18 kernel: hde: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request. Feb 14 00:27:27 kernel: hdc:

  1   2   3   4   5   6   7   >