From: bert hubert <ahu@ds9a.nl>
To: Pavel Machek <pavel@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: swsusp in 2.5.53 BUG on kernel/suspend.c line 718
Date: Fri, 27 Dec 2002 19:34:34 +0100 [thread overview]
Message-ID: <20021227183432.GB10482@outpost.ds9a.nl> (raw)
In-Reply-To: <20021227150929.GB16911@atrey.karlin.mff.cuni.cz>
On Fri, Dec 27, 2002 at 04:09:30PM +0100, Pavel Machek wrote:
> You need one-liner to fix this, search mailing lists.
Your patch below indeed works, except for my network adaptor which needs
'ifconfig eth0 down', 'ifconfig eth0 up' before it works again.
It says:
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 00000000 00000240
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100
Ethernet (rev 82)
Can a non-guru add the magic handlers to network drivers to make them wake
up again properly?
Thanks!
--- clean/mm/page_alloc.c 2002-12-18 22:21:13.000000000 +0100
+++ linux-swsusp/mm/page_alloc.c 2002-12-18 22:30:47.000000000 +0100
@@ -389,7 +389,7 @@
unsigned long flags;
struct page *page = NULL;
- if (order == 0) {
+ if ((order == 0) && !cold) {
struct per_cpu_pages *pcp;
pcp = &zone->pageset[get_cpu()].pcp[cold];
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
http://netherlabs.nl Consulting
prev parent reply other threads:[~2002-12-27 18:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 14:20 bert hubert
2002-12-27 15:09 ` Pavel Machek
2002-12-27 18:34 ` bert hubert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021227183432.GB10482@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®