lkml.org 
[lkml]   [2007]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: cpu hotplug support broken in 2.6.23-rc3
    Hi!

    > > > Venki sent me an initial patch, but it has issues with the notify
    > > > ordering. Find below my "cache the broadcast flags" version for testing.
    > >
    > > Hmmpf, the flag is still cleared when the cpu goes offline. Need to take
    > > a closer look.
    >
    > I finally tracked it down. There were several ways to turn the box into
    > a brick. Sigh !
    >
    > Can you please test the combo patch below ?

    Sorry, I was on holidays. I assume this is in -rc9 or so, already?
    Yes, seems so.

    Unfortunately, cpu hotplug seems to be still behaving strangely in
    -rc9. I can echo 0 > online (and cpu will go down). I do echo 0 >
    online, again, and I get -EBUSY. Good. But I try to do echo 1 >
    online, and get -EBUSY, too... and that's bad :-(.

    root@amd:/sys/devices/system/cpu/cpu1# echo 0 > online
    root@amd:/sys/devices/system/cpu/cpu1# echo 0 > online
    -bash: echo: write error: Device or resource busy
    root@amd:/sys/devices/system/cpu/cpu1# echo 1 > online
    -bash: echo: write error: Device or resource busy
    root@amd:/sys/devices/system/cpu/cpu1# uname -a
    Linux amd 2.6.23-rc9 #507 SMP Tue Oct 2 09:58:40 CEST 2007 i686
    GNU/Linux

    Kernel says:

    Oct 2 11:42:12 amd log1n[1436]: ROOT LOGIN on `tty1'
    Oct 2 11:42:56 amd kernel: CPU 1 is now offline
    Oct 2 11:42:56 amd kernel: SMP alternatives: switching to UP code

    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-10-02 11:49    [W:0.021 / U:1.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site