-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Image does not boot on RPI without HDMI attached #9
Comments
I can not reproduce this issue. My Pi boots fine without HDMI (which is how I'm using this most of the time). |
I have the same issue. Updating the Ethernet configuration as proposed in the forum post did not fix this issue for me. |
Maybe this is specific to a Raspberry Pi version that I have not tested against? Could you share the steps to reproduce this issue + Raspberry Pi version used?
Could you clarify this? Does this mean that the Raspberry Pi did get an IP address, but does not accept SSH connections? |
I just burned the image onto a microsd and booted it up. Using raspberry pi 3B+ No, device does not get an IP. |
Confirm the above, also Raspberry Pi 3B+, IMST - iC880A on top, but I don't think the problem is with the concentrator boards. |
Also, the RAK831 board is on top |
I'm also facing the same issue ethernet is not enabled but I have not checked with HDMI. |
Same issue with a RPi 3B+ and a RAK2245 hat... |
I bought a Pi 3B+ for testing and can not reproduce the issue. My Pi (with RAK2245 shield) is only connected to ethernet + original Raspberry Pi power adapter. The SD card is flashed with https://artifacts.loraserver.io/downloads/lora-gateway-os/raspberrypi/raspberrypi3/2.0.0test4/lora-gateway-os-base-raspberrypi3--20190423145941.sdimg.gz without any modifications made. Afterwards I run (on my laptop which is configured with a network bridge on 10.42.1.1):
Then I SSH to the returned IP |
Thanks for your quick reply! I've tried following your same steps, using Nmap and disconnecting everything but the power and ethernet cable. (the only difference is that I've connected the Pi to a router so that's on the same network with my MacBook). I've tried also all the combinations of the following:
Still having the same issue! HDMI cable in and everything works fine, cable out and no ip! This is head-scratcher! |
Could this be an issue related to power? The power-adapter seems to be the only difference that we have at this point. Is there a possibility that the HDMI plugged in has influence on the power-usage or is backfeeding power into the Pi (I'm not sure if this is even possible)? Have you tried without the concentrator shield (to reduce the power usage)? |
That’s a possibility. I’ve tried without the concentrator but made no difference. I’ve tried with a power adapter that is 5V - 2.1A what about yours? |
I have the same problem, Raspberry 3B+, both with Ethernet or Wifi. |
@fabioetec that’s interesting. Also in my case a couple of times it randomly worked. A couple of things that may help narrow down the issue:
|
I have used a hdmi dummy and it solves the problem. Is the raspberry pi firmware on the image the latest (ie the rpi foundation binary driver blobs)? |
Actually, this problem doesn't seem to be limited to LoRa Gateway OS: https://www.google.com/search?q=raspberry+pi+not+booting+without+hdmi. What I will do at my end is update the |
Thanks for that @brocaar! That seems to explain it and I hope the updated kernel may do the trick. I’m happy to give it a test when it’s ready. |
Ditto - great that this pesky problem might go away!
Casper
…On Wed, Jul 3, 2019 at 2:05 PM martinoorlandi ***@***.***> wrote:
Thanks for that @brocaar <https://github.com/brocaar>! That seems to
explain it and I hope the updated kernel may do the trick.
I’m happy to give it a test when it’s ready.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKHWQEWZO6N3Z36EQQJQKLP5SBXTANCNFSM4HI7Y24A>
.
|
Could one of you test this image: https://www.dropbox.com/sh/yofdcrwp6jqk4vc/AABN6IJWtb2-_eqPjITy7Vhba?dl=0&lst= ? This:
(this is a build of https://github.com/brocaar/lora-gateway-os/tree/v3). |
@brocaar Thanks for the new build. The ethernet issue seem to be solved for me! I've tested on the same environment: RPi 3B+ with a RAK2245 concentrator, 5V 2.1A power adapter and ethernet cable plugged in (no HDMI or anything else). Every time it boots up and connects to the network gets its IP fine, no issue at all. I will keep an eye on it to see if it happens again, but it seem quite promising that I have not managed to reproduce the issue with the new build! Thanks! |
That is great news @martinoorlandi and thanks for testing! |
This has been released: https://forum.loraserver.io/t/release-lora-gateway-os-v3-0-0test1/5299. |
are you sure that it works?? |
Hi,
Works for me.
Casper
…On Sun, Aug 4, 2019 at 11:24 AM fabioetec ***@***.***> wrote:
are you sure that it works??
for me doesn't work at all!!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKHWQCQ72EAPO4J2INGARTQC3YCZANCNFSM4HI7Y24A>
.
|
Hello, |
I'm finally able to reproduce the issue. It seems it is not only related to the HDMI, but also the speed of the SD card. I was only able to reproduce this using a faster / more expensive SD card. See also the above issue I have created. |
I think I have found the issue. I believe the boot fails because of the initramfs in some cases. When forcing the HDMI output, this error is unfortunately not visible. In most cases all is fine, however depending the speed of the sdcard, the block-device might not be available yet and the initramfs fails to mount the rootfs. Somehow, connecting the HDMI affects timing of the boot. |
So, do You have some idea to solve this issue (so that it would be works regardless of the speed of SD card) ? |
Yes, see the above commit. This will be included in the next release. |
Try another SD card. An older 8 GB SD card that works fine with Raspbian did not work for me with the ChirpStack full image. A newer 32 GB card works. This was with
|
I see this is fixed so I will need to update, but as I could not find it when googling and I get it with the HDMI cable attached sometimes, I write a short note here if someone else needs to see it. I use a Raspberry 3B+ with a Sandisk card detected "new high-speed SDIO card at address 0001" is detected. The error message is: mount: mounting /dev/mmcblk0 on /mnt/root/ failed: no such file or directory This happens about 1 time out of 4 reboots with a HDMI cable attached. |
@andershedberg actually, the HDMI is not the reason why it was failing. It was because of a race-condition in the boot process (maybe a HDMI cable changes the timing, but it is not the real fix). This was the real fix: |
yes, my earlier solution to this was to change the display settings in the boot-configuration like in this thread https://www.raspberrypi.org/forums/viewtopic.php?t=11259 It helped, but not always. Glad it was something as simple as a 1 second sleep and the root cause was found! as the gateways caused me sleepless nights and got me into running Mikrotiks gateways this year ;-) |
Hi,
I loaded this image onto the raspberry pi, but it doesn't seem to boot to ssh unless I have HDMI (or a HDMI dummy) attached to the PI.
There is also a reference to this on the forums: https://forum.loraserver.io/t/lora-gateway-os-not-booting-with-out-hdmi-or-keyboard/4126/3
The text was updated successfully, but these errors were encountered: