Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-11-07 Thread Borislav Petkov
On Wed, Nov 07, 2007 at 02:20:03PM -0500, Steven Rostedt wrote: > > > > Introduce a macro for suppressing gcc from generating a warning about a > > probable uninitialized state of a variable. > > > > Example: > > > > - spinlock_t *ptl; > > + spinlock_t *uninitialized_var(ptl); > > > > Not a

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-11-07 Thread Steven Rostedt
> > Introduce a macro for suppressing gcc from generating a warning about a > probable uninitialized state of a variable. > > Example: > > - spinlock_t *ptl; > + spinlock_t *uninitialized_var(ptl); > > Not a happy solution, but those warnings are obnoxious. > > - Using the usual pointl

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-05-17 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-05-17 15:05]: > On Mon, May 14, 2007 at 04:05:15PM +0200, Bernhard Walle wrote: > > * Vivek Goyal <[EMAIL PROTECTED]> [2007-05-08 19:18]: > > > On Thu, May 03, 2007 at 12:19:32AM +0200, Bernhard Walle wrote: > > > > * Vivek Goyal <[EMAIL PROTECTED]> [2007-04-

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-05-17 Thread Vivek Goyal
On Mon, May 14, 2007 at 04:05:15PM +0200, Bernhard Walle wrote: > * Vivek Goyal <[EMAIL PROTECTED]> [2007-05-08 19:18]: > > On Thu, May 03, 2007 at 12:19:32AM +0200, Bernhard Walle wrote: > > > * Vivek Goyal <[EMAIL PROTECTED]> [2007-04-30 10:48]: > > > > > > > > handle_edge_irq() already makes su

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-05-14 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-05-08 19:18]: > On Thu, May 03, 2007 at 12:19:32AM +0200, Bernhard Walle wrote: > > * Vivek Goyal <[EMAIL PROTECTED]> [2007-04-30 10:48]: > > > > > > handle_edge_irq() already makes sure that desc->action is not null, still > > > note_interrupt() is receivin

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-05-08 Thread Vivek Goyal
On Thu, May 03, 2007 at 12:19:32AM +0200, Bernhard Walle wrote: > * Vivek Goyal <[EMAIL PROTECTED]> [2007-04-30 10:48]: > > > > handle_edge_irq() already makes sure that desc->action is not null, still > > note_interrupt() is receiving desc->action as null, that's strange. On my > > system this i

Re: 2.6.21-rc7-mm2 breaks 'lvm vgscan'.

2007-05-05 Thread Valdis . Kletnieks
On Thu, 26 Apr 2007 22:31:15 EDT, [EMAIL PROTECTED] said: > On Wed, 25 Apr 2007 22:57:16 PDT, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ > > This addition in -rc7-mm1 breaks my laptop (Dell Latitude D820

Re: [PATCH] Re: 2.6.21-rc7-mm2 -- hvsi console driver registration failure

2007-05-04 Thread Christoph Lameter
On Fri, 4 May 2007, Andrew Morton wrote: > Better, we should be emitting loud warnigns which then disable themselves > and then succeeding the allocation so that people can proceed with their > kernel testing. > > When all the loud-warning sites have been fixed, we can take that code out > again.

Re: [PATCH] Re: 2.6.21-rc7-mm2 -- hvsi console driver registration failure

2007-05-04 Thread Andrew Morton
On Fri, 04 May 2007 12:38:58 +0100 Andy Whitcroft <[EMAIL PROTECTED]> wrote: > > Trying to get 2.6.21-rc7-mm2 to boot on large PPC64 seems to be a > bit of a challenge. We have been seeing panics on boot from the > hvsi driver: > > Couldn't register hvsi cons

Re: [PATCH] Re: 2.6.21-rc7-mm2 -- hvsi console driver registration failure

2007-05-04 Thread Linas Vepstas
On Fri, May 04, 2007 at 12:38:58PM +0100, Andy Whitcroft wrote: > > Trying to get 2.6.21-rc7-mm2 to boot on large PPC64 seems to be a > bit of a challenge. We have been seeing panics on boot from the > hvsi driver: > > Couldn't register hvsi console driver >

[PATCH] Re: 2.6.21-rc7-mm2 -- hvsi console driver registration failure

2007-05-04 Thread Andy Whitcroft
Trying to get 2.6.21-rc7-mm2 to boot on large PPC64 seems to be a bit of a challenge. We have been seeing panics on boot from the hvsi driver: Couldn't register hvsi console driver Tracking this back, this seems to come from hvsi driver trying to register itself via tty_register_d

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Greg KH
lable-in-uevent-file.patch > > > > > > > > Reverting only that from 2.6.21-rc7-mm2 gives me a working kernel > > > > again. > > > > Wait, even though this isn't good, it shouldn't have been hit by anyone, > > that file used to not be re

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Tilman Schmidt
Am 02.05.2007 22:07 schrieb Andrew Morton: >> Started to git-bisect mainline now, but that will take some time. [...] > I don't think there's much point in you doing that. We know what the bug is. Good. Saves me some work. :-) If you'd like me to test anything, just let me know. Thanks, Tilman

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Andrew Morton
On Wed, 02 May 2007 19:36:03 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > Am 02.05.2007 09:52 schrieb Greg KH: > > Tilman, here's a patch, can you try this on top of your tree that dies? > > 2.6.21-git3 plus that patch comes up fine. > > (Except for a UDP problem I seem to remember I alread

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Tilman Schmidt
Am 02.05.2007 09:52 schrieb Greg KH: > Tilman, here's a patch, can you try this on top of your tree that dies? 2.6.21-git3 plus that patch comes up fine. (Except for a UDP problem I seem to remember I already saw reported on lkml and which I'll ignore for now in order not to blur the picture.) S

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Kay Sievers
ything's tangled up. A bisection search on the > > > 2.6.21-rc7-mm2 driver tree would be the best bet. > > > > And the winner is: > > > > gregkh-driver-driver-core-make-uevent-environment-available-in-uevent-file.patch > > > > Reverting only th

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Tilman Schmidt
On Wed, 2 May 2007 00:43:05 -0700, "Greg KH" <[EMAIL PROTECTED]> said: > > > And the winner is: > > > > > > gregkh-driver-driver-core-make-uevent-environment-available-in-uevent-file.patch > > > > > > Reverting only that from 2.6.21-r

