Results 1 to 10 of 86

Thread: [SOLVED] MPB4,1/MBA 'wait status failed: c != 8' solved?

Hybrid View

  1. #1
    Join Date
    May 2008
    Beans
    745

    [SOLVED] MBP4,1/MBA 'wait status failed: c != 8' solved?

    UPDATE 12DEC2011: Since FEB2011, most Macbook models should work out of the box, without patching the kernel. If you experience problems or suspect your machine is different somehow, please read on.

    UPDATE 28APR2010: For the latest applesmc, see the applesmc-dkms package in the Mactel PPA: https://wiki.ubuntu.com/MactelSupportTeam/PPA

    If you have a Mac that is yet unsupported by applesmc, please reply to this post, gathering the information below.

    * Determine your exact mac model
    Code:
    sudo dmidecode -s system-product-name
    * Run the applesmc-test.sh script (found below in this post) to get a picture of the performance before the patch
    Code:
    ./applesmc-test.sh
    (you may need to do 'chmod +x ./applesmc-test.sh' before it runs)

    * Run the scan-smc.sh script (found below in this post), and attach the output.
    Code:
    sudo ./scan-smc.sh > scan-smc-MODEL.txt
    (you may need to do 'chmod +x ./scan-smc.sh' before it runs)

    After some time, a reply with a new version of applesmc-dkms attached will appear. Then please run applesmc-test.sh again. Once satisfactory, the change will be incorporated in the Mactel PPA, and a patch sent upstream.

    For more information, see http://bitmath.org/code/applesmc-dkms/
    Attached Files Attached Files
    Last edited by kosumi68; December 12th, 2011 at 10:46 AM. Reason: New script versions

  2. #2
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    It might be helpful if there was a test app or something that could verify the functions. Do you know if there is one or maybe a procedure for testing with stuff that is available?

  3. #3
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?


  4. #4
    Join Date
    May 2008
    Beans
    745

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    Quote Originally Posted by cyberdork33 View Post
    Well, the patches referred to are from me, and today they made it to Andrew Morton's mm tree, so I guess I have seen it Not this link though, thanks for the tip.

    Cheers,
    Henrik

  5. #5
    Join Date
    May 2008
    Beans
    745

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    Quote Originally Posted by cyberdork33 View Post
    It might be helpful if there was a test app or something that could verify the functions. Do you know if there is one or maybe a procedure for testing with stuff that is available?
    I did not fully understand what you mean here, but if you think of a script that checks the availability of accelerometer, backlight, leds, fans, temperatures etc, that could be quite handy. However, currently the testing is about whether this works at all for some machines, which is easily verified by the number of errors in dmesg from applesmc.

  6. #6
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    Quote Originally Posted by kosumi68 View Post
    Well, the patches referred to are from me, and today they made it to Andrew Morton's mm tree, so I guess I have seen it Not this link though, thanks for the tip.

    Cheers,
    Henrik
    Thought so I thought you'd like to see your work on phoronix.

    Quote Originally Posted by kosumi68 View Post
    I did not fully understand what you mean here, but if you think of a script that checks the availability of accelerometer, backlight, leds, fans, temperatures etc, that could be quite handy. However, currently the testing is about whether this works at all for some machines, which is easily verified by the number of errors in dmesg from applesmc.
    Actually, I don't know of anything that uses the accelerometer... backlight should work with pommed, and the fan control files can be seen in the dev tree. You have a good point on the messages though.

  7. #7
    Join Date
    May 2008
    Beans
    745

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    EDIT 28APR2010: see first post in thread for current script versions [old version deleted].

    On request, here is a small script that can be run to test the performance of applesmc on your computer. Simply run it in a terminal as a normal user. Cheers!
    Last edited by kosumi68; April 28th, 2010 at 08:02 AM. Reason: See first post in thread

  8. #8
    Join Date
    May 2008
    Beans
    745

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    Binary for Intrepid running 2.6.27-3-generic on i386 available, see the first post.

  9. #9
    Join Date
    Oct 2008
    Location
    Here, Now
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

    Quote Originally Posted by kosumi68 View Post
    On request, here is a small script that can be run to test the performance of applesmc on your computer. Simply run it in a terminal as a normal user. Cheers!
    Here is the output of this script for my iMac6,1:
    Code:
    accelerometer: not present
    fan:           present, readable, output: 600
    light:         not present
    leds:          not present
    temperatures:  present,
     temperature:           readable, output: 129000
     temperature:           readable, output: 25500
     temperature:           readable, output: 50000
     temperature:           readable, output: 60750
     temperature:           readable, output: 50250
     temperature:           readable, output: 48500
     temperature:           not readable
     temperature:           readable, output: 41500
     temperature:           not readable
    performance:   reading all temperatures
     fail frequency:        1.000
     reads per second:      13
    MacBookPro5,1 running Intrepid Ibex and OSX (rEFIt dual-boot)
    iMac6,1 running OSX and Intrepid (rEFIt dual-boot)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •