backport ramconsole from Google 3.4 common kernel