Latrina | Hello folks. Does anyone run devuan on a rpi4b? | 20:22 |
---|---|---|
Latrina | Whenever I try to boot the devuan_beowulf_3.1.0_arm64_rpi4.img image I get a PCI reset error | 20:23 |
Latrina | this is the only distro that has ever given me this error | 20:23 |
Latrina | I tried multiple rpi4s, same issue. | 20:23 |
Tenkawa | Latrina: where did you get the image? | 20:32 |
Tenkawa | which source? (have a few different ones now) | 20:33 |
Latrina | hey Tenkawa. Got it from here https://arm-files.devuan.org/ | 20:33 |
Tenkawa | ok.. just a sec | 20:34 |
Tenkawa | going to copy it to one of my test units | 20:34 |
Latrina | thanks | 20:35 |
Latrina | this guy said it is working for him https://dev1galaxy.org/viewtopic.php?pid=30209#p30209 | 20:36 |
Latrina | but then how come none of my 5 rpi4b's like it? | 20:36 |
Tenkawa | how did you copy it to media? | 20:38 |
Tenkawa | you unzipped it first then dd 'it right? | 20:39 |
Latrina | exactly | 20:41 |
Tenkawa | what power are you feeding the pi 4 with? | 20:41 |
Latrina | don't know but its the original PSU | 20:43 |
Tenkawa | ok | 20:43 |
Tenkawa | this is the one you are trying to install right? | 20:43 |
Tenkawa | https://arm-files.devuan.org/devuan_beowulf_3.1.0_arm64_rpi4.img.zip | 20:44 |
Latrina | yes | 20:44 |
Tenkawa | ok | 20:44 |
Tenkawa | oh… does it start to console boot then stop outputting to screen? | 20:45 |
Latrina | It dies before booting the kernel | 20:47 |
Latrina | PCI reset is the last message before start4l something | 20:48 |
Tenkawa | ok .. that could be the same problem do you use video or uart? | 20:48 |
Latrina | I use uart | 20:50 |
Latrina | :( | 20:50 |
Latrina | does it work for you though? | 20:50 |
Tenkawa | do you have enable_uart=1 set in config.txt? and possibly /etc/inittab will need a getty line enabled | 20:51 |
Tenkawa | still downloading | 20:51 |
Tenkawa | ok just finished.. let me put it on the card | 20:52 |
Tenkawa | uart requires settings to be enabled btw | 20:52 |
Latrina | Tenkawa, yes I do have enable_uart=1, else it wouldn't work | 20:53 |
Latrina | as for /etc/inittab, that is likely not the issue since not even the kernel is booted | 20:53 |
Tenkawa | well… technically it will work.. you just won't see the console | 20:53 |
Latrina | yeah but I see the console | 20:53 |
Latrina | that is what I meant :) | 20:54 |
Tenkawa | no.. you see the pre-boot | 20:54 |
Tenkawa | the kernel isnt finishing | 20:54 |
Tenkawa | let me grab my uart cable so I can emulate this the same way | 20:55 |
Tenkawa | dd'ing now | 20:56 |
Latrina | thanks for the help | 20:57 |
Tenkawa | np… ok about to plug it up | 20:59 |
Latrina | toes crossed it doesn't work :P | 21:05 |
Tenkawa | [ ok ] Starting OpenBSD Secure Shell server: sshd. | 21:05 |
Latrina | 0_0 | 21:05 |
Latrina | it booted ? | 21:05 |
Tenkawa | yeah | 21:06 |
Tenkawa | I didnt fill out the cred txt so it didnt populate net params and userid stuff | 21:07 |
Tenkawa | but it got to that point | 21:07 |
Tenkawa | Expanding root filesystem ... | 21:07 |
Tenkawa | [ 13.763757] EXT4-fs (sda2): resizing filesystem from 410538 to 14950395 blocks | 21:07 |
Tenkawa | [ 14.594674] EXT4-fs (sda2): resized filesystem to 14950395 | 21:07 |
Tenkawa | Running fsck on boot partition ... | 21:07 |
Tenkawa | etc | 21:07 |
Latrina | I dont know what to say | 21:08 |
Latrina | I guess I am glad it worked for you | 21:08 |
Latrina | is it a rpi 4b? | 21:08 |
Tenkawa | yep | 21:09 |
Tenkawa | Machine model: Raspberry Pi 4 Model B Rev 1.1 | 21:09 |
Tenkawa | redoing the boot again with the creds so I can get a full boot | 21:10 |
Latrina | so what could the issue be then? | 21:11 |
Latrina | this is very odd | 21:11 |
Latrina | and this is the only distro I have this issue with | 21:11 |
Latrina | might it be the bootloader version? | 21:11 |
Tenkawa | any clue how old your eeprom is? | 21:12 |
Tenkawa | I tell people to try to keep them up to date | 21:13 |
Latrina | let me see | 21:14 |
Latrina | how can I see that? | 21:16 |
Tenkawa | if we ported the pkg (I can't remember if we put it in the images or not..) it would be listed if you run sudo rpi-eeprom-update | 21:17 |
Latrina | VL805_FW: Using bootloader EEPROM | 21:20 |
Latrina | VL805: up to date | 21:20 |
Latrina | CURRENT: 000138a1 | 21:20 |
Latrina | LATEST: 000138a | 21:20 |
Tenkawa | need the other section | 21:21 |
Tenkawa | thats the vl.. need the eeprom section | 21:21 |
Latrina | CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685) | 21:21 |
Latrina | LATEST: Thu 29 Apr 16:11:25 UTC 2021 (1619712685) | 21:21 |
Tenkawa | thats a bit older... | 21:21 |
Tenkawa | july 6 is current stable | 21:22 |
Tenkawa | but it shouldnt cause that | 21:23 |
Latrina | I can update it | 21:27 |
Latrina | and give it another try | 21:27 |
Latrina | I can't think of anything else outside of that | 21:28 |
Tenkawa | ok.. it gets to random stages here too and hangs | 21:34 |
Latrina | like where? | 21:38 |
Latrina | you certainly get to boot it at least | 21:39 |
Latrina | I don't | 21:39 |
Tenkawa | always past root mount and into init 2 stage | 21:42 |
c0rnelius | What kernel revision is that img running? | 21:54 |
Tenkawa | ls -l /ext/lib/modules/ | 21:59 |
Tenkawa | total 4 | 21:59 |
Tenkawa | drwxr-xr-x 3 root root 4096 Feb 28 11:40 5.10.17-v8 | 21:59 |
Tenkawa | that | 21:59 |
c0rnelius | Well thats pretty. | 22:00 |
c0rnelius | old | 22:00 |
Tenkawa | dont ask me.. | 22:01 |
Tenkawa | I didnt build it | 22:01 |
Tenkawa | I run 5.13 on everything | 22:01 |
c0rnelius | Latrina: try one of these if you will - https://github.com/pyavitz/rpi-img-builder/releases/tag/images | 22:02 |
Tenkawa | c0rnelius: yeah I was about to build a new image too | 22:02 |
c0rnelius | They are built using the same builder that made that img. | 22:02 |
Latrina | c0rnelius, okay man, will give it a try shortly. Thanks | 22:02 |
Latrina | downloading it now | 22:04 |
Tenkawa | building a devel one to test here too | 22:05 |
Tenkawa | with some trace | 22:05 |
Tenkawa | c0rnelius: going to use the cm4 to build it instead of the n2+… might be a bit cleaner | 22:06 |
c0rnelius | I don't think it really matter where you build it, Tenkawa. | 22:07 |
Tenkawa | yeah it "shouldn't" but this is broadcom so who knows lol | 22:08 |
c0rnelius | More important that the version of GCC matches the img more than anything. | 22:08 |
c0rnelius | true enough | 22:09 |
Tenkawa | just waiting to see how many days it will take the foundation to fix the latest dtb patch | 22:09 |
Tenkawa | it breaks anything that uses bcm2835 | 22:09 |
c0rnelius | Pretty sure some of that got backported to 5.10 LTS. | 22:10 |
Tenkawa | no.. the mainline kernel fixes are what broke everything | 22:11 |
Tenkawa | now there is a dtb disconnect | 22:11 |
c0rnelius | Yes. But what I am saying is, its now across revs. Its not just 5.13 and 5.14. | 22:11 |
Tenkawa | the tree disconnects and the branch duplicates | 22:12 |
c0rnelius | they moved stuff from dts to dtsi and whatnots | 22:12 |
c0rnelius | The current patching from mainline doesn't take that into account so ur getting dups | 22:12 |
Tenkawa | yes but the problem there is until they fix it in foundation… its going to break our builds | 22:12 |
Tenkawa | since we have to have both | 22:13 |
c0rnelius | Well. I blame them :) | 22:13 |
Tenkawa | and mainline is still missing a fair amount of code | 22:13 |
c0rnelius | Its a wait and see for us. | 22:13 |
c0rnelius | I was reading what Robin said about mainline uboot for the n2 (same error on c4) and that the problem in not so many words is that it is fundamentally broken. Which sounds to me like that little kernel patch which reverts nomap changes made in 5.10 is probs gonna be the only fix for a whiles. | 22:24 |
c0rnelius | And I confirmed today that the patch also fixes the Reserved memory error on the C4. Although that board doesn't lock up because of it. | 22:26 |
Tenkawa | interesting.. | 22:29 |
Tenkawa | more /etc/devuan_version ; uname -a | 22:39 |
Tenkawa | chimaera/ceres | 22:39 |
Tenkawa | Linux rpi4-3 5.13.4-tenkawa-v8 #1 SMP Mon Jul 26 16:09:06 EDT 2021 aarch64 GNU/Linux | 22:39 |
Tenkawa | my new image works on rpi4 | 22:40 |
Latrina | c0rnelius, same problem with latest build I am afraid. Logs here https://pastebin.com/A3VHR56V | 23:20 |
Latrina | nevermind, I have a ssh prompt | 23:21 |
Latrina | :S | 23:21 |
Latrina | though I ccant see the boot process? | 23:21 |
c0rnelius | Thats what I was gonna ask | 23:21 |
c0rnelius | I don't have a uart cable so I can't test that | 23:21 |
Latrina | I am in lol | 23:22 |
Latrina | that's utterly emberassing | 23:22 |
Latrina | I am so happy it works | 23:22 |
c0rnelius | After ur setup, reboot and let me know if uart works. | 23:22 |
Latrina | yup | 23:22 |
c0rnelius | I think its got something to do with firstboot, but since I can't test it myself I'm not sure how to resolve the issue. | 23:23 |
Latrina | oh uart is disabled in config.txt | 23:23 |
Latrina | I see | 23:23 |
Latrina | yeah uart works fine. I just needed to enable it | 23:25 |
c0rnelius | well thats good to know | 23:26 |
Latrina | actually uart hangs at [ ok ] Starting OpenBSD Secure Shell server: sshd. | 23:27 |
Latrina | I sense this could be the uart to mini-uart mapping thing with getty | 23:28 |
Latrina | I will figure it out later | 23:28 |
Tenkawa | you might still need to edit inittab for that | 23:28 |
Tenkawa | I run mine headless so I just ssh in | 23:29 |
Tenkawa | its running nicely now | 23:29 |
c0rnelius | I won't be able to help there. I don't have the equipment so no way for me to test. | 23:29 |
Tenkawa | can't decide which argon unit to use now though | 23:29 |
Tenkawa | might just keep this on my 4gb and leave the m.2 debian on the 8gb unit | 23:31 |
Tenkawa | (still got 4 more after that lol) | 23:31 |
Latrina | no worries c0rnelius . You helped enough :) | 23:31 |
Latrina | btw, what is the default rc service for the rpi4 image? | 23:43 |
Latrina | OpenRC clearly isn't :/ | 23:43 |
Latrina | nevermind | 23:45 |
Latrina | weird most of the runit commands are missing :S | 23:54 |
c0rnelius | By default it doesn't use runit | 23:56 |
c0rnelius | sysvinit | 23:56 |
Latrina | oh cool | 23:56 |
Latrina | can it be replaced with OpenRC? | 23:56 |
c0rnelius | If its available in packaging I would assume it could, I've never personally tried. Although some pi specific inits would need to be ported over I would assume? | 23:58 |
Latrina | no clue | 23:59 |
Latrina | I never used devuan before to be honest | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!