2007-08-13 18:20:40

by Michal Piotrowski

[permalink] [raw]
Subject: [1/2] 2.6.23-rc3: known regressions with patches

Hi all,

Here is a list of some known regressions in 2.6.23-rc3
with patches available.

Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions

List of Aces

Name Regressions fixed since 21-Jun-2007
Adrian Bunk 9
Andi Kleen 5
Linus Torvalds 5
Andrew Morton 4
Al Viro 3
Cornelia Huck 3
Jens Axboe 3
Tejun Heo 3



Unclassified

Subject : reset during bootup - 2.6.23-rc2 (git d23cf676)
References : http://lkml.org/lkml/2007/8/11/177
Last known good : ?
Submitter : Dan Merillat <[email protected]>
Caused-By : Rusty Russell <[email protected]>
ab144f5ec64c42218a555ec1dbde6b60cf2982d6
Handled-By : Paolo Ornati <[email protected]>
Andi Kleen <[email protected]>
Patch : http://lkml.org/lkml/2007/8/12/76
Status : patch was suggested

Subject : Kconfig prompts without help text
References : http://lkml.org/lkml/2007/7/16/326
Last known good : ?
Submitter : Stefan Richter <[email protected]>
Caused-By : ?
Handled-By : Jan Engelhardt <[email protected]>
Patch : http://lkml.org/lkml/2007/7/18/236
Status : patch available

Subject : Oops while modprobing phy fixed module
References : http://lkml.org/lkml/2007/7/14/63
Last known good : ?
Submitter : Gabriel C <[email protected]>
Caused-By : ?
Handled-By : Satyam Sharma <[email protected]>
Vitaly Bordug <[email protected]>
Patch1 : http://lkml.org/lkml/2007/7/18/506
Status : patch available



FS

Subject : NFSv4 poops itself
References : http://lkml.org/lkml/2007/7/27/144
Last known good : ?
Submitter : Jeff Garzik <[email protected]>
Caused-By : ?
Handled-By : Trond Myklebust <[email protected]>
Patch : http://lkml.org/lkml/2007/7/27/183
Status : patch available



Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/


2007-08-13 18:24:55

by Myklebust, Trond

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

On Mon, 2007-08-13 at 19:59 +0200, Michal Piotrowski wrote:

> FS
>
> Subject : NFSv4 poops itself
> References : http://lkml.org/lkml/2007/7/27/144
> Last known good : ?
> Submitter : Jeff Garzik <[email protected]>
> Caused-By : ?
> Handled-By : Trond Myklebust <[email protected]>
> Patch : http://lkml.org/lkml/2007/7/27/183
> Status : patch available

A fix for this was merged by Linus prior to the release of 2.6.23-rc3.

Cheers
Trond

2007-08-13 18:32:30

by Jan Engelhardt

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches


On Aug 13 2007 19:59, Michal Piotrowski wrote:
>
>Subject : Kconfig prompts without help text
>References : http://lkml.org/lkml/2007/7/16/326
>Last known good : ?
>Submitter : Stefan Richter <[email protected]>
>Caused-By : ?
>Handled-By : Jan Engelhardt <[email protected]>
>Patch : http://lkml.org/lkml/2007/7/18/236
>Status : patch available

Is there some special magic needed (like resubmit), or will you slurp this one
yourself?



Jan
--

2007-08-13 18:36:19

by Michal Piotrowski

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

On 13/08/07, Trond Myklebust <[email protected]> wrote:
> On Mon, 2007-08-13 at 19:59 +0200, Michal Piotrowski wrote:
>
> > FS
> >
> > Subject : NFSv4 poops itself
> > References : http://lkml.org/lkml/2007/7/27/144
> > Last known good : ?
> > Submitter : Jeff Garzik <[email protected]>
> > Caused-By : ?
> > Handled-By : Trond Myklebust <[email protected]>
> > Patch : http://lkml.org/lkml/2007/7/27/183
> > Status : patch available
>
> A fix for this was merged by Linus prior to the release of 2.6.23-rc3.

commit b247bbf1da69ce376aa1ceb8057331214589e366
I overlooked it.

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

2007-08-13 18:54:32

by Andi Kleen

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

> Unclassified
>
> Subject : reset during bootup - 2.6.23-rc2 (git d23cf676)

