Skip to contentSkip to conversation

WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e

PATCH Philipp Matthias Hahn 17 participants 66 messages Jan 29, 2009 – Feb 9, 2009

Subsystems (6)
Networking Network drivers SCSI ACPI +2 more subsystems
lore
Share & tools
lore
#0 lore raw

Hello!

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

	"etherwake 00:19:db:f2:e1:35" did not work
	"etherwake 35:e1:f2:db:19:00" did work

Since I did a BIOS update during the same time window I (wrongly) put
the fault on the BIOS. (See /sys/class/dmi/id/modalias for yourself:
dmi:bvnAmericanMegatrendsInc.:bvrV1.7:bd07/29/2008:svnMSI:pnMS-7350:pvr1.0:rvnMSI:rnMS-7350:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
)

Today I finally found the time to test various old versions of "drivers/net/forcedeth.c" and also did a "git-bisect v2.6.26 v2.6.27" which lead to the following culprit:

f55c21fd9a92a444e55ad1ca4e4732d56661bf2e is first bad commit commit f55c21fd9a92a444e55ad1ca4e4732d56661bf2e

Author: Yinghai Lu <[email protected]>
Date:   Sat Sep 13 13:10:31 2008 -0700

forcedeth: call restore mac addr in nv_shutdown path

after

| commit f735a2a1a4f2a0f5cd823ce323e82675990469e2 | Author: Tobias Diedrich <[email protected]>
| Date: Sun May 18 15:02:37 2008 +0200
|
| [netdrvr] forcedeth: setup wake-on-lan before shutting down
|
| When hibernating in 'shutdown' mode, after saving the image the suspend hook
| is not called again.
| However, if the device is in promiscous mode, wake-on-lan will not work.
| This adds a shutdown hook to setup wake-on-lan before the final shutdown.
|
| Signed-off-by: Tobias Diedrich <[email protected]>
| Signed-off-by: Jeff Garzik <[email protected]>

my servers with nvidia ck804 and mcp55 will reverse mac address with kexec.

it turns out that we need to restore the mac addr in nv_shutdown().

[[email protected]: fix typo in printk]
Cc Tobias Diedrich <[email protected]>
Cc Ayaz Abdulla <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
drivers/net/forcedeth.c +13 -3
index 0b6ecef..eeb55ed 100644
@@ -5643,6 +5643,7 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
 		dev->dev_addr[4] = (np->orig_mac[0] >>  8) & 0xff;
 		dev->dev_addr[5] = (np->orig_mac[0] >>  0) & 0xff;
 		writel(txreg|NVREG_TRANSMITPOLL_MAC_ADDR_REV, base + NvRegTransmitPoll);
+		printk(KERN_DEBUG "nv_probe: set workaround bit for reversed mac addr\n");
 	}
 	memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
 
@@ -5890,14 +5891,12 @@ static void nv_restore_phy(struct net_device *dev)
 	}
 }
 
