Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Hey all! It's been quite a while since I've posted here! I recently got an iBook G4 second hand and I wanted to play with Void Linux on it. My main question right now is if I install a super base system (i.e. not install what the ISO has) and then once I have the repos up to date, would I simply type xbps-install kde or xbps-install etc and would it pull the proper dependencies like X11 etc? I've not used Void before, though I do use Funtoo on my AMD desktop, so I was wondering how XBPS works. Thanks in advance!
Yes once you install the base system and rebooted you should follow the post install instructions for PowerPC on the documentation (https://docs.voidlinux-ppc.org/configuration/post-installation.html). Once you followed you can install any combination you wanted of Desktop Environments, Window Managers etc. There's a lot of minimal guides of Void installs online or tutorials for you to learn on xbps (https://docs.voidlinux.org/xbps/index.html)
 
Hi, it's me again & stupid question :D.
Got some time to power on my G5Quad after holidays, to update Void, among other things. Upgrade completes without errors, but after reboot (with new kernel, 5.9.16, if memory serves me well) - got kernel panic, because kernel couldn't find root disk. What makes me wonder, how it could be, because more old kernel from 5.8 branch works without such stupid things. Am I only one who caught this error? (Sorry, no photos, not near machine atm.)
 
Hi, it's me again & stupid question :D.
Got some time to power on my G5Quad after holidays, to update Void, among other things. Upgrade completes without errors, but after reboot (with new kernel, 5.9.16, if memory serves me well) - got kernel panic, because kernel couldn't find root disk. What makes me wonder, how it could be, because more old kernel from 5.8 branch works without such stupid things. Am I only one who caught this error? (Sorry, no photos, not near machine atm.)
I don't know either what errors might have the 5.9.x kernel because I installed on my iMac G5 iSight via USB and with the stock ISO kernel (5.4) all USB works with my hub that I plug my keyboard and mouse (and works with OSX) but after the 5.9 update only the middle port work with the hub, but the other ports work fine, just the hub apparently it's the bug that I discovered with the kernel.
 
Yes once you install the base system and rebooted you should follow the post install instructions for PowerPC on the documentation (https://docs.voidlinux-ppc.org/configuration/post-installation.html). Once you followed you can install any combination you wanted of Desktop Environments, Window Managers etc. There's a lot of minimal guides of Void installs online or tutorials for you to learn on xbps (https://docs.voidlinux.org/xbps/index.html)
Okay so since I posted that here's an update:
Why is that happening?
 
Trip Report:

I finally got VoidLinuxPPC installed on the ol' Mac mini G4. The issues/bugs I found:

pmac-fdisk was particularly an issue. I did pmac-fdisk /dev/sda to partition my internal ssd, and it would hang, giving me no feedback as to its progress. Eventually, after trial and error and messing around with fdisk, I wiped the whole hard drive and got it to work. The trick was to wait a little bit (no idea how long) and press "return" again on the keyboard. It then gave me some feedback that a new partition map had been initialized. At that point, it was easy to follow the rest of the suggested directions from void-installer.

For whatever reason, this had not worked before, and even though I waited, it would show a partition only with 4 blocks or something. So weird. I do have a hunch that reformatting the hard drive as a whole did help.

Install was straightforward. Console only, it's nice and zippy, but I'm using the MUSL version and XFCE4 runs okay but the fans kick up a lot. I just saw the note that the ATI 9200 GPUs have issues with MUSL and OpenGL, so I may switch over to the glibc version in a bit to see how that goes. Maybe it will be a faster process this time.

One more addendum: The booting instructions for New World Macs in the Void Linux docs was also not really helpful. I've never gotten the "ud" / creating an alias to a USB drive to work. What has worked is to:

Code:
dev usb0
ls

Until I see the USB drive. Then I just type:

Code:
boot usb0/disk@1:,\intall\grub.img

Creating the alias just leads to LOADSIZE errors or a false boot. So strange.
I've noticed that too... I just tried to do what you said on an iBook G4 but it's not liking it... I'm trying to reimage the ISO to my USB stick using dd vs using balenaEtcher... The iRC channel that's often recommended's members (one in particular) aren't very helpful and they treat you like crap when asking for help... I hope I can get this working, because installing from a rootfs tarball isn't working and it's pissing me off lol.
 
I've noticed that too... I just tried to do what you said on an iBook G4 but it's not liking it... I'm trying to reimage the ISO to my USB stick using dd vs using balenaEtcher... The iRC channel that's often recommended's members (one in particular) aren't very helpful and they treat you like crap when asking for help... I hope I can get this working, because installing from a rootfs tarball isn't working and it's pissing me off lol.
I have no clear answer about your problems. One thing I must say when you are getting out of the mainstream operating systems and going to the UNIX world when you try to get help the first rule is: RTFM because they assume that you try to understand and exhaust the possibilities.

In the IRC most likely are some neck-beards old school guys that was thought the RTFM since day 1 because they doesn't have google to "help solve their answers" and they wanna to help since you try and not simply wanna have your "problem solved" because you are lazy. If the guy was rude maybe he had a bad day or it's his way and you have to had patience.

I personally don't like many of the automated tools to prepare USB disks like balenaEtcher because give me mixed results and I sometimes didn't try dd but it's consistent in the results. I tested the following dd command in Tiger and Leopard either in my DSLD PowerBook or my iMac G5 flawlessly

sudo dd bs=4m if=/path/to/ISO/Void\ Linux/void-live-ppc-musl-20200411-xfce.iso of=/dev/diskUSB

If you try on any linux you and follow the manual (https://docs.voidlinux-ppc.org/installation/live-images/prep.html). About booting from yaboot the manual also cover it but I didn't try since grub in my machines worked well enought.

My Mac's that I described above have 2gb of RAM and I tried the Network (base install) install and the Local (copying from the ISO XFCE in my case) but I don't try to boot from RAM because this machines don't have that much (and the base system requirements say's that 64m work), but when I return monday I will try to remove 1gb of my PowerBook to see if I would have any problems installing Void.

I didn't have that much time of patience to build a system from scratch like Gentoo or T2SDE (that have PPC variants, but I maybe will try T2SDE for my PS3 later this year) or rootfs tarballs (I don't have experience with this method, so I can't help you with that) but I assume that your iBook should work (and I wanna get a 12" for my collection).

Good readind and good luck, if we can help you just write it. =)
 
  • Like
Reactions: ShiggyMiyamoto
Does the RX560 work in the g5 quad with void linux ? You could get 4k decode and vulkan support.
Did you at least try to search the thread? Because one of the developers already answered it.

@z970mp big endian systems will work with any AMD/ATI card that's older than GCN, i.e. TeraScale architecture and older (i.e. HD6000 and some specific 7000/8000 and older, though most 7000/8000 were GCN)

my testing G5 has an R5 235 (which is basically a rebranded and somewhat overclocked HD 6450), which is about as good as makes sense in that machine - plus it's single-slot so it won't block a second internal PCIe slot, you're likely to fill them anyway, you have 4 and you need... the original GPU, the modern GPU, perhaps a USB3 controller, and maybe a PCIe M.2 SSD, that means none of the other slots can be blocked

nvidia is likely to be a hit and miss, because of nouveau bugs; even AMD is going to be relatively buggy in some places, but at least stuff like video and a lot of games will work fine

on little endian systems, any AMD card, e.g. I'm running an RX 5700 XT right now
On the graphics documentation (https://docs.voidlinux-ppc.org/configuration/graphics.html) also have the answer. So please search for before post, because we want to help but only if you help first. ;)
 
Guys, first, VoidLinux PPC brought a new life for my PowerPC/Apple hardware. It's nice itself, the PPC port in a good quality!
Next, I have a problem -- after recent update on my G4 Ibook Xorg losses input. It says smth like "input device keyboard/mice -- removed"
When I hotplug USB mice -- it works for seconds and then -- "removed".
From other sources on other platforms I knew that it's some update of libinput problem, but have no idea how to fix that on iBook/G4; strange thing, that everything still works on 4.x kernels! (the reciepe (for some PC/HP book) was to blacklist some modules)
Do anyone have an idea? Should I post Xorg.log / dmesg?
 
Next, I have a problem -- after recent update on my G4 Ibook Xorg losses input. It says smth like "input device keyboard/mice -- removed"
Did you try to boot to other kernel than 4.x? Because if you have an older 5.x kernel working it's only a kernel problem (in my iMac G5 later versions of 5.x kernel have bugs on usb ports regarding my USB hub, but earlier versions doesn't) and I have no clear answer to how help you with kernel issues. If it is a xorg problem the report it's useful to the respective developer.
 
Did you try to boot to other kernel than 4.x? Because if you have an older 5.x kernel working it's only a kernel problem (in my iMac G5 later versions of 5.x kernel have bugs on usb ports regarding my USB hub, but earlier versions doesn't) and I have no clear answer to how help you with kernel issues. If it is a xorg problem the report it's useful to the respective developer.
Yes, it started with some update of 5.x kernels. Earlier 5.x kernels works; 5.9.11 is ok.
Also, it's does not look like kernel<>usb hub problem -- without X, keyboard is working.
 
