Skip to content
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

Pi Zero W newer releases getting stuck, not working #2106

Open
puresilk opened this issue Sep 19, 2019 · 17 comments
Open

Pi Zero W newer releases getting stuck, not working #2106

puresilk opened this issue Sep 19, 2019 · 17 comments

Comments

@puresilk
Copy link

puresilk commented Sep 19, 2019

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
Copy link
Author

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.

@YannickGro
Copy link

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

@ccrisan
Copy link
Collaborator

ccrisan commented Sep 19, 2019

@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
Copy link
Collaborator

ccrisan commented Sep 19, 2019

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

@puresilk
Copy link
Author

@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.

@ccrisan
Copy link
Collaborator

ccrisan commented Sep 20, 2019

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

@avanc
Copy link

avanc commented Sep 27, 2019

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).

@ccrisan
Copy link
Collaborator

ccrisan commented Sep 29, 2019

@avanc version and logs please.

@avanc
Copy link

avanc commented Sep 29, 2019

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.

@ccrisan
Copy link
Collaborator

ccrisan commented Sep 29, 2019

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.

@avanc
Copy link

avanc commented Sep 30, 2019

@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 #1908.

@puresilk
Copy link
Author

puresilk commented Dec 30, 2020

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.

@starbasessd
Copy link

starbasessd commented Dec 30, 2020 via email

@puresilk
Copy link
Author

puresilk commented Jan 4, 2021

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

@puresilk puresilk closed this as completed Jan 4, 2021
@dhawker
Copy link

dhawker commented Nov 1, 2021

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)

@puresilk
Copy link
Author

puresilk commented Nov 1, 2021

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 puresilk reopened this Nov 1, 2021
@starbasessd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants