libera/#devuan-arm/ Thursday, 2024-05-16

gnarfaceagneli: you happen to have a bannanapi m3?03:31
agnelignarface: unfortunately not06:34
agneliwhat do you need :)06:34
gnarfaceagneli: nomia here was trying to boot the SD image for daedalus and chimaera on one06:37
gnarfaceno display output is happening06:37
agneliis there any ubuntu or something official image?06:49
agnelind does it boot on that particular board?06:49
nomiai got some armbian images but they loop thru the boot process and reboot until they get tired and stop06:57
agnelihttps://wiki.banana-pi.org/Banana_Pi_BPI-M3#Linux06:57
agneliso nothing official boots?06:58
nomiai think they are trying to run the firstboot script and resize the partition etc06:58
agneliare there any logs avaliable?06:58
nomiaidk06:59
nomia(: it's all systemd06:59
agnelibut if that is really some initial script06:59
agnelithat means sytem is fully booted06:59
agneliand dmesg should be there, no?07:00
nomiai mean07:00
agneliach not really....07:00
nomiai guess the kernel boots and it is doing stuff07:00
nomiabut i can't login07:00
agnelinomia: we need hard facts...07:01
agnelifirst I would make sure debian boots07:01
nomiaya idk how to get logs out of this thing07:01
agnelisecond I would obtain debian kernel sources07:01
agnelithen debootstrap devuan07:01
agneliand mount it ismewhere and compile the kernel from debian source07:02
agnelinomia do you have access to serial console07:02
agneliof that board?07:02
nomianot yet07:02
nomiano usb serial adapter07:02
agnelithat would be the easiest07:03
agneliiiuw board does boot but gets stuck on some script07:03
nomia(: ya i agree now07:03
agneliand since we have no display we have no idea about where it gets stuck07:04
nomiaother distro's boot but devuan is just dead screen07:04
nomiaidk if devuan even loads a kernel or anything07:04
agneliso you do have display of the other distro?07:05
nomiayes07:05
agneliwhat are the messages there07:05
agnelinomia first really boot something fully07:05
agnelithen devuan :)07:05
nomiatoo fast to read anything but it looks like normal boot msgs07:05
agnelii mean something _official_07:05
agneliyou have some descen smartphone?07:05
nomialots of lines of stuff and [ok]'s07:05
agnelido this 20 frames per soecond07:06
agneli*24007:06
agneliand watch in slow motion07:06
nomialol07:06
nomia(: brilliant07:06
agneliand what is the last line? :)07:06
nomiaok i need to find a distro that does smth07:07
nomiado u know how to get systemd logs from /var if I mount the sdcard?07:10
agnelidmesg is there, no?07:10
agnelii have 0 exp with systemd07:10
agnelii guess just mount it07:11
agnelichroot there07:11
agneliand use whatever any systemd ttorial tells you to use07:11
nomiai can't run binaries in chroot?07:11
agnelijust remember this is arm :)07:11
nomiaya07:11
agneliyou can07:12
agnelibut you have to have same isa07:12
nomiaalso idk how to set the clock07:12
agneliit htis is aarch64 then  you need similar cpu07:12
nomiaso idk if time stamps are legit07:12
agneliwhere you chroot07:12
agnelior use qemu07:12
agneliis the clock important? dmesg just outputs seconds stince the start07:13
agneliam I wrong?07:13
nomiai think so07:13
nomiabut idk if dmesg even has a log file07:14
nomiai don't see anything dmesg in /var07:14
agnelisyslog?07:15
agneliaby log?07:15
agneli*any07:15
gnarfacenomia: i just use ntpdate to set the time for stuff i'm not gonna leave on, and ntpd for stuff i am07:17
agnelihttps://en.wikipedia.org/wiki/Dmesg07:19
nomiai think systemd puts logs somewhere weird07:23
nomianot in /var/log07:23
agneliwhat systemd has to do with kernel buffer?07:23
agnelii am not sure it is relevant07:24
agneliunless it does not create syslog...07:24
nomiahow can i save kernel buffer and read it later?07:25
agnelihttps://en.wikipedia.org/wiki/Systemd07:25
nomialrwxrwxrwx 1 root root   16 Mar 20  2023  default.target -> graphical.target07:27
agnelihttps://www.loggly.com/ultimate-guide/linux-logging-with-systemd/07:27
nomiai switched that to multi-user.target07:27
agneliyou mean you changed the link?07:28
nomiabut it still goes black after boot msgs07:28
nomiaya07:28
agneliiirc it should work07:28
agnelinomia: I was not joiking about a smartphone07:28
nomia(: i know07:28
agnelithis is not windows, there is no point in wasting time on guessing07:29
agneliwhen we can gather hard facts07:29
nomiai thought it would stop at login if i disabled graphical.target07:29
nomiathen i could run log commands07:29
agneliwell i believe modern frame buffer is not really text anymore07:30
gnarfacenomia: dmesg > dmesg_output.txt07:34
gnarfaceany command, you can dump the output to a text file by using the ">" operator07:35
gnarfaceand as for where systemd put the logs... don't be so sure there even are any07:35
gnarfaceby default i think there are actually not, but you'd use journald to read them after enabling it but BEFORE rebooting somehow (not that that's gonna help you in this case)07:36
agnelii pasted an article that looks sane bove07:36
agneliand I guess "default" depends on a particular distio07:37
agneli*distro07:37
nomiagnarface: (: i have to boot first07:54
nomiaif i could boot a distro i would be almost done07:54
agneliif what your telling is correct08:00
agneliyou _are_ booting a distro08:00
agneliyou just need to tell us what _exactly_ is wrong08:00
agnelithen gnarface will solve your issues in an instant I am 100% sure :)08:01
agneliand get the console :)08:02
nomiawell i can't get the serial console until i buy a usb adapter08:03
nomia(: and i don't think booting a distro that unboots after 2 seconds counts08:04
nomiait might even be less than 2 seconds08:04
nomiai really need a tripod for this08:14
nomia): this video is too shaky and out of focus to read tiny fonts08:17
gnarfacenomia: you could use ffmpeg to split the frames into individual files09:28
nomiagnarface: i am using mpv to slow down to 1 frame but they were all too bad10:12
nomia(: i broke the rules and did up and down orientation and it is slightly better10:12
agnelii do not believe it needs to be super clear ;)18:02
agneliand can your phone display the video shot by shot?18:02
agnelithen just do a screenshot and post somewhere...18:02
agnelinomia: what does it mean unboots? :) :) :)18:03
agneliis not buying and adapter the fastest and pretty cheap options?18:03
agneliwhat does it takes on alliexpress? $1? probably shipping and customs included18:04
agneliand you do not need a table nomia - just put your elbows on the table, use them as a tripod18:20

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!