dgilmore changed the topic of #fedora-riscv to: Fedora on RISC-V https://fedoraproject.org/wiki/Architectures/RISC-V || Logs: https://libera.irclog.whitequark.org/fedora-riscv || Alt Arch discussions are welcome in #fedora-alt-arches
kalev has quit [Ping timeout: 240 seconds]
kalev has joined #fedora-riscv
sharkcz has quit [Server closed connection]
sharkcz has joined #fedora-riscv
tg has joined #fedora-riscv
tg_ has joined #fedora-riscv
tg has quit [Ping timeout: 265 seconds]
_whitelogger has joined #fedora-riscv
zsun has joined #fedora-riscv
tg_ has quit [Quit: tg_]
zsun has quit [Quit: Leaving.]
<Entei[m]> Got this error while rebuilding gcc... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/7804f0738899de70ba29f08be567df2d0390f6fa>)
<davidlt[m]> Check the logs for gimple-match.o. What happened to it?
<davidlt[m]> Do you have enough storage/memory too on that VM?
<Entei[m]> davidlt[m]: I had resized the image to have +50GB using `qemu-img` utility
<davidlt[m]> Check that you didn't ran out of free space, just in case.
<davidlt[m]> You also need to expand partitions afterwards.
<Entei[m]> davidlt[m]: I thought qemu image would expand dynamically as needed, at least that's what I read on some stackoverflow link
<thefossguy> davidlt[m]: how ironic (I'm trying out NixOS (feels awesome btw, I understand the hype) and I have a 100% full `/` of 16GiB)
<Entei[m]> <davidlt[m]> "Check that you didn't ran out of..." <- ```sh... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/57a2a36f4c13c67cea308aa5f4d6568ac2bed6f4>)
<Entei[m]> What utility should I use to properly expand the image?
zsun has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
unlord has quit [Ping timeout: 255 seconds]
<davidlt[m]> Check Fedora RISCV wiki page. There should be instructions somewhere.
<davidlt[m]> There are several ways to do it.
<davidlt[m]> You can do it online with resize2fs
<Entei[m]> davidlt[m]: Yeah checking this right now. Reading some article currently
zsun has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
zsun has joined #fedora-riscv
<Entei[m]> I followed this [article](https://gist.github.com/zakkak/ab08672ff9d137bbc0b2d0792a73b7d2). After using fdisk to recreate the partition `/dev/vda2`, and rebooting, the system seems stuck. Systemd reaches this stage
<Entei[m]> ```
<Entei[m]> Reached target basic.target - Basic System.
<Entei[m]> ```
<Entei[m]> I had tried the instructions on Fedora [wiki page](https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Optional:_expand_the_disk_image) but resizing stage failed.
<davidlt[m]> You might need to start fresh.
<davidlt[m]> Unless you use qcow layer on top of a base image.
<Entei[m]> davidlt[m]: oh...alright
<Entei[m]> <Entei[m]> "I had tried the instructions..." <- Ah well I am an idiot, I was trying to verbatim copy pasting in haste. The command here specified /dev/sda4, when (at least on this Fedora 38 image) it should be /dev/sda2
<Entei[m]> It's now resized
<davidlt[m]> Yes, QEMU has a different partition layout.
<davidlt[m]> It doesn't incl. partitions for firmware (board specific).
<davidlt[m]> Until we have proper RVI standards images are per target (i.e. board) instead of one common image.
<davidlt[m]> That incl. partition layout changes, different firmware setup, different boot args passed to the kernel.
<Entei[m]> davidlt[m]: Oh yeah I forgot F37 image is one common image for sifive board and qemu.
<davidlt[m]> Yeah, because you can ignore firmware partitions :)
<davidlt[m]> And QEMU kinda mirrors SiFive stuff (well, at least originally).
<davidlt[m]> The kernel itself is the same for all the targets.
jcajka has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
tibbs has quit [Server closed connection]
tibbs has joined #fedora-riscv
<davidlt[m]> <rwmjones> "davidlt: FYI https://github.com..." <- replied
<davidlt[m]> I am surprised we there was "riscv" arch string.
<rwmjones> yeah surprising .. I think we added it because it looked like how other arches worked
<davidlt[m]> Well kernel just has "riscv" as arch.
<davidlt[m]> But then it's never actually used outside folder structure.
unlord has joined #fedora-riscv
aurel32 has quit [Quit: leaving]
aurel32 has joined #fedora-riscv
zsun has joined #fedora-riscv
guerby has quit [Server closed connection]
guerby has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
jim-wilson[m] has joined #fedora-riscv
jcajka has quit [Quit: Leaving]