x86: Add HPET force support for MCP55 (nForce 5) chipsets

2007-10-19 Thread Carlos Corbacho
From: Carlos Corbacho <[EMAIL PROTECTED]> Add support to force_hpet for all known MCP55 (nForce 5) chipset LPC bridges. --- These are the untested nForce 5 chips (taken from Mikko's original patch, and checked against pci.ids). arch/x86/kernel/quirks.c | 18 ++ 1 files

Re: [BLOCK2MTD] WARNING: at kernel/lockdep.c:2331 lockdep_init_map()

2007-10-19 Thread Peter Zijlstra
On Fri, 2007-10-19 at 13:53 -0400, Erez Zadok wrote: > I've been having this problem for some time with mtd, which I use to mount > jffs2 images (for unionfs testing). I've seen it in several recent major > kernels, including 2.6.24. Here's the sequence of ops I perform: > > # cp

RE: [NFS] Kernel Oops in NFS

2007-10-19 Thread Jason . V . Mock
> -Original Message- > From: Trond Myklebust [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 18, 2007 18:24 > To: Mock, JV Jason @ IS > Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; > Kile, SE Scott @ IS > Subject: Re: [NFS] Kernel Oops in NFS > > > On Thu, 2007-10-18 at

Re: Network failure with 2.6.23-git14

2007-10-19 Thread Chris Holvenstot
On Fri, 2007-10-19 at 12:28 -0400, Jeff Garzik wrote: > Chris Holvenstot wrote: > > I built 2.6.23-git14 this morning - when booted I can not access the > > network via my Ethernet connection. Fallback to 2.6.23-git11 works OK. > > One interesting message during boot: > > > [ 37.325760]

Re: [PATCH 1/9] irq-remove: core

2007-10-19 Thread Jeff Garzik
Eric W. Biederman wrote: Jeff Garzik <[EMAIL PROTECTED]> writes: commit 008b5fcf3c1d8456005de26ddd4256b1369225e8 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri Oct 19 00:45:51 2007 -0400 [IRQ ARG REMOVAL] core interrupt delivery infrastructure updates include/asm-generic/irq_regs.h

Re: [PATCH 4/9] irq-remove: driver non-trivial

2007-10-19 Thread Eric W. Biederman
Jeff Garzik <[EMAIL PROTECTED]> writes: > commit 654f4a242cac0148ffe98ce288c9116e65b08e44 > Author: Jeff Garzik <[EMAIL PROTECTED]> > Date: Fri Oct 19 00:47:17 2007 -0400 > > [IRQ ARG REMOVAL] non-trivial driver updates Ok. You have some random cleanups as buried in this patch as well as

Re: [RFC] [PATCH -mm] ASIC3 driver

2007-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Andrew Morton wrote: > On Fri, 19 Oct 2007 12:53:00 +0200 Samuel Ortiz <[EMAIL PROTECTED]> wrote: > > > On Thu, Oct 18, 2007 at 03:05:44PM -0700, Andrew Morton wrote: > > > On Thu, 18 Oct 2007 11:12:41 +0200 > > > Samuel Ortiz <[EMAIL PROTECTED]> wrote: > > > > > >

Re: [PATCH] eccbuf is statically defined and always evaluate to true

2007-10-19 Thread Samuel Tardieu
Off course, there should be the required Signed-off-by: Samuel Tardieu <[EMAIL PROTECTED]> on this patch. Sam -- Samuel Tardieu -- [EMAIL PROTECTED] -- http://www.rfc1149.net/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH] x86: Fix resume for nVidia and force_hpet

2007-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Carlos Corbacho wrote: > From: Carlos Corbacho <[EMAIL PROTECTED]> > > Actually set force_hpet_resume_type. > --- > Whoops, just noticed I forgot to re-add this to the patch before submitting > it. > > arch/x86/kernel/quirks.c |1 + > 1 files changed, 1 insertions(+),

[PATCH] x86: Fix resume for nVidia and force_hpet

2007-10-19 Thread Carlos Corbacho
From: Carlos Corbacho <[EMAIL PROTECTED]> Actually set force_hpet_resume_type. --- Whoops, just noticed I forgot to re-add this to the patch before submitting it. arch/x86/kernel/quirks.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/quirks.c

Re: [PATCH 1/9] irq-remove: core

2007-10-19 Thread Eric W. Biederman
Jeff Garzik <[EMAIL PROTECTED]> writes: > commit 008b5fcf3c1d8456005de26ddd4256b1369225e8 > Author: Jeff Garzik <[EMAIL PROTECTED]> > Date: Fri Oct 19 00:45:51 2007 -0400 > > [IRQ ARG REMOVAL] core interrupt delivery infrastructure updates > > include/asm-generic/irq_regs.h | 25

Re: [RFC] [PATCH -mm] ASIC3 driver

2007-10-19 Thread Andrew Morton
On Fri, 19 Oct 2007 12:53:00 +0200 Samuel Ortiz <[EMAIL PROTECTED]> wrote: > On Thu, Oct 18, 2007 at 03:05:44PM -0700, Andrew Morton wrote: > > On Thu, 18 Oct 2007 11:12:41 +0200 > > Samuel Ortiz <[EMAIL PROTECTED]> wrote: > > > > +#include > > > +#include > > > +#include > > > > Please see

Re: [PATCH] i386: fix TSC clock source calibration error [part 2]

2007-10-19 Thread Hiroshi Shimamoto
Dave Johnson wrote: > From: Dave Johnson <[EMAIL PROTECTED]> > > The previous patch wasn't correctly handling the 'count' variable. If > a CPU gave bad results on the 1st or 2nd run but good results on the > 3rd, it wouldn't do the correct thing. No idea if any such CPU > exists, but the patch

Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes

2007-10-19 Thread Maciej W. Rozycki
On Fri, 19 Oct 2007, Jarek Poplawski wrote: > Actually I'm not convinced with this explanation. It seems to me that > since there are such serious locking problems (especially with rntl), > there could be once more considered a private workqueue. You've > written earlier about being a lonely user

Re: [PATCH] x86: Force enable HPET for CK804 (nForce 4) chipsets

2007-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Carlos Corbacho wrote: > From: Carlos Corbacho <[EMAIL PROTECTED]> > > This patch adds a quirk from LinuxBIOS to force enable HPET on > the nVidia CK804 (nForce 4) chipset. > > This quirk can very likely support more than just nForce 4 > (LinuxBIOS use the same code for

Re: [PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-19 Thread David Brownell
> > In fact, if I look at the kernel.org GIT tree, it doesn't have > > them either. Your tree must have somehow gotten a bunch of > > private changes. > > Did you apply these patches, or I need resent a new patchset against > latest Linus GIT tree? I'm still not quite sure why the patches you

[BLOCK2MTD] WARNING: at kernel/lockdep.c:2331 lockdep_init_map()

2007-10-19 Thread Erez Zadok
I've been having this problem for some time with mtd, which I use to mount jffs2 images (for unionfs testing). I've seen it in several recent major kernels, including 2.6.24. Here's the sequence of ops I perform: # cp jffs2-empty.img /tmp/foo # losetup /dev/loop0 /tmp/foo # modprobe mtdblock #

[PATCH v3] kconfig: update kconfig-language text

2007-10-19 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Add kconfig-language docs for mainmenu, def_bool, and def_tristate. Remove "requires" as a synonym of "depends on" since it was removed from the parser in commit 247537b9a270b52cc0375adcb0fb2605a160cba5. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> ---

[PATCH] eccbuf is statically defined and always evaluate to true

2007-10-19 Thread Samuel Tardieu
--- drivers/mtd/devices/doc2000.c |4 ++-- drivers/mtd/devices/doc2001plus.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/devices/doc2000.c b/drivers/mtd/devices/doc2000.c index c73e96b..e9ce241 100644 --- a/drivers/mtd/devices/doc2000.c +++

[PATCH] x86: Force enable HPET for CK804 (nForce 4) chipsets

2007-10-19 Thread Carlos Corbacho
From: Carlos Corbacho <[EMAIL PROTECTED]> This patch adds a quirk from LinuxBIOS to force enable HPET on the nVidia CK804 (nForce 4) chipset. This quirk can very likely support more than just nForce 4 (LinuxBIOS use the same code for nForce 5), and possibly nForce 3, but I don't have those

Re: [PATCH 2/9] irq-remove: arch non-trivial

2007-10-19 Thread Jeff Garzik
Jeremy Fitzhardinge wrote: Jeff Garzik wrote: commit 8d45690dd90b18daaa21b981ab20caf393220bf0 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri Oct 19 00:46:23 2007 -0400 [IRQ ARG REMOVAL] various non-trivial arch updates arch/x86/kernel/vm86_32.c |3 ++-

Re: [PATCH 1/9] irq-remove: core

2007-10-19 Thread Jeff Garzik
Eric W. Biederman wrote: Jeff Garzik <[EMAIL PROTECTED]> writes: diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 80eab7a..92e1456 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -455,7 +455,7 @@ void free_irq(unsigned int irq, void *dev_id)

Re: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-19 Thread Daniel Barkalow
On Thu, 18 Oct 2007, David Miller wrote: > From: "Shane Huang" <[EMAIL PROTECTED]> > Date: Thu, 18 Oct 2007 18:37:59 +0800 > > > Hi Miller: > > > > Thank you for your response. > > > > The reason why MSIs of these northbridges do not work is still under > > further debug, we are NOT able to

Re: [2.6 patch] fix mm/util.c:krealloc()

2007-10-19 Thread Christoph Lameter
On Fri, 19 Oct 2007, Adrian Bunk wrote: > Commit ef8b4520bd9f8294ffce9abd6158085bde5dc902 added one NULL check for > "p" in krealloc(), but that doesn't seem to be enough since there > doesn't seem to be any guarantee that memcpy(ret, NULL, 0) works > (spotted by the Coverity checker). > >

Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)

2007-10-19 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Nick Piggin writes: [...] > Hmm, looks like jffs2_write_end is writing more than we actually ask it > to, and returns that back. > > unsigned aligned_start = start & ~3; > > and > > if (end == PAGE_CACHE_SIZE) { > /* When writing

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-19 Thread Vitaliy Ivanov
> > Didn't here anything on this? What is our final decision here? > > It's gotten worse, not better. Apparently, you aren't getting the > concept of protecting the open count with a static lock and my > explanations are just not vivid enough or something. So I decided > to fix it myself. Maybe

[RFC] LinuxPPS (pre)patch

2007-10-19 Thread Rodolfo Giometti
Hello, here my last patch of LinuxPPS. Main differences from old versions is that now (finally) each PPS source is a dedicated char device! This thanks to an agreement with NTP people who suggested to me how to interpret RFC 2783 in such a way even a dedicated char device is now RFC complain.

request_firmware() and in-kernel modules

2007-10-19 Thread Timur Tabi
If my driver is compiled in-kernel (and I have module support turned off), can I still use request_firmware()? If my driver is loaded before the file system drivers are loaded, how can a user process copy the firmware to the /sys/class/firwmare/.../data device? - To unsubscribe from this

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/19/07, Mark Lord <[EMAIL PROTECTED]> wrote: I believe this is now the forth report of blinking-leds lockup with 2.6.23.1. I wonder what's causing it? My system has this as well, totally random, once every day or so. New behaviour since 2.6.23-rc9 (I posted previously

Re: [PATCH] i386: fix TSC clock source calibration error

2007-10-19 Thread Dave Johnson
Daniel Walker writes: > Can you tell us what type of machine this was? I've seen complaints > where the SMI's can cause some other funny stuff with calibration , be > no one can every reproduce anything.. Xeon LV (Sossaman) based custom board. BIOS is GenSW. -- Dave Johnson Starent Networks -

Re: [PATCH 2/9] irq-remove: arch non-trivial

2007-10-19 Thread Jeff Garzik
Jeremy Fitzhardinge wrote: Jeff Garzik wrote: commit 8d45690dd90b18daaa21b981ab20caf393220bf0 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri Oct 19 00:46:23 2007 -0400 [IRQ ARG REMOVAL] various non-trivial arch updates arch/x86/kernel/vm86_32.c |3 ++-

Re: [PATCH 1/9] irq-remove: core

2007-10-19 Thread Eric W. Biederman
Jeff Garzik <[EMAIL PROTECTED]> writes: > diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c > index 80eab7a..92e1456 100644 > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -455,7 +455,7 @@ void free_irq(unsigned int irq, void *dev_id) >*/ >

Re: [kvm-devel] Use virtual cpu accounting if available for guest times.

2007-10-19 Thread Hollis Blanchard
On Fri, 2007-10-19 at 11:57 -0500, Hollis Blanchard wrote: > > @@ -669,11 +670,13 @@ __init void kvm_arch_init(void); > > > > static inline void kvm_guest_enter(void) > > { > > + account_system_vtime(current); > > current->flags |= PF_VCPU; > > } > > > > static inline void

[patch 09/10] Cleanup page table definitions.

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> - De-confuse the defines for the address-space-control-elements and the segment/region table entries. - Create out of line functions for page table allocation / freeing. - Simplify get_shadow_xxx functions. Signed-off-by: Martin Schwidefsky <[EMAIL

[patch 10/10] 4level-fixup cleanup

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Get independent from asm-generic/4level-fixup.h Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/lib/uaccess_pt.c |7 ++ arch/s390/mm/init.c|6 +- arch/s390/mm/vmem.c| 34 ++--

[patch 02/10] Add per-cpu idle time / idle count sysfs attributes.

2007-10-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Add two new sysfs entries per cpu: idle_count and idle_time. idle_count contains the number of times a cpu went into idle state. idle_time contains the time a cpu spent in idle state in microseconds. This can be used e.g. by powertop to tell how often idle

[patch 00/10] 2nd batch of s390 patches for 2.6.24.

2007-10-19 Thread Martin Schwidefsky
The latest and greatest for 2.6.24. This patch set includes the tlb flush fix that has been discussed back in June/July and a cleanup of the mm related definitions for s390. I have three more patches in the works that go on top of the cleanup. These three patches add two new features: 1) dynamic

[patch 03/10] cio: Use to_channelpath() for device to channel path conversion.

2007-10-19 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> We already have a macro for that, so let's use it consistently... Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/chp.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[patch 08/10] Introduce follow_table in uaccess_pt.c

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Define and use follow_table inline in uaccess_pt.c to simplify the code. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/lib/uaccess_pt.c | 85 +++-- 1 file changed, 22 insertions(+), 63

[patch 07/10] Remove unused user_seg from thread structure.

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/process.c |2 -- include/asm-s390/processor.h | 14 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) Index: quilt-2.6/arch/s390/kernel/process.c

[patch 06/10] tlb flush fix.

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> The current tlb flushing code for page table entries violates the s390 architecture in a small detail. The relevant section from the principles of operation (SA22-7832-02 page 3-47): "A valid table entry must not be changed while it is attached

[patch 05/10] struct class_device -> struct device conversion.

2007-10-19 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Convert struct class_device users under drivers/s390/char to use struct device. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/char/raw3270.c| 26 +++---

[patch 04/10] cio: Fix incomplete commit for uevent suppression.

2007-10-19 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Commit fa1a8c23eb7d3ded8a3c6d0e653339a2bc7fca9e intended to introduce uevent suppression for subchannels, but half of it was lost somewhere. Now, we end up with two uevents for every registered subchannel :( So we should better add the missing part from

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Ray Lee
On 10/19/07, Mark Lord <[EMAIL PROTECTED]> wrote: > Ray Lee wrote: > > On 10/17/07, Giangiacomo Mariotti <[EMAIL PROTECTED]> wrote: > >> Linux Kernel 2.6.23.1 freezes on GB data transfers. > >> > >> Pc completely freezed while transferring 4Gb of data from > >> dvd(/dev/hdc) to hd(nothing else was

[patch 01/10] Update default configuration.

2007-10-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/defconfig | 108 1 file changed, 75 insertions(+), 33 deletions(-) Index: quilt-2.6/arch/s390/defconfig

[PATCH] i386: fix TSC clock source calibration error [part 2]

2007-10-19 Thread Dave Johnson
From: Dave Johnson <[EMAIL PROTECTED]> The previous patch wasn't correctly handling the 'count' variable. If a CPU gave bad results on the 1st or 2nd run but good results on the 3rd, it wouldn't do the correct thing. No idea if any such CPU exists, but the patch below handles that case by

Re: [PATCH 2/9] irq-remove: arch non-trivial

2007-10-19 Thread Jeff Garzik
Eric W. Biederman wrote: In this case we can easily pass the irqno into request_irq, allowing us to do "unsigned int intno = (unsigned int)dev_id;". I suspect this is the case for the majority of the non-trivial users as well. Not that easy, alas :) Save for weirdos like the mac drivers I

Re: BUG in: Driver core: convert block from raw kobjects to core devices

2007-10-19 Thread Alan Stern
On Fri, 19 Oct 2007, Kay Sievers wrote: > > Don't you have a USB storage device? It should be easy for you to test > > this on your own system. > > Sure, I have, and tried a lot of times, and all seemed correct here with > the final put. I don't say that it's the right fix, but without it, the

Re: [PATCH 2/9] irq-remove: arch non-trivial

2007-10-19 Thread Eric W. Biederman
Jeff Garzik <[EMAIL PROTECTED]> writes: > commit 8d45690dd90b18daaa21b981ab20caf393220bf0 > Author: Jeff Garzik <[EMAIL PROTECTED]> > Date: Fri Oct 19 00:46:23 2007 -0400 > > [IRQ ARG REMOVAL] various non-trivial arch updates > > arch/x86/kernel/vm86_32.c |3 ++- >

Re: OOM notifications

2007-10-19 Thread Chris Friesen
Samuel Tardieu wrote: "Pavel" == Pavel Machek <[EMAIL PROTECTED]> writes: Pavel> That works okay on a PC, but try cellphone one day. Pavel> You want management app to close the least used Pavel> application. You do not want _kernel_ to select "who to send Pavel> SIGTERM to". That's why I

Re: [kvm-devel] Use virtual cpu accounting if available for guest times.

2007-10-19 Thread Hollis Blanchard
On Thu, 2007-10-18 at 14:39 +0200, Christian Borntraeger wrote: > Avi, > > ppc and s390 offer the possibility to track process times precisely > by looking at cpu timer on every context switch, irq, softirq etc. > We can use that infrastructure as well for guest time accounting. > We need to

Re: [PATCH 2/9] irq-remove: arch non-trivial

2007-10-19 Thread Jeremy Fitzhardinge
Jeff Garzik wrote: > commit 8d45690dd90b18daaa21b981ab20caf393220bf0 > Author: Jeff Garzik <[EMAIL PROTECTED]> > Date: Fri Oct 19 00:46:23 2007 -0400 > > [IRQ ARG REMOVAL] various non-trivial arch updates > > arch/x86/kernel/vm86_32.c |3 ++- > include/asm-x86/irq_regs_32.h | 25

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-19 Thread Pete Zaitcev
On Fri, 19 Oct 2007 18:26:35 +0300, "Vitaliy Ivanov" <[EMAIL PROTECTED]> wrote: > Didn't here anything on this? What is our final decision here? It's gotten worse, not better. Apparently, you aren't getting the concept of protecting the open count with a static lock and my explanations are just

PCMCIA driver resource allocation

2007-10-19 Thread Bjorn Helgaas
Question 1: Does the linux-pcmcia list still exist? It's in MAINTAINERS: PCMCIA SUBSYSTEM P: Linux PCMCIA Team L: [EMAIL PROTECTED] L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia T: git kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git S:

MMC: CRC Errors with 2GB cards

2007-10-19 Thread Roopesh
Hi, I am seeing a lot of CRC errors happening with CMD25 on a couple of Transcend 2GB cards (specifiation version 1.1). However, if I apply the following patch, I see no errors being reported --- linux-2.6.22/drivers/mmc/card/block.c 2007-09-27 14:59:44.0 +0530 +++

Re: x86_64 and AMD with C1E

2007-10-19 Thread Chuck Ebbert
On 10/01/2007 02:15 AM, Mikhail Kshevetskiy wrote: > Hello, > > I have ASUS F3T notebook with dualcore AMD processor. It has c1e feature > enabled. I test linux-2.6.23-rc8-hrt1 kernel. Everything is work (thanks > to lapic disable patch), but i have to many processor interrupts per > seconds

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/17/07, Giangiacomo Mariotti <[EMAIL PROTECTED]> wrote: Linux Kernel 2.6.23.1 freezes on GB data transfers. Pc completely freezed while transferring 4Gb of data from dvd(/dev/hdc) to hd(nothing else was happening, cpu general usage at 5-6%).Except for this,it has been

Re: [PATCH 1/5] Use wake_up_locked() in eventpoll

2007-10-19 Thread Matthew Wilcox
On Thu, Oct 18, 2007 at 08:56:23PM -0700, Arjan van de Ven wrote: > Have you tested this patch with LOCKDEP enabled? eventpoll is... tricky > in what it does with waitqueues and locks and some of this stuff is > there, afaik, to deal with that. You're now changing this ... call me > chicken :)

Re: Network failure with 2.6.23-git14

2007-10-19 Thread Jeff Garzik
Chris Holvenstot wrote: I built 2.6.23-git14 this morning - when booted I can not access the network via my Ethernet connection. Fallback to 2.6.23-git11 works OK. One interesting message during boot: [ 37.325760] forcedeth: Reverse Engineered nForce ethernet driver. [ 37.843618]

Re: nVidia HPET force enable - merge requirements? (resend)

2007-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Carlos Corbacho wrote: > Would the following patch be more acceptable then? I've limited the device > id's to just the nForce 4 chipset, because that's the only one I have here > to test with at the moment - it appears to work fine: Yes, looks good. It is just missing the

Locking problem in usbserial with 2.6.23-git 5a34417f

2007-10-19 Thread Larry Finger
While attempting to configure a new USB modem, the following locking problem occurred. In addition, shortly after this problem occurred, the computer froze. The log data starts at the point that usbserial was loaded and contains everything that was written to disk before the machine locked up.

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Ray Lee
On 10/17/07, Giangiacomo Mariotti <[EMAIL PROTECTED]> wrote: > Linux Kernel 2.6.23.1 freezes on GB data transfers. > > Pc completely freezed while transferring 4Gb of data from > dvd(/dev/hdc) to hd(nothing else was happening, cpu general usage at > 5-6%).Except for this,it has been working

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Luca Tettamanti
On 10/19/07, Christian Borntraeger <[EMAIL PROTECTED]> wrote: > Am Freitag, 19. Oktober 2007 schrieb Laurent Vivier: > > Did you patch kvm.git with patch-2.6.23.1.bz2 or did you download > > linux-2.6.23.1.tar.bz2 ? > > > > 2.6.23.1 corrects nothing except sata_mv... > > Yes I know. The question

Re: [bisected][mismerge?] Re: [microcode] 2.6.23.git pulled this morning oopses loading P4 microcode

2007-10-19 Thread Randy Dunlap
On Fri, 19 Oct 2007 12:18:19 +0200 Mike Galbraith wrote: > On Fri, 2007-10-19 at 04:49 +0200, Mike Galbraith wrote: > > On Thu, 2007-10-18 at 23:33 +0100, Samuel Thibault wrote: > > > Hi, > > > > > > Mike Galbraith, le Thu 18 Oct 2007 19:56:38 +0200, a écrit : > > > > The winner of a very long

Re: nVidia HPET force enable - merge requirements? (resend)

2007-10-19 Thread Carlos Corbacho
Thomas, On Friday 19 October 2007 07:50:08 Thomas Gleixner wrote: > So if there are working quirks, please refactor them analogous to the > existing ones in quirks.c. > > All undocumented chipset poking needs to be protected by the > hpet=force boot option, so the default is not to do scan for

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-19 Thread Vitaliy Ivanov
On 10/17/07, Vitaliy Ivanov <[EMAIL PROTECTED]> wrote: > Willy & Pete, > > On Tue, 2007-10-16 at 21:24, Vitaliy Ivanov wrote: > > Following Pete notes I will rework code and give it for review once again. > > As I said it's usb-skeleton approach that I reused during the port. > > > > Anyway, will

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Christian Borntraeger
Am Freitag, 19. Oktober 2007 schrieb Laurent Vivier: > Did you patch kvm.git with patch-2.6.23.1.bz2 or did you download > linux-2.6.23.1.tar.bz2 ? > > 2.6.23.1 corrects nothing except sata_mv... Yes I know. The question we tried to answer was: is the bug in 2.6.23 or was it introduced after

Re: OOM notifications

2007-10-19 Thread Samuel Tardieu
> "Pavel" == Pavel Machek <[EMAIL PROTECTED]> writes: Pavel> That works okay on a PC, but try cellphone one day. Pavel> You want management app to close the least used Pavel> application. You do not want _kernel_ to select "who to send Pavel> SIGTERM to". That's why I would prefer that

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Avi Kivity
Carsten Otte wrote: > Hi list, > > we've experienced a severe bug in current kvm.git, that may have been > introduced to the git tree quite recently around last weekend. 2.6.23 > is broken, 2.6.23-rc8 works for us. The symptom is, that our operon > kvm test machine shredders its hard disk

Re: [PATCH] Make m68k cross compile like every other architecture.

2007-10-19 Thread Sam Ravnborg
On Fri, Oct 19, 2007 at 01:38:38AM -0500, Rob Landley wrote: > On Thursday 18 October 2007 4:14:20 pm Sam Ravnborg wrote: > > > Anyway, here's a try to make it autodetect m68k-linux-gnu-gcc and > > > m68k-linux-gcc. Perhaps it can be generalized in kbuild, to allow > > > arch/*/Makefile to set a

[PATCH] Add additional argument to bootmem reservation

2007-10-19 Thread Bernhard Walle
This patch adds the additional bootmem reservation argument to all other architectures which didn't compile after kexec-introduce-bootmem_exclusive.patch has been merged [1]. It also adds a flags argument to reserve_bootmem_node(). I tested compilation on i386, x86_64 and ia64 with different

Re: Power button policy and mechanism

2007-10-19 Thread Dmitry Torokhov
Hi Richard, On Friday 19 October 2007, Richard Purdie wrote: > On Tue, 2007-10-16 at 10:34 -0400, Dmitry Torokhov wrote: > > On 10/16/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > > This is mainly an embedded issue, but I feel it's quite important. > > > It should apply to other devices

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Laurent Vivier
Christian Borntraeger a écrit : Am Freitag, 19. Oktober 2007 schrieb Jan Engelhardt: On Oct 19 2007 15:44, Carsten Otte wrote: Carsten Otte wrote: First thing we do, is figure whether or not 2.6.23.1 as released breaks our system too. This way, we can either focus on differences between Linus

Re: [PATCH 0/9] Remove 'irq' argument from all irq handlers

2007-10-19 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Jeff Garzik wrote: > > WARNING NOT FOR MERGE WARNING NOT FOR MERGE WARNING NOT FOR MERGE > > This posting is just to demonstrate something that I have been keeping > alive in the background. I have no urge to push it upstream anytime > soon. > > The overwhelming majority

[PATCH] Use BOOTMEM_EXCLUSIVE for crashkernel reservation

2007-10-19 Thread Bernhard Walle
This patch implements the usage of BOOTMEM_EXCLUSIVE for crashkernel reservation on other architectures. The only architecture that applies is sh. The patch is based on current git tree plus kexec-introduce-bootmem_exclusive.patch from -mm tree. Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]>

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Christian Borntraeger
Am Freitag, 19. Oktober 2007 schrieb Jan Engelhardt: > > On Oct 19 2007 15:44, Carsten Otte wrote: > > Carsten Otte wrote: > >> First thing we do, is figure whether or not 2.6.23.1 as released breaks our > >> system too. This way, we can either focus on differences between Linus and > >> Avi, or

Re: [patch 1/3] Add BSS to resource tree

2007-10-19 Thread Bernhard Walle
* Andrew Morton <[EMAIL PROTECTED]> [2007-10-18 23:26]: > On Thu, 18 Oct 2007 13:15:36 +0200 > Bernhard Walle <[EMAIL PROTECTED]> wrote: > > > This patch adds the BSS to the resource tree just as kernel text and kernel > > data are in the resource tree. The main reason behind this is to avoid > >

Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes

2007-10-19 Thread Jarek Poplawski
On Fri, Oct 19, 2007 at 12:38:29PM +0100, Maciej W. Rozycki wrote: > On Thu, 18 Oct 2007, Maciej W. Rozycki wrote: > > > > 1) phy_change() checks PHY_HALTED flag without lock; I think it's > > > racy: eg. if it's done during phy_stop() it can check just before > > > the flag is set and reenable

[PATCH] 9p: add virtio transport

2007-10-19 Thread ericvh
From: Eric Van Hensbergen <[EMAIL PROTECTED]> This adds a transport to 9p for communicating between guests and a host using a virtio based transport. Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]> --- Documentation/filesystems/9p.txt |8 +- include/linux/virtio_9p.h| 10 +

[PATCH] lguest: add 9p socket gateway to launcher

2007-10-19 Thread ericvh
From: Eric Van Hensbergen <[EMAIL PROTECTED]> This adds code to setup a gateway between virtio and a 9p server on the other side of a TCP/IP socket. I looked into trying to come up with more of a "plug-in" model for such lguest launcher extensions, but wasn't happy with any of the alternatives I

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Jan Engelhardt
On Oct 19 2007 15:44, Carsten Otte wrote: > Carsten Otte wrote: >> First thing we do, is figure whether or not 2.6.23.1 as released breaks our >> system too. This way, we can either focus on differences between Linus and >> Avi, or turn on the big red warning sign saying "regression". > > Looks

Re: Syba 8-Port Serial Card Unidentified By Kernel

2007-10-19 Thread kyle
I also have an 8 port PCI serial card with the 8871 chip on it and a breakout cable. It is identified as such on my machine: 01:02.0 Serial controller: PLX Technology, Inc. Unknown device 9016 (rev 01) (prog-if 02 [16550]) Subsystem: Unknown device 544e:0008 Control: I/O- Mem-

Re: [2.6 patch] fuse_file_alloc(): fix NULL dereferences

2007-10-19 Thread Miklos Szeredi
> This patch fixes obvious NULL dereferences spotted by the Coverity > checker. Thanks! Miklos - 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

Re: BUG in: Driver core: convert block from raw kobjects to core devices

2007-10-19 Thread Kay Sievers
On Fri, 2007-10-19 at 10:09 -0400, Alan Stern wrote: > On Fri, 19 Oct 2007, Kay Sievers wrote: > > > > This accounts for everything in del_gendisk except the final > > > put_device. Evidently it doesn't belong there. There's no matching > > > get_device in add_disk or register_disk. > > > >

Fwd: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-19 Thread David Gaarenstroom
2007/10/19, Shane Huang <[EMAIL PROTECTED]>: > > Since we have little experience on PCI and MSI here, "Here" as in "here at AMD"?! I'm stunned... Both AMD and the former ATI should have quite some experience?! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: BUG in: Driver core: convert block from raw kobjects to core devices

2007-10-19 Thread Alan Stern
On Fri, 19 Oct 2007, Kay Sievers wrote: > > This accounts for everything in del_gendisk except the final > > put_device. Evidently it doesn't belong there. There's no matching > > get_device in add_disk or register_disk. > > Hmm, do you have kobject debugging enabled? Do you ever see

[2.6 patch] fs/9p/v9fs.c: memleak fix

2007-10-19 Thread Adrian Bunk
This patch fixes a memory leak introduced by commit ba17674fe02909fef049fd4b620a2805bdb8c693. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6/fs/9p/v9fs.c.old 2007-10-19 15:56:06.0 +0200 +++ linux-2.6/fs/9p/v9fs.c 2007-10-19

[2.6 patch] fix mm/util.c:krealloc()

2007-10-19 Thread Adrian Bunk
Commit ef8b4520bd9f8294ffce9abd6158085bde5dc902 added one NULL check for "p" in krealloc(), but that doesn't seem to be enough since there doesn't seem to be any guarantee that memcpy(ret, NULL, 0) works (spotted by the Coverity checker). For making it clearer what happens this patch also

[2.6 patch] fuse_file_alloc(): fix NULL dereferences

2007-10-19 Thread Adrian Bunk
This patch fixes obvious NULL dereferences spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 53b7c67ef9b6c26a0c7f554fef43021633a48ab7 diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 0fcdba9..535b373 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -55,9

[2.6 patch] ide/pci/sis5513.c: add missing "else"

2007-10-19 Thread Adrian Bunk
This patch adds a missing "else" that was missing in commit c77a89cd98d99819f23a4a08e5e17ee1f13f6e4d. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 2e4b8d4f58ea45e55c87ba5563b0d0e135cac2b4 diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c

Re: [2.6.22.5] irq X: nobody cared but X is successfully used by libata

2007-10-19 Thread Bjoern Olausson
On 10/19/07, Paul Rolland <[EMAIL PROTECTED]> wrote: > Hi Tejun, > > On Fri, 19 Oct 2007 12:23:15 +0900 > Tejun Heo <[EMAIL PROTECTED]> wrote: > > > > On 26/08/07, Paul Rolland <[EMAIL PROTECTED]> wrote: > > >> My machine (an ASUS P5W-DH-Deluxe, Core2, 4Go RAM, 3 SATA and 2IDE) is > > >> reporting

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Carsten Otte
Carsten Otte wrote: First thing we do, is figure whether or not 2.6.23.1 as released breaks our system too. This way, we can either focus on differences between Linus and Avi, or turn on the big red warning sign saying "regression". Looks like 2.6.23.1 works fine on that box. We'll leave it

fs/buffer.c:nobh_write_end(): NULL dereference

2007-10-19 Thread Adrian Bunk
Commit 03158cd7eb3374843de68421142ca5900df845d9 introcduced the following NULL dereference: <-- snip --> ... int nobh_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void

Re: nfsv2 ref leak in 2.6.24?

2007-10-19 Thread Trond Myklebust
On Fri, 2007-10-19 at 01:49 -0400, Erez Zadok wrote: > I'm testing unionfs on top of nfsv2/3/4, using 2.6.24 as of linus's commit > 4fa4d23fa20de67df919030c1216295664866ad7. A lot of my unionfs regression > tests are failing on nfs2, b/c files that should be deleted, aren't. It > feels like

RE: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-19 Thread Shane Huang
Hi Guys: > This logic seems backwards, to me. "shoot first, ask questions later" > To me this it not how to approach this problem. > > Once you turn MSI off, there is next to no incentive to fix the > problem because users aren't running into it any longer. > > The only two devices in that bug

[PATCH] clean up vmtruncate

2007-10-19 Thread Christoph Hellwig
vmtruncate is a twisted maze of gotos, this patch cleans it up to have a proper if else for the two major cases of extending and truncating truncate and thus makes it a lot more readable while keeping exactly the same functinality. Signed-off-by: Christoph Hellwig <[EMAIL PROTECTED]> Index:

Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes

2007-10-19 Thread Maciej W. Rozycki
On Fri, 19 Oct 2007, Jarek Poplawski wrote: > But then... your patch seems to make it possible, because it enables > irq to the initial state of the counter. Of course, this could happen > on closing only. That's because free_irq() does not disable the interrupt in the correct manner. The

[PATCH 0/2] x86: MCE optimization and cleanups

2007-10-19 Thread Joerg Roedel
This patchset includes two patches. 1. Checks for the MCA fetures as early as possible and signedness fixup. 2. Minor coding style cleanup. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

sound/pci/hda/patch_via.c: array overflow

2007-10-19 Thread Adrian Bunk
sound/pci/hda/patch_via.c contains the following code: <-- snip --> ... struct via_spec { ... hda_nid_t private_dac_nids[4]; ... ^^^ }; ... static int vt1709_auto_fill_dac_nids(struct via_spec *spec, const struct

[PATCH 1/2] x86: MCE optimization/refactoring

2007-10-19 Thread Joerg Roedel
MCG_CAP never reports a negative count of available error-reporting banks. Therefore, make nr_mce_banks unsigned. Check for MCE feature bit as early as possible and clean up the extra _MCE checks in the various cpu init type functions per request from Thomas Gleixner. Signed-off-by: Christoph

<    1   2   3   4   5   6   7   8   9   >