vcgencmd get stuck and become zombie if killed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Expired
|
Undecided
|
Unassigned |
Bug Description
I regularly check PI core temp using vcgencmd and have been doing so successfully from August 2013.
A few days into 2014 I discovered that "vcgencmd" may become permanently blocked and its no longer possible to read the core temp, in fact, no action is possible with vcgencmd, equally when trying to read core temp from the system file the "cat" command also becomes blocked.
I regularly perform firmware and OS updates; I suspect problem was introduced with firmware released around new year.
A reboot is necessary, but problem will return in 0.5 to 14 days requiring a new reboot and so on...
Example of hung process:
pi@RPI1 /var/www $ ps alx | grep Z | grep -v grep
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
0 1000 25111 1 20 0 0 0 exit Zl ? 0:00 [vcgencmd] <defunct>
I have a mod B PI purchased in August 2013 and use a NOOBS image from http://
Linux RPI1 3.10.32+ #648 PREEMPT Fri Feb 28 16:29:56 GMT 2014 armv6l GNU/Linux
pi@RPI1 /var/www $ dpkg -s libc6 | grep ^Version
Version: 2.13-38+rpi2
I use this PI to read data off a 1-wire network via an I2C interface (https:/
dmesg output after detecting a hung vcgencmd:
[728060.523899] INFO: task VCHIQ completio:25113 blocked for more than 120 seconds.
[728060.523925] "echo 0 > /proc/sys/
[728060.523940] VCHIQ completio D c040118c 0 25113 1 0x00000005
[728060.524019] [<c040118c>] (__schedule+
[728060.524085] [<c03fff08>] (schedule_
[728060.524133] [<c0400c08>] (__down+0x88/0xc0) from [<c0041a4c>] (down+0x60/0x64)
[728060.524208] [<c0041a4c>] (down+0x60/0x64) from [<c029826c>] (vchiq_
[728060.524249] [<c029826c>] (vchiq_
[728060.524293] [<c00d7768>] (__fput+0x8c/0x228) from [<c0039d30>] (task_work_
[728060.524334] [<c0039d30>] (task_work_
[728060.524363] [<c0023f90>] (do_exit+
[728060.524406] [<c002425c>] (do_group_
[728060.524439] [<c002eb54>] (get_signal_
[728060.524481] [<c03fc1ec>] (do_signal+
[728060.524512] [<c0010850>] (do_work_
Cheers
Stefan
Is this still an issue?
If so, you should report it at https:/ /github. com/raspberrypi /firmware/ issues
Note that the use of `rpi-update` has been deprecated for a while and you should update the kernel/firmware from the `raspberrypi- bootloader` package, which you can update via the regular `apt-get update` and `apt-get upgrade`.