Page 1 of 9 123 ... LastLast
Results 1 to 10 of 86

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

  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
    Jul 2008
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    Hi,

    thanks for figuring out how to get basic support. The 'c != 8'-problem seems to be solved , but there are other issues on a MacBookPro 4 (Penryn):
    Code:
    Sep 21 21:38:07 snoopy kernel: [12118.120999] applesmc: Apple MacBook Pro detected:
    Sep 21 21:38:07 snoopy kernel: [12118.121007] applesmc:  - Model with accelerometer
    Sep 21 21:38:07 snoopy kernel: [12118.121010] applesmc:  - Model with light sensors and backlight
    Sep 21 21:38:07 snoopy kernel: [12118.121014] applesmc:  - Model with 12 temperature sensors
    Sep 21 21:38:07 snoopy kernel: [12118.121739] applesmc: device has already been initialized (0xe0, >
    Sep 21 21:38:07 snoopy kernel: [12118.121743] applesmc: device successfully initialized.
    Sep 21 21:38:07 snoopy kernel: [12118.122039] applesmc: 2 fans found.
    Sep 21 21:38:07 snoopy kernel: [12118.127281] input: applesmc as /devices/platform/applesmc.768/inp>
    Sep 21 21:38:07 snoopy kernel: [12118.163212] Registered led device: smc::kbd_backlight
    Sep 21 21:38:07 snoopy kernel: [12118.163257] applesmc: driver successfully loaded.
    Sep 21 21:38:07 snoopy kernel: [12118.169154] applesmc: light sensor data length set to 6
    [tons of:]
    Sep 21 21:39:03 snoopy kernel: [12130.824745] applesmc: wait status failed: 5 != 0
    [... and sometimes:]
    Sep 21 21:39:04 snoopy kernel: [12131.267745] applesmc: wait status failed: 5 != 1
    Sep 21 21:46:49 snoopy kernel: [12268.875983] applesmc: wait status failed: 5 != 4
    while running your test script:
    Code:
    accelerometer: present, readable, output: (2,10,233)
    fan:           present, readable, output: 1000
    light:         present, readable, output: (15,44)
    leds:          present,
     led:                   readable, output: 0
    temperatures:  present,
     temperature:           readable, output: 44750
     temperature:           readable, output: 35000
     temperature:           not readable
     temperature:           not readable
     temperature:           readable, output: 33750
     temperature:           readable, output: 51000
     temperature:           readable, output: 48500
     temperature:           readable, output: 50250
     temperature:           not readable
     temperature:           not readable
     temperature:           readable, output: 49750
     temperature:           readable, output: 42500
    performance:   reading all temperatures
     fail frequency:        1.000
     reads per second:      16
    Probably due to errors reading non-existent temperature sensors (how many does this model have?).

    But light sensors, keyboard backlight and fan speeds seems to work most of the time, although the GNOME applet sometimes complains about missing data/unreadable fan speeds.

    ciao,
    Mario

  10. #10
    Join Date
    Jul 2008
    Beans
    245
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    those temperature sensors not readable are: 1, 6, 7, 12 and the sensors command shows:
    Code:
    applesmc-isa-0300
    Adapter: ISA adapter
    Left side  : 999 RPM  (min = 1000 RPM)
    Right side : 996 RPM  (min = 1000 RPM)
    temp2:       +33.8°C                                    
    temp3:       +51.2°C                                    
    temp4:       +49.2°C                                    
    temp5:       +51.2°C                                    
    temp8:       +50.2°C                                    
    temp9:       +42.5°C                                    
    temp10:      +44.8°C                                    
    temp11:      +35.0°C

Page 1 of 9 123 ... LastLast

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
  •