I have no clear answer about your problems. One thing I must say when you are getting out of the mainstream operating systems and going to the UNIX world when you try to get help the first rule is: RTFM because they assume that you try to understand and exhaust the possibilities.

In the IRC most likely are some neck-beards old school guys that was thought the RTFM since day 1 because they doesn't have google to "help solve their answers" and they wanna to help since you try and not simply wanna have your "problem solved" because you are lazy. If the guy was rude maybe he had a bad day or it's his way and you have to had patience.

I personally don't like many of the automated tools to prepare USB disks like balenaEtcher because give me mixed results and I sometimes didn't try dd but it's consistent in the results. I tested the following dd command in Tiger and Leopard either in my DSLD PowerBook or my iMac G5 flawlessly

sudo dd bs=4m if=/path/to/ISO/Void\ Linux/void-live-ppc-musl-20200411-xfce.iso of=/dev/diskUSB

If you try on any linux you and follow the manual (https://docs.voidlinux-ppc.org/installation/live-images/prep.html). About booting from yaboot the manual also cover it but I didn't try since grub in my machines worked well enought.

My Mac's that I described above have 2gb of RAM and I tried the Network (base install) install and the Local (copying from the ISO XFCE in my case) but I don't try to boot from RAM because this machines don't have that much (and the base system requirements say's that 64m work), but when I return monday I will try to remove 1gb of my PowerBook to see if I would have any problems installing Void.