This is already fixed in mainline

There is a real regression with failing builds on some old binutils on
x86-64 know, but I don't know how to fix it.

-Andi

2007-08-13 20:25:21

by Michal Piotrowski

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

On 13/08/07, Andi Kleen <[email protected]> wrote:
> > Unclassified
> >
> > Subject : reset during bootup - 2.6.23-rc2 (git d23cf676)
>
> This is already fixed in mainline

commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04

>
> There is a real regression with failing builds on some old binutils on
> x86-64 know, but I don't know how to fix it.

Did you mean this?

Subject : /usr/bin/ld: section .text [ffffffffff700500 ->
ffffffffff7007e3] overlaps section .gnu.version_d [ffffffffff7004d8 ->
ffffffffff70050f]
References : http://lkml.org/lkml/2007/7/22/239
Last known good : ?
Submitter : Andre Noll <[email protected]>
Caused-By : ?
Handled-By : Andi Kleen <[email protected]>
Status : problem is being debugged

>
> -Andi
>

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

2007-08-13 20:59:18

by Andi Kleen

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

On Mon, Aug 13, 2007 at 10:24:52PM +0200, Michal Piotrowski wrote:
> On 13/08/07, Andi Kleen <[email protected]> wrote:
> > > Unclassified
> > >
> > > Subject : reset during bootup - 2.6.23-rc2 (git d23cf676)
> >
> > This is already fixed in mainline
>
> commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04
>
> >
> > There is a real regression with failing builds on some old binutils on
> > x86-64 know, but I don't know how to fix it.
>
> Did you mean this?

Yes. Anyways it be likely a WONT-FIX -- aka document newer binutils
version required. We haven't had any other reports so likely
that version is not too widely used.

-Andi

2007-08-13 21:30:34

by Adrian Bunk

[permalink] [raw]
Subject: Re: [1/2] 2.6.23-rc3: known regressions with patches

On Mon, Aug 13, 2007 at 10:56:53PM +0200, Andi Kleen wrote:
> On Mon, Aug 13, 2007 at 10:24:52PM +0200, Michal Piotrowski wrote:
> > On 13/08/07, Andi Kleen <[email protected]> wrote:
> > > > Unclassified
> > > >
> > > > Subject : reset during bootup - 2.6.23-rc2 (git d23cf676)
> > >
> > > This is already fixed in mainline
> >
> > commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04
> >
> > >
> > > There is a real regression with failing builds on some old binutils on
> > > x86-64 know, but I don't know how to fix it.
> >
> > Did you mean this?
>
> Yes. Anyways it be likely a WONT-FIX -- aka document newer binutils
> version required. We haven't had any other reports so likely
> that version is not too widely used.

IOW: Either the Linux binutils >= 2.17.50.0.3 or the not yet released
GNU binutils 2.18 are now required.

Debian 4.0 has older ones, and all distributions released more than a
year ago for sure also have older ones (the required patch went into
binutils CVS on 2006-05-30 and 2.17.50.0.3 was released on 2006-07-15).

Isn't that a bit too recent?

> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2007-08-13 22:42:32

by Andi Kleen

[permalink] [raw]
Subject: binutils trouble was Re: [1/2] 2.6.23-rc3: known regressions with patches

On Mon, Aug 13, 2007 at 11:29:47PM +0200, Adrian Bunk wrote:
> Debian 4.0 has older ones, and all distributions released more than a
> year ago for sure also have older ones (the required patch went into
> binutils CVS on 2006-05-30 and 2.17.50.0.3 was released on 2006-07-15).

I have no problem on SUSE 10.0 (2.16.91.0.2-8) or SLES9 (2.15.90.0.1.1-32.10)
which are both far older than a year. Both produce good looking
vdso.sos.

sles8 (2.12.90.0.15; it was really one of the first production
binutils for x86-64) doesn't work out of the box (looks like as-instr doesn't
work anymore and it has another assembler issue I'll fix)
but with that workarounded it also builds a reasonble looking vdso

Sam, can you please take a look at the as-instr issue? It seems
to succeed now when it should fail.

It would be useful if someone could find out which binutils versions
really not work.

-Andi

2007-08-13 22:54:39

by Adrian Bunk

