Skip to contentSkip to conversation

2.6.23-rc3: known regressions with patches

PATCH In review Michal Piotrowski 4 participants 6 messages Aug 29, 2007 – Sep 1, 2007

Subsystems (3)
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-rc4 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
Hugh Dickins                           4
Al Viro                                3
Alan Stern                             3
Cornelia Huck                          3
Jens Axboe                             3
Tejun Heo                              3

Unclassified

Subject : 8250 claims non existing device blocking IO port
References : http://lkml.org/lkml/2007/8/18/20
Last known good : ?
Submitter : Andrey Borzenkov <[email protected]>

Caused-By       : ?
Handled-By      : Bjorn Helgaas <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/21/291
Status          : patch was suggested

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

ACPI

Subject : the fan doesn't work any more
References : http://lkml.org/lkml/2007/8/28/359
Last known good : ?
Submitter : Daniel Ritz <[email protected]>

                  commit cd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b
Handled-By      : Alexey Starikovskiy <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/29/15
Status          : patch was suggested

Clocks & time

Subject : "double" hpet clocksource && hard freeze
References : http://lkml.org/lkml/2007/8/23/257
Last known good : ?
Submitter : Paolo Ornati <[email protected]>

                  commit 0aa366f351d044703e25c8425e508170e80d83b1

Tony Luck <[email protected]>
Patch : http://lkml.org/lkml/2007/8/23/285
Status : patch available

SATA/PATA

Subject : sata_promise 2.09 fails to identify ST3400832AS
References : http://bugzilla.kernel.org/show_bug.cgi?id=8936
Last known good : ?
Submitter : Stephen Ziemba <[email protected]>

                  commit a77720ad0a4049e4bc6355e4febf899966a48222
Handled-By      : Mikael Pettersson <[email protected]>
Patch           : http://bugzilla.kernel.org/show_bug.cgi?id=8936#c3
Status          : patch available

Regards,
Michal

Signature · 2 lines
LOG
http://www.stardust.webpages.pl/log/
#1 lore raw

Re: [1/2] 2.6.23-rc3: known regressions with patches: 8250 claims nonexisting device blocking IO port

Quoted 8 lines · Michal Piotrowski

Subject : 8250 claims non existing device blocking IO port
References : http://lkml.org/lkml/2007/8/18/20
Last known good : ?
Submitter : Andrey Borzenkov <[email protected]>

Caused-By       : ?
Handled-By      : Bjorn Helgaas <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/21/291
Status          : patch was suggested

The following patch fixes this regression (confirmed by Andrey). Please queue it for 2.6.23. I'll come back later for another try at sorting this all out.

PNP: remove SMCf010 quirk

If the quirk enables the SIR part of the SMCf010 device, the 8250 driver may claim it as a legacy ttyS device, which makes the legacy probe in the smsc-ircc2 driver fail.

drivers/pnp/quirks.c +0 -103
Index: w/drivers/pnp/quirks.c
===================================================================
@@ -107,108 +107,6 @@
 		       "pnp: SB audio device quirk - increasing port range\n");
 }
 