-static void __devexit nv_remove(struct pci_dev *pci_dev)
+static void nv_restore_mac_addr(struct pci_dev *pci_dev)
 {
 	struct net_device *dev = pci_get_drvdata(pci_dev);
 	struct fe_priv *np = netdev_priv(dev);
 	u8 __iomem *base = get_hwbase(dev);
 
-	unregister_netdev(dev);
-
 	/* special op: write back the misordered MAC address - otherwise
 	 * the next nv_probe would see a wrong address.
 	 */
@@ -5905,6 +5904,15 @@ static void __devexit nv_remove(struct pci_dev *pci_dev)
 	writel(np->orig_mac[1], base + NvRegMacAddrB);
 	writel(readl(base + NvRegTransmitPoll) & ~NVREG_TRANSMITPOLL_MAC_ADDR_REV,
 	       base + NvRegTransmitPoll);
+}
+
+static void __devexit nv_remove(struct pci_dev *pci_dev)
+{
+	struct net_device *dev = pci_get_drvdata(pci_dev);
+
+	unregister_netdev(dev);
+
+	nv_restore_mac_addr(pci_dev);
 
 	/* restore any phy related changes */
 	nv_restore_phy(dev);
@@ -5975,6 +5983,8 @@ static void nv_shutdown(struct pci_dev *pdev)
 	if (netif_running(dev))
 		nv_close(dev);
 
+	nv_restore_mac_addr(pdev);
+
 	pci_disable_device(pdev);
 	if (system_state == SYSTEM_POWER_OFF) {
 		if (pci_enable_wake(pdev, PCI_D3cold, np->wolenabled))

:040000 040000 8c603aa1f71b79f3f4a94bef066a830a249c8d2a e85d84f3c509421a33fd4b71bacddeb4b9fbe896 M drivers

Reverting that patch on top of drivers/net/forcedeth.c from 2.6.28.2 resolves the problem for me.
I DON'T use kexec, just simple poweroff.

BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#1 lore raw
Quoted 6 lines · Philipp Matthias Hahn

Hello!

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

       "etherwake 00:19:db:f2:e1:35" did not work
       "etherwake 35:e1:f2:db:19:00" did work
Quoted 9 lines

Since I did a BIOS update during the same time window I (wrongly) put
the fault on the BIOS. (See /sys/class/dmi/id/modalias for yourself:
dmi:bvnAmericanMegatrendsInc.:bvrV1.7:bd07/29/2008:svnMSI:pnMS-7350:pvr1.0:rvnMSI:rnMS-7350:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
)

Today I finally found the time to test various old versions of "drivers/net/forcedeth.c" and also did a "git-bisect v2.6.26 v2.6.27" which lead to the following culprit:

can not find the reason why the WOL doesn't work...

please post
1. boot log for just after AC is pluged-in... ===> you should have "nv_probe: set workaround bit for reversed mac addr"
2. and boot log after boot from WOL...==> you have have "nv_probe: set workaround bit for reversed mac addr" too.

YH

#2 lore raw
Quoted 8 lines · Yinghai Lu
Quoted 6 lines · Philipp Matthias Hahn

Hello!

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

       "etherwake 00:19:db:f2:e1:35" did not work
       "etherwake 35:e1:f2:db:19:00" did work

looks like your BIOS, already reverse the MAC addr...

please check attached ... Rafael, wonder if will break suspend/resume...

YH

[PATCH] forcedeth: keep mac addr to orignal

Impact: fix mac reverse for wol

some BIOS may already reverse that, try to don't touch the mac addr, so don't confuse the WOL

---
 drivers/net/forcedeth.c |   50 +++++++++++++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 19 deletions(-)
drivers/net/forcedeth.c +31 -19
Index: linux-2.6/drivers/net/forcedeth.c
===================================================================
@@ -748,6 +748,8 @@ struct fe_priv {
 	/* General data: RO fields */
 	dma_addr_t ring_addr;
 	struct pci_dev *pci_dev;
+	/* wonder if bios already reverse that */
+	int orig_mac_status;
 	u32 orig_mac[2];
 	u32 irqmask;
 	u32 desc_ver;
@@ -5639,14 +5641,17 @@ static int __devinit nv_probe(struct pci
 	/* check the workaround bit for correct mac address order */
 	txreg = readl(base + NvRegTransmitPoll);
 	if (id->driver_data & DEV_HAS_CORRECT_MACADDR) {
-		/* mac address is already in correct order */
-		dev->dev_addr[0] = (np->orig_mac[0] >>  0) & 0xff;
-		dev->dev_addr[1] = (np->orig_mac[0] >>  8) & 0xff;
-		dev->dev_addr[2] = (np->orig_mac[0] >> 16) & 0xff;
-		dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff;
-		dev->dev_addr[4] = (np->orig_mac[1] >>  0) & 0xff;
-		dev->dev_addr[5] = (np->orig_mac[1] >>  8) & 0xff;
+		np->orig_mac_status = -1;
 	} else if (txreg & NVREG_TRANSMITPOLL_MAC_ADDR_REV) {
+		np->orig_mac_status = 1;
+		printk(KERN_DEBUG "nv_probe: workaround bit for reversed mac addr is set\n");
+	} else {
+		np->orig_mac_status = 0;
+		writel(txreg|NVREG_TRANSMITPOLL_MAC_ADDR_REV,
+			 base + NvRegTransmitPoll);
+		printk(KERN_DEBUG "nv_probe: set workaround bit for reversed mac addr\n");
+	}
+	if (np->orig_mac_status) {
 		/* mac address is already in correct order */
 		dev->dev_addr[0] = (np->orig_mac[0] >>  0) & 0xff;
 		dev->dev_addr[1] = (np->orig_mac[0] >>  8) & 0xff;
@@ -5654,14 +5659,6 @@ static int __devinit nv_probe(struct pci
 		dev->dev_addr[3] = (np->orig_mac[0] >> 24) & 0xff;
 		dev->dev_addr[4] = (np->orig_mac[1] >>  0) & 0xff;
 		dev->dev_addr[5] = (np->orig_mac[1] >>  8) & 0xff;
-		/*
-		 * Set orig mac address back to the reversed version.
-		 * This flag will be cleared during low power transition.
-		 * Therefore, we should always put back the reversed address.
-		 */
-		np->orig_mac[0] = (dev->dev_addr[5] << 0) + (dev->dev_addr[4] << 8) +
-			(dev->dev_addr[3] << 16) + (dev->dev_addr[2] << 24);
-		np->orig_mac[1] = (dev->dev_addr[1] << 0) + (dev->dev_addr[0] << 8);
 	} else {
 		/* need to reverse mac address to correct order */
 		dev->dev_addr[0] = (np->orig_mac[1] >>  8) & 0xff;
@@ -5670,8 +5667,6 @@ static int __devinit nv_probe(struct pci
 		dev->dev_addr[3] = (np->orig_mac[0] >> 16) & 0xff;
 		dev->dev_addr[4] = (np->orig_mac[0] >>  8) & 0xff;
 		dev->dev_addr[5] = (np->orig_mac[0] >>  0) & 0xff;
-		writel(txreg|NVREG_TRANSMITPOLL_MAC_ADDR_REV, base + NvRegTransmitPoll);
-		printk(KERN_DEBUG "nv_probe: set workaround bit for reversed mac addr\n");
 	}
 	memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
 
@@ -5923,14 +5918,31 @@ static void nv_restore_mac_addr(struct p
 {
 	struct net_device *dev = pci_get_drvdata(pci_dev);
 	struct fe_priv *np = netdev_priv(dev);
-	u8 __iomem *base = get_hwbase(dev);
+	u8 __iomem *base;
+	u32 txreg;
+
+	if (np->orig_mac_status == -1)
+		return;
+
+	base = get_hwbase(dev);
+	txreg = readl(base + NvRegTransmitPoll);
+	if (np->orig_mac_status == 1) {
+		/*
+		 * Set orig mac address back to the reversed version.
+		 * This flag will be cleared during low power transition.
+		 * Therefore, set that bit don't confuse other...
+		 */
+		writel(txreg | NVREG_TRANSMITPOLL_MAC_ADDR_REV,
+		       base + NvRegTransmitPoll);
+		return;
+	}
 
 	/* special op: write back the misordered MAC address - otherwise
 	 * the next nv_probe would see a wrong address.
 	 */
 	writel(np->orig_mac[0], base + NvRegMacAddrA);
 	writel(np->orig_mac[1], base + NvRegMacAddrB);
-	writel(readl(base + NvRegTransmitPoll) & ~NVREG_TRANSMITPOLL_MAC_ADDR_REV,
+	writel(txreg & ~NVREG_TRANSMITPOLL_MAC_ADDR_REV,
 	       base + NvRegTransmitPoll);
 }
 
#3 lore raw
Quoted 5 lines · Yinghai Lu
Quoted 4 lines · Yinghai Lu
Quoted 2 lines · Philipp Matthias Hahn

Hello!

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

       "etherwake 00:19:db:f2:e1:35" did not work
       "etherwake 35:e1:f2:db:19:00" did work

looks like your BIOS, already reverse the MAC addr...

please check attached ... Rafael, wonder if will break suspend/resume...

Well, it doesn't look like it's going to, but testing is necessary.

Thanks,
Rafael

#7 lore raw

2.6.29-rc3-git6: Reported regressions 2.6.27 -> 2.6.28

This message contains a list of some regressions introduced between 2.6.27 and 2.6.28, for which there are no fixes in the mainline I know of. If any of them have been fixed already, please let me know.

If you know of any other unresolved regressions introduced between 2.6.27 and 2.6.28, please let me know either and I'll add them to the list. Also, please let me know if any of the entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply to this message with CCs to the people involved in reporting and handling the issue.

Listed regressions statistics:

Date Total Pending Unresolved
----------------------------------------

  2009-02-04      149       33          30
  2009-01-20      144       30          27
  2009-01-11      139       33          30
  2008-12-21      120       19          17
  2008-12-13      111       14          13
  2008-12-07      106       20          17
  2008-12-04      106       29          21
  2008-11-22       93       25          15
  2008-11-16       89       32          18
  2008-11-09       73       40          27
  2008-11-02       55       41          29
  2008-10-25       26       25          20

Unresolved regressions
----------------------

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12619
Subject : Regression 2.6.28 and last - boot failed
Submitter : jan sonnek <[email protected]>
Date : 2009-02-01 19:59 (4 days old)
References : http://marc.info/?l=linux-kernel&m=123351836213969&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (8 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12559
Subject : Huawei E169 doesn't work as mass storage anymore
Submitter : kpalberg <[email protected]>
Date : 2009-01-28 02:34 (8 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12520
Subject : Cannot boot 2.6.28 under Dell OptiPlex 960
Submitter : Denis Scherbakov <[email protected]>
Date : 2009-01-22 04:37 (14 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12500
Subject : r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out
Submitter : Justin Piszcz <[email protected]>
Date : 2009-01-13 21:19 (23 days old)
References : http://marc.info/?l=linux-kernel&m=123188160811322&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <[email protected]>
Date : 2009-01-17 03:37 (19 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References : http://marc.info/?l=linux-kernel&m=123162486415366&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12421
Subject : GPF on 2.6.28 &amp; 2.6.28-rc9-git3    e1000e / e1000 issues
Submitter : Doug Bazarnic <[email protected]>
Date : 2009-01-09 21:26 (27 days old)
References : http://marc.info/?l=linux-kernel&m=123153653120204&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12411
Subject : 2.6.28: BUG in r8169
Submitter : Andrey Vul <[email protected]>
Date : 2008-12-31 18:37 (36 days old)
References : http://marc.info/?l=linux-kernel&m=123074869611409&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12409
Subject : NULL pointer dereference at get_stats()
Submitter : Tetsuo Handa <[email protected]>
Date : 2008-12-30 12:53 (37 days old)
References : http://marc.info/?l=linux-kernel&m=123064167008695&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12408
Subject : Funny problem with 2.6.28: Kernel stalls
Submitter : Michael Roth <[email protected]>
Date : 2008-12-25 15:14 (42 days old)
References : http://marc.info/?l=linux-kernel&m=123021931714282&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12407
Subject : Kernel 2.6.28 regression: Hang after hibernate
Submitter : Frank Groeneveld <[email protected]>
Date : 2008-12-28 20:34 (39 days old)
References : http://marc.info/?l=linux-kernel&m=123049651906081&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (41 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12404
Subject : Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e
Submitter : Kernel <[email protected]>
Date : 2008-12-22 9:37 (45 days old)
References : http://marc.info/?l=linux-kernel&m=122993873320150&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (45 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12401
Subject : 2.6.28 regression: xbacklight broken on ThinkPad X61s
Submitter : Tino Keitel <[email protected]>
Date : 2009-01-05 8:39 (31 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22c13f9d8179f4c9caecfcb60a95214562b9addc
References : http://marc.info/?l=linux-kernel&m=123114479110314&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12395
Subject : 2.6.28-rc9: oprofile regression
Submitter : Tim Blechmann <[email protected]>
Date : 2008-12-21 14:23 (46 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b99170288421c79f0c2efa8b33e26e65f4bb7fb8
References : http://marc.info/?l=linux-kernel&m=122986946614791&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12393
Subject : debugging in dosemu causes lots of 'scheduling while atomic'
Submitter : Michal Suchanek <[email protected]>
Date : 2009-01-09 07:28 (27 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12391
Subject : Processor does not go below C2 state until usb.autosuspend is enabled
Submitter : Gergely Imreh <[email protected]>
Date : 2009-01-09 02:35 (27 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <[email protected]>
Date : 2008-12-31 12:25 (36 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12265
Subject : FPU emulation broken in 2.6.28-rc8 ?
Submitter : Rogier Wolff <[email protected]>
Date : 2008-12-17 8:56 (50 days old)
References : http://marc.info/?l=linux-kernel&m=122950463030747&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12264
Subject : i915: switching from kwin in opengl mode to a VT then back to x11, x11 freezes
Submitter : Caleb Cushing <[email protected]>
Date : 2008-12-16 11:40 (51 days old)
References : http://marc.info/?l=linux-kernel&m=122942777030666&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (54 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (53 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12209
Subject : oldish top core dumps (in its meminfo() function)
Submitter : Andreas Mohr <[email protected]>
Date : 2008-12-12 18:49 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122910784006472&w=4

		  http://marc.info/?l=linux-kernel&m=122907511319288&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12160
Subject : networking oops after resume from s2ram (2.6.28-rc6)
Submitter : Marcin Slusarz <[email protected]>
Date : 2008-11-28 21:15 (69 days old)
References : http://marc.info/?l=linux-kernel&m=122790701615723&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12159
Subject : 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver
Submitter : Miles Lane <[email protected]>
Date : 2008-11-27 20:33 (70 days old)
References : http://marc.info/?l=linux-kernel&m=122781805620212&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12061
Subject : snd_hda_intel: power_save: sound cracks on powerdown
Submitter : Jens Weibler <[email protected]>
Date : 2008-11-18 12:07 (79 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11849
Subject : default IRQ affinity change in v2.6.27 (breaking several SMP PPC based systems)
Submitter : Kumar Gala <[email protected]>
Date : 2008-10-24 12:45 (104 days old)
References : http://marc.info/?l=linux-kernel&m=122485245924125&w=4

Regressions with patches
------------------------

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (7 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a touchpad
Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (40 days old)
References : http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch : http://marc.info/?l=linux-kernel&m=123092147703236&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12396
Subject : hwinfo problem since 2.6.28
Submitter : Beschorner Daniel <[email protected]>
Date : 2009-01-06 8:53 (30 days old)
References : http://marc.info/?l=linux-kernel&m=123123277800835&w=4

Patch : http://marc.info/?l=linux-kernel&m=123154005127497&w=4

For details, please visit the bug entries and follow the links given in references.

As you can see, there is a Bugzilla entry for each of the listed regressions. There also is a Bugzilla entry used for tracking the regressions introduced between 2.6.27 and 2.6.28, unresolved as well as resolved, at:

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

Please let me know if there are any Bugzilla entries that should be added to the list in there.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw

[Bug #11849] default IRQ affinity change in v2.6.27 (breaking several SMP PPC based systems)

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11849
Subject : default IRQ affinity change in v2.6.27 (breaking several SMP PPC based systems)
Submitter : Kumar Gala <[email protected]>
Date : 2008-10-24 12:45 (104 days old)
References : http://marc.info/?l=linux-kernel&m=122485245924125&w=4

#9 lore raw

[Bug #12061] snd_hda_intel: power_save: sound cracks on powerdown

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12061
Subject : snd_hda_intel: power_save: sound cracks on powerdown
Submitter : Jens Weibler <[email protected]>
Date : 2008-11-18 12:07 (79 days old)

#10 lore raw

[Bug #12160] networking oops after resume from s2ram (2.6.28-rc6)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12160
Subject : networking oops after resume from s2ram (2.6.28-rc6)
Submitter : Marcin Slusarz <[email protected]>
Date : 2008-11-28 21:15 (69 days old)
References : http://marc.info/?l=linux-kernel&m=122790701615723&w=4

#11 lore raw

[Bug #12159] 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12159
Subject : 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver
Submitter : Miles Lane <[email protected]>
Date : 2008-11-27 20:33 (70 days old)
References : http://marc.info/?l=linux-kernel&m=122781805620212&w=4

#14 lore raw

[Bug #12208] uml is very slow on 2.6.28 host

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

#15 lore raw

[Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (53 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

#18 lore raw

[Bug #12209] oldish top core dumps (in its meminfo() function)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12209
Subject : oldish top core dumps (in its meminfo() function)
Submitter : Andreas Mohr <[email protected]>
Date : 2008-12-12 18:49 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122910784006472&w=4

		  http://marc.info/?l=linux-kernel&m=122907511319288&w=4
#19 lore raw

[Bug #12264] i915: switching from kwin in opengl mode to a VT then back to x11, x11 freezes

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12264
Subject : i915: switching from kwin in opengl mode to a VT then back to x11, x11 freezes
Submitter : Caleb Cushing <[email protected]>
Date : 2008-12-16 11:40 (51 days old)
References : http://marc.info/?l=linux-kernel&m=122942777030666&w=4

#20 lore raw

[Bug #12263] Sata soft reset filling log

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (54 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

#21 lore raw

[Bug #12265] FPU emulation broken in 2.6.28-rc8 ?

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12265
Subject : FPU emulation broken in 2.6.28-rc8 ?
Submitter : Rogier Wolff <R.E.Wolff-bu/[email protected]>
Date : 2008-12-17 8:56 (50 days old)
References : http://marc.info/?l=linux-kernel&m=122950463030747&w=4

#22 lore raw

[Bug #12391] Processor does not go below C2 state until usb.autosuspend is enabled

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12391
Subject : Processor does not go below C2 state until usb.autosuspend is enabled
Submitter : Gergely Imreh <[email protected]>
Date : 2009-01-09 02:35 (27 days old)

#23 lore raw

[Bug #12337] ~100 extra wakeups reported by powertop

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <luis6674-/[email protected]>
Date : 2008-12-31 12:25 (36 days old)

#24 lore raw

[Bug #12393] debugging in dosemu causes lots of 'scheduling while atomic'

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12393
Subject : debugging in dosemu causes lots of 'scheduling while atomic'
Submitter : Michal Suchanek <[email protected]>
Date : 2009-01-09 07:28 (27 days old)

#28 lore raw

[Bug #12395] 2.6.28-rc9: oprofile regression

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12395
Subject : 2.6.28-rc9: oprofile regression
Submitter : Tim Blechmann <tim-xpEK/[email protected]>
Date : 2008-12-21 14:23 (46 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b99170288421c79f0c2efa8b33e26e65f4bb7fb8
References : http://marc.info/?l=linux-kernel&m=122986946614791&w=4

#29 lore raw

[Bug #12396] hwinfo problem since 2.6.28

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12396
Subject : hwinfo problem since 2.6.28
Submitter : Beschorner Daniel <[email protected]>
Date : 2009-01-06 8:53 (30 days old)
References : http://marc.info/?l=linux-kernel&m=123123277800835&w=4

Patch : http://marc.info/?l=linux-kernel&m=123154005127497&w=4

#32 lore raw

[Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12401
Subject : 2.6.28 regression: xbacklight broken on ThinkPad X61s
Submitter : Tino Keitel <[email protected]>
Date : 2009-01-05 8:39 (31 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22c13f9d8179f4c9caecfcb60a95214562b9addc
References : http://marc.info/?l=linux-kernel&m=123114479110314&w=4

#33 lore raw

[Bug #12403] TTY problem on linux-2.6.28-rc7

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (45 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

#34 lore raw

[Bug #12406] 2.6.28 thinks that my PS/2 mouse is a touchpad

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a touchpad
Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (40 days old)
References : http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch : http://marc.info/?l=linux-kernel&m=123092147703236&w=4

#35 lore raw

[Bug #12404] Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12404
Subject : Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e
Submitter : Kernel <kernel-nOyj/A09A+/[email protected]>
Date : 2008-12-22 9:37 (45 days old)
References : http://marc.info/?l=linux-kernel&m=122993873320150&w=4

#36 lore raw

[Bug #12405] oops in __bounce_end_io_read under kvm

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (41 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

#39 lore raw

[Bug #12408] Funny problem with 2.6.28: Kernel stalls

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12408
Subject : Funny problem with 2.6.28: Kernel stalls
Submitter : Michael Roth <[email protected]>
Date : 2008-12-25 15:14 (42 days old)
References : http://marc.info/?l=linux-kernel&m=123021931714282&w=4

#40 lore raw

[Bug #12407] Kernel 2.6.28 regression: Hang after hibernate

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12407
Subject : Kernel 2.6.28 regression: Hang after hibernate
Submitter : Frank Groeneveld <[email protected]>
Date : 2008-12-28 20:34 (39 days old)
References : http://marc.info/?l=linux-kernel&m=123049651906081&w=4

#41 lore raw

[Bug #12411] 2.6.28: BUG in r8169

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12411
Subject : 2.6.28: BUG in r8169
Submitter : Andrey Vul <[email protected]>
Date : 2008-12-31 18:37 (36 days old)
References : http://marc.info/?l=linux-kernel&m=123074869611409&w=4

#42 lore raw

[Bug #12409] NULL pointer dereference at get_stats()

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12409
Subject : NULL pointer dereference at get_stats()
Submitter : Tetsuo Handa <penguin-kernel-1yMVhJb1mP/[email protected]>
Date : 2008-12-30 12:53 (37 days old)
References : http://marc.info/?l=linux-kernel&m=123064167008695&w=4

#43 lore raw

[Bug #12426] TMDC Joystick no longer works in kernel 2.6.28

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References : http://marc.info/?l=linux-kernel&m=123162486415366&w=4

#48 lore raw

[Bug #12465] KVM guests stalling on 2.6.28 (bisected)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <kmshanah-biM/RbsGxha6c6uEtOJ/[email protected]>
Date : 2009-01-17 03:37 (19 days old)

#51 lore raw

[Bug #12500] r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12500
Subject : r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out
Submitter : Justin Piszcz <[email protected]>
Date : 2009-01-13 21:19 (23 days old)
References : http://marc.info/?l=linux-kernel&m=123188160811322&w=4

#52 lore raw

[Bug #12520] Cannot boot 2.6.28 under Dell OptiPlex 960

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12520
Subject : Cannot boot 2.6.28 under Dell OptiPlex 960
Submitter : Denis Scherbakov <denis_scherbakov-/[email protected]>
Date : 2009-01-22 04:37 (14 days old)

#53 lore raw

[Bug #12559] Huawei E169 doesn't work as mass storage anymore

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12559
Subject : Huawei E169 doesn't work as mass storage anymore
Submitter : kpalberg <[email protected]>
Date : 2009-01-28 02:34 (8 days old)

#54 lore raw

[Bug #12612] hard lockup when interrupting cdda2wav

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (8 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

#58 lore raw
In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (7 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

#65 lore raw

[Bug #12619] Regression 2.6.28 and last - boot failed

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12619
Subject : Regression 2.6.28 and last - boot failed
Submitter : jan sonnek <[email protected]>
Date : 2009-02-01 19:59 (4 days old)
References : http://marc.info/?l=linux-kernel&m=123351836213969&w=4

#12 lore raw

Re: [Bug #12159] 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver

In reply to Rafael J. Wysocki

This bug is fixed in Linus' tree, afaict.

Quoted 17 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12159
Subject : 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver
Submitter : Miles Lane <[email protected]>
Date : 2008-11-27 20:33 (70 days old)
References : http://marc.info/?l=linux-kernel&m=122781805620212&w=4

#44 lore raw

Re: [Bug #12426] TMDC Joystick no longer works in kernel 2.6.28

In reply to Rafael J. Wysocki
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References : http://marc.info/?l=linux-kernel&m=123162486415366&w=4

I asked [1] the Submitter some time ago to check whether reverting a particular commit fixes the issue, but never heard back.

[1] http://lkml.org/lkml/2009/1/26/70

Signature · 2 lines
Jiri Kosina
SUSE Labs
#30 lore raw

Re: [Bug #12396] hwinfo problem since 2.6.28

In reply to Rafael J. Wysocki
Quoted 9 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should
be listed and let me know (either way).

Quoted 7 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12396
Subject : hwinfo problem since 2.6.28
Submitter : Beschorner Daniel <[email protected]>
Date : 2009-01-06 8:53 (30 days old)
References : http://marc.info/?l=linux-kernel&m=123123277800835&w=4

Patch : http://marc.info/?l=linux-kernel&m=123154005127497&w=4

Fixed with 2.6.28.3.

Daniel

#13 lore raw

Re: [Bug #12159] 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver

In reply to Miles Lane
Quoted 1 line · Miles Lane

This bug is fixed in Linus' tree, afaict.

Closed already.

Thanks,
Rafael

Quoted 15 lines · Rafael J. Wysocki
Quoted 14 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12159
Subject : 2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA driver
Submitter : Miles Lane <[email protected]>
Date : 2008-11-27 20:33 (70 days old)
References : http://marc.info/?l=linux-kernel&m=122781805620212&w=4

#31 lore raw

Re: [Bug #12396] hwinfo problem since 2.6.28

In reply to Beschorner Daniel
Quoted 17 lines · Beschorner Daniel
Quoted 9 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should
be listed and let me know (either way).

Quoted 7 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12396
Subject : hwinfo problem since 2.6.28
Submitter : Beschorner Daniel <[email protected]>
Date : 2009-01-06 8:53 (30 days old)
References : http://marc.info/?l=linux-kernel&m=123123277800835&w=4

Patch : http://marc.info/?l=linux-kernel&m=123154005127497&w=4

Quoted 1 line

Fixed with 2.6.28.3.

Thanks, closed.

Rafael

#45 lore raw

Re: [Bug #12426] TMDC Joystick no longer works in kernel 2.6.28

In reply to Jiri Kosina
Quoted 16 lines · Jiri Kosina
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References : http://marc.info/?l=linux-kernel&m=123162486415366&w=4

Quoted 4 lines

I asked [1] the Submitter some time ago to check whether reverting a particular commit fixes the issue, but never heard back.

[1] http://lkml.org/lkml/2009/1/26/70

Rejected as "insufficient data" and closed.

Thanks,
Rafael

#16 lore raw

Re: [Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

In reply to Rafael J. Wysocki
Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (53 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

Patches against ext3 have been posted by Jan Kara and have been sucked into the mm tree. I don't know if Andrew is planning on waiting until the next merge window, or is planning on pushing it sooner given that it is a regression. (These supercede the ones currently posted by Eric in the BZ entry.)

Similar patches have been posted against ext4, and I will be handling them in the ext4 tree.

- Ted

#17 lore raw

Re: [Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

Quoted 9 lines · On Wed, 4 Feb 2009 21:00:13 -0500 Theodore Tso…
Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (53 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

Quoted 4 lines

Patches against ext3 have been posted by Jan Kara and have been sucked into the mm tree. I don't know if Andrew is planning on waiting until the next merge window, or is planning on pushing it sooner given that it is a regression.

Yes, I have jbd-fix-return-value-of-journal_start_commit.patch and revert-ext3-wait-on-all-pending-commits-in-ext3_sync_fs.patch queued for 2.6.29.

The secret algorithm for determining this is to peek in the series file
(http://userweb.kernel.org/~akpm/mmotm/series) and see where I positioned the patch:

#
-> # more 2.6.29 queue:
#
# me:
#
migration-migrate_vmas-should-check-vma.patch rtc-update-maintainership-of-pxa-rtc-driver.patch lxfb-properly-alloc-cmap-in-all-cases-and-dont-leak-the-memory.patch gxfb-properly-alloc-cmap-and-plug-cmap-leak.patch gx1fb-properly-alloc-cmap-and-plug-cmap-leak.patch mm-fix-dirty_bytes-dirty_background_bytes-sysctls-on-64bit-arches.patch mm-fix-dirty_bytes-dirty_background_bytes-sysctls-on-64bit-arches-fix.patch
-> jbd-fix-return-value-of-journal_start_commit.patch
-> revert-ext3-wait-on-all-pending-commits-in-ext3_sync_fs.patch
writeback-fix-nr_to_write-counter.patch

#25 lore raw

Re: [Bug #12393] debugging in dosemu causes lots of 'scheduling while atomic'

In reply to Rafael J. Wysocki

As I said earlier I have received a patch that I applied locally and that fixes the problem.

As to if and when the patch actually appears in the kernel is out of my control, and nobody told me that it was applied.

If you believe it was applied to a kernel version that is readily available for download I am wiling to test such version.

Thanks

Michal

2009/2/4 Rafael J. Wysocki <[email protected]>:

Quoted 15 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12393
Subject : debugging in dosemu causes lots of 'scheduling while atomic'
Submitter : Michal Suchanek <[email protected]>
Date : 2009-01-09 07:28 (27 days old)

#55 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

In reply to Rafael J. Wysocki
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 6 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (8 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

This bug is still present in 2.6.28.3.

so long,

Hias

=============================================
[ INFO: possible recursive locking detected ]
2.6.28.3-dbg #1
---------------------------------------------
swapper/0 is trying to acquire lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e5f5>] blk_put_request+0x25/0x60

but task is already holding lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e4da>] blk_end_io+0x5a/0xa0

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&q->__queue_lock){.+..}, at: [<ffffffff8040e4da>] blk_end_io+0x5a/0xa0

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.28.3-dbg #1
Call Trace:
 <IRQ>  [<ffffffff8026cc87>] __lock_acquire+0x1797/0x1930
 [<ffffffff806abd7b>] error_exit+0x29/0xa9
 [<ffffffff80521e20>] sg_rq_end_io+0x0/0x2e0
 [<ffffffff8026ceba>] lock_acquire+0x9a/0xe0
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff806ab763>] _spin_lock_irqsave+0x43/0x90
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff80520974>] sg_finish_rem_req+0xa4/0x100
 [<ffffffff80522098>] sg_rq_end_io+0x278/0x2e0
 [<ffffffff8040e281>] end_that_request_last+0x61/0x260
 [<ffffffff8040e4e8>] blk_end_io+0x68/0xa0
 [<ffffffff80508061>] scsi_end_request+0x41/0xd0
 [<ffffffff80508750>] scsi_io_completion+0x130/0x470
 [<ffffffff804133e5>] blk_done_softirq+0x75/0x90
 [<ffffffff802488ab>] __do_softirq+0x9b/0x180
 [<ffffffff80213df3>] native_sched_clock+0x13/0x70
 [<ffffffff8020d6ec>] call_softirq+0x1c/0x30
 [<ffffffff8020f175>] do_softirq+0x65/0xa0
 [<ffffffff80248345>] irq_exit+0xa5/0xb0
 [<ffffffff8020f467>] do_IRQ+0x107/0x1d0
 [<ffffffff8020c7fb>] ret_from_intr+0x0/0xf
 <EOI>  [<ffffffff80214ba6>] mwait_idle+0x56/0x60
 [<ffffffff80214b9d>] mwait_idle+0x4d/0x60
 [<ffffffff8020b353>] cpu_idle+0x63/0xc0
#26 lore raw

Re: [Bug #12393] debugging in dosemu causes lots of 'scheduling while atomic'

In reply to Michal Suchanek
Quoted 8 lines · Michal Suchanek

As I said earlier I have received a patch that I applied locally and that fixes the problem.

As to if and when the patch actually appears in the kernel is out of my control, and nobody told me that it was applied.

If you believe it was applied to a kernel version that is readily available for download I am wiling to test such version.

I don't at the moment.

Can you send me a URL to the patch, please?

Rafael

#56 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

In reply to Matthias Reichl
Quoted 52 lines · Matthias Reichl
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 6 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (8 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

This bug is still present in 2.6.28.3.

=============================================
[ INFO: possible recursive locking detected ]
2.6.28.3-dbg #1
---------------------------------------------
swapper/0 is trying to acquire lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e5f5>] blk_put_request+0x25/0x60

but task is already holding lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e4da>] blk_end_io+0x5a/0xa0

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&q->__queue_lock){.+..}, at: [<ffffffff8040e4da>] blk_end_io+0x5a/0xa0

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.28.3-dbg #1
Call Trace:
 <IRQ>  [<ffffffff8026cc87>] __lock_acquire+0x1797/0x1930
 [<ffffffff806abd7b>] error_exit+0x29/0xa9
 [<ffffffff80521e20>] sg_rq_end_io+0x0/0x2e0
 [<ffffffff8026ceba>] lock_acquire+0x9a/0xe0
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff806ab763>] _spin_lock_irqsave+0x43/0x90
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff8040e5f5>] blk_put_request+0x25/0x60
 [<ffffffff80520974>] sg_finish_rem_req+0xa4/0x100
 [<ffffffff80522098>] sg_rq_end_io+0x278/0x2e0
 [<ffffffff8040e281>] end_that_request_last+0x61/0x260
 [<ffffffff8040e4e8>] blk_end_io+0x68/0xa0
 [<ffffffff80508061>] scsi_end_request+0x41/0xd0
 [<ffffffff80508750>] scsi_io_completion+0x130/0x470
 [<ffffffff804133e5>] blk_done_softirq+0x75/0x90
 [<ffffffff802488ab>] __do_softirq+0x9b/0x180
 [<ffffffff80213df3>] native_sched_clock+0x13/0x70
Quoted 8 lines
 [<ffffffff8020d6ec>] call_softirq+0x1c/0x30
 [<ffffffff8020f175>] do_softirq+0x65/0xa0
 [<ffffffff80248345>] irq_exit+0xa5/0xb0
 [<ffffffff8020f467>] do_IRQ+0x107/0x1d0
 [<ffffffff8020c7fb>] ret_from_intr+0x0/0xf
 <EOI>  [<ffffffff80214ba6>] mwait_idle+0x56/0x60
 [<ffffffff80214b9d>] mwait_idle+0x4d/0x60
 [<ffffffff8020b353>] cpu_idle+0x63/0xc0

Thanks for the update.

Rafael

#27 lore raw

Re: [Bug #12393] debugging in dosemu causes lots of 'scheduling while atomic'

In reply to Rafael J. Wysocki
Quoted 7 lines · Rafael J. Wysocki
Quoted 6 lines · Michal Suchanek

As I said earlier I have received a patch that I applied locally and that fixes the problem.

As to if and when the patch actually appears in the kernel is out of my control, and nobody told me that it was applied.

Quoted 6 lines
Quoted 2 lines

If you believe it was applied to a kernel version that is readily available for download I am wiling to test such version.

I don't at the moment.

Can you send me a URL to the patch, please?

http://lkml.org/lkml/2009/1/13/445

#49 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected)

In reply to Rafael J. Wysocki
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 4 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <kmshanah-biM/RbsGxha6c6uEtOJ/[email protected]>
Date : 2009-01-17 03:37 (19 days old)

Yes, this should still be listed.

Please remove [email protected] from the CC list.

Thanks,
Kevin.

#50 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected)

Quoted 9 lines · Kevin Shanahan
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 6 lines
Quoted 4 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <kmshanah-biM/RbsGxha6c6uEtOJ/[email protected]>
Date : 2009-01-17 03:37 (19 days old)

Yes, this should still be listed.

Thanks for the update.

Quoted 1 line

Please remove [email protected] from the CC list.

It gets added because it is present in the Author: field in
http://bugzilla.kernel.org/show_bug.cgi?id=12465#c5

This is how the script works, sorry for the inconvenience.

Rafael

Quoted 7 lines

Thanks,
Kevin.

Signature · 3 lines
Everyone knows that debugging is twice as hard as writing a program
in the first place.  So if you're as clever as you can be when you write it,
how will you ever debug it? --- Brian Kernighan
#59 lore raw
In reply to Rafael J. Wysocki

Hello!

Quoted 7 lines · Yinghai Lu

can not find the reason why the WOL doesn't work...

please post
1. boot log for just after AC is pluged-in... ===> you should have "nv_probe: set workaround bit for reversed mac addr"
2. and boot log after boot from WOL...==> you have have "nv_probe: set workaround bit for reversed mac addr" too.

Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (7 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

Strage, at the moment I can't seem to reproduce the problem. I've switched back to the version of 2.6.28.3 and now it seems to work. I'll continue with tesing.

Some additional data:
The BIOS-upgrade tool (Afud408.exe) resets the MAC address. I had to run the tool a second time to re-programm the MAC-address using its /M option. I useed the unreversed MAC-address back than.
I also tried the reversed address once, but after that forcedeth.c complained about a wrong MAC-address.

If I completely turn off the power (pull the plug), WOL doesn't work, even when it's enabled in the BIOS.

Only after I'v started Linux, do "echo NMAC > /proc/acpi/wakeup" and "ethtool -s eth0 wol g" does it work again.

Nether the less here's the output of dmesg:
forcedeth: Reverse Engineered nFoce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enables at IRQ 23
forcedeth: 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
forcedeth: 0000:00:14.0: setting latency timer to 64
* nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr
forcedeth: 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:db:f2:e1:35
forcedeth: 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3
The line maked * was inserted by me in the source file for my debugging.

BYtE
Philipp Hahn

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#60 lore raw
Quoted 37 lines · Philipp Matthias Hahn

Hello!

Quoted 7 lines · Yinghai Lu

can not find the reason why the WOL doesn't work...

please post
1. boot log for just after AC is pluged-in... ===> you should have "nv_probe: set workaround bit for reversed mac addr"
2. and boot log after boot from WOL...==> you have have "nv_probe: set workaround bit for reversed mac addr" too.

Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (7 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

Strage, at the moment I can't seem to reproduce the problem. I've switched back to the version of 2.6.28.3 and now it seems to work. I'll continue with tesing.

Some additional data:
The BIOS-upgrade tool (Afud408.exe) resets the MAC address. I had to run the tool a second time to re-programm the MAC-address using its /M option. I useed the unreversed MAC-address back than.
I also tried the reversed address once, but after that forcedeth.c complained about a wrong MAC-address.

If I completely turn off the power (pull the plug), WOL doesn't work, even when it's enabled in the BIOS.

Only after I'v started Linux, do "echo NMAC > /proc/acpi/wakeup" and "ethtool -s eth0 wol g" does it work again.

Quoted 7 lines

Nether the less here's the output of dmesg:
forcedeth: Reverse Engineered nFoce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enables at IRQ 23
forcedeth: 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
forcedeth: 0000:00:14.0: setting latency timer to 64
* nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr

that means your BIOS doesn't reverse mac addr.
this is the one for new BIOS or old BIOS?

YH

#61 lore raw
In reply to Philipp Matthias Hahn
Quoted 20 lines · Philipp Matthias Hahn

Hello!

Quoted 7 lines · Yinghai Lu

can not find the reason why the WOL doesn't work...

please post
1. boot log for just after AC is pluged-in... ===> you should have "nv_probe: set workaround bit for reversed mac addr"
2. and boot log after boot from WOL...==> you have have "nv_probe: set workaround bit for reversed mac addr" too.

Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (7 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

Quoted 3 lines

Strage, at the moment I can't seem to reproduce the problem. I've switched back to the version of 2.6.28.3 and now it seems to work. I'll continue with tesing.

OK, but for now I'll close the bug as unreproducible.

Quoted 7 lines

Some additional data:
The BIOS-upgrade tool (Afud408.exe) resets the MAC address. I had to run the tool a second time to re-programm the MAC-address using its /M option. I useed the unreversed MAC-address back than.
I also tried the reversed address once, but after that forcedeth.c complained about a wrong MAC-address.

Quoted 5 lines

If I completely turn off the power (pull the plug), WOL doesn't work, even when it's enabled in the BIOS.

Only after I'v started Linux, do "echo NMAC > /proc/acpi/wakeup" and "ethtool -s eth0 wol g" does it work again.

The "echo NMAC > /proc/acpi/wakeup" thing shouldn't be necessary if you do "ethtool -s eth0 wol g".

Thanks,
Rafael

#62 lore raw

Hello!

On Fri, Feb 06, 2009 at 01:13:30AM +0100, Rafael J. Wysocki wrote:
...

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e

...

Quoted 5 lines
Quoted 3 lines

Strage, at the moment I can't seem to reproduce the problem. I've switched back to the version of 2.6.28.3 and now it seems to work. I'll continue with tesing.

OK, but for now I'll close the bug as unreproducible.

Just this morning I had to use the reverted address to wake up my desktop PC after 6 hours of poweroff.

Yesterdays tests were domething like the following:
Grub: Linux "loglevel=9 ignore_loglevel break=modules" dmesg -c > /dev/null
modprobe forcedeth
dmesg
ethtool -s eth0 wol g
echo NMAC > /proc/acpi/wakeup
reboot to Grub using Alt-SysRq-B
Grub: "halt"
I have to reboot back to Grub, since doing a "poweroff" from initrd or pressing Alt-SysRq-O seems to turn of WOL.

...

Quoted 2 lines

The "echo NMAC > /proc/acpi/wakeup" thing shouldn't be necessary if you do "ethtool -s eth0 wol g".

Will try.

Quoted 10 lines · Yinghai Lu
Quoted 7 lines

Nether the less here's the output of dmesg:
forcedeth: Reverse Engineered nFoce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enables at IRQ 23
forcedeth: 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
forcedeth: 0000:00:14.0: setting latency timer to 64
* nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr

that means your BIOS doesn't reverse mac addr.
this is the one for new BIOS or old BIOS?

This is the new BIOS.

BYtE
Philipp Hahn

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#63 lore raw

Hello again!

Quoted 2 lines · Philipp Matthias Hahn

Just this morning I had to use the reverted address to wake up my desktop PC after 6 hours of poweroff.

I did some structured tesing:

1. WOL does _not_ work at all when I do:
(grub) boot into initrd
(initrd) modprobe forcedeth
(initrd) ethtool -s eth0 wol g
* (initrd) poweroff

2. WOL does _not_ work at all when I do:
(grub) boot into initrd
(initrd) modprobe forcedeth
(initrd) ethtool -s eth0 wol g
* (initrd) Alt-SysRq-O

3. WOL works using the _un-reversed_ MAC when I do:
(grub) boot into initrd
(initrd) modprobe forcedeth (initrd) ethtool -s eth0 wol g
* (initrd) Alt-SysRq-B
* (grub) halt

4. WOL works using the _reversed_ MAC when I do:
(grub) boot into initrd
(initrd) modprobe forcedeth
(initrd) ethtool -s eth0 wol g
(initrd) exit
* (Debian) poweroff

If I do the poweroff from linux (either initrd or Debian), forcedeth seems to display some messages just before poweroff. I'll try to get hands on a Serial-USB-Converter and a NULL-modem-cable to capture it, since my laptop is legacy-free :-(

BYtE
Philipp Hahn

PS: initrd is actually initramfs, before somebody wonders.

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#57 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

In reply to Matthias Reichl
Quoted 9 lines · On Thu, 5 Feb 2009 14:16:44 +0100 Matthias Reichl…
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 8 lines
Quoted 6 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (8 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

This bug is still present in 2.6.28.3.

There is a fix against scsi-misc:

http://marc.info/?l=linux-scsi&m=123371501613019&w=2

I might need to fix it in a different way though.

There are other pending patches to fix other sg oops in scsi-misc so the above fix can't be cleanly applied to 2.6.28.X. I'll send a patch for 2.6.28.X once I get SCSI maintainer's ACK on it.

Sorry for the inconvenience,

#37 lore raw

Re: [Bug #12405] oops in __bounce_end_io_read under kvm

In reply to Rafael J. Wysocki
Quoted 6 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (41 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

Still around. Btw, I'm not sure it's a regression as I only started using virtio_blk heavily during the 2.6.28 cycle.

#46 lore raw

Re: [Bug #12426] TMDC Joystick no longer works in kernel 2.6.28

In reply to Rafael J. Wysocki
Quoted 18 lines · Rafael J. Wysocki
Quoted 17 lines · Jiri Kosina
Quoted 15 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References :
http://marc.info/?l=linux-kernel&m=123162486415366&w=4

Quoted 7 lines
Quoted 5 lines

I asked [1] the Submitter some time ago to check whether reverting a particular commit fixes the issue, but never heard back.

[1] http://lkml.org/lkml/2009/1/26/70

Rejected as "insufficient data" and closed.

I never received the email referring to a particular commit because I am not subscribed to LKML. The commit revert seemed to work OK on gameport.c, but I get an error that gameport.h requires merge resolution.

Can you send the gameport.c and gameport.h files to me with the reverted commit, or tell me how to get this resolved?

Please CC me directly.

Thanks,

Andy Johnson

Quoted 3 lines

Thanks,
Rafael

#47 lore raw

Re: [Bug #12426] TMDC Joystick no longer works in kernel 2.6.28

Quoted 6 lines · Andrew S. Johnson
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12426
Subject : TMDC Joystick no longer works in kernel 2.6.28
Submitter : Andrew S. Johnson <[email protected]>
Date : 2009-01-10 21:53 (26 days old)
References :
http://marc.info/?l=linux-kernel&m=123162486415366&w=4

Quoted 7 lines
Quoted 5 lines
Quoted 4 lines

I asked [1] the Submitter some time ago to check whether reverting a particular commit fixes the issue, but never heard back.
[1] http://lkml.org/lkml/2009/1/26/70

Rejected as "insufficient data" and closed.

I never received the email referring to a particular commit because I am not subscribed to LKML.

I CCed you, but your ISP blacklisted both of my SMTP servers I have tried for no apparent reason.

Quoted 2 lines

The commit revert seemed to work OK on gameport.c, but I get an error that gameport.h requires merge resolution.

Please try the patch below. It's not a simple revert of 6902c0be, needed some manual tweaking.

drivers/input/gameport/gameport.c +21 -67
index ebf4be5..5f2e729 100644
@@ -231,7 +231,6 @@ static void gameport_find_driver(struct gameport *gameport)
 enum gameport_event_type {
 	GAMEPORT_REGISTER_PORT,
 	GAMEPORT_REGISTER_DRIVER,
-	GAMEPORT_ATTACH_DRIVER,
 };
 
 struct gameport_event {
@@ -246,12 +245,11 @@ static LIST_HEAD(gameport_event_list);
 static DECLARE_WAIT_QUEUE_HEAD(gameport_wait);
 static struct task_struct *gameport_task;
 
-static int gameport_queue_event(void *object, struct module *owner,
-				enum gameport_event_type event_type)
+static void gameport_queue_event(void *object, struct module *owner,
+			      enum gameport_event_type event_type)
 {
 	unsigned long flags;
 	struct gameport_event *event;
-	int retval = 0;
 
 	spin_lock_irqsave(&gameport_event_lock, flags);
 
@@ -270,34 +268,24 @@ static int gameport_queue_event(void *object, struct module *owner,
 		}
 	}
 
-	event = kmalloc(sizeof(struct gameport_event), GFP_ATOMIC);
-	if (!event) {
-		printk(KERN_ERR
-			"gameport: Not enough memory to queue event %d\n",
-			event_type);
-		retval = -ENOMEM;
-		goto out;
-	}
-
-	if (!try_module_get(owner)) {
-		printk(KERN_WARNING
-			"gameport: Can't get module reference, dropping event %d\n",
-			event_type);
-		kfree(event);
-		retval = -EINVAL;
-		goto out;
-	}
-
-	event->type = event_type;
-	event->object = object;
-	event->owner = owner;
+	if ((event = kmalloc(sizeof(struct gameport_event), GFP_ATOMIC))) {
+		if (!try_module_get(owner)) {
+			printk(KERN_WARNING "gameport: Can't get module reference, dropping event %d\n", event_type);
+			kfree(event);
+			goto out;
+		}
 
-	list_add_tail(&event->node, &gameport_event_list);
-	wake_up(&gameport_wait);
+		event->type = event_type;
+		event->object = object;
+		event->owner = owner;
 
+		list_add_tail(&event->node, &gameport_event_list);
+		wake_up(&gameport_wait);
+	} else {
+		printk(KERN_ERR "gameport: Not enough memory to queue event %d\n", event_type);
+	}
 out:
 	spin_unlock_irqrestore(&gameport_event_lock, flags);
-	return retval;
 }
 
 static void gameport_free_event(struct gameport_event *event)
@@ -390,10 +378,9 @@ static void gameport_handle_event(void)
 }
 
 /*
- * Remove all events that have been submitted for a given object,
- * be it a gameport port or a driver.
+ * Remove all events that have been submitted for a given gameport port.
  */
-static void gameport_remove_pending_events(void *object)
+static void gameport_remove_pending_events(struct gameport *gameport)
 {
 	struct list_head *node, *next;
 	struct gameport_event *event;
@@ -403,7 +390,7 @@ static void gameport_remove_pending_events(void *object)
 
 	list_for_each_safe(node, next, &gameport_event_list) {
 		event = list_entry(node, struct gameport_event, node);
-		if (event->object == object) {
+		if (event->object == gameport) {
 			list_del_init(node);
 			gameport_free_event(event);
 		}
@@ -717,40 +704,10 @@ static void gameport_add_driver(struct gameport_driver *drv)
 			drv->driver.name, error);
 }
 
-int __gameport_register_driver(struct gameport_driver *drv, struct module *owner,
-				const char *mod_name)
+void __gameport_register_driver(struct gameport_driver *drv, struct module *owner)
 {
-	int error;
-
 	drv->driver.bus = &gameport_bus;
-	drv->driver.owner = owner;
-	drv->driver.mod_name = mod_name;
-
-	/*
-	 * Temporarily disable automatic binding because probing
-	 * takes long time and we are better off doing it in kgameportd
-	 */
-	drv->ignore = 1;
-
-	error = driver_register(&drv->driver);
-	if (error) {
-		printk(KERN_ERR
-			"gameport: driver_register() failed for %s, error: %d\n",
-			drv->driver.name, error);
-		return error;
-	}
-
-	/*
-	 * Reset ignore flag and let kgameportd bind the driver to free ports
-	 */
-	drv->ignore = 0;
-	error = gameport_queue_event(drv, NULL, GAMEPORT_ATTACH_DRIVER);
-	if (error) {
-		driver_unregister(&drv->driver);
-		return error;
-	}
-
-	return 0;
+	gameport_queue_event(drv, owner, GAMEPORT_REGISTER_DRIVER);
 }
 
 void gameport_unregister_driver(struct gameport_driver *drv)
@@ -758,9 +715,7 @@ void gameport_unregister_driver(struct gameport_driver *drv)
 	struct gameport *gameport;
 
 	mutex_lock(&gameport_mutex);
-
 	drv->ignore = 1;	/* so gameport_find_driver ignores it */
-	gameport_remove_pending_events(drv);
 
 start_over:
 	list_for_each_entry(gameport, &gameport_list, node) {
@@ -773,7 +728,6 @@ start_over:
 	}
 
 	driver_unregister(&drv->driver);
-
 	mutex_unlock(&gameport_mutex);
 }
 
drivers/input/joystick/a3d.c +2 -1
index 6489f40..92498d4 100644
@@ -414,7 +414,8 @@ static struct gameport_driver a3d_drv = {
 
 static int __init a3d_init(void)
 {
-	return gameport_register_driver(&a3d_drv);
+	gameport_register_driver(&a3d_drv);
+	return 0;
 }
 
 static void __exit a3d_exit(void)
drivers/input/joystick/adi.c +2 -1
index 89c4c08..d1ca8a1 100644
@@ -572,7 +572,8 @@ static struct gameport_driver adi_drv = {
 
 static int __init adi_init(void)
 {
-	return gameport_register_driver(&adi_drv);
+	gameport_register_driver(&adi_drv);
+	return 0;
 }
 
 static void __exit adi_exit(void)
drivers/input/joystick/analog.c +3 -1
index 356b3a2..708c5ae 100644
@@ -761,7 +761,9 @@ static struct gameport_driver analog_drv = {
 static int __init analog_init(void)
 {
 	analog_parse_options();
-	return gameport_register_driver(&analog_drv);
+	gameport_register_driver(&analog_drv);
+
+	return 0;
 }
 
 static void __exit analog_exit(void)
drivers/input/joystick/cobra.c +2 -1
index 3497b87..639b975 100644
@@ -263,7 +263,8 @@ static struct gameport_driver cobra_drv = {
 
 static int __init cobra_init(void)
 {
-	return gameport_register_driver(&cobra_drv);
+	gameport_register_driver(&cobra_drv);
+	return 0;
 }
 
 static void __exit cobra_exit(void)
drivers/input/joystick/gf2k.c +2 -1
index 67c207f..cb6eef1 100644
@@ -375,7 +375,8 @@ static struct gameport_driver gf2k_drv = {
 
 static int __init gf2k_init(void)
 {
-	return gameport_register_driver(&gf2k_drv);
+	gameport_register_driver(&gf2k_drv);
+	return 0;
 }
 
 static void __exit gf2k_exit(void)
drivers/input/joystick/grip.c +2 -1
index fc55899..684e07c 100644
@@ -426,7 +426,8 @@ static struct gameport_driver grip_drv = {
 
 static int __init grip_init(void)
 {
-	return gameport_register_driver(&grip_drv);
+	gameport_register_driver(&grip_drv);
+	return 0;
 }
 
 static void __exit grip_exit(void)
drivers/input/joystick/grip_mp.c +2 -1
index 2d47baf..8279481 100644
@@ -689,7 +689,8 @@ static struct gameport_driver grip_drv = {
 
 static int __init grip_init(void)
 {
-	return gameport_register_driver(&grip_drv);
+	gameport_register_driver(&grip_drv);
+	return 0;
 }
 
 static void __exit grip_exit(void)
drivers/input/joystick/guillemot.c +2 -1
index 4058d4b..25ec3fa 100644
@@ -283,7 +283,8 @@ static struct gameport_driver guillemot_drv = {
 
 static int __init guillemot_init(void)
 {
-	return gameport_register_driver(&guillemot_drv);
+	gameport_register_driver(&guillemot_drv);
+	return 0;
 }
 
 static void __exit guillemot_exit(void)
drivers/input/joystick/interact.c +2 -1
index 2478289..8c3290b 100644
@@ -317,7 +317,8 @@ static struct gameport_driver interact_drv = {
 
 static int __init interact_init(void)
 {
-	return gameport_register_driver(&interact_drv);
+	gameport_register_driver(&interact_drv);
+	return 0;
 }
 
 static void __exit interact_exit(void)
drivers/input/joystick/joydump.c +2 -1
index cd894a0..2a1b82c 100644
@@ -161,7 +161,8 @@ static struct gameport_driver joydump_drv = {
 
 static int __init joydump_init(void)
 {
-	return gameport_register_driver(&joydump_drv);
+	gameport_register_driver(&joydump_drv);
+	return 0;
 }
 
 static void __exit joydump_exit(void)
drivers/input/joystick/sidewinder.c +2 -1
index ca13a6b..7b4865f 100644
@@ -818,7 +818,8 @@ static struct gameport_driver sw_drv = {
 
 static int __init sw_init(void)
 {
-	return gameport_register_driver(&sw_drv);
+	gameport_register_driver(&sw_drv);
+	return 0;
 }
 
 static void __exit sw_exit(void)
drivers/input/joystick/tmdc.c +2 -1
index d6c6098..60c37bc 100644
@@ -438,7 +438,8 @@ static struct gameport_driver tmdc_drv = {
 
 static int __init tmdc_init(void)
 {
-	return gameport_register_driver(&tmdc_drv);
+	gameport_register_driver(&tmdc_drv);
+	return 0;
 }
 
 static void __exit tmdc_exit(void)
include/linux/gameport.h +3 -4
index 0cd825f..f64e29c 100644
@@ -146,11 +146,10 @@ static inline void gameport_unpin_driver(struct gameport *gameport)
 	mutex_unlock(&gameport->drv_mutex);
 }
 
-int __gameport_register_driver(struct gameport_driver *drv,
-				struct module *owner, const char *mod_name);
-static inline int __must_check gameport_register_driver(struct gameport_driver *drv)
+void __gameport_register_driver(struct gameport_driver *drv, struct module *owner);
+static inline void gameport_register_driver(struct gameport_driver *drv)
 {
-	return __gameport_register_driver(drv, THIS_MODULE, KBUILD_MODNAME);
+	__gameport_register_driver(drv, THIS_MODULE);
 }
 
 void gameport_unregister_driver(struct gameport_driver *drv);
#38 lore raw

Re: [Bug #12405] oops in __bounce_end_io_read under kvm

In reply to Christoph Hellwig
Quoted 10 lines · Christoph Hellwig
Quoted 6 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (41 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

Still around. Btw, I'm not sure it's a regression as I only started using virtio_blk heavily during the 2.6.28 cycle.

Well, assuming that it is a regression raises its chances to be fixed faster. ;-)

#64 lore raw
In reply to Philipp Matthias Hahn

HellO!

Quoted 1 line · Philipp Matthias Hahn

I did some structured tesing:

Here are my captured console logs:
scout=Desktop with nVidia Corporation MCP51 Ethernet Controller (rev a3) euro=Laptop used for capturing and wakeup

(initramfs) modprobe forcedeth
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
forcedeth 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23 forcedeth 0000:00:14.0: setting latency timer to 64
nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr
forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:db:f2:e1:35 forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3 (initramfs) ethtool -s eth0 wol g
(initramfs) poweroff
...
forcedeth 0000:00:14.0: PCI INT A disabled
forcedeth 0000:00:14.0: PME# enabled
forcedeth 0000:00:14.0: wake-up capability enabled by ACPI
ACPI: Preparing to enter system sleep state S5
...
Power down.
acpi_power_off called

euro:~# etherwake -i eth0 00:19:db:f2:e1:35 # FAIL
euro:~# etherwake -i eth0 35:e1:f2:db:19:00 # FAIL

(initramfs) modprobe forcedeth
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
forcedeth 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23 forcedeth 0000:00:14.0: setting latency timer to 64
nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr
forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:db:f2:e1:35 forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3 (initramfs) ethtool -s eth0 wol g
(initramfs) echo o > /proc/sysrq-trigger
SysRq : Power Off
...
forcedeth 0000:00:14.0: PCI INT A disabled
forcedeth 0000:00:14.0: PME# enabled
forcedeth 0000:00:14.0: wake-up capability enabled by ACPI
ACPI: Preparing to enter system sleep state S5
...
Power down.
acpi_power_off called

euro:~# etherwake -i eth0 00:19:db:f2:e1:35 # FAIL
euro:~# etherwake -i eth0 35:e1:f2:db:19:00 # FAIL

(initramfs) modprobe forcedeth
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
forcedeth 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23 forcedeth 0000:00:14.0: setting latency timer to 64
nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr
forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:db:f2:e1:35 forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3 (initramfs) ethtool -s eth0 wol g
(initramfs) echo b > /proc/sysrq-trigger
SysRq : Resetting
(grub) halt

euro:~# etherwake -i eth0 35:e1:f2:db:19:00 # FAIL
euro:~# etherwake -i eth0 00:19:db:f2:e1:35 # SUCCESS

(initramfs) modprobe forcedeth
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
forcedeth 0000:00:14.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23 forcedeth 0000:00:14.0: setting latency timer to 64
nv_probe: MAC_ADDR_REV ELSE
nv_probe: set workaround bit for reversed mac addr
forcedeth 0000:00:14.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:db:f2:e1:35 forcedeth 0000:00:14.0: highdma pwrctl timirq gbit lnktim desc-v3 (initramfs) ethtool -s eth0 wol g
(initramfs) exit
...

scout:~# poweroff
...
forcedeth 0000:00:14.0: PCI INT A disabled
forcedeth 0000:00:14.0: PME# enabled
forcedeth 0000:00:14.0: wake-up capability enabled by ACPI
ACPI: Preparing to enter system sleep state S5
...
Power down.
acpi_power_off called
euro:~# etherwake -i eth0 00:19:db:f2:e1:35 # FAIL
euro:~# etherwake -i eth0 35:e1:f2:db:19:00 # SUCCESS

BYtE
Philipp Hahn

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#4 lore raw
In reply to Philipp Matthias Hahn
Quoted 8 lines · Philipp Matthias Hahn

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

	"etherwake 00:19:db:f2:e1:35" did not work
	"etherwake 35:e1:f2:db:19:00" did work

Since I did a BIOS update during the same time window I (wrongly) put
the fault on the BIOS. (See /sys/class/dmi/id/modalias for yourself:
dmi:bvnAmericanMegatrendsInc.:bvrV1.7:bd07/29/2008:svnMSI:pnMS-7350:pvr1.0:rvnMSI:rnMS-7350:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
)

Hmm, I had not tried WOL for some time.
With 2.6.29-rc3 is see the following behaviour:

State WOL Behaviour
------------------------------

shutdown         reversed MAC
disk/shutdown    reversed MAC
disk/platform    OK

Apparently nv_restore_mac_addr() restores the MAC in the wrong order for WOL (at least for my PCI_DEVICE_ID_NVIDIA_NVENET_15). platform works, because the MAC is not touched in the nv_suspend() path.

A possible fix might be to only call nv_restore_mac_addr() if system_state != SYSTEM_POWER_OFF.

Signature · 2 lines
Tobias						PGP: http://9ac7e0bc.uguu.de
このメールは十割再利用されたビットで作られています。
#5 lore raw
Quoted 19 lines · Tobias Diedrich
Quoted 8 lines · Philipp Matthias Hahn

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

	"etherwake 00:19:db:f2:e1:35" did not work
	"etherwake 35:e1:f2:db:19:00" did work

Since I did a BIOS update during the same time window I (wrongly) put
the fault on the BIOS. (See /sys/class/dmi/id/modalias for yourself:
dmi:bvnAmericanMegatrendsInc.:bvrV1.7:bd07/29/2008:svnMSI:pnMS-7350:pvr1.0:rvnMSI:rnMS-7350:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
)

Hmm, I had not tried WOL for some time.
With 2.6.29-rc3 is see the following behaviour:

State WOL Behaviour
------------------------------

shutdown         reversed MAC
disk/shutdown    reversed MAC
disk/platform    OK
Quoted 6 lines

Apparently nv_restore_mac_addr() restores the MAC in the wrong order for WOL (at least for my PCI_DEVICE_ID_NVIDIA_NVENET_15). platform works, because the MAC is not touched in the nv_suspend() path.

A possible fix might be to only call nv_restore_mac_addr() if system_state != SYSTEM_POWER_OFF.

With the following patch:

shutdown         OK
disk/shutdown    OK
disk/platform    OK
kexec            OK
drivers/net/forcedeth.c +12 -1
Index: linux-2.6.29-rc3/drivers/net/forcedeth.c
===================================================================
@@ -6011,9 +6011,20 @@
 	if (netif_running(dev))
 		nv_close(dev);
 
-	nv_restore_mac_addr(pdev);
+	/*
+	 * Restore the MAC so a kernel started by kexec won't get confused.
+	 * If we really go for poweroff, we must not restore the MAC,
+	 * otherwise the MAC for WOL will be reversed at least on some boards.
+	 */
+	if (system_state != SYSTEM_POWER_OFF) {
+		nv_restore_mac_addr(pdev);
+	}
 
 	pci_disable_device(pdev);
+	/*
+	 * Apparently it is not possible to reinitialise from D3 hot,
+	 * only put the device into D3 if we really go for poweroff.
+	 */
 	if (system_state == SYSTEM_POWER_OFF) {
 		if (pci_enable_wake(pdev, PCI_D3cold, np->wolenabled))
 			pci_enable_wake(pdev, PCI_D3hot, np->wolenabled);
Signature · 2 lines
Tobias						PGP: http://9ac7e0bc.uguu.de
このメールは十割再利用されたビットで作られています。
author Tested-by
#6 lore raw

Hello!

Quoted 6 lines · Tobias Diedrich
Quoted 5 lines · Tobias Diedrich
Quoted 4 lines · Philipp Matthias Hahn

Somewhere between 2.6.26 and 2.6.27 WOL stopped working on my MS-7350 motherboard with an "nVidia Corporation MCP51 Ethernet Controller (rev a3)".

	"etherwake 00:19:db:f2:e1:35" did not work
	"etherwake 35:e1:f2:db:19:00" did work

...

Quoted 5 lines

With the following patch:

shutdown         OK
disk/shutdown    OK
disk/platform    OK
kexec            OK

Your patch seems to work for my system, too. (Expect for the case where I do "poweroff" from busybox or do Alt-SysRq-O; Debians version works, as long as I remove the '-i' option:
-i Shut down all network interfaces just before halt or reboot.

Quoted 1 line

BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]