[permalink] [raw]
Subject: Re: binutils trouble was Re: [1/2] 2.6.23-rc3: known regressions with patches

On Tue, Aug 14, 2007 at 12:42:05AM +0200, Andi Kleen wrote:
> On Mon, Aug 13, 2007 at 11:29:47PM +0200, Adrian Bunk wrote:
> > Debian 4.0 has older ones, and all distributions released more than a
> > year ago for sure also have older ones (the required patch went into
> > binutils CVS on 2006-05-30 and 2.17.50.0.3 was released on 2006-07-15).
>
> I have no problem on SUSE 10.0 (2.16.91.0.2-8) or SLES9 (2.15.90.0.1.1-32.10)
> which are both far older than a year. Both produce good looking
> vdso.sos.

OK sorry, then I misunderstood it and missing -Wl,-z,max-page-size=4096
-Wl,-z,common-page-size=4096 support is not the problem.

> sles8 (2.12.90.0.15; it was really one of the first production
> binutils for x86-64) doesn't work out of the box (looks like as-instr doesn't
> work anymore and it has another assembler issue I'll fix)
> but with that workarounded it also builds a reasonble looking vdso

We had several reports of 2.12* not working (AFAIR also on i386), so
that's not a surprise.

> Sam, can you please take a look at the as-instr issue? It seems
> to succeed now when it should fail.
>
> It would be useful if someone could find out which binutils versions
> really not work.

If Andre is working under Debian 3.1 (as his gcc version indicates) he's
using 2.15, and together with your SLES9 test it seems the border is
somewhere between 2.15 and 2.16.

> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2007-08-13 23:52:05

by Andi Kleen

[permalink] [raw]
Subject: Re: binutils trouble was Re: [1/2] 2.6.23-rc3: known regressions with patches

On Tue, Aug 14, 2007 at 12:54:10AM +0200, Adrian Bunk wrote:
> On Tue, Aug 14, 2007 at 12:42:05AM +0200, Andi Kleen wrote:
> > On Mon, Aug 13, 2007 at 11:29:47PM +0200, Adrian Bunk wrote:
> > > Debian 4.0 has older ones, and all distributions released more than a
> > > year ago for sure also have older ones (the required patch went into
> > > binutils CVS on 2006-05-30 and 2.17.50.0.3 was released on 2006-07-15).
> >
> > I have no problem on SUSE 10.0 (2.16.91.0.2-8) or SLES9 (2.15.90.0.1.1-32.10)
> > which are both far older than a year. Both produce good looking
> > vdso.sos.
>
> OK sorry, then I misunderstood it and missing -Wl,-z,max-page-size=4096
> -Wl,-z,common-page-size=4096 support is not the problem.

It might be. The change to default to 1MB pages happened
some time ago and then the common-page-size options were
added some time after that.

I expect you'll get the obscenly large 1MB vdso if your
binutils happens to fall inside that time window, but before or
after should be ok.

I haven't tested it, but in theory a 1MB vdso should
work (just waste a lot of memory and probably some CPU time)