I didn't have that much time of patience to build a system from scratch like Gentoo or T2SDE (that have PPC variants, but I maybe will try T2SDE for my PS3 later this year) or rootfs tarballs (I don't have experience with this method, so I can't help you with that) but I assume that your iBook should work (and I wanna get a 12" for my collection).

Good readind and good luck, if we can help you just write it. =)
I'm about to try that! Thanks! :)
 
Alright so, I have a base system installed again via the manual installed method, and to me it seems that Grub is cursed to not work on my iBook's hardware/firmware... Yaboot seems to boot easier/more reliably. How would I get it configured?

bash-5.0# yabootconfig --help
Usage: yabootconfig [OPTION]...
Generate a working /etc/yaboot.conf.

-t, --chroot set root directory yabootconfig should work from
-r, --root set root partition, Example: /dev/hda3
default: determined from {chroot}/etc/fstab
-b, --boot set bootstrap partition, Example: /dev/hda2
default: first type: Apple_Bootstrap partition
--kernel-args add an append= line with specified arguments
-q, --quiet don't ask any questions/confirmation
--noinstall don't automatically run mkofboot
-h, --help display this help and exit
-V, --version output version information and exit
bash-5.0# yabootconfig -b /dev/sda2
yabootconfig: Could not determine root partition, aborting...

What am I doing wrong there?

