public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org
Subject: CPU hotplug broken with 2GB VMSPLIT
Date: Thu, 30 Nov 2006 10:03:48 +0100	[thread overview]
Message-ID: <20061130090348.GK5400@kernel.dk> (raw)

Hi,

Just got a new notebook (Lenovo X60), setup a custom kernel and then I
noticed that suspend to ram doesn't work anymore. The machine suspends
just fine, on resume it brings back the text display but reboots after
it has stalled for a few seconds. On the suggestion of Pavel, I tried
testing CPU hotplug, and indeed he was right: I can offline 1 of the
cores fine, bringing it back online freezes the machine for 3-4 seconds
and then reboots.

carl:/sys/devices/system/cpu/cpu1 # echo 0 > online 
carl:/sys/devices/system/cpu/cpu1 # dmesg
Breaking affinity for irq 219
CPU 1 is now offline
SMP alternatives: switching to UP code
carl:/sys/devices/system/cpu/cpu1 # echo 1 > online 
Read from remote host carl: Connection reset by peer

Booting with maxcpus=1 and resume works fine. Does this ring a bell with
anyone? With highmem enabled and the standard vmsplit, cpu hotplug works
fine for me.

-- 
Jens Axboe


             reply	other threads:[~2006-11-30  9:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30  9:03 Jens Axboe [this message]
2006-11-30  9:13 ` CPU hotplug broken with 2GB VMSPLIT Jens Axboe
2006-11-30 16:43   ` Nathan Lynch
2006-11-30 16:48     ` Pavel Machek
2006-11-30 17:20     ` Nathan Lynch
2006-12-01  2:48       ` Shaohua Li
2006-12-01  7:12         ` Jens Axboe

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=20061130090348.GK5400@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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