I was pondering to add a build time test for this and fail
(not sure it's worth it)

But the header offset problem that actually broke
the compilation seemed to be something else, probably
some sort of bug.

> > sles8 (2.12.90.0.15; it was really one of the first production
> > binutils for x86-64) doesn't work out of the box (looks like as-instr doesn't
> > work anymore and it has another assembler issue I'll fix)
> > but with that workarounded it also builds a reasonble looking vdso
>
> We had several reports of 2.12* not working (AFAIR also on i386), so
> that's not a surprise.

Ah I didn't see those. I should test it more often perhaps.

I'll take a detailed look later, perhaps it's easy to fix.

> > Sam, can you please take a look at the as-instr issue? It seems
> > to succeed now when it should fail.
> >
> > It would be useful if someone could find out which binutils versions
> > really not work.
>
> If Andre is working under Debian 3.1 (as his gcc version indicates) he's
> using 2.15, and together with your SLES9 test it seems the border is
> somewhere between 2.15 and 2.16.

Could someone confirm? Then it could be documented.

-Andi

2007-08-18 10:56:56

by Stefan Richter

[permalink] [raw]
Subject: [PATCH] Add some help texts to recently-introduced kconfig items

On 13 Aug, Jan Engelhardt wrote:
>
> On Aug 13 2007 19:59, Michal Piotrowski wrote:
>>
>>Subject : Kconfig prompts without help text
>>References : http://lkml.org/lkml/2007/7/16/326
>>Last known good : ?
>>Submitter : Stefan Richter <[email protected]>
>>Caused-By : ?
>>Handled-By : Jan Engelhardt <[email protected]>
>>Patch : http://lkml.org/lkml/2007/7/18/236
>>Status : patch available
>
> Is there some special magic needed (like resubmit), or will you slurp this one
> yourself?


From: Jan Engelhardt <[email protected]>
Subject: Add some help texts to recently-introduced kconfig items

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Stefan Richter <[email protected]> (edited MACINTOSH_DRIVERS per Geert Uytterhoeven's remark)
---

fixes a regression in 2.6.23-rc1: new Kconfig prompts without help text

arch/i386/Kconfig | 5 +++++
drivers/atm/Kconfig | 5 +++++
drivers/auxdisplay/Kconfig | 5 +++++
drivers/block/Kconfig | 6 ++++++
drivers/crypto/Kconfig | 5 +++++
drivers/hid/Kconfig | 5 +++++
drivers/kvm/Kconfig | 5 +++++
drivers/macintosh/Kconfig | 5 +++++
drivers/misc/Kconfig | 5 +++++
drivers/net/Kconfig | 15 +++++++++++++++
drivers/usb/Kconfig | 3 +++
11 files changed, 64 insertions(+)

Index: linux-2.6.23-rc3/arch/i386/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/arch/i386/Kconfig
+++ linux-2.6.23-rc3/arch/i386/Kconfig
@@ -1228,6 +1228,11 @@ menuconfig INSTRUMENTATION
bool "Instrumentation Support"
depends on EXPERIMENTAL
default y
+ ---help---
+ Say Y here to get to see options related to performance measurement,
+ debugging, and testing. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if INSTRUMENTATION

Index: linux-2.6.23-rc3/drivers/atm/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/atm/Kconfig
+++ linux-2.6.23-rc3/drivers/atm/Kconfig
@@ -6,6 +6,11 @@ menuconfig ATM_DRIVERS
bool "ATM drivers"
depends on NETDEVICES && ATM
default y
+ ---help---
+ Say Y here to get to see options for Asynchronous Transfer Mode
+ device drivers. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if ATM_DRIVERS && NETDEVICES && ATM

Index: linux-2.6.23-rc3/drivers/auxdisplay/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/auxdisplay/Kconfig
+++ linux-2.6.23-rc3/drivers/auxdisplay/Kconfig
@@ -8,6 +8,11 @@
menuconfig AUXDISPLAY
depends on PARPORT
bool "Auxiliary Display support"
+ ---help---
+ Say Y here to get to see options for auxiliary display drivers.
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if AUXDISPLAY && PARPORT

Index: linux-2.6.23-rc3/drivers/block/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/block/Kconfig
+++ linux-2.6.23-rc3/drivers/block/Kconfig
@@ -6,6 +6,12 @@ menuconfig BLK_DEV
bool "Block devices"
depends on BLOCK
default y
+ ---help---
+ Say Y here to get to see options for various different block device
+ drivers. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled;
+ only do this if you know what you are doing.

if BLK_DEV

Index: linux-2.6.23-rc3/drivers/crypto/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/crypto/Kconfig
+++ linux-2.6.23-rc3/drivers/crypto/Kconfig
@@ -2,6 +2,11 @@
menuconfig CRYPTO_HW
bool "Hardware crypto devices"
default y
+ ---help---
+ Say Y here to get to see options for hardware crypto devices and
+ processors. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if CRYPTO_HW

Index: linux-2.6.23-rc3/drivers/hid/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/hid/Kconfig
+++ linux-2.6.23-rc3/drivers/hid/Kconfig
@@ -5,6 +5,11 @@ menuconfig HID_SUPPORT
bool "HID Devices"
depends on INPUT
default y
+ ---help---
+ Say Y here to get to see options for various computer-human interface
+ device drivers. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if HID_SUPPORT

Index: linux-2.6.23-rc3/drivers/kvm/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/kvm/Kconfig
+++ linux-2.6.23-rc3/drivers/kvm/Kconfig
@@ -5,6 +5,11 @@ menuconfig VIRTUALIZATION
bool "Virtualization"
depends on X86
default y
+ ---help---
+ Say Y here to get to see options for virtualization guest drivers.
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if VIRTUALIZATION

Index: linux-2.6.23-rc3/drivers/macintosh/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/macintosh/Kconfig
+++ linux-2.6.23-rc3/drivers/macintosh/Kconfig
@@ -3,6 +3,11 @@ menuconfig MACINTOSH_DRIVERS
bool "Macintosh device drivers"
depends on PPC || MAC || X86
default y if (PPC_PMAC || MAC)
+ ---help---
+ Say Y here to get to see options for devices used with Macintosh
+ computers. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if MACINTOSH_DRIVERS

Index: linux-2.6.23-rc3/drivers/misc/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/misc/Kconfig
+++ linux-2.6.23-rc3/drivers/misc/Kconfig
@@ -5,6 +5,11 @@
menuconfig MISC_DEVICES
bool "Misc devices"
default y
+ ---help---
+ Say Y here to get to see options for device drivers from various
+ different categories. This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if MISC_DEVICES

Index: linux-2.6.23-rc3/drivers/net/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/net/Kconfig
+++ linux-2.6.23-rc3/drivers/net/Kconfig
@@ -1968,6 +1968,16 @@ menuconfig NETDEV_1000
bool "Ethernet (1000 Mbit)"
depends on !UML
default y
+ ---help---
+ Ethernet (also called IEEE 802.3 or ISO 8802-2) is the most common
+ type of Local Area Network (LAN) in universities and companies.
+
+ Say Y here to get to see options for Gigabit Ethernet drivers.
+ This option alone does not add any kernel code.
+ Note that drivers supporting both 100 and 1000 MBit may be listed
+ under "Ethernet (10 or 100MBit)" instead.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if NETDEV_1000

@@ -2339,6 +2349,11 @@ menuconfig NETDEV_10000
bool "Ethernet (10000 Mbit)"
depends on !UML
default y
+ ---help---
+ Say Y here to get to see options for 10 Gigabit Ethernet drivers.
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.

if NETDEV_10000

Index: linux-2.6.23-rc3/drivers/usb/Kconfig
===================================================================
--- linux-2.6.23-rc3.orig/drivers/usb/Kconfig
+++ linux-2.6.23-rc3/drivers/usb/Kconfig
@@ -6,6 +6,9 @@ menuconfig USB_SUPPORT
bool "USB support"
depends on HAS_IOMEM
default y
+ ---help---
+ This option adds core support for Universal Serial Bus (USB).
+ You will also need drivers from the following menu to make use of it.

if USB_SUPPORT




--
Stefan Richter
-=====-=-=== =--- =--=-
http://arcgraph.de/sr/

2007-08-27 08:34:19

by Sam Ravnborg

[permalink] [raw]
Subject: Re: binutils trouble was Re: [1/2] 2.6.23-rc3: known regressions with patches

On Tue, Aug 14, 2007 at 12:42:05AM +0200, Andi Kleen wrote:
> On Mon, Aug 13, 2007 at 11:29:47PM +0200, Adrian Bunk wrote:
> > Debian 4.0 has older ones, and all distributions released more than a
> > year ago for sure also have older ones (the required patch went into
> > binutils CVS on 2006-05-30 and 2.17.50.0.3 was released on 2006-07-15).
>
> I have no problem on SUSE 10.0 (2.16.91.0.2-8) or SLES9 (2.15.90.0.1.1-32.10)
> which are both far older than a year. Both produce good looking
> vdso.sos.
>
> sles8 (2.12.90.0.15; it was really one of the first production
> binutils for x86-64) doesn't work out of the box (looks like as-instr doesn't
> work anymore and it has another assembler issue I'll fix)
> but with that workarounded it also builds a reasonble looking vdso
>
> Sam, can you please take a look at the as-instr issue? It seems
> to succeed now when it should fail.
>
> It would be useful if someone could find out which binutils versions
> really not work.

Hi Andi.
I never got around to do any exhaustive check on as-instr.
I assume it was the .cfi_rel_offset thing that caused you to
assume as-instr was failing?
If not let me know if your request is still valid.

And sorry for being late on this. Busy and had forgotten this mail.

Sam