IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 20 March 2021   (all times are UTC)

00:03GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 264 seconds)
00:05GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
00:21Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds)
02:39GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 265 seconds)
05:23vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
08:46uumas2 has joined IRC (uumas2!uumaskapsi@gateway/shell/matrix.org/x-dbjruuyfhpircger)
08:46uumas has left IRC (uumas!uumaskapsi@gateway/shell/matrix.org/x-qljhwjcvyqpkhclq, Ping timeout: 240 seconds)
09:22ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:31woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
11:42Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
13:01Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds)
13:02Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0)
13:28Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:85ba:b9d4:7b25:b2d0, Ping timeout: 265 seconds)
13:44dsj2 has joined IRC (dsj2!~David@70-237-72-173.lightspeed.chrlnc.sbcglobal.net)
14:20woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 264 seconds)
14:22woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
14:22woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Client Quit)
14:23woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
14:36woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Remote host closed the connection)
15:10woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
15:41woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Remote host closed the connection)
15:42woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
16:11shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
16:12
<shrenik>
Hi alkisg
16:12
Trying to boot RPi4 with Ubuntu Mate 20.04
16:13
All set. First attempt complained of missing recover4.elf recovery.elf start4.elf start.elf
16:13
<alkisg>
Hi shrenik; this isn't a problem, rpi tries various files until it finds the correct one
16:14
<shrenik>
Found and copied start.elf and start4.elf from /boot on rpi to /var/lib/tftpboot i.e. the tftp root.
16:14
Next attempt it is just showing the colourful screen of RPi4
16:16shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Client Quit)
16:16shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
16:18
<shrenik>
I missed your message as I got logged out. And they are not in logs.
16:18
Was trying to share image with you.
16:20
Okay. Got your msgs. It eventually failed by finding none in tftproot
16:20
Hence I had to copy manually.
16:20
<alkisg>
shrenik: tftp is at /srv/tftp
16:21
`ltsp kernel` symlinks them properly
16:21
<shrenik>
I have set it custom to /var/lib/tftpboot
16:21
<alkisg>
Follow https://ltsp.org/docs/installation/raspios/
16:21
OK
16:21
<shrenik>
I have made appropriate changes in ltsp.conf as well as I pass the param for each ltsp command.
16:23
Yes I followed the raspios guide. I had a rpi ready with Ubuntu Mate 20.04 so I just created a chroot image of the same.
16:23
<alkisg>
OK, what is the problem that you're seeing?
16:24
<shrenik>
The only files copied over into /var/lib/tftpboot/ltsp/raspimssos/ are vmlinuz and initrd.img
16:24
Now just the multicolour screen on rpi
16:24
<alkisg>
What's the output of `ls -l /srv/tftp` ?
16:24
And of `ls -l /var/lib/tftpboot`, both of them
16:24
Put them to pastebin
16:25
<shrenik>
Server logs say that it did get the start.elf and start4.elf
16:25
On server /srv/ltsp is empty
16:29shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Quit: Ping timeout (120 seconds))
16:31shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
16:31
<shrenik>
https://pastebin.com/hQAwj07B
16:32
Sorry for the slow responses. Am on phone.
16:34GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
16:39
<shrenik>
I am checking again if I may have missed some crucial step
16:46woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 256 seconds)
16:46
<shrenik>
So I did not do the very initial steps since I was using a pre-installed Ubuntu Mate.
16:46
mount -o ro /dev/loop8p1 /mnt
16:46
cp -a /mnt/. /srv/ltsp/raspios/boot/
16:48woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
16:49
<shrenik>
In ltsp.conf, set RPI_IMAGE to the chroot name. This will be used by ltsp kernel to generate the appropriate symlinks from /srv/tftp/* to /srv/ltsp/raspios/boot/*.
16:49
But ltsp kernel does not try to create any such symlinks
16:56shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Ping timeout: 240 seconds)
17:03shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
17:04
<shrenik>
alkisg : okay, I see the code and where I messed up
17:04
<alkisg>
shrenik: nice
17:05
<shrenik>
Wondering why rpi_image function was not invoked.
17:05
Got that too. :)
17:08
alkisg : is /dev/loop8p1 /boot or /boot/firmware?
17:09
<alkisg>
shrenik: on the server or on the client?
17:09
<shrenik>
When you are doing this on the rpi*.img
17:10
[10:16:47 pm] <shrenik> mount -o ro /dev/loop8p1 /mnt
17:10
[10:16:47 pm] <shrenik> cp -a /mnt/. /srv/ltsp/raspios/boot/
17:11
Are you copying all contents of /boot from the image onto the destination base directory?
17:11
<alkisg>
From the image boot partition, which is partition 1, to the inside of boot/ in srv
17:12
<shrenik>
Great. Thanks.
17:12
<alkisg>
The first boot partition of rpi images, is mounted in the sd card /boot
17:12
So I'm just putting them in the correct folder
17:19shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Quit: Ping timeout (120 seconds))
17:19shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
17:19
<shrenik>
I have bootcode.bin within firmware directory
17:20
That is under /boot/firmware/ . Hence the rpi_image function never gets called.
17:27shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Quit: Ping timeout (120 seconds))
17:32shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
17:33
<shrenik>
alkisg: now this after having symlinks created and attempting the boot https://photos.app.goo.gl/FEUbaed9Cj3W1EBVA
17:35shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Client Quit)
17:39shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
17:39
<alkisg>
shrenik: it's possible that ubuntu-mate is using a different firmware organization; I haven't tested with it. I would suggest that you make things up and running with my exact steps first, and then try to experiment with different distros etc
17:40
Raspberry netbooting isn't an exact science, they have a lot of loopholes there, and I've no time to support all rpi distros; one is more than enough :D
17:40
<shrenik>
I have two cmdline.txt . One in boot and another in /boot/firmware . So I got my second mess up.
17:41
<alkisg>
The proper way forward would be for them to support pxe properly, not various silly custom protocols :)
17:45shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Ping timeout: 240 seconds)
17:52shrenik has joined IRC (shrenik!6ee344d2@110.227.68.210)
17:53
<shrenik>
Copied over the cmdline.txt that we create. Yet same messages. Will continue tomorrow. :) Thanks.
17:53
<alkisg>
np
17:56shrenik has left IRC (shrenik!6ee344d2@110.227.68.210, Client Quit)
18:13vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
18:28adrianor1 is now known as adrianorg
18:40Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
18:45Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 265 seconds)
19:02Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
19:52dsj2 has left IRC (dsj2!~David@70-237-72-173.lightspeed.chrlnc.sbcglobal.net, Ping timeout: 256 seconds)
21:17GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 276 seconds)
21:21GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
21:53ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:59GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 256 seconds)
22:15GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
23:03woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Remote host closed the connection)