Skip to content

Instantly share code, notes, and snippets.

[ 120.488545] INFO: task mmcqd/0:71 blocked for more than 60 seconds.
[ 120.497457] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 120.507849] mmcqd/0 D c04d04a5 0 71 2 0x00000000
[ 120.516796] Kernel panic - not syncing: hung_task: blocked tasks
[ 120.525299] [<c00114f1>] (unwind_backtrace+0x1/0x9c) from [<c04cb2fd>] (panic+0x59/0x15c)
[ 120.536066] [<c04cb2fd>] (panic+0x59/0x15c) from [<c0073955>] (watchdog+0x19d/0x1c0)
[ 120.546417] [<c0073955>] (watchdog+0x19d/0x1c0) from [<c00454eb>] (kthread+0x6b/0x78)
[ 120.556893] [<c00454eb>] (kthread+0x6b/0x78) from [<c000c8fd>] (ret_from_fork+0x11/0x34)
[ 120.567664] drm_kms_helper: panic occurred, switching back to text console
x15: (Master):
sudo dhclient eth1
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
BBB (Mini-Master):
debian@beaglebone:~$ lsblk
#!/bin/bash
VERSION_MESSAGE="Version: 1.123: ubuntu wily..."
chroot_user="voodoo"
SYSTEM_BUILDER=$(uname -n)
#Download/Upload
wget_dl="wget --no-verbose --directory-prefix=/build/buildd/"
UPLOAD="curl --limit-rate 25000 --retry 5 --retry-delay 120 --ftp-create-dirs -T"
@RobertCNelson
RobertCNelson / u_boot
Last active November 19, 2015 00:26
X-Gene Mustang Board
Jumpers:
a. Find HDR9 (close to HDR8, which is next to PCIe port)
b. Locate pin 11-12 and 17-18. Connect 11-12 and 17-18 (0 means
connected, 1 means open). This changes to pin strap SD boot
(PS_ROM_TYP = b0110).
mustang_sw_1.15.19/BUILDS/potenza$ sudo dd if=./mustang_media.img of=/dev/sdd
1080+0 records in
1080+0 records out
@RobertCNelson
RobertCNelson / board_status
Last active August 29, 2015 14:26
bbb v4.1.x random reboots
August 13: 12:10 pm
[test-bbb-1: 4.1.4-ti-r8.1 (up 6 days, 4 hours, 18 minutes)] (w musb revert)
[test-bbb-2: 4.1.4-ti-r8.1 (up 6 days, 4 hours, 13 minutes)] (w musb revert)
[test-bbb-3: 4.1.4-ti-r8 (up 17 hours, 50 minutes)] (rebooting)
[test-bbb-4: 4.1.4-ti-r8 (up 10 hours)] (rebooting)
[test-bbb-5: 4.1.0-rc1-x0-00002-gf38e145-dirty (up 6 days, 5 hours)] (w musb revert)
[test-bbb-6: 4.1.0-rc1-x0-00002-gf38e145-dirty (up 6 days, 4 hours, 55 minutes)] (w musb revert)
[test-bbb-7: 4.1.4-ti-r8 (up 1 day, 20 hours, 12 minutes)] (rebooting)
[test-bbb-dc: 4.1.4-ti-r8 (up 2 hours, 57 minutes)] (rebooting)
#!/bin/bash -e
#
# Copyright (c) 2015 Robert Nelson <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@RobertCNelson
RobertCNelson / build-meta-ti.txt
Last active August 31, 2015 21:24
am57xx-evm-meta-ti
#MACHINE=am57xx-evm bitbake-layers show-recipes "*-image-*"
git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
cd tisdk/
./oe-layertool-setup.sh -f configs/arago-fido-config.txt
cd build/
wget --no-check-certificate https://launchpad.net/linaro-toolchain-binaries/trunk/2013.03/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
tar -jxvf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 -C $HOME
export PATH=$HOME/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH
. conf/setenv
@RobertCNelson
RobertCNelson / server
Last active September 4, 2015 15:21
Server Setup
dpkg-reconfigure tzdata
apt-get update ;\
apt-get install apt-cacher-ng debootstrap fail2ban git-core kmod; \
apt-get upgrade ;\
echo "loop" >> /etc/modules-load.d/modules.conf
systemctl enable systemd-timesyncd.service || true
adduser rcnee
usermod -a -G sudo,systemd-journal rcnee
@RobertCNelson
RobertCNelson / 0: defaults
Last active November 15, 2017 21:37
UDOO neo
user:pass [udooer:udooer]
/boot/uEnv.txt
mmcroot=/dev/mmcblk0p2 rootwait rootfstype=ext4 rw
fdt_file=dtbs/imx6sx-udoo-neo-hdmi.dtb
--- microsd.dmesg 2015-09-16 11:20:16.465210642 -0500
+++ emmc.dmesg 2015-09-16 11:20:30.941646333 -0500
@@ -27,7 +27,7 @@
[ 0.000000] pcpu-alloc: s22336 r8192 d22720 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522065
-[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait fixrtc coherent_pool=1M quiet
+[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=UUID=af04b6d6-3f30-461b-9d16-b9ad1d49db75 ro rootfstype=ext4 rootwait fixrtc coherent_pool=1M quiet
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)