This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n "libegl1-mesa_8.0.4-0ubuntu0.7_amd64.deb libegl1-mesa-drivers_8.0.4-0ubuntu0.7_amd64.deb libgl1-mesa-dri_8.0.4-0ubuntu0.7_amd64.deb libgl1-mesa-glx_8.0.4-0ubuntu0.7_amd64.deb libglapi-mesa_8.0.4-0ubuntu0.7_amd64.deb libgles2-mesa_8.0.4-0ubuntu0.7_amd64.deb" | xargs -d' ' -I{} wget http://mirrors.kernel.org/ubuntu/pool/main/m/mesa/{} | |
wget http://mirrors.kernel.org/ubuntu/pool/main/libd/libdrm/libdrm-nouveau1a_2.4.46-1ubuntu0.0.0.1_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/main/l/llvm-3.0/libllvm3.0_3.0-4ubuntu1_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/main/u/udev/libudev0_175-0ubuntu9.5_amd64.deb | |
sudo apt-get install libwayland0 | |
sudo dpkg -r --force-depends libwayland-egl1-mesa | |
sudo dpkg -i *.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><body><pre> | |
2014-06-13_02-21-12_drinkcat_chroagh_x11test.tmp_35/ | |
</pre><table border=1> | |
<tr><td></td> | |
<td>wheezy</td> | |
<td>jessie</td> | |
<td>sid</td> | |
<td>kali</td> | |
<td>precise</td> | |
<td>saucy</td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
verifykernelsig() { | |
dev_debug_vboot -c -i "`rootdev -s -d`" | tee /tmp/dev_debug_vboot | |
echo "Checking output:" | |
cat /tmp/dev_debug_vboot | mawk ' | |
!/^ / { | |
label = "" | |
} | |
/^Kernel / { | |
sub(/:$/, "", $2) | |
( "blkid -o value -s PARTLABEL " $2) | getline label |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 7066.401] | |
X.Org X Server 1.11.3 | |
Release Date: 2011-12-16 | |
[ 7066.402] X Protocol Version 11, Revision 0 | |
[ 7066.402] Build Operating System: Linux 2.6.42-23-generic x86_64 Ubuntu | |
[ 7066.402] Current Operating System: Linux localhost 3.8.11 #1 SMP Wed Jan 29 23:31:03 PST 2014 x86_64 | |
[ 7066.402] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2097152 verity payload=PARTUUID=67be82bf-b5a2-6a49-bfda-aa142d9cb337/PARTNROFF=1 hashtree=PARTUUID=67be82bf-b5a2-6a49-bfda-aa142d9cb337/PARTNROFF=1 hashstart=2097152 alg=sha1 root_hexdigest=f7d8ec0d0c9f9b58cac161fa9707cefed2593e66 salt=c1076dcdf8200314877740fef74339266fbdf60b93e0907492df7d6414c3dafc" noinitrd vt.global_cursor_default=0 kern_guid=67be82bf-b5a2-6a49-bfda-aa142d9cb337 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Send signals from another console:" | |
echo "kill -USR1 $$" | |
SIG='force' | |
trap "SIG='USR1'" USR1 | |
# Create a dummy FIFO. Reading the FIFO will block until interrupted by a signal | |
SIGFIFO="clip.fifo" | |
if [ ! -p "$SIGFIFO" ]; then | |
rm -f "$SIGFIFO" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c | |
index 4177780..bbfc071 100644 | |
--- a/drivers/gpu/drm/drm_drv.c | |
+++ b/drivers/gpu/drm/drm_drv.c | |
@@ -170,6 +170,9 @@ static struct drm_ioctl_desc drm_ioctls[] = { | |
#define DRM_CORE_IOCTL_COUNT ARRAY_SIZE( drm_ioctls ) | |
+/* Allow set/drop master ioctls as normal user */ | |
+static u32 drm_master_relax = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
/* | |
ARM output: | |
delay=45 | |
delay=45 | |
delay=97346 | |
delay=-45 | |
x86 output: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
/* ARM output: | |
1000 / div = 10 | |
-1000 / div = 42949662 | |
-1000 / (long)div = -10 | |
*/ | |
int main() { | |
unsigned long div = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@machin ~]# uname -a | |
Linux machin 3.13.0-rc5-custom #1 SMP PREEMPT Thu Dec 26 11:53:39 SGT 2013 x86_64 GNU/Linux | |
[root@machin ~]# mount /dev/sdb3 /home | |
mount: wrong fs type, bad option, bad superblock on /dev/sdb3, | |
missing codepage or helper program, or other error | |
In some cases useful info is found in syslog - try | |
dmesg | tail or so. | |
[root@machin ~]# dmesg -c | |
[ 3892.863456] btrfs: device label home devid 1 transid 29333 /dev/sdb3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.archlinux.org/mirrorlist/?country=US&protocol=http&ip_version=4&use_mirror_status=on | |
export CROUTON_MIRROR_arch='http://mirrors.lax1.thegcloud.com/arch/$repo/os/$arch' | |
# http://archlinuxarm.org/about/mirrors | |
export CROUTON_MIRROR_alarm='http://ca.us.mirror.archlinuxarm.org/armv7h/$repo' |