-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hung_task_timeout_secs and blocked for more than 120 seconds #783
Comments
|
Thanks for quick reply!
|
It sounds to me like the card has become corrupted. Unfortunately your trace starts too late to be able to see what is failing. You could try adding However, even if we do find what is failing to load, it is still likely that you will have to reflash the card with a new image. I hope you have a backup of your data. If not, there are ways to mount non-FAT filing systems on Windows, so it may be possible to recover some or all of it. |
I added this earlyprintk loglevel=8 to cmdline.txt. But the changes are not retaining after safely removing the SD card. If these both issue are related to each other. Can anyone please clear my doubts about
|
To answer your questions:
|
I also get this messages, see here raspberrypi/linux#1777 Tried several different SDcards and also the sdhost interface, same problem. |
I also have this message I use 10 RPIs and it happens randomly. |
Do any of the posters still encounter this when using the latest release (4.9) or even the latest dev kernel (4.14), on fresh SD cards? |
Just experienced it 2hrs ago and found this thread I was running ubuntu 16.0.4 on Pi3 B model with a PiDrive usb |
I also faced this same issue today, and i'm running 4.9.40-v7+.(Pi3) |
It's a little difficult to diagnose from the reports given, and we are a bit busy at RPFT at the moment. Note that in order to look at it we need the ability to reproduce it on a Raspbian system (not Ubuntu - not our distro), with the latest kernel version (4.9), so if anyone can find a way of reliably replicating that would be very useful. |
On the current 13th March 2018 Stretch version of Raspbian Desktop on a new Pi 3 B+ with various known good MicroSD cards (a Samsung EVO+ 32Gb Class 10 and a new SanDisk Ultra 16Gb Class 10) and the both the older 5V 2A and the newer 5V 2.1A official PSUs, I can reliably reproduce this issue by running- sudo dd if=/dev/mmcblk0 bs=4M status=progress >/dev/null Interestingly, I've encouraged others to try it and they're seeing it too, so it does genuinely seem easy to reproduce. |
It also happens if running the OS from USB and using any card in the sdcard slot to run this test. |
Thanks for the update - we'll investigate. |
On the raspberry pi forums I'm username "jewelie". I've also just got
"wildfire" to give this a go on a system they thought was stable and they
saw it too.
For reference it doesn't appear to be external PSU related as I have been
monitoring the 5V at the GPIO pins and it doesn't dip for 1ms or longer
lower than 5.08V according to my meter.
Also, underclocking the Pi to 1000MHz doesn't make any difference.
…On 19 Mar 2018 20:26, "Phil Elwell" ***@***.***> wrote:
Thanks for the update - we'll investigate.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#783 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APrx-DaM6EzS4C6KQV8f_UixOBp9s2f_ks5tgBR8gaJpZM4MrmOI>
.
|
I've not seen any problems with the Pi 3B+ idle (apart from the dd) (ARM @ 600MHz), busy (ARM @ 1.4GHz), or oscillating between the two states. I'm not saying there isn't a problem of some kind, but so far this test hasn't triggered it for me. |
Spoke too soon - my card just got trashed. |
hello, is there a workaround for this? For some reason this doesn't happen in release 1.20171029 (4.9.59-v7) but quite often in 1.20180417 (4.14.34-v7+) and 1.20180919. May be some defaults changed in the kernel config? EDIT: turns out this is not completely true. The "task kworker/0:1:37 blocked" happens in all versions but on the newer firmwares kernel also says about user apps being blocked. I'm testing with a QT app that plays video in background and on the old firmware, when I copy a large file, the QT app works ok, I occasionaly get "kworker blocked" and that's all. On the new firmware - the video playback is affected it often stops and waits, and when kernel logs the "qt thread blocked" the video stops completely and only reboot helps. |
I have just had something similar to this on a 3B+ running raspbian stretch lite with 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linux. I updated to this a few days ago. The SDcard is Sandisk man:0x000003 oem:0x5344 name:SC16G hwrev:0x8 fwrev:0x0 There were a few processes going on that were reading and writing to SDcard at the time. syslog (on a different disk) is normal up until this: Then there were a few other similar blocks with: [76920.994609] INFO: task VCHIQ completio:639 blocked for more than 120 seconds. [76920.994800] INFO: task kworker/0:1:9932 blocked for more than 120 seconds. [76920.994894] INFO: task python3:9951 blocked for more than 120 seconds. Then it completely froze. Fortunately the systemd reboot worked with this in /etc/systemd/system.conf: CrashReboot=yes Any suggestions? As ever, many thanks! |
This looks a lot like another issue (raspberrypi/linux#2557). The problem appears to be fragmentation of the CMA area, caused by a mixture of interleaved large and small allocations. The latest rpi-update kernel includes a patch to use a pool for the small allocations, which appears to be quite effective. Please run |
@pelwell Thanks! I have done that and I will let you know how it goes. |
@pelwell So far no further problems. This is good, although it only happened once before, and I never discovered how to force it to happen. |
Thanks for the feedback. I'm going to tentatively close this issue - reopen it or comment if the problem recurs. |
I've just come here because I have this issue on a new RPI4 and a fresh SD card. |
Hi Everyone,
I am facing an issue, I am unable to boot the SD card properly
My Configuration
RPi 2 and Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux.
So i connected FTDI to my Raspberry pi. And checking the logs, why SD card is unable to boot
Here is the boot logs
The text was updated successfully, but these errors were encountered: