public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: stat of /proc fails after CPU hot-unplug with EOVERFLOW in 2.6.18
Date: Wed, 27 Sep 2006 16:44:08 +0200	[thread overview]
Message-ID: <451A8E38.60300@cdi.cz> (raw)
In-Reply-To: <20060927011348.36818f83.akpm@osdl.org>

Andrew Morton wrote:
> On Wed, 27 Sep 2006 09:55:47 +0200
> Martin Devera <devik@cdi.cz> wrote:
> 
>> Hello,
>>
>> I have 2way Opteron machine. I've done this:
>> echo 0 > /sys/devices/system/cpu/cpu1/online
>>
>> and then strace stat /proc:
>>
>> [snip]
>> personality(PER_LINUX)                  = 4194304
>> getpid()                                = 14926
>> brk(0)                                  = 0x804b000
>> brk(0x804b1a0)                          = 0x804b1a0
>> brk(0x804c000)                          = 0x804c000
>> stat("/proc", 0xbf8e7490)               = -1 EOVERFLOW
>>
>> When I do echo 1 > ... to start cpu again then the stat starts
>> to work again ... Weird.
>>
> 
> boggle.
> 
> Can you add this patch, see where it's going bad?

Ehh .. I finally learned how to code jprobe (I can't reboot the machine now),
tested, installed and ... guess what ? The overflow bug is gone :-(
It simply works now.
I will reboot it next week and try again.

thanks for a help and sorry for your wasted time,
Martin

  reply	other threads:[~2006-09-27 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27  7:55 stat of /proc fails after CPU hot-unplug with EOVERFLOW in 2.6.18 Martin Devera
2006-09-27  8:13 ` Andrew Morton
2006-09-27 14:44   ` Martin Devera [this message]
2006-10-03  8:40   ` Martin Devera

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=451A8E38.60300@cdi.cz \
    --to=devik@cdi.cz \
    --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