libera/#devuan-arm/ Saturday, 2021-06-26

tuxd3vusb port on bananapi m2 zero was tested and its working ok :)00:39
tuxd3vzmoment, sorry only now am I reading the logs :)00:41
tuxd3vyeah QEMU_EFI, is correct its the one I used to make the instalation..00:42
tuxd3vFylesystem should use around 1Gb or 1.1GB for a base install, its the Idea I have , also00:42
tuxd3v320MB should be now the minimum to start the installation process, fetch installer, tools, and install stuff..00:43
tuxd3v320Mb is the base minimum, I tested with 256MB Ram first, and after 7 hours it broke down, so I pushed for 320MB, and even so there are some moments in the process, like kernel updates initramfs, and such, and slow down a lot but it succeeds..00:44
tuxd3vSo I take 320Mb as the minimum for the mini.iso :)00:45
tuxd3vthe EFI shell asks about that file 'startup.nsh'00:46
tuxd3vindeed..00:46
tuxd3vyou created the file with:00:49
tuxd3v'\EFI\debian\grubx64.efi'00:49
tuxd3vcontent?00:49
tuxd3vguess in my case would be different, but around the same way..00:50
tuxd3vI tested 32 bits version because you were already testing 64 bits version :)00:50
tuxd3vthe Idea, get both tested ;)00:51
zmomenttuxd3v: yes, created the startup.nsh with \EFI\debian\grubaa64.efi, note the aa00:52
zmomentbut does your boot fine?  mine stops at the grub prompt.  Can't get the menu from grub00:53
tuxd3vmine shows me that error:https://paste.debian.net/hidden/b86263f1/00:55
tuxd3vthen is retires to booot from diferent devices, later it enters EFI shell, but at beguining indeed it laks about that 'startup.nsh' script file..00:56
tuxd3vfor what I understand the EFI partition should be mounted on /boot/efi, right?00:56
tuxd3vI have this in fs0:00:59
tuxd3vEFI\devuan\grubarm.efi00:59
zmomentyours is different from mine, since your system is 32 bit and mine 6401:00
tuxd3vindeed01:00
tuxd3vbut mine has a 'devuan' folder intead of debian , yours also?01:01
zmomentyes it has.  Sorry, I copied it from a similar debina installation that I made to see if the boot process was fine, and it isn't.  Suffers from the same problem.01:03
zmoment/dev/vda1 on /boot/efi type vfat01:04
tuxd3vafter the creation of that script file, everything went smooth:01:37
tuxd3vhttps://paste.debian.net/hidden/711ce410/01:37
tuxd3vgrub was ok for me01:37
tuxd3vit just creates the fstab entries with UUID :D01:37
tuxd3vwhen I try to start the vm, I need to wit the system trying pxe ipv4, then pxe ipv6, and only then EFI, around 1 minute or a bit more..01:42
tuxd3vyou also have this problem?01:42
zmomentbut have you rebooted to check if it boots to the grub menu without stops?01:43
tuxd3vwit-> wait01:43
zmomentmine takes maybe a minute yes01:43
tuxd3vyes, I shutdown and started again, and when in EFI it goes strait to grub menu to choose what to do..01:44
zmomentdid you place those uuid entries in /etc/fstab yourself?01:45
tuxd3vSo initially it always do that stop about a minute trying pxe boot..01:45
tuxd3vno, the system created the UUIDS, I then replaced then with the classic locations :)01:46
tuxd3vafter the pxe trying to boot, it goes to EFI, and its were it runs the script, then immediately it shows grub menu01:47
zmomentok, tomorrow I'll try again. Now it's late, have to sleep. Thank you tuxd3v01:48
tuxd3vzmoment, what is the behaviour you are geting after the PXE try?01:48
tuxd3vyou welcome, I also wanted to test the mini.iso :)01:49
tuxd3vin the script I put there:01:50
tuxd3vEFI\devuan\grubarm.efi01:50
zmomentAt the efi it asks whether I want to continue or something else, I dont' recall01:50
tuxd3vsaved, and retried..01:50
tuxd3vbut it showld show you a countdown to run the script01:50
tuxd3vafter that countdown expires, it should jump on grub01:51
zmomentto grub yes, but to a prompt, not to the menu01:51
tuxd3vho..01:51
zmomentTomorrow I keep you informed.  Bye01:52
tuxd3vCya tomorrow01:53
tuxd3vBye01:53
tuxd3vtomorrow will try the mini.iso aarch64 on qemu :)05:35
tuxd3vc0rnelius, you are olaying now for Denmark..19:27
tuxd3vplaying..19:27
zmomenthi tuxd3v.  I did some more installation tries.  The last one for debian9, the system could boot automatically.  I did a manual partitioning as always, but this time, the disk was set as /dev/vdb.  Is yours vda or vdb?19:36
tuxd3vwhen you are in the installer, vda is the ramfs with the installer and stuff, vdb is your install target19:38
tuxd3vĨ am also trying to do a install for aarch64, but I believe my mini.iso is not ok, I will download it again and retry after..19:39
tuxd3vI set 1 Partiton as EFI, with 256MB, and a second one with the rest of 2GB disk(second partition), for /19:40
tuxd3vthe grub install process is one of the last things that ocurr in the installer..19:40
zmomenttuxd3v: maybe this is the culprit of my problem.  I am (was) doing debian and devuan installations side by side.  For Debian, this time, the disk is vdb.  For Devuan, it's vda.  See https://ibb.co/MVgm9Yq19:45
zmomentI'll check the init script to spot any difference that can justify that19:45
tuxd3vusually the ramfs disk( which is the one run by the installer), would be vda, because its the first disk, before even it advance to disk partitioning..19:56
tuxd3vin any case, we should always check, the disk size19:57
tuxd3vthe disk with the size we created we should install in it..19:57
tuxd3vbut yeah vdb should be the instaling disk..19:57
zmomentTried again, with the same script, except for the name of the disk file name and my devuan detects the disk as vda and the ram disk as vdb.  I'll finish the installation but I suspect It won't boot.20:03
Tenkawazmoment: if your disk is showing up as vd* its because you defined it as a virtio disk and not a specific disk format20:18
Tenkawathe backing may be many different formats but the os sees it as a virtio disk20:19
tuxd3vTenkawa, I beliebe its the order that he is talking about..20:21
tuxd3vall of them are vd* disks20:22
tuxd3vbut vda should be assigned to the ramdisk, of the instalkler..20:22
tuxd3vand vdb as the target20:22
zmomentIn the devuan there's -device virtio-blk-device,drive=drive0,bootindex=0 \  while in my script for debian there's -device virtio-blk,drive=drive0,bootindex=0 \    So, virtio-blk-device vs virtio-blk.20:22
Tenkawatuxd3v: he still needs to fix the mapping.. and are you sure the drivers are in his kernel?20:23
Tenkawaotherwise it wont see that to mount it in the guest20:23
Tenkawaespecially CONFIG_VIRTIO_BLK20:25
Tenkawabut if the installer saw it it should be fine20:26
Tenkawathe mapping methods for them are horrid20:27
tuxd3vI am even with a bigger problem, my 'qemu-system-aarch64' doesn't even launch the cdrom :/20:30
tuxd3vI am stuck there..20:30
tuxd3von 32 bits all was smoth20:30
Tenkawatuxd3v: you did set the cdrom device as a sata device right?20:32
Tenkawaor ide cdrom20:32
tuxd3vTenkawa, I believe by default its ide20:32
Tenkawanot if you change controllers20:33
Tenkawayou have to set it explicitly20:33
zmomentchanged the virtio-blk-device to virtio-blk, but still get the big disk as /dev/vda20:33
Tenkawazmoment: it will until you remap it20:34
Tenkawavda is always virtio device 120:34
tuxd3vin my previous 32 bits install vda was the ramdisk..20:35
zmomentHow to remap it in qemu?20:35
Tenkawatuxd3v: what architectures/partitions/drives?20:36
Tenkawatuxd3v: they all factor in together20:36
Tenkawazmoment: can you pastebin/post your startup command for your vm20:37
Tenkawaand be patient with my slow movement… currently healing with injuries to both arms (including main typing hand)20:38
tuxd3vqemu-system-aarch64 is not starting for me :(20:57
Tenkawaany errors?21:00
tuxd3vnope..21:07
tuxd3vit just doesn't start the cdrom..21:07
tuxd3vbut on 32 bits he does21:08
tuxd3vmaybe the mini.iso was corrupted..21:08
tuxd3vdownloading again..21:08
tuxd3vI suspect of a problem with the bios :/21:15
tuxd3vzmoment, does your bios work nicely?21:15
tuxd3vI am trying with 512M also tried with 1024M and still the cdrom doesn't boot :/21:16
tuxd3vthis is what I am trying:21:32
tuxd3vhttps://paste.debian.net/hidden/302ffdb0/21:32
tuxd3vfor 32 bits work21:32
tuxd3vfor aarch64 nope21:32
TenkawaI've never seen a "real" 64 bit arm machine boot from cd much less virtual21:37
Tenkawaonly 32 bit21:37
Tenkawait might not even be possible21:38
tuxd3vbut zmoment succeeded :)21:38
Tenkawayeah.. i just found a document… just a sec21:39
Tenkawaahh haa21:39
Tenkawatry this syntax:21:41
Tenkawaer syntax :21:41
Tenkawafile=mini.iso,if=none,id=drive1,cache=writeback -device virtio-blk,drive=drive1,bootindex=121:41
Tenkawayou will need to create efi firmware too with this:"21:42
Tenkawadd if=/dev/zero of=flash1.img bs=1M count=6421:42
Tenkawadd if=/dev/zero of=flash0.img bs=1M count=6421:42
Tenkawadd if=/usr/share/qemu-efi-aarch64/QEMU_EFI.fd of=flash0.img conv=notrunc21:42
Tenkawaand add this on your boot line21:43
Tenkawa-drive file=flash0.img,format=raw,if=pflash -drive file=flash1.img,format=raw,if=pflash21:43
Tenkawagot that from here:21:44
Tenkawahttps://futurewei-cloud.github.io/ARM-Datacenter/qemu/how-to-launch-aarch64-vm/21:44
tuxd3vI don't have /usr/share/qemu-efi-aarch64/QEMU_EFI.fd21:45
zmomenttuxd3v: I also posted a init script yesterday or two days ago21:45
tuxd3vzmoment, startup.nsh ?21:45
zmomentI'm using this https://termbin.com/732r21:46
Tenkawatuxd3v: you dont have to think so literal: /home/tuxd3v/Desktop/QEMU_EFI_arm.fd21:47
Tenkawaits experimenting time :)21:48
Tenkawayeah and zmoment's setup is much more what I expect to see21:50
Tenkawajust needs a few tweaks21:50
TenkawaI would highly recommend building the config with the virt-manager tool.. very useful tool21:51
Tenkawauses libvirt and can run multiple virtualization technologies…21:52
tuxd3vno way it simply refuses to load the mini.iso :(21:58
tuxd3vI don't know why21:58
tuxd3vin my system only 32 bits works out of the box :(21:59
tuxd3vIt will require a deep revision..22:00
tuxd3vho.-. for what I discovered if you add a cpu to it, it advances a bit22:06
tuxd3vbut not much..still interesting..22:06
c0rneliustuxd3v: what?23:36
tuxd3vDenmark team had a c0rnelius player :)23:37
c0rneliusOh... :)23:38
zmomentTenkawa: I prefer to use qemu instead of virt-manager, as the scripts can be used in other operating systems non-linux.23:44
Tenkawait can export the qemu cmds for you btw23:45
zmomentdidn't know that23:49
Tenkawayeah its very nice23:52
Tenkawait just builds a qemu cmdline with the xml it stores23:52
Tenkawaso it can export it out to text23:52
TenkawaI need to test it since I havent used that functionality in a long time23:53

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