Tag Archives: trim

kernel[0]: IOSurface: buffer allocation size is zero – A never-ending story about Adobe failing to get their Flash Player and Adobe Air Plugin to work on Mac OSX in a “normal” way.

kernel: IOSurface: buffer allocation size is zero
kernel[0]: IOSurface: buffer allocation size is zero

With Mac OSX Lion 10.7.0, a message was repeatedly showing up in the Console.app, so the logfiles would grow in size – sometimes around 100 MB per minute. This is especially bad for SSD owners. While the issue was reported over 6 Months ago, and Flash Player 11 solved the amount of errors in the console, still the message appears and slows down OSX 10.7 systems.

At least the release of Adobe’s Flash Player 11 solved the system freezes – but the Log message still is filling the kernel.log, so any debugging or search for errors is quite hard with that amount of data to read through.

If you are experiencing the same issues, please write your concerns to the Adobe Forums in the existing thread and alternatively also in the Apple Discussion Thread.

Nanofunk reported about this issue in july 2011, and we got over 60.000 unique visits to this post – so this is not a rare case, this is a serious bug with Adobe Flash and Adobe Air. We will post any updates to the situation to this blog, make sure to bookmark our feed.

See also:
* macrumors forum about kernel: IOSurface: buffer allocation size is zero
* nanofunk: Mac OSX Lion 10.7 System Freezes: kernel: IOSurface: buffer allocation size is zero (console message)

 

[Update] I posted to the Adobe Bugbase with a bug description. Hope they will respond now.

Should I use Trim Enabler on Lion for the OCZ Vertex (3)? No! (Benchmarks inside)

We recently blogged, after purchasing two OCZ Vertex SATA3 Drives (240GB) and inserting them with an Optibay setting (2 Drives in one MacBook Pro; see our previous post: 2011 Macbook Pro and SATA III 6Gbps, Optibay: two HD drives – setup explained).

We also blogged that enabling TRIM is a good thing, although it seems that it seems to be not necessary on Sandforce based chipsets.

Since we still were experiencing freezes and Sandballs on our Mac OSX Lion 10.7 SSD Setup that were actually not related to TRIM, also the system did not feel as snappy anymore.

Conclusion: don’t use TRIM on OSX Lion 10.7, if you are using a Sandforce based SSD. Revert to the original driver and not only the Beachballs will go away, but also the system feels snappy again. See the below Benchmarks for real-life results (since AJA System Test does not work on internal drives, we can recommend using XBENCH to verify the figures for you).

XBENCH Screenshot with TRIM Enabled (using TRIM Enabler for OSX 10.7 Lion)
Screen Shot 2011 08 07 at 16 00 30

Screenshot of XBENCH without TRIM Enabler (Restored to original setting)

Screen Shot 2011 08 07 at 16 06 39

UPDATE: Grant Pannell (digitaldj.net) reports on how to restore to the original settings.

Mac OSX Lion 10.7 System Freezes: kernel: IOSurface: buffer allocation size is zero (console message)

Some people experience system freezes on Mac OS X 10.7 Lion, but also on Snow Leopard: kernel: IOSurface: buffer allocation size is zero.
The Error is visible with Console.app (“All Messages” respectively “kernel.log”)

To reproduce the issue:
1) click on “Clear Display” in Console.app
2) go to http://www.adobe.com/software/flash/about/ and the error will show up in the console.

The error must be Flash related. Sometimes, the whole System is unresponsive, freezing everything but the mouse. There is no official response from Adobe or from Apple, so we can only hope and wait. Please check your Console.app for this error and respond to any of the existing discussions.

Screen Shot 2011 07 28 at 11 52 25

[Update] the error message also seems to have surfaced in 10.6.4 already, as visible in the Apple Discussion Forums

[Update] installing the Adobe Flash Player 11.0 from Adobe Labs seems to at least minimize the freezes, but still the console messages appear.

[Update] i posted a poll on insanelymac to see which browsers and systems are affected. please also post your results there!

[Update] the new Beta 2 11.0.d1.98 of the flash player is out (thanks JP Hansen)

[Update] The Flash Player 11 is officially released. It seems though, that not all issues are resolved with Mac OSX Lion compatibility.

[Update 23.12.2011] more than 6 months after the issue was reported, (and we have Apple Mac OS X 10.7.2 and 10.7.3 in beta) there is still no update on this issue from Adobe. Please write your concerns to the Adobe Forums in the existing thread to have them fix the issues! Especially for SSD owners this is unacceptable!

Existing Discussions:

* Nanofunk.net discussion thread in the Adobe Flash Player Forums
* Thread in the Apple Support Communities Forum
* Thread on MacRumors Forums regarding Lion Freezes with kernel: IOSurface

[Update] I posted to the Adobe Bugbase with a bug description. Hope they will respond now. Please, support our effort by filing another report at the Adobe Bugbase!

[Update 2012-2-22] still, the ticket in Adobe Bugbase is open, although there were several patches and bugfixes to Adobe Flash Player 11.1 (11.1.102.62 as of today).

[Update] Adobe recently closed the bug report. This is very bad news, since lots of people are experiencing this issue. I cannot believe how bad the Adobe support and bugfixing guidlines are.

Mac OSX 10.7 Lion updating annoyances: Scolling, Versioning and no TRIM!

While Apple’s 10.7 Lion OS looks much more like GNOME like any other previous version of OSX, is comes with lots of annoyances. People using an SSD drive might have to update, since it finally supports the TRIM command, there are also lots of annoying features you might want to get rid of:

1) No TRIM support out of the box if you are using your own SSD (not Apple’s)

Screen Shot 2011 07 22 at 10 36 06

This is ridicolous: TRIM only seems to work for Apple buit-in SSDs. There is a tool by groths.org that will do the trick: TRIM Enabler, which works for Lion and for Snow Leopard as well. You might want to consider enabling this feature, since TRIM will make your Solid State Drive last longer, due to less writes to the cells.

2) Mouse scrolling direction got reversed: how to revert

Apple decided to reverse the mouse scolling on 10.7 Lion, meaning you have to scroll your mousewheel up to actually move the on-screen content down. Here is a screenshot from System Preferences, where you can change that “feature” to the way it was before: simply uncheck the box left to “Move content in the direction of finger movement when scrolling or navigating”.

Screen Shot 2011 07 22 at 10 30 53

3) Disabling the “Resume” feature

The “Resume” Feature in Mac OS X Lion restores the state of the application windows, when re-opening an application. Since I definitely do not need this feature, here is a way to turn it off: just uncheck the left box next to “Restore windows when quitting and re-opening apps” in System Preferences -> General

Screen Shot 2011 07 22 at 10 58 34

4) Disabling “Versions” feature in Mac OSX 10.7 Lion

Versions should’t be a problem unless you are using Time Machine. MacRumors has a forum post on disabling that features.

5) Other (small) annoyances

Google Chrome does not get moved with an update ( Chrome vanishes with Lion 10.7 Update)

This is also very strange: the Google Chrome Browser did not get moved on my Lion update. I had to re-download Google Chrome.app. At least the Application Support files got moved, so I did not lose any browsing history or bookmarks.

Dropbox needs to be reinstalled: special Lion build

The dropbox right-click features dissappear when updating to Lion. Download the Latest Forum Build of Dropbox that is Lion compatible (1.2.16 at the time of writing this entry)

 

Other interesting reviews about Mac OSX 10.7 Lion can be found here:

* Time Magazine on OSX Lion: “With OS X Lion, Apple’s Macs Enter the iPad Era
* Engadget: “Apple OS X Lion (10.7) review