I've been following a guide for setting up an LCD touchscreen on the Raspberry Pi 2 B, but whenever I run
sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update
it freezes while updating the SDK. When it freezes the ACT
LED is on steady (indicating the SD is being accessed?), and it is no longer possible to SSH or ping the Pi (no route to host). I end up pulling the plug. If I recall correctly, after doing this the Pi will no longer boot from the SD and I have always had to flash the SD again. I am just getting started so there is nothing to lose.
Details
Pi model: 2 B
OS: Rasbian Jessie (full desktop image)
SD: 16GB Samsung Evo (SDHC). I can't be sure it's genuine. It says "Made in Korea," but that could be a lie.
I have had some issues with the power (most likely the USB cables being too thin), but I do not believe that was the problem because the Pi got stuck updating the SDK three times (once it succeeded and I messed up another way). I've started using a cut-apart USB cable with the wires soldered back together (to reduce resistance from the wires). My multi-meter shows the Pi's supply is staying within 4.90-5.10V (thought I understand the multi-meter will show the average, meaning short drops or spikes will not be noticed). Finally, whenever the Pi freezes, the PWR
light is on steady.
The only devices connected to the Pi were an Ethernet cable and of course the power supply.
Here's what my SSH session ended at:
pi@raspberrypi:~ $ sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10666 100 10666 0 0 8435 0 0:00:01 0:00:01 --:--:-- 8438
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.1.13-v7+
*** Downloading specific firmware revision (this will take a few minutes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 167 0 167 0 0 120 0 --:--:-- 0:00:01 --:--:-- 120
100 47.9M 0 47.9M 0 0 129k 0 --:--:-- 0:06:19 --:--:-- 192k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.0.7+
*** depmod 4.0.7-v7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
And here's what top
was showing when it froze:
top - 10:35:45 up 24 min, 4 users, load average: 0.69, 0.25, 0.25
Tasks: 136 total, 1 running, 134 sleeping, 0 stopped, 1 zombie
%Cpu(s): 0.4 us, 0.7 sy, 0.0 ni, 73.4 id, 25.4 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem: 948108 total, 801388 used, 146720 free, 17688 buffers
KiB Swap: 102396 total, 0 used, 102396 free. 619492 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2680 root 20 0 4700 1744 1604 D 1.3 0.2 0:00.04 cp
2630 pi 20 0 5092 2164 1792 R 1.0 0.2 0:04.17 top
51 root 20 0 0 0 0 S 0.7 0.0 0:02.33 mmcqd/0
1805 pi 20 0 90476 24552 20276 S 0.3 2.6 0:11.30 lxpanel
1 root 20 0 5480 3912 2732 S 0.0 0.4 0:06.57 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.48 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
6 root 20 0 0 0 0 D 0.0 0.0 0:00.04 kworker/u8+
7 root 20 0 0 0 0 S 0.0 0.0 0:00.72 rcu_preempt
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0
11 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/1
12 root 20 0 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/1
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:+
15 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/2
I've posted /var/log/syslog to pastebin.
I have not reformatted the SD card since then, so if there are any system logs I should post please ask for them. I may have attempted boot once since then (If I did it failed), so perhaps I should try again for the sake of "untouched" logs.*
*Murphy's Law: It'll work as soon as I retry for the sake of more debugging info.
Please ask for any needed clarifications or more info. I've been working on this for two days and have no idea what the problem is.
/var/log/syslog
on the root partition (the 2nd one on standard Raspbian).