EDIT: I got Yabootconfig moving a tad farther, but it can't find a kernel...

root@0:~# yabootconfig -r /dev/sda4
yaboot is the Linux Loader for PowerPC. yabootconfig sets up your system to boot directly
from your hard disk, without the need for a boot CD, floppy or a network boot.
Install yaboot bootstrap on /dev/sda2 to boot Linux from /dev/sda4? [Yes] yes
Creating a simple /etc/yaboot.conf...
/usr/sbin/yabootconfig: 480: [: 0: unexpected operator
yabootconfig: Cannot find a kernel, aborting...

Also FWIW, I do also have grub installed... is that gonna pose a problem? I also confirmed that /boot does indeed have a kernel and initramfs image.... so I don't get it. As per q66 of the voidlinux-ppc iRC channel: "<q66> it's also not supported by kernel hooks so you'll have to update your boot entries manually". How would I do that?
 
Last edited:
That's what I see after last system upgrade. Trying to boot with 5.10 kernel. What's wrong? (Bootable is kernel 5.9.3 AFAIR).
 

Attachments

  • IMG_20210125_213621.jpg
    IMG_20210125_213621.jpg
    655.1 KB · Views: 123
That's what I see after last system upgrade. Trying to boot with 5.10 kernel. What's wrong? (Bootable is kernel 5.9.3 AFAIR).
I just reinstalled XFCE image this Tuesday in my iMac (not yet installed the wireless firmware and iSight because of laziness) and upgraded the same day just fine. So got worried with your post and try to upgrade the same moment and was without problems. Did you customize your kernel in any way?
kernel.png
 
Is anyone else having trouble with sound since the last few updates? I listen to music using Cmus and it has worked well since I first installed Void on my PowerBook G4 1.67GHz. Just after XFCE stopped working and I switched to Mate, an update came in that allowed Cmus to see an play my m4a files as well as the mp3 ones, also though the sound started breaking up a bit on playback for all formats. I am not sure what has caused this. I also notice that Mate insists on my using Pulseaudio and I can't remove it because of dependencies. Also and possibly unrelated, MPV player just outputs static but it used to work before. Has anyone else had any of these issues and managed to fix them?
 
Excuse me if I'm posting in wrong topic. Want to clear 1 thing for myself :). Because Linux kernel breaks amdgpu for ppc64, I removed second videocard (R7 X370, if I remember correctly) & install instead of Gf6600 mine reflashed Geforce 7800GT. Is it worth to hunt for some kind of Radeon X1900? Does it works faster in Linux & MacOS, than Geforce? (AFAIK, nouveau is reverse-engineered driver, while radeon is somehow opensource & have good support).
 
Excuse me if I'm posting in wrong topic. Want to clear 1 thing for myself :). Because Linux kernel breaks amdgpu for ppc64, I removed second videocard (R7 X370, if I remember correctly) & install instead of Gf6600 mine reflashed Geforce 7800GT. Is it worth to hunt for some kind of Radeon X1900? Does it works faster in Linux & MacOS, than Geforce? (AFAIK, nouveau is reverse-engineered driver, while radeon is somehow opensource & have good support).
I don't have any problems with my X600 XT in my iMac with the latest linux kernel (I guess 5.10.13) and amdgpu. For what I have read in this PPC forum (I don't remember if was in this thread but has a good chance that q66 answered it) that X1900 won't work until someone does some black magic that would supply the rest of the missing code. And the benchmarks that was made by some members I remember that the X1900 was one of the fastest OSX card

x1900 mac cards won't work, they use a reduced video BIOS where a part of it is supplied by the OS later, I don't think anybody figured out how to make it work on linux


 
Certainly, no problems, because your card just can't use amdgpu at all :D. AFAIK it have to use radeon driver :).
Sorry, my bad😅. I'm not used to proprietary drivers so my fault for don't read appropriately. But when using not x86 or x64 anything non-free (or non open-source) has a tendency to have some bad compatibility or random issues from time to time untill it's fixed.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.