lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Apr 2013 10:23:56 -0300
From:	Fabio Estevam <festevam@...il.com>
To:	Frank Li <Frank.Li@...escale.com>
Cc:	shawn.guo@...aro.org, lznuaa@...il.com,
	u.kleine-koenig@...gutronix.de, netdev@...r.kernel.org,
	davem@...emloft.net, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/1 net] enet: fec: fix fail resume from suspend state

Hi Frank,

On Tue, Mar 26, 2013 at 11:12 PM, Frank Li <Frank.Li@...escale.com> wrote:
> Without this patch
> 1. boot with nfs (no_console_suspend)
> 2. echo mem >/sys/power/state
> 3. wakeup by wakesource
> 4. print "eth0: tx queue full"

I still have issues with suspend/resume with your patch applied:

$ echo enabled >
/sys/devices/80000000.apb/80040000.apbx/80074000.serial/tty/ttyAMA0/power/wakeup
$ echo mem > /sys/power/state

[   31.577857] PM: Syncing filesystems ... done.
[   31.604332] Freezing user space processes ... (elapsed 0.01 seconds) done.
[   31.622160] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) do.
[   31.642018] Suspending console(s) (use no_console_suspend to debug)
[   31.666914] PM: suspend of devices complete after 12.672 msecs
[   31.671975] PM: late suspend of devices complete after 5.007 msecs
[   31.678542] PM: noirq suspend of devices complete after 6.521 msecs
[   31.682147] PM: noirq resume of devices complete after 3.186 msecs
[   31.687396] PM: early resume of devices complete after 3.464 msecs
[   31.759982] PM: resume of devices complete after 2432.562 msecs

(Then send any char via DUART to wakeup the system)

[   31.802673] Restarting tasks ... done.
[   33.829493] libphy: 800f0000.etherne:00 - Link is Down
[   36.859102] FEC: MDIO read timeout
[   38.889180] FEC: MDIO read timeout

It does not fail 100%: there are times that suspend works just fine.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