[PATCH] Build break on ppc64 for 2.6.21-rc7-mm2

2007-05-02 Thread Srinivasa Ds
Hi When compiling 2.6.21-rc7-mm2, I encountered this error. = CC [M] drivers/net/e1000/e1000_ethtool.o CC [M] drivers/net/e1000/e1000_main.o LD [M] drivers/net/e1000/e1000.o LD drivers/net/ehea/built-in.o CC [M] drivers/net/ehea

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Greg KH
On Wed, May 02, 2007 at 12:10:00AM -0700, Andrew Morton wrote: > On Wed, 02 May 2007 09:01:22 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > > > Am 30.04.2007 21:46 schrieb Andrew Morton: > > > Not really - everything's tangled up. A bisection search on the

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Greg KH
On Wed, May 02, 2007 at 12:10:00AM -0700, Andrew Morton wrote: > On Wed, 02 May 2007 09:01:22 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > > > Am 30.04.2007 21:46 schrieb Andrew Morton: > > > Not really - everything's tangled up. A bisection search on the

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Greg KH
On Wed, May 02, 2007 at 12:10:00AM -0700, Andrew Morton wrote: > On Wed, 02 May 2007 09:01:22 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > > > Am 30.04.2007 21:46 schrieb Andrew Morton: > > > Not really - everything's tangled up. A bisection search on the

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Andrew Morton
On Wed, 02 May 2007 09:01:22 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > Am 30.04.2007 21:46 schrieb Andrew Morton: > > Not really - everything's tangled up. A bisection search on the > > 2.6.21-rc7-mm2 driver tree would be the best bet. > > And the winn

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Nick Piggin
Tilman Schmidt wrote: Am 30.04.2007 21:46 schrieb Andrew Morton: Not really - everything's tangled up. A bisection search on the 2.6.21-rc7-mm2 driver tree would be the best bet. And the winner is: gregkh-driver-driver-core-make-uevent-environment-available-in-uevent-file.

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Greg KH
On Wed, May 02, 2007 at 09:01:22AM +0200, Tilman Schmidt wrote: > Am 30.04.2007 21:46 schrieb Andrew Morton: > > Not really - everything's tangled up. A bisection search on the > > 2.6.21-rc7-mm2 driver tree would be the best bet. > > And the winner is: > > gregk

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-02 Thread Tilman Schmidt
Am 30.04.2007 21:46 schrieb Andrew Morton: > Not really - everything's tangled up. A bisection search on the > 2.6.21-rc7-mm2 driver tree would be the best bet. And the winner is: gregkh-driver-driver-core-make-uevent-environment-available-in-uevent-file.patch Reverting only that

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-01 Thread Greg KH
On Tue, May 01, 2007 at 01:26:44PM +0200, Tilman Schmidt wrote: > Am 30.04.2007 21:46 schrieb Andrew Morton: > > Sure, but what about 2.6.21-git3 (or, better, current -git)? > > 2.6.21-git3 crashed with panic blink at "scanning usb: .." > (Nothing in the log this time.) Eeek, that's not good. Ca

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-05-01 Thread Bernhard Walle
Hello Vivek, * Vivek Goyal <[EMAIL PROTECTED]> [2007-04-30 10:48]: > > > handle_edge_irq() already makes sure that desc->action is not null, still > note_interrupt() is receiving desc->action as null, that's strange. On my > system this is happening for irq 4 and /proc/interrupt shows that it is

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-05-01 Thread Randy Dunlap
On Tue, 1 May 2007 09:22:33 -0700 Randy Dunlap wrote: > On Tue, 1 May 2007 08:22:58 +0200 Andi Kleen wrote: > > > On Mon, Apr 30, 2007 at 10:16:24PM -0700, Randy Dunlap wrote: > > > On Tue, 1 May 2007 05:43:30 +0200 Andi Kleen wrote: > > > > > > > > Andi: unprocessor x86_64 running rc7-mm2 is ha

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-05-01 Thread Randy Dunlap
On Tue, 1 May 2007 08:22:58 +0200 Andi Kleen wrote: > On Mon, Apr 30, 2007 at 10:16:24PM -0700, Randy Dunlap wrote: > > On Tue, 1 May 2007 05:43:30 +0200 Andi Kleen wrote: > > > > > > Andi: unprocessor x86_64 running rc7-mm2 is hanging early in boot at > > > > randomish times (presumably in the t

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-05-01 Thread Randy Dunlap
; > Nope, > > > > > > ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/sched-clock-share > > > > > > is identical to > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x8

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-01 Thread Tilman Schmidt
Am 30.04.2007 21:46 schrieb Andrew Morton: > Sure, but what about 2.6.21-git3 (or, better, current -git)? 2.6.21-git3 crashed with panic blink at "scanning usb: .." (Nothing in the log this time.) Will continue bisecting -rc7-mm2. HTH T. -- Tilman Schmidt E-Mail: [EMAI

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andrew Morton
lock-share > > > > is identical to > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-sched-clock-share.patch > > Or perhaps the deadlock is in the cpufrequency handler. Does it happen > without CONFIG

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andi Kleen
> The bug is in firstfloor only, and the fix (if present) will be there too. > > > > Nope, > > ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/sched-clock-share > > is identical to > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andrew Morton
The bug is in firstfloor only, and the fix (if present) will be there too. Nope, ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/sched-clock-share is identical to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/broken-out/x86_64-mm-sched-clock-sha

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andi Kleen
On Mon, Apr 30, 2007 at 10:16:24PM -0700, Randy Dunlap wrote: > On Tue, 1 May 2007 05:43:30 +0200 Andi Kleen wrote: > > > > Andi: unprocessor x86_64 running rc7-mm2 is hanging early in boot at > > > randomish times (presumably in the timer irq handler) when netconsole and > > > printk-time are ena

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Randy Dunlap
On Tue, 1 May 2007 05:43:30 +0200 Andi Kleen wrote: > > Andi: unprocessor x86_64 running rc7-mm2 is hanging early in boot at > > randomish times (presumably in the timer irq handler) when netconsole and > > printk-time are enabled. > > A backtrace would be good. Does nmi_watchdog=2 show anything

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andi Kleen
> Andi: unprocessor x86_64 running rc7-mm2 is hanging early in boot at > randomish times (presumably in the timer irq handler) when netconsole and > printk-time are enabled. A backtrace would be good. Does nmi_watchdog=2 show anything interesting or if not sysrq-t? > > I was hitting the same thi

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andrew Morton
; >> > >>> On Sun, 29 Apr 2007 22:23:54 -0700 Andrew Morton wrote: > >>> > >>>> On Sun, 29 Apr 2007 22:01:32 -0700 Randy Dunlap <[EMAIL PROTECTED]> > >>>> wrote: > >>>> > >>>>> On Wed, 25 Apr 2007 22:57:16

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Randy Dunlap
te: On Wed, 25 Apr 2007 22:57:16 -0700 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ I'm getting a hang near the end of booting on x86_64 UP. The last initcall_debug function varies. E.g.: 1/ [0.140257]

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Andrew Morton
Dunlap <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, 25 Apr 2007 22:57:16 -0700 Andrew Morton wrote: > > > > > > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ > > > >

Re: 2.6.21-rc7-mm2 hangs in boot (netconsole)

2007-04-30 Thread Randy Dunlap
rote: > > > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ > > > > > > I'm getting a hang near the end of booting on x86_64 UP. > > > The last initcall_debug function varies. E.g.:

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Rafael J. Wysocki
On Monday, 30 April 2007 22:52, Dan Kruchinin wrote: > On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > [Please don't drop addresses from the CC list] > > > > On Sunday, 29 April 2007 22:46, Dan Kruchinin wrote: > > > On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > > Hi,

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-30 Thread Tilman Schmidt
Am 30.04.2007 21:46 schrieb Andrew Morton: >> 2.6.21-final is fine. > > Sure, but what about 2.6.21-git3 (or, better, current -git)? OIC. Sorry for being dense. Will check. >>> If that's OK then we need to pick through the difference between >>> 2.6.21-rc

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Dan Kruchinin
On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: [Please don't drop addresses from the CC list] On Sunday, 29 April 2007 22:46, Dan Kruchinin wrote: > On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > > > Hi al

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-30 Thread Andrew Morton
1-git3 (or, better, current -git)? > > If that's OK then we need to pick through the difference between > > 2.6.21-rc7-mm2's driver tree and the patches which went into mainline. And > > that's a pretty small set. > > I'm not quite sure how to deter

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-30 Thread Tilman Schmidt
Am 30.04.2007 20:21 schrieb Andrew Morton: > A lot of Greg's driver tree has gone upstream, so please check current > mainline. 2.6.21-final is fine. > If that's OK then we need to pick through the difference between > 2.6.21-rc7-mm2's driver tree and the patches whi

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-30 Thread Andrew Morton
On Mon, 30 Apr 2007 19:17:02 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > >> With kernel 2.6.21-rc7-mm2, my Dell Optiplex GX110 (P3/933) regularly > >> crashes during the SuSE 10.1 startup sequence. When booting to RL5, > >> it panicblinks shortly after t

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-30 Thread Tilman Schmidt
>> With kernel 2.6.21-rc7-mm2, my Dell Optiplex GX110 (P3/933) regularly >> crashes during the SuSE 10.1 startup sequence. When booting to RL5, >> it panicblinks shortly after the graphical login screen appears. >> Booting to RL3, it hangs after the startup message: I hav

Re: 2.6.21-rc7-mm2 hangs in boot

2007-04-30 Thread Randy Dunlap
On Sun, 29 Apr 2007 22:23:54 -0700 Andrew Morton wrote: > On Sun, 29 Apr 2007 22:01:32 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > > > On Wed, 25 Apr 2007 22:57:16 -0700 Andrew Morton wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/peo

Re: [linux-pm] Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Rafael J. Wysocki
On Monday, 30 April 2007 12:05, Gautham R Shenoy wrote: > On Mon, Apr 30, 2007 at 12:39:46AM -0700, Andrew Morton wrote: > > On Sun, 29 Apr 2007 22:27:44 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > > wrote: > > > > > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > > > > Hi all. > > > >

Re: [linux-pm] Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Gautham R Shenoy
On Mon, Apr 30, 2007 at 12:39:46AM -0700, Andrew Morton wrote: > On Sun, 29 Apr 2007 22:27:44 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > wrote: > > > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > > > Hi all. > > > > > > There is a problem on my macbook core duo with suspend. > > >

Re: 2.6.21-rc7-mm2 "irqpoll" seems to be broken

2007-04-30 Thread Vivek Goyal
On Thu, Apr 26, 2007 at 08:24:05AM -0700, Andrew Morton wrote: > On Thu, 26 Apr 2007 15:06:20 +0530 Vivek Goyal <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I am booting 2.6.21-rc7-mm2 on x86_64 box with "irqpoll" command line option > > and it panic

Re: [2.6.21-rc7-mm2] BUG while suspend to ram

2007-04-30 Thread Maciej Rutecki
gt; http://www.unixy.pl/maciek/download/kernel/2.6.21-rc7--mm2/dmesg.txt.gz > lsmod: > http://www.unixy.pl/maciek/download/kernel/2.6.21-rc7--mm2/lsmod.txt.gz > ver_linux: > http://www.unixy.pl/maciek/download/kernel/2.6.21-rc7--mm2/ver_linux.txt.gz > lspci: > http://www.un

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Andrew Morton
On Sun, 29 Apr 2007 22:27:44 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > > Hi all. > > > > There is a problem on my macbook core duo with suspend. > > after suspending when i'm trying to 'wake up' my notebook, it seems > > that it

Re: [2.6.21-rc7-mm2] BUG while suspend to ram

2007-04-30 Thread Andrew Morton
On Sun, 29 Apr 2007 12:42:43 +0200 Maciej Rutecki <[EMAIL PROTECTED]> wrote: > BUG: at kernel/kthread.c:166 kthread_bind() > [] _cpu_down+0x16c/0x250 > [] disable_nonboot_cpus+0x60/0xf0 > [] pm_suspend_disk+0x177/0x2c0 > [] enter_state+0xb5/0x200 > [] state_store+0xbd/0xd0 > [] state_store+0

Re: 2.6.21-rc7-mm2 hangs in boot

2007-04-29 Thread Andrew Morton
On Sun, 29 Apr 2007 22:01:32 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Wed, 25 Apr 2007 22:57:16 -0700 Andrew Morton wrote: > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ > > I'm getting a hang n

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-29 Thread Andrew Morton
On Sun, 29 Apr 2007 17:36:01 -0400 Dave Jones <[EMAIL PROTECTED]> wrote: > On Sun, Apr 29, 2007 at 02:24:40AM -0700, Andrew Morton wrote: > > On Sun, 29 Apr 2007 08:50:49 +0200 Borislav Petkov <[EMAIL PROTECTED]> > wrote: > > > > > Introduce a macro for suppressing gcc from generating a warni

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-29 Thread Rafael J. Wysocki
[Please don't drop addresses from the CC list] On Sunday, 29 April 2007 22:46, Dan Kruchinin wrote: > On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > > > Hi all. > > > > > > There is a problem on my macbook core duo wi

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-29 Thread Dave Jones
On Sun, Apr 29, 2007 at 02:24:40AM -0700, Andrew Morton wrote: > On Sun, 29 Apr 2007 08:50:49 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > > > Introduce a macro for suppressing gcc from generating a warning about a > > probable > > unitialized state of a variable. > > I ended up doi

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-29 Thread Rafael J. Wysocki
Hi, On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: > Hi all. > > There is a problem on my macbook core duo with suspend. > after suspending when i'm trying to 'wake up' my notebook, it seems > that it works, but i don't see anything at my monitor. So i have to > reboot it to continue my wor

2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-29 Thread Dan Kruchinin
Hi all. There is a problem on my macbook core duo with suspend. after suspending when i'm trying to 'wake up' my notebook, it seems that it works, but i don't see anything at my monitor. So i have to reboot it to continue my work. bug: --- Apr 29 23:31:16 midgard kernel: [140594.900856] BUG: at

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Andrew Morton
On Sun, 29 Apr 2007 23:19:49 +0400 "Dan Kruchinin" <[EMAIL PROTECTED]> wrote: > I have troubles with rtc on my macbook with mm2: > > > [126588.386116] rtc: lost some interrupts at 1024Hz. > [126588.404842] rtc: lost some interrupts at 1024Hz. > [126588.423566] rtc: lost some interrupts a

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Dan Kruchinin
Hi On 4/26/07, Andrew Morton <[EMAIL PROTECTED]> wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ - this has everything which is in 2.6.21. Plus more! - a number of nasty bugs were fixed. This should be (a lot) more stable than 2.6.

[2.6.21-rc7-mm2] BUG while suspend to ram

2007-04-29 Thread Maciej Rutecki
/0x160 [] sysfs_write_file+0x0/0x160 [] sys_write+0x41/0x70 [] sys_dup2+0xd5/0x100 [] sysenter_past_esp+0x5f/0x85 [] xfrm_policy_insert+0x210/0x400 === dmesg: http://www.unixy.pl/maciek/download/kernel/2.6.21-rc7--mm2/dmesg.txt.gz lsmod: http://www.unixy.pl/maciek/download

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-29 Thread Andrew Morton
On Sun, 29 Apr 2007 08:50:49 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > Introduce a macro for suppressing gcc from generating a warning about a > probable > unitialized state of a variable. I ended up doing the below. It's better to make this a per-compiler-version thing: later versions

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-29 Thread Andrew Morton
On Sun, 29 Apr 2007 08:50:49 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > > Introduce a macro for suppressing gcc from generating a warning about a > probable > unitialized state of a variable. > > Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> > > --- > > Index: linux-mm/include/li

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Geert Uytterhoeven
On Thu, 26 Apr 2007, Randy Dunlap wrote: > On Thu, 26 Apr 2007 13:37:20 -0700 Andrew Morton wrote: > > On Thu, 26 Apr 2007 13:47:14 +0200 Gabriel C <[EMAIL PROTECTED]> wrote: > > > Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/p

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-28 Thread Borislav Petkov
On Sun, Apr 29, 2007 at 12:48:37AM +0100, Andy Whitcroft wrote: > Andrew Morton wrote: > > On Thu, 26 Apr 2007 20:25:19 +0200 > > Borislav Petkov <[EMAIL PROTECTED]> wrote: > > > >> Remove build warning mm/memory.c:1491: warning: 'ptl' may be used > >> uninitialized in this function. > >> The spi

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-28 Thread Andrew Morton
On Sun, 29 Apr 2007 00:48:37 +0100 Andy Whitcroft <[EMAIL PROTECTED]> wrote: > > +++ a/mm/memory.c > > @@ -1455,7 +1455,7 @@ static int apply_to_pte_range(struct mm_ > > pte_t *pte; > > int err; > > struct page *pmd_page; > > - spinlock_t *ptl; > > + spinlock_t *ptl = ptl;

[PATCH 0/7] blackfin arch and driver patches update against 2.6.21-rc7-mm2

2007-04-28 Thread Bryan Wu
* Some bugfixes in blackfin arch patch, serial core patch * Update blackfin spi controller driver patch accoding to David Brownell's review - 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.k

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-28 Thread Andy Whitcroft
Andrew Morton wrote: > On Thu, 26 Apr 2007 20:25:19 +0200 > Borislav Petkov <[EMAIL PROTECTED]> wrote: > >> Remove build warning mm/memory.c:1491: warning: 'ptl' may be used >> uninitialized in this function. >> The spinlock pointer is assigned to null since it gets overwritten right >> away in

Re: PANIC: 2.6.21-rc7-mm2, Kernel access of bad area, sig: 11

2007-04-28 Thread William Heimbigner
On Sat, 28 Apr 2007, William Heimbigner wrote: On Sat, 28 Apr 2007, Andrew Morton wrote: On Sat, 28 Apr 2007 21:40:19 + (GMT) William Heimbigner <[EMAIL PROTECTED]> wrote: > This bug occurs in linux-2.6.21-rc7-mm2, and does not occur in > 2.6.21-rc7 > ARCH is powe

Re: PANIC: 2.6.21-rc7-mm2, Kernel access of bad area, sig: 11

2007-04-28 Thread William Heimbigner
On Sat, 28 Apr 2007, Andrew Morton wrote: On Sat, 28 Apr 2007 21:40:19 + (GMT) William Heimbigner <[EMAIL PROTECTED]> wrote: This bug occurs in linux-2.6.21-rc7-mm2, and does not occur in 2.6.21-rc7 ARCH is powerpc dmesg output, captured via netconsole: [0.00] Using Po

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-28 Thread Hugh Dickins
On Sat, 28 Apr 2007, Andrew Morton wrote: > > It seems wildly screwed up that we have a PageReserved() page with a pfn of > zero (!) which claims to be in a reiserfs mapping, only it isn't attached > to a reiserfs file. How the heck did that happen? It's "simply" that it somehow got a spurious p

Re: PANIC: 2.6.21-rc7-mm2, Kernel access of bad area, sig: 11

2007-04-28 Thread Andrew Morton
On Sat, 28 Apr 2007 21:40:19 + (GMT) William Heimbigner <[EMAIL PROTECTED]> wrote: > This bug occurs in linux-2.6.21-rc7-mm2, and does not occur in 2.6.21-rc7 > ARCH is powerpc > > dmesg output, captured via netconsole: > [0.00] Using PowerMac machine descri

PANIC: 2.6.21-rc7-mm2, Kernel access of bad area, sig: 11

2007-04-28 Thread William Heimbigner
This bug occurs in linux-2.6.21-rc7-mm2, and does not occur in 2.6.21-rc7 ARCH is powerpc dmesg output, captured via netconsole: [0.00] Using PowerMac machine description [0.00] Total memory = 128MB; using 256kB for hash table (at c7fc) [0.00] Linux version 2.6.21-rc7

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-28 Thread Andrew Morton
On Sat, 28 Apr 2007 19:56:59 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > With kernel 2.6.21-rc7-mm2, my Dell Optiplex GX110 (P3/933) regularly > crashes during the SuSE 10.1 startup sequence. When booting to RL5, > it panicblinks shortly after the graphical login screen app

2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-04-28 Thread Tilman Schmidt
With kernel 2.6.21-rc7-mm2, my Dell Optiplex GX110 (P3/933) regularly crashes during the SuSE 10.1 startup sequence. When booting to RL5, it panicblinks shortly after the graphical login screen appears. Booting to RL3, it hangs after the startup message: Starting Firewall Initialization (phase 2

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-28 Thread Jeremy Fitzhardinge
Borislav Petkov wrote: > Sorry, no such thing in the docs to do > > spinlock_t __attribute__((__uninitialized__)) *ptl; > > in order to suppress warnings. But if function size is our concern here, even > shorter would be: > asm("" : "=rm" (ptl)) would do the job, I think, but it's pretty ugly s

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-27 Thread Andrew Morton
On Sat, 28 Apr 2007 08:25:17 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > > __attribute__ __address_will_be_overwritten_so_don't_bother_warning_me__? > > > > /me going to read gcc docs... > > Sorry, no such thing in the docs to do > > spinlock_t __attribute__((__uninitialized__)) *ptl; >

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-27 Thread Borislav Petkov
On Sat, Apr 28, 2007 at 07:57:40AM +0200, Borislav Petkov wrote: > On Fri, Apr 27, 2007 at 05:22:30PM -0700, Andrew Morton wrote: > > On Thu, 26 Apr 2007 20:25:19 +0200 > > Borislav Petkov <[EMAIL PROTECTED]> wrote: > > > > > > > > Remove build warning mm/memory.c:1491: warning: 'ptl' may be used

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-27 Thread Borislav Petkov
On Fri, Apr 27, 2007 at 05:22:30PM -0700, Andrew Morton wrote: > On Thu, 26 Apr 2007 20:25:19 +0200 > Borislav Petkov <[EMAIL PROTECTED]> wrote: > > > > > Remove build warning mm/memory.c:1491: warning: 'ptl' may be used > > uninitialized in this function. > > The spinlock pointer is assigned to

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-27 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > --- > a/mm/memory.c~add-apply_to_page_range-which-applies-a-function-to-a-pte-range-fix > +++ a/mm/memory.c > @@ -1455,7 +1455,7 @@ static int apply_to_pte_range(struct mm_ > pte_t *pte; > int err; > struct page *pmd_page; > - spinlock_t *ptl; > + s

Re: [PATCH] mm/memory.c: remove warning from an uninitialized spinlock. was: Re: 2.6.21-rc7-mm2

2007-04-27 Thread Andrew Morton
On Thu, 26 Apr 2007 20:25:19 +0200 Borislav Petkov <[EMAIL PROTECTED]> wrote: > > Remove build warning mm/memory.c:1491: warning: 'ptl' may be used > uninitialized in this function. > The spinlock pointer is assigned to null since it gets overwritten right away > in > pte_alloc_map_lock(). > >

Re: 2.6.21-rc7-mm2 -- x86_64 blade hard hangs

2007-04-27 Thread Mel Gorman
On Fri, 27 Apr 2007, Siddha, Suresh B wrote: On Fri, Apr 27, 2007 at 12:07:10PM +0100, Mel Gorman wrote: On (26/04/07 16:40), Siddha, Suresh B didst pronounce: oops. Appended patch should fix this. Can you please check this and Ack it? This patch does not apply cleanly to 2.6.21-rc7-mm2

Re: 2.6.21-rc7-mm2 -- x86_64 blade hard hangs

2007-04-27 Thread Siddha, Suresh B
On Fri, Apr 27, 2007 at 12:07:10PM +0100, Mel Gorman wrote: > On (26/04/07 16:40), Siddha, Suresh B didst pronounce: > > oops. Appended patch should fix this. Can you please check this and Ack it? > > This patch does not apply cleanly to 2.6.21-rc7-mm2. Mel, Please backout the e

Re: 2.6.21-rc7-mm2 -- PPC link failure

2007-04-27 Thread Christoph Lameter
On Fri, 27 Apr 2007, Andy Whitcroft wrote: > > See my patch @ http://marc.info/?l=linux-kernel&m=117752927203466&w=2 > > Yeah I played with that for a bit last night to no good effect. > BUILD_BUG_ON simply becomes a noop if the optimiser doesn't really > really know that the thing its talking ab

Re: 2.6.21-rc7-mm2 -- PPC link failure

2007-04-27 Thread Andy Whitcroft
Christoph Lameter wrote: > On Thu, 26 Apr 2007, Andy Whitcroft wrote: > >>> Gcc 3.3 works just fine on other platforms like i386. This is more likely >>> a platform issue. If we disable it then only for <= gcc 3.3 on ppc. If >>> problems crop up with other platforms then we can expand on it. >>

Re: 2.6.21-rc7-mm2 -- x86_64 VDSO compile error II

2007-04-27 Thread Mel Gorman
On (27/04/07 02:39), Andi Kleen didst pronounce: > > > > That's vdso.lds.S, not vdso.lds. The VDSO_TEXT_OFFSET is still 0x400. > > This is what I should have posted the last time > > > > --- build/arch/x86_64/vdso/voffset.h.orig 2007-04-26 08:43:31.523739878 > > -0700 > > +++ build/arch/x86_6

Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC

2007-04-27 Thread Thomas Renninger
On Thu, 2007-04-26 at 15:52 -0700, Miles Lane wrote: > On 4/26/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > > > > > One possible issue is that /proc/acpi/power_resource/ is an empty > > > directory. > > > Otherwise, t

Re: linux-2.6.21-rc7-mm2 fails to compile

2007-04-27 Thread Jean Delvare
On Thu, 26 Apr 2007 17:54:20 -0700, Andrew Morton wrote: > On Fri, 27 Apr 2007 00:00:15 + (GMT) William Heimbigner <[EMAIL > PROTECTED]> wrote: > > > Output leading up to the error: > > > >CC drivers/macintosh/macio-adb.o > >LD drivers/macintosh/built-in.o > >CC [M] dr

Re: 2.6.21-rc7-mm2 breaks 'lvm vgscan'.

2007-04-26 Thread Andrew Morton
On Thu, 26 Apr 2007 22:31:15 -0400 [EMAIL PROTECTED] wrote: > On Wed, 25 Apr 2007 22:57:16 PDT, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ > > This addition in -rc7-mm1 breaks my laptop (Dell Latitude D820

2.6.21-rc7-mm2 breaks 'lvm vgscan'.

2007-04-26 Thread Valdis . Kletnieks
On Wed, 25 Apr 2007 22:57:16 PDT, Andrew Morton said: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc7/2.6.21-rc7-mm2/ This addition in -rc7-mm1 breaks my laptop (Dell Latitude D820, x86_64 kernel) gregkh-driver-sysfs-fix-i_ino-handling-in-sysfs.patch The initrd on

Re: linux-2.6.21-rc7-mm2 fails to compile

2007-04-26 Thread Randy Dunlap
On Thu, 26 Apr 2007 17:54:20 -0700 Andrew Morton wrote: > On Fri, 27 Apr 2007 00:00:15 + (GMT) William Heimbigner <[EMAIL > PROTECTED]> wrote: > > > Output leading up to the error: > > > >CC drivers/macintosh/macio-adb.o > >LD drivers/macintosh/built-in.o > >CC [M] dr

Re: linux-2.6.21-rc7-mm2 fails to compile

2007-04-26 Thread Andrew Morton
On Fri, 27 Apr 2007 00:00:15 + (GMT) William Heimbigner <[EMAIL PROTECTED]> wrote: > Output leading up to the error: > >CC drivers/macintosh/macio-adb.o >LD drivers/macintosh/built-in.o >CC [M] drivers/macintosh/apm_emu.o >CC [M] drivers/macintosh/therm_windtunnel

Re: 2.6.21-rc7-mm2 -- x86_64 VDSO compile error II

2007-04-26 Thread Andi Kleen
> That's vdso.lds.S, not vdso.lds. The VDSO_TEXT_OFFSET is still 0x400. > This is what I should have posted the last time > > --- build/arch/x86_64/vdso/voffset.h.orig 2007-04-26 08:43:31.523739878 > -0700 > +++ build/arch/x86_64/vdso/voffset.h 2007-04-26 08:43:38.839579356 -0700 > @@ -1 +

linux-2.6.21-rc7-mm2 fails to compile

2007-04-26 Thread William Heimbigner
Output leading up to the error: CC drivers/macintosh/macio-adb.o LD drivers/macintosh/built-in.o CC [M] drivers/macintosh/apm_emu.o CC [M] drivers/macintosh/therm_windtunnel.o drivers/macintosh/therm_windtunnel.c: In function 'therm_of_remove': drivers/macintosh/therm_windtunn

Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC

2007-04-26 Thread Miles Lane
On 4/26/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > One possible issue is that /proc/acpi/power_resource/ is an empty directory. > Otherwise, the ACPI information seems to be fine: > > # cat /proc/acpi/ac_adapter/ACAD/

Re: 2.6.21-rc7-mm2

2007-04-26 Thread Andrew Morton
On Thu, 26 Apr 2007 15:57:21 -0500 Timur Tabi <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > >> drivers/net/Kconfig:2327:warning: 'select' used by config symbol > >> 'UCC_GETH' refer to undefined symbol 'UCC_FAST' > > > > Yes, we get so many of those that I tend to ignore them, assuming

Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC

2007-04-26 Thread Andrew Morton
On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > One possible issue is that /proc/acpi/power_resource/ is an empty directory. > Otherwise, the ACPI information seems to be fine: > > # cat /proc/acpi/ac_adapter/ACAD/state > state: on-line > # cat /proc

  1   2   >