I was so sold on
tmpfs, that I used it for everything I possibly could. Since discovering zram, I am using tmpfs for nothing. All my tmpfs needs are met by zram much more efficiently.
Adventures in *nix and #opensource… :-)
venture to give something back
knowledge shared == knowledge squared
tmpfs, that I used it for everything I possibly could. Since discovering zram, I am using tmpfs for nothing. All my tmpfs needs are met by zram much more efficiently.
kill -9 ... i usually disable plugins, or only enable on-demand. but there are times when i need flash.$ ps ux | grep operagives some clue. seems to me that opera plugin handling is badly written, when I see
.../lib/opera//operapluginwrapper
.../lib/opera//operaplugincleanernote the double slashes in the path, instead of a single slash.
$ sudo halt$ killall -9 evilwmctrl-alt-enter and enter the above commands.xbindkeys.toshiba bios seem to be one of the most notorious and worst broken. do not choose toshiba for anything but windows, and even with that be careful. dodgy bios implementations are like broken foundations to build your home, if you want to live there yourself!$ dmesg -l err toshiba_acpi: Error reading LCD brightnessindicates direction of problems. this error points towards a buggy implementation of acpi by toshiba.
$ dmesg | grep DSDT ACPI: DSDT 0x00000000B7CEF000 095BA (v01 TOSINV TOSINV00 00000001 MSFT 01000013) TOSHIBA Satellite detected - force copy of DSDT to local memory ACPI: Forced DSDT copy: length 0x095BA copied locally, original unmapped ACPI: EC: Look up EC in DSDTindicates that bios data is (used as original, forced) not overidden.
iasl, for this purpose.$ apt-cache show iasl Description: Intel ASL compiler/decompiler iASL compiles ASL (ACPI Source Language) into AML (ACPI Machine Language). This AML is suitable for inclusion as a DSDT in system firmware. It also can disassemble AML, for debugging purposes. Homepage: http://acpica.org
# apt-get install iasl
$ iasl -h
$ cd /tmp $ sudo cat /sys/firmware/acpi/tables/DSDT >dsdt.dat $ iasl -d dsdt.dat $ iasl -tc dsdt.dslthe first command reads the dsdt data. do it as root.
$ iasl -tc dsdt.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20100528 [Jul 2 2010] Copyright (c) 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0a dsdt.dsl 3401: 0x00000000, // Length Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags dsdt.dsl 3408: 0x00000000, // Length Error 4122 - ^ Invalid combination of Length and Min/Max fixed flags dsdt.dsl 7148: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7165: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7214: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7231: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7275: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7489: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7506: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7523: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7540: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 7557: Name (_PLD, Buffer (0x10) Error 4080 - Invalid object type for reserved name ^ (found BUFFER, requires Package) dsdt.dsl 8873: Method (_GTM, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTM) dsdt.dsl 8873: Method (_GTM, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTM) dsdt.dsl 9033: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9033: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9101: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9101: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9174: Method (_GTM, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTM) dsdt.dsl 9174: Method (_GTM, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTM) dsdt.dsl 9334: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9334: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9402: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9402: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9507: Method (_GTM, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTM) dsdt.dsl 9507: Method (_GTM, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTM) dsdt.dsl 9667: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9667: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9735: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9735: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 9808: Method (_GTM, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTM) dsdt.dsl 9808: Method (_GTM, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTM) dsdt.dsl 9968: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 9968: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) dsdt.dsl 10036: Method (_GTF, 0, NotSerialized) Warning 1088 - ^ Not all control paths return a value (_GTF) dsdt.dsl 10036: Method (_GTF, 0, NotSerialized) Warning 1081 - ^ Reserved method must return a value (Buffer required for _GTF) ASL Input: dsdt.dsl - 10111 lines, 370896 bytes, 4450 keywords Compilation complete. 12 Errors, 24 Warnings, 0 Remarks, 37 Optimizations
/system/build.prop, each time i found a hack. frequent changes were cumbersome, as /system partition is read-only. also, any rom updates would wipe that clean./data/local.prop, a more efficient way of keeping all these hacks together, and maintaining them across rom updates. also, /data partition is mounted read-write. so i can push the changes anytime.
emerge for large packages. However, it is expected and many have come up with their own tricks to make this more efficient.upgrade, i went through the logs and found some mtrr #fail issues.$ dmesg | grep -i mtrr [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] MTRR variable ranges enabled: [ 5.811624] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining [ 5.811628] [drm] MTRR allocation failed. Graphics performance may suffer. $ cat /proc/mtrr reg00: base=0x0c0000000 ( 3072MB), size= 1024MB, count=1: uncachable reg01: base=0x000000000 ( 0MB), size= 4096MB, count=1: write-back reg02: base=0x100000000 ( 4096MB), size= 1024MB, count=1: write-back reg03: base=0x0bf700000 ( 3063MB), size= 1MB, count=1: uncachable reg04: base=0x0bf800000 ( 3064MB), size= 8MB, count=1: uncachable
debian testing 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux
enable_mtrr_cleanup, including this: http://forums.gentoo.org/viewtopic-t-857061-start-0-postdays-0-postorder-asc-highlight-.html. so i added the kernel bootoptionsenable_mtrr_cleanup mtrr_spare_reg_nr=1to the
grub commandline, and here is the result.$ dmesg | grep -i mtrr [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] MTRR variable ranges enabled: [ 0.000000] original variable MTRRs [ 0.000000] Found optimal setting for mtrr clean up [ 0.000000] New variable MTRRs $ cat /proc/mtrr reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back reg02: base=0x0bf700000 ( 3063MB), size= 1MB, count=1: uncachable reg03: base=0x0bf800000 ( 3064MB), size= 8MB, count=1: uncachable reg04: base=0x100000000 ( 4096MB), size= 1024MB, count=1: write-back reg05: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: write-combining
sed: stream editor for filtering and transforming textbusybox toolkit contains sed too.