Skip to contentSkip to conversation

2.6.23-rc3: known regressions with patches

PATCH In review Michal Piotrowski 7 participants 13 messages Aug 13, 2007 – Aug 27, 2007

Subsystems (12)
Network drivers VFS USB Block layer +8 more subsystems
lore
Share & tools
lore
#0 lore raw

PATCH 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]>

                  ab144f5ec64c42218a555ec1dbde6b60cf2982d6

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]>

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/

#2 lore raw
In reply to Trond Myklebust
Quoted 13 lines · Trond Myklebust
Quoted 10 lines · Michal Piotrowski

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
Quoted 1 line

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

commit b247bbf1da69ce376aa1ceb8057331214589e366
I overlooked it.

Regards,
Michal

Signature · 2 lines
LOG
http://www.stardust.webpages.pl/log/
#5 lore raw
In reply to Michal Piotrowski
Quoted 3 lines

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

#6 lore raw
Quoted 5 lines · Andi Kleen
Quoted 3 lines

Unclassified

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

This is already fixed in mainline

commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04

Quoted 3 lines

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
Quoted 3 lines

-Andi

Regards,
Michal

Signature · 2 lines
LOG
http://www.stardust.webpages.pl/log/
#7 lore raw
Quoted 7 lines · Michal Piotrowski
Quoted 5 lines · Andi Kleen
Quoted 3 lines

Unclassified

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

This is already fixed in mainline

Quoted 7 lines

commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04

Quoted 3 lines

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

#8 lore raw
Quoted 11 lines · Andi Kleen
Quoted 10 lines · Michal Piotrowski
Quoted 5 lines · Andi Kleen
Quoted 3 lines

Unclassified

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

This is already fixed in mainline

commit b8d3f2448b8f4ba24f301e23585547ba1acc1f04

Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

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?

Quoted 1 line

-Andi

cu
Adrian

Signature · 4 lines
       "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
#9 lore raw

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

Quoted 3 lines · Adrian Bunk

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

#10 lore raw

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

Quoted 8 lines · Andi Kleen
Quoted 3 lines · Adrian Bunk

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.

Quoted 4 lines

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.

Quoted 5 lines

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.

Quoted 1 line

-Andi

cu
Adrian

Signature · 4 lines
       "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
#11 lore raw

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

Quoted 6 lines · Adrian Bunk
Quoted 5 lines · Andi Kleen
Quoted 3 lines · Adrian Bunk

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).

Quoted 6 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 4 lines

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.

Quoted 9 lines
Quoted 5 lines

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

#4 lore raw

PATCH 1/1 Add some help texts to recently-introduced kconfig items

In reply to Jan Engelhardt
Quoted 12 lines · Jan Engelhardt
Quoted 9 lines · Michal Piotrowski

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
Quoted 2 lines

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

---

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(+)
arch/i386/Kconfig +5 -0
Index: 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
 
drivers/atm/Kconfig +5 -0
Index: 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
 
drivers/auxdisplay/Kconfig +5 -0
Index: 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
 
drivers/block/Kconfig +6 -0
Index: 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
 
drivers/crypto/Kconfig +5 -0
Index: 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
 
drivers/hid/Kconfig +5 -0
Index: 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
 
drivers/kvm/Kconfig +5 -0
Index: 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
 
drivers/macintosh/Kconfig +5 -0
Index: 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
 
drivers/misc/Kconfig +5 -0
Index: 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
 
drivers/net/Kconfig +15 -0
Index: 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
 
drivers/usb/Kconfig +3 -0
Index: 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
 
Signature · 3 lines
Stefan Richter
-=====-=-=== =--- =--=-
http://arcgraph.de/sr/
#12 lore raw

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

In reply to Andi Kleen
Quoted 14 lines · Andi Kleen
Quoted 3 lines · Adrian Bunk

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

Quoted 5 lines

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