-static int quirk_smc_fir_enabled(struct pnp_dev *dev)
-{
-	unsigned long firbase;
-	u8 bank, high, low, chip;
-
-	if (!pnp_port_valid(dev, 1))
-		return 0;
-
-	firbase = pnp_port_start(dev, 1);
-
-	/* Select register bank 3 */
-	bank = inb(firbase + 7);
-	bank &= 0xf0;
-	bank |= 3;
-	outb(bank, firbase + 7);
-
-	high = inb(firbase + 0);
-	low = inb(firbase + 1);
-	chip = inb(firbase + 2);
-
-	/* This corresponds to the check in smsc_ircc_present() */
-	if (high == 0x10 && low == 0xb8 && (chip == 0xf1 || chip == 0xf2))
-		return 1;
-
-	return 0;
-}
-
-static void quirk_smc_enable(struct pnp_dev *dev)
-{
-	struct resource fir, sir, irq;
-
-	pnp_activate_dev(dev);
-	if (quirk_smc_fir_enabled(dev))
-		return;
-
-	/*
-	 * Sometimes the BIOS claims the device is enabled, but it reports
-	 * the wrong FIR resources or doesn't properly configure ISA or LPC
-	 * bridges on the way to the device.
-	 *
-	 * HP nc6000 and nc8000/nw8000 laptops have known problems like
-	 * this.  Fortunately, they do fix things up if we auto-configure
-	 * the device using its _PRS and _SRS methods.
-	 */
-	dev_err(&dev->dev, "%s not responding at SIR 0x%lx, FIR 0x%lx; "
-		"auto-configuring\n", dev->id->id,
-		(unsigned long)pnp_port_start(dev, 0),
-		(unsigned long)pnp_port_start(dev, 1));
-
-	pnp_disable_dev(dev);
-	pnp_init_resource_table(&dev->res);
-	pnp_auto_config_dev(dev);
-	pnp_activate_dev(dev);
-	if (quirk_smc_fir_enabled(dev)) {
-		dev_err(&dev->dev, "responds at SIR 0x%lx, FIR 0x%lx\n",
-			(unsigned long)pnp_port_start(dev, 0),
-			(unsigned long)pnp_port_start(dev, 1));
-		return;
-	}
-
-	/*
-	 * The Toshiba Portege 4000 _CRS reports the FIR region first,
-	 * followed by the SIR region.  The BIOS will configure the bridge,
-	 * but only if we call _SRS with SIR first, then FIR.  It also
-	 * reports the IRQ as active high, when it is really active low.
-	 */
-	dev_err(&dev->dev, "not responding at SIR 0x%lx, FIR 0x%lx; "
-		"swapping SIR/FIR and reconfiguring\n",
-		(unsigned long)pnp_port_start(dev, 0),
-		(unsigned long)pnp_port_start(dev, 1));
-
-	/*
-	 * Clear IORESOURCE_AUTO so pnp_activate_dev() doesn't reassign
-	 * these resources any more.
-	 */
-	fir = dev->res.port_resource[0];
-	sir = dev->res.port_resource[1];
-	fir.flags &= ~IORESOURCE_AUTO;
-	sir.flags &= ~IORESOURCE_AUTO;
-
-	irq = dev->res.irq_resource[0];
-	irq.flags &= ~IORESOURCE_AUTO;
-	irq.flags &= ~IORESOURCE_BITS;
-	irq.flags |= IORESOURCE_IRQ_LOWEDGE;
-
-	pnp_disable_dev(dev);
-	dev->res.port_resource[0] = sir;
-	dev->res.port_resource[1] = fir;
-	dev->res.irq_resource[0] = irq;
-	pnp_activate_dev(dev);
-
-	if (quirk_smc_fir_enabled(dev)) {
-		dev_err(&dev->dev, "responds at SIR 0x%lx, FIR 0x%lx\n",
-			(unsigned long)pnp_port_start(dev, 0),
-			(unsigned long)pnp_port_start(dev, 1));
-		return;
-	}
-
-	dev_err(&dev->dev, "giving up; try \"smsc-ircc2.nopnp\" and "
-		"email [email protected]\n");
-}
-
 /*
  *  PnP Quirks
  *  Cards or devices that need some tweaking due to incomplete resource info
@@ -229,7 +127,6 @@
 	{"CTL0043", quirk_sb16audio_resources},
 	{"CTL0044", quirk_sb16audio_resources},
 	{"CTL0045", quirk_sb16audio_resources},
-	{"SMCf010", quirk_smc_enable},
 	{""}
 };
 
reviewer
#2 lore raw
In reply to Michal Piotrowski
Quoted 11 lines · Michal Piotrowski

ACPI

Subject : the fan doesn't work any more
References : http://lkml.org/lkml/2007/8/28/359
Last known good : ?
Submitter : Daniel Ritz <[email protected]>

                  commit cd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b
Handled-By      : Alexey Starikovskiy <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/29/15
Status          : patch was suggested

I believe that this is gone as of 2.6.23-rc4-git3

http://bugzilla.kernel.org/show_bug.cgi?id=8958

thanks,
-Len

#3 lore raw

Len Brown pisze:

Quoted 14 lines · Michal Piotrowski
Quoted 7 lines

ACPI

Subject : the fan doesn't work any more
References : http://lkml.org/lkml/2007/8/28/359
Last known good : ?
Submitter : Daniel Ritz <[email protected]>

Quoted 5 lines
                  commit cd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b
Handled-By      : Alexey Starikovskiy <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/29/15
Status          : patch was suggested
Quoted 3 lines

I believe that this is gone as of 2.6.23-rc4-git3

http://bugzilla.kernel.org/show_bug.cgi?id=8958

BTW. Maciej Rutecki has said that "MCFG bug on hp nx6310" is not a regression, so regression counter for ACPI == 0 (if I didn't overlook something :))

Quoted 4 lines

thanks,
-Len

Regards,
Michal

Signature · 2 lines
LOG
http://www.stardust.webpages.pl/log/
#4 lore raw
In reply to Len Brown

Len Brown pisze:

Quoted 14 lines · Michal Piotrowski
Quoted 7 lines

ACPI

Subject : the fan doesn't work any more
References : http://lkml.org/lkml/2007/8/28/359
Last known good : ?
Submitter : Daniel Ritz <[email protected]>

Quoted 5 lines
                  commit cd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b
Handled-By      : Alexey Starikovskiy <[email protected]>
Patch           : http://lkml.org/lkml/2007/8/29/15
Status          : patch was suggested
Quoted 3 lines

I believe that this is gone as of 2.6.23-rc4-git3

http://bugzilla.kernel.org/show_bug.cgi?id=8958

BTW. Maciej Rutecki has said that "MCFG bug on hp nx6310" is not a regression, so regression counter for ACPI == 0 (if I didn't overlook something :))

Quoted 4 lines

thanks,
-Len

Regards,
Michal

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

Clocks & time

Subject : "double" hpet clocksource && hard freeze
References : http://lkml.org/lkml/2007/8/23/257
Last known good : ?
Submitter : Paolo Ornati <[email protected]>

Quoted 6 lines
                  commit 0aa366f351d044703e25c8425e508170e80d83b1

Tony Luck <[email protected]>
Patch : http://lkml.org/lkml/2007/8/23/285
Status : patch available

Should be solved by 3b2b64fd311c92f2137eb7cee7025794cd854057, although differently from the the patch suggested above. So the regression should be gone a of -rc5.

Linus