-
Notifications
You must be signed in to change notification settings - Fork 207
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
rpi 3 freezes / rpi 2 camera module not found kernel: Bump to 4.9.78 23a007716a0c6a8677097be859cf7063ae093d27 #165
Comments
I too have a rpi 3 frozen after the 4.9.78 update |
When does it freeze? |
Right after the SSH warning screen, I can get to the console screen and Nano a file, but then frozen. |
i have the official 7" screen connected. cold boot the access via ssh is ok. after waking the screen it seems to freeze via ssh and screen. |
Can you try taking the start*.elf and fixup*.dat files from here (the previous release)? There should be no compatibility issues with the kernel. |
With the suggested fix in place both the SD & piDrive now boot and running fine Thanks for the turnaround |
confirming it works for me too. tank you very much. |
Hi, Got the same issue, blank screen. I copy the boot.bak to boot and it's work but now I don't have bluetooth don't know if it's related. |
Your Bluetooth problem shouldn't be related. We've been trying to reproduce this problem today, and although we have seen Pi 3s occasionally fail to boot (or hang shortly afterwards), we don't yet have a real handle on what is going wrong. |
I can give you some logfiles from my rpi to help you, if you want. |
Although I'm not optimistic they'll tell us much, it's more than I have at the moment so yes please. |
Which one?
|
The only ones that might be useful are the kernel (dmesg) logs if you were able to capture them via a serial port - otherwise the chances of them making it to SD card are small. |
Sorry just on my SD. Good luck! |
I'm no closer to understanding the failures, but I have made a test firmware that removes some of the changes from the previous firmware. If you have the time and can test without risking your data, the replacement elfs and dats can be downloaded here: https://drive.google.com/file/d/1eCctauevqC6XCbRLItf196Etd7j9Fu43/view?usp=sharing |
I replace it in the boot folder. No blank screen, boot normally. |
...but now it's freeze. |
Thanks for trying - we've had similar results here, although the cause is still unknown. The next step is likely to be a partial rollback of the changes in that release. |
FYI I downgrade to 9f5eea7 and I got bluetooth back. |
With the suggested fix in place both the SD & piDrive now boot and running fine Thanks for the turnaround |
I just updated to 4.9.79 and the Raspberry Pi 3 is frozen again |
I reverted to the Fix for the lockup, I'm back up & running. Does anyone test the firmware before releasing it? |
I opened this ticket to get more eyes looking at the problem |
Not more eyes, just the same eyes in two different places.
Yes of course, but this appears to be a rare problem, and I'm not yet completely convinced we've reproduced it here (there is some doubt about the Pi we thought was showing the same symptoms - it might be a bad power cable). I'm not going to be happy until we've completely understood and fixed whatever is causing you the boot failure, but without a (un)reliable test-bed that is going to be difficult. I have another set of patches that may perhaps help - some oddities I spotted when examining the differences - I'll try to get those into the next update. If any of you feel strongly enough about this problem (given that you have a workaround) and can spare a Pi for a week or so, you could ship it to us at Pi Towers. If the failure is as consistent as you say then it shouldn't take long to bisect the changes and identify the culprit. Email me - phil@raspberrypi.org - if that appeals and I'll send you the shipping address. We normally throw in a decent SD card as a thank you under such circumstances. |
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=195178 firmware: arm_loader: Distinguish multiple turbo users power: Used cached values for reads See: Hexxeh/rpi-firmware#165 firmware: dtoverlay: Use SUDO_USER in -pre and -post scripts
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=195178 firmware: arm_loader: Distinguish multiple turbo users power: Used cached values for reads See: Hexxeh/rpi-firmware#165 firmware: dtoverlay: Use SUDO_USER in -pre and -post scripts bootcode: Fix network booting on Pi1/Pi2 See: #935
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=195178 firmware: arm_loader: Distinguish multiple turbo users power: Used cached values for reads See: #165 firmware: dtoverlay: Use SUDO_USER in -pre and -post scripts bootcode: Fix network booting on Pi1/Pi2 See: raspberrypi/firmware#935
The patches mentioned above are in today's firmware release. |
kernel: overlays: Allow multiple pps-gpio instantiations See: raspberrypi/linux#2352 kernel: lan78xx: Avoid spurious kevent 4 error firmware: power: Refactor get/set_voltage API, add SDRAM voltage
Has anybody had time to try the test firmware I posted above? |
I think I have the same Problem. I did set up a clean installation of archlinuxarm and updated to the 4.9.79 kernel. After that my RPi3 was either not booting at all or freezing within the first five minutes or so. |
Thank you for the feedback - it's a big help. If I could get confirmation that it works for one more person then I'll merge the partial reversion and continue the bisection. |
Hi,
The point is not original power supply vs not original. The strange thing I've noticed is that If I use a poor (for example 1 A) power supply, the raspberry boot fine and not freeze. |
See: Hexxeh/rpi-firmware#165 firmware: imx219: Increase max frame rate at 640x480 to 200fps firmware: vc_image: Add plumbing for side-by-side YUV420 format
See: #165 firmware: imx219: Increase max frame rate at 640x480 to 200fps firmware: vc_image: Add plumbing for side-by-side YUV420 format
Latest rpi-update firmware has a potential fix for this issue from @pelwell |
I just tried out the latest |
I did some tests. I upgraded to the latest version f6f7e04, which still freezes my raspberry pi 3 (as written before). I tried out the following tweaks in
I'm using a WD PiDrive 1TB together with an older version of the WD PiDrive 2A cable kit. I hope this helps to solve the issue. |
@apepper Once again, thanks for trying and reporting back. At your convenience, can you post the output of these two commands:
The fact that recent updates have been causing problems where things were OK before is clearly a regression, but I do note that the page describing the WD PiDrive 2A cable kit recommends the 3A cable kit for a Pi 3. The official RPi adapter supplies 2.5A, and we wouldn't recommend anything less. |
With
"Back in the days" when I bought the WD PiDrive Kit it only included a 2A cable kit. It has been running stable with that cable for at least a year or longer. I'll see, if I get a 3A charger. |
@pelwell |
I just updated to the latest firmware and it managed to boot straight away. It runs for around 15 minutes, but I'll let it run for some more time and see if it freezes. $ vcgencmd otp_dump
08:00000000
09:00000000
10:00000000
11:00000000
12:00000000
13:00000000
14:00000000
15:00000000
16:00280000
17:1020000a
18:1020000a
19:ffffffff
20:ffffffff
21:ffffffff
22:ffffffff
23:ffffffff
24:ffffffff
25:ffffffff
26:ffffffff
27:00002727
28:070379b2
29:f8fc864d
30:00a02082
31:00000000
32:00000000
33:00000000
34:00000000
35:00000000
36:00000000
37:00000000
38:00000000
39:00000000
40:00000000
41:00000000
42:00000000
43:00000000
44:00000000
45:00000000
46:00000000
47:00000000
48:00000000
49:00000000
50:00000000
51:00000000
52:00000000
53:00000000
54:00000000
55:00000000
56:00000000
57:00000000
58:00000000
59:00000000
60:00000000
61:00000000
62:00000000
63:00000000
64:00000000
65:00000000
66:00000000 $ vcgencmd get_config int
arm_freq=1200
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_force_cec_address=65535
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x186a0
over_voltage_avs_boost=0x16e36
overscan_bottom=48
overscan_left=48
overscan_right=48
overscan_top=48
pause_burst_frames=1
program_serial_random=1
ramfsaddr=-1
sdram_freq=400
temp_limit=85 |
From the small sample of users who had problems before and have tried the new firmware, the results seem to be that:
This is very useful feedback - are there any more datapoints? @Sharktear? @xavierdono? If you do still see a failure, can you also run |
firmware: arm_loader: Cache the non-limited voltage See: Hexxeh/rpi-firmware#165 firmware: IL video_encode: Fix small memory leak firmware: arm_loader: Add get_throttled mailbox call See: raspberrypi/linux#2367
firmware: arm_loader: Cache the non-limited voltage See: #165 firmware: IL video_encode: Fix small memory leak firmware: arm_loader: Add get_throttled mailbox call See: raspberrypi/linux#2367
Latest rpi-update firmware has another fix from @pelwell |
Yes, by underpowering a Pi3 to the point where the voltage limiting was kicking in and out I was able to reproduce a crash and pinpoint the bug. @apepper and @ngineerken, although your systems should boot as before with today's firmware, your Pi3s have marginal power supplies which are causing reduced performance from time to time. The firmware is detecting the undervoltage and throttling back, but I could imagine that there might exist a workload that would cause the voltage to drop too rapidly to be corrected. It's up to you whether you consider that important enough to warrant a new supply. |
I can confirm, that the latest
A new 3A power supply is already ordered and on its way to me. |
Thank you! I'll try to update this weekend... the fix also correct the problem I reported with the correct power supply (with poor power supply the boot was fine) ? |
I think that was just a different aspect of the same issue. With a permanently poor supply there would have been no switch to turbo speed, avoiding the problems around switching voltages. |
This also should explain why tryng many times to reboot (with the correct power supply), sometimes the raspy boot correctly |
@lesvaches is latest firmware good for you? If so you can close the issue. |
@popcornmix yes, looks like I'm good. |
Thanks for your patience, everyone. |
I think I might be having the same issue. Every 4 or so days, SSH to my pi stops working and I have to unplug it and plug it back in. At first I thought it was disconnecting from wifi, so I wrote a script to ping google every 5 minutes, and report the results.. Turns out it wasnt failing to ping.. It would just suddenly stop pinging for a day or so until I unplugged it. I checked my syslog at the time of the last ping, and It sows it undergoing updates at that time. It's unclear to me, but it seems that the pi is rebooting at night like 1am to do automatic updates and not powering off correctly.. I have no pi drive.. I only use my pi as a WOL server for my desktop. I know the issue is rare, so Its worth mentioning my name is Xavier, like one of the previous commenters. lol just a stretch. I also have the official pi3 power supply. |
I will do rpi-update. I will be honest I didnt know that was a thing. I just do apt-get update/upgrade and I will get back after 2 weeks. |
- firmware: pwm_sdm multi-write support See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445 - firmware: Remove cmaservice as it doesn't work reliably - firmware: New mailbox fns for peripheral access See: raspberrypi/linux#2222 - firmware: image_encode and JPEG codec fixes See: raspberrypi/userland#435 - firmware: vc_image fixups See: raspberrypi/userland#433 - firmware: Support for independant display configuration - firmware: arm_dt: Fixup camera gpios if overrides are found in dtoverlay - firmware: mjpeg encoder: Add new thread to do the encoding - firmware: arm_dt: Suppress non-fatal errors See: #906 - firmware: dtoverlay: Create "/aliases" node when needed See: #906 - firmware: dtoverlay app: Keep overlay symbols private - firmware: dtoverlay app: Report unknown parameters in help - firmware: IL ISP: Remove DPCM10_8 compressed input - firmware: mmal_il: Add missing mappings for 8 bit Bayer encodings - firmware: IMX219 tuning: enable motion detection - firmware: IL camera: increase minimum resolution to 32x32 - firmware: audioplus: hdmi: Remove spamming logging message - firmware: arm_loader: Make program_usb_boot_mode more flexible - firmware: ov5647: Comment Y offset in mode 5 (2x2 binned 16:9) - firmware: Video encode: Add option to set number of droppable P frames See: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=201882 - firmware: i2c_gpio: Preserve errors when asserts are suppressed - firmware: power: Refactor get/set_voltage API, add SDRAM voltage - firmware: Install interface/peer headers See: raspberrypi/userland#166 - firmware: gx_create_window error cleanup fix See: #930 bootcode: Insert delay between disconnect and reconnect for USB device booting - firmware: IL ISP: Fix the black level control to do sensible things - firmware: IL ISP fixes for JC - firmware: raspividyuv: Fix saving timestamps See: raspberrypi/userland#453 - firmware: tidy: Platform cull - firmware: Default to audio_pwm_mode=2 See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=195178 - firmware: arm_loader: Distinguish multiple turbo users power: Used cached values for reads See: Hexxeh/rpi-firmware#165 - firmware: dtoverlay: Use SUDO_USER in -pre and -post scripts bootcode: Fix network booting on Pi1/Pi2 See: #935 - firmware: arm_loader: Fix power-related crashes around bootup See: Hexxeh/rpi-firmware#165 - firmware: imx219: Increase max frame rate at 640x480 to 200fps - firmware: vc_image: Add plumbing for side-by-side YUV420 format - firmware: arm_loader: Cache the non-limited voltage See: Hexxeh/rpi-firmware#165 - firmware: IL video_encode: Fix small memory leak - firmware: arm_loader: Add get_throttled mailbox call See: raspberrypi/linux#2367 - firmware: video_encode: Free conv and subsample pools on disabling port - firmware: camera: Set fixed sensor mode on all sensors - firmware: Remove intermediate use of RGB888 in converting I420 to BGR888 - firmware: camera: Remove video tone mapping curves - firmware: camera: AGC should not copy the tone map from VIDEO to STILLS - firmware: arm_dt: Fix up case of NUM_CAMERAS = -1 - firmware: dtoverlay: Also allow fragment-<n> in overlays - firmware: i2c_gpio: Optimise and run clients faster - firmware: Rework the frequency/voltage scaling logic - firmware: Clamp SDRAM frequencies only when sdm audio is active See: Hexxeh/rpi-firmware#172 - firmware: arm_dt: Improve DTB location, upstream kernel support See: #943 - firmware: platform: Should limit sdram voltage when turbo is throttled - firmware: video_decode: Allow setting the output format twice - firmware: vmcs: Increase service limit for vcsm to 2 - firmware: arm_dt: Restore support for user-selected DTB file See: #943 - firmware clock: WIP: Avoid temporary high clock when switching PLL and divisor See: https://forum.kodi.tv/showthread.php?tid=298461&pid=2713270#pid2713270 - firmware: platform: Make sure boosted frequency uses boosted voltage - firmware: power: Add 10ms timeout for PMIC voltage control - firmware: platform: Reduce i2c-gpio clock speed back to 200KHz - firmware: ldconfig: Support Pi3+ and Pi0W sections - firmware: platform: Update firmware dt-blob for pi3+ - firmware: video_decode: Allow setting the resolution on the output port - firmware: arm_loader: Fall back to stored frequency for clocks platform doesn't have fixed values for See: #951
rpi-update did fix the issue. Glad to see commit done. |
rpi 3 freezes.
rpi 2 camera module not found after update.
The text was updated successfully, but these errors were encountered: