Re: 2.6.29-rc3-git6: Reported regressions from 2.6.28

From: Linus Torvalds
Date: Wed Feb 04 2009 - 11:28:01 EST




On Wed, 4 Feb 2009, Rafael J. Wysocki wrote:
>
> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12599
> Subject : dri /dev node disappeared with 2.6.29-rc1
> Submitter : Norbert Preining <preining@xxxxxxxx>
> Date : 2009-01-15 13:42 (21 days old)
> References : http://marc.info/?l=linux-kernel&m=123202701026647&w=4

I think this one is simply that Intel DRI now requires CONFIG_FB.

So make sure that you say yes to the CONFIG_FB question (easiest fix: just
edit the .config file and change the line "# CONFIG_FB is not set" to
"CONFIG_FB=y" and do "make oldconfig" - I realize that people think that
graphical config front-ends are simpler, but often just editing the file
is the quickest way).

> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12591
> Subject : NULL pointer dereference in blk_queue_io_stat
> Submitter : Petr Vandrovec <vandrove@xxxxxxxxxx>
> Date : 2009-01-31 23:58 (5 days old)
> First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bc58ba9468d94d62c56ab9b47173583ec140b165
> Handled-By : Jens Axboe <jens.axboe@xxxxxxxxxx>

I think this one is fixed by commit fb8ec18c316d8.

> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12511
> Subject : WARNING: at drivers/dma/dmaengine.c:352
> Submitter : Ingo Molnar <mingo@xxxxxxx>
> Date : 2009-01-19 21:31 (17 days old)
> References : http://marc.info/?l=linux-kernel&m=123240070614443&w=4
> Handled-By : Dan Williams <dan.j.williams@xxxxxxxxx>

This warning just got removed as bogus.

Commit 83436a0560e9ef8af2f0796264dde4bed1415359

> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12506
> Subject : Undefined symbols when CONFIG_MFD_PCF50633 is enabled
> Submitter : Ozan ÃaÄlayan <ozan@xxxxxxxxxxxxx>
> Date : 2009-01-17 10:56 (19 days old)
> References : http://marc.info/?l=linux-kernel&m=123218991104592&w=4

Commit 9e6f8ed7c3a303d37eb119847dd3029701e37e28

> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12505
> Subject : 2.6.29-rc1 Firefox crashing on page load
> Submitter : Justin Madru <jdm64@xxxxxxxxx>
> Date : 2009-01-16 20:56 (20 days old)
> First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4217458dafaa57d8e26a46f5d05ab8c53cf64191
> References : http://marc.info/?l=linux-kernel&m=123213941914274&w=4
> Handled-By : Justin P. Mattock <justinmattock@xxxxxxxxx>

Heh. That commit you point to is very innocuous.

Commit 4217458dafaa57d8e26a46f5d05ab8c53cf64191 is a pure cleanup, and it
_does_ make the code look nicer, but while it looks lik a total no-op, it
actually has a very subtle behavioural change: it makes gcc think that it
owns the whole argument stack. Which is _not_ true of 'asmlinkage'
functions, but we've never been able to tell gcc to keep its grubby hands
off our stack.

So I suspect that gcc inlines the function and then creates a function
call that re-uses the "struct pt_regs" on the stack as the argument area
too. Which corrupts the "pt_regs", and then we return to user space with
some random register contents.

So I think we need to just revert it. Ingo, Hiroshi?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/