motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Pi Zero W newer releases getting stuck, not working

Open puresilk opened this issue 6 years ago • 17 comments

I am a Raspberry Pi approved reseller, and sell kits including motioneyeOS (an older version) I have tried several recent motionEyeOS releases with a very recent Pi Zero W (just arrived from the factory) in order to ship newer versions to customers. They all hang during boot with the same message "loading kernel modules", even if given ample time to finalize the loading. I have preconfigured all of these SD cards with a wpa-supplicant.conf before booting up motioneyeOS.

ccrisan, I can test the newest version with a Pi Zero W, make sure it does not work, and can ship it (or several if you want) to you on my cost, as a contribution to your project. Please let me know if you would like that, to allow easier debugging for you.

motionEyeOS Version

I have tested the following releases (all Pi 1 releases): With all of these releases the Pi Zero W hangs during boot with the message "loading kernel modules" (to be seen via HDMI output

  • 20190911
  • 20190904 ( I believe - am unsure at the moment whether I really tested that one, but I believe so)
  • 20190427

The following version works for me on the same Pi Zero W:

  • motioneyeos-raspberrypi-20180224_pi1only.img

Board Model

I am using the following board/model: Pi Zero W.

Camera

Default Raspberry Pi camera.

Network Connection

WiFi

Peripherals

I am using the following peripherals that I consider relevant to this issue:

none

Log Files

none were created on the root partition

puresilk avatar Sep 19 '19 13:09 puresilk

BTW: I tried going through other Pi Zero W issues, most seem unrelated to this; as they fail to work at a later or earlier stage during boot.

puresilk avatar Sep 19 '19 13:09 puresilk

I'm sorry I cant help you with your problem. But I hope you can help me with a small question I have. What version should I use for the Pi Zero W? Its not clearly named bij the downloads. I'm looking the latest release version 20190427.

Hope you can help! Aantekening 2019-09-19 184846

YannickGro avatar Sep 19 '19 16:09 YannickGro

@puresilk could you try and make a short video recording of the issue? Recovering the log files from the SD card when that happens could also help.

ccrisan avatar Sep 19 '19 18:09 ccrisan

@YannickGro https://github.com/ccrisan/motioneyeos/wiki/Supported-Devices will tell you to download the raspberrypi (1) version.

ccrisan avatar Sep 19 '19 18:09 ccrisan

@ccrisan, I will make a video recording on the week-end. Where are the log files stored? I did not notice any on the FAT partition after removing the SD card.

puresilk avatar Sep 20 '19 10:09 puresilk

@puresilk they are on the large EXT4 partition, accessible from Linux.

ccrisan avatar Sep 20 '19 12:09 ccrisan

Don't know if it is related: Just started today with motioneyeos on a Raspberry Pi Zero. Booting worked as expected, by I get reboots every now and then (3 times within the last 30 minutes while playing around).

avanc avatar Sep 27 '19 20:09 avanc

@avanc version and logs please.

ccrisan avatar Sep 29 '19 08:09 ccrisan

Sure.

motionEye Version: 0.41 Motion Version: 4.2.2 OS Version: motionEyeOS 20190911

dmesg.log

Is the stack traces related to Wifi? I can connect via SSH to the device and I'm asked for the password. However, I don't get a prompt afterwards.

avanc avatar Sep 29 '19 12:09 avanc

The stack traces in your log are definitely related to WiFi. Try reducing the ARM frequency to 950 in your /boot/config.txt. It might be related to a problem identified with some Zero W boards.

ccrisan avatar Sep 29 '19 18:09 ccrisan

@ccrisan Thanks for the quick response. That works for me. With this information I was also able to find the other issues related to my problem. As it seems to be different than @puresilk's issue, I write down my results in https://github.com/ccrisan/motioneyeos/issues/1908.

avanc avatar Sep 30 '19 18:09 avanc

Sorry for not following up on this earlier, "life got in the way". Here's a screenshot of the boot. It happens also when I unplug & reboot. I'm using the most recent release.

The screen will get stuck at this "forever". I am using a Pi Zero W to boot it.

image

I don't seem to be able to find a dmesg.log or any other log file on the SD card after removing it (after the second boot attempt). I assume that this log is never written to the SD card.

My only modification (prior to the first boot) was to add a wpa_supplicant.conf file:

image

One further note: I'm not flashing on blank SD cards, but on SD cards with Raspbian / NOOBS on them. This should not make any difference, but mentioning it just in case.

puresilk avatar Dec 30 '20 10:12 puresilk

On the back of the Pi, it says which model it is, can you check and see? One of mine says: Raspberry Pi Zero W V1.1 (C) Raspberry Pi 2016 Can you try dev20201026 or 20190911 please? Found here: Releases · ccrisan/motioneyeos https://github.com/ccrisan/motioneyeos/releases

On Wed, Dec 30, 2020 at 5:33 AM Maximilian Batz [email protected] wrote:

Sorry for not following up on this earlier, "life got in the way". Here's a screenshot of the boot. It happens also when I unplug & reboot. I'm using the most recent release.

[image: image] https://user-images.githubusercontent.com/4606111/103345615-24528300-4a92-11eb-84f0-3e90ab517f3a.png

I don't seem to be able to find a dmesg.log or any other log file on the SD card after removing it (after the second boot attempt). I assume that this log is never written to the SD card.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2106#issuecomment-752409545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHIKY46GROT53SZUV73SXL6Y7ANCNFSM4IYLFKKQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

starbasessd avatar Dec 30 '20 11:12 starbasessd

Possibly the Pi Zero W I'm using is defective; it works on another one. I'm closing this for now.

puresilk avatar Jan 04 '21 13:01 puresilk

Pi Zero 2 W arrived the other day, works fine with Pi OS and with Octoprint but just freezes with MotioneyeOS, any suggeswtions ( no logs saved, screen just sits at four colours)

dhawker avatar Nov 01 '21 11:11 dhawker

As I've written on this page here: Everything about the Pi Zero 2 W

Raspberry Pi Zero 2 W needs up-to-date boot files. Try fixing motionEye OS boot with copying the boot files as I've outlined, and report back whether that works.

puresilk avatar Nov 01 '21 11:11 puresilk

Could you please open a new ticket for this issue (with all the questions answered) for the PiZeroW2, your issue, and solution found, please, link it here, and close this issue? The PiZero/W/H is only related to the PiZeroW2 by form factor. The chips used are very different (both CPU and WiFi) and the issues don't apply to both.

starbasessd avatar Nov 01 '21 12:11 starbasessd