Void Linux

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

QEMU USB Audio works great with Void PPC in a virtual e5500 QEMU KVM-HV machine! :-)

Image
Last edited by xeno74 on Sat Nov 27, 2021 11:47 pm, edited 1 time in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Void Linux

Post by kilaueabart »

Trying to install hplip for printing from void. I ran into this problem:

Code: Select all

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: This installer cannot install 'libjpeg' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
[amigaone@void-live ~]$ sudo xbps-install libjpeg
Package 'libjpeg' not found in repository pool.
By the way, the installer wanted to know what is Void's closest Linux match. I had to make a wild guess: Linux From Scratch, but what is the correct answer.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

kilaueabart wrote: Sat Nov 27, 2021 11:15 pm Trying to install hplip for printing from void. I ran into this problem:

Code: Select all

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: This installer cannot install 'libjpeg' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
[amigaone@void-live ~]$ sudo xbps-install libjpeg
Package 'libjpeg' not found in repository pool.
By the way, the installer wanted to know what is Void's closest Linux match. I had to make a wild guess: Linux From Scratch, but what is the correct answer.
Did you install hplip with the command "sudo xbps-install -S hplip"?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Void Linux

Post by kilaueabart »

xeno74 wrote: Sun Nov 28, 2021 3:16 pm Did you install hplip with the command "sudo xbps-install -S hplip"?
No, I think I used this, [amigaone@void-live ~]$ sh hplip-3.21.10.run, which I found on the web. I have now used "sudo xbps-install -S hplip." It was very busy, and seemed to finish successfully, no error message, but if I open a file and click Print in the Menu, all I get is "Print to file."

Applications has System Tools > Manage Printing but if I click that I get Arctic Fox, telling me Arctic Fox can't establish a connection to the server at localhost:631.

As usual, I am stumped.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

kilaueabart wrote: Mon Nov 29, 2021 9:21 pm Applications has System Tools > Manage Printing but if I click that I get Arctic Fox, telling me Arctic Fox can't establish a connection to the server at localhost:631.
Please activate the cupsd service with the following command:

Code: Select all

sudo ln -s /etc/sv/cupsd /var/service/
After that check if the service runs:

Code: Select all

sudo sv status cupsd
If it doesn’t run then start it with the following command:

Code: Select all

sudo sv start cupsd
Maybe you need the following command additionally.

Code: Select all

sudo hp-setup -i
If the cupsd service runs please try to configure your printer again.

Further information: Printing — docs.voidlinux.org
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

Ideas for a new Void PPC img:
  • xbps-install -Su for updating all packages
  • Mesa 21.3.3_2
  • Add gparted
  • Add unzip
  • Add autofs
  • Add pipe-viewer
  • Add youtube-dl
  • Add zsh
  • Update Arctic Fox to version 39
  • Update ViewTube
  • Remove all packages from /var/cache/xbps
  • Clean the history with history -c
  • Maybe there is an issue with libglamoregl.so after the update. If yes then I will rename the libglamoregl.so to libglamoregl.so.bak again. You can find it in the directory /usr/lib/xorg/modules/.
Last edited by xeno74 on Fri Jan 28, 2022 5:12 pm, edited 1 time in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

I was able to install the NetworkManager on Void PPC today. :-)

Instructions:
  1. # xbps-install -Sv NetworkManager python3-dbus network-manager-applet
  2. # rm /var/service/dhcpcd
  3. # ln -s /etc/sv/NetworkManager /var/service/
Screenshot:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

Hi All,

I updated the Void PPC img today. It has a boot and root partition including the void-installer.

Download: void-live-powerpc-20220129.img.tar.gz 2.9G (Img size: 7.5G)
md5sum: 091e98f90252a2f19d8a964261cf9640

New:
  • Packages updated
  • MATE 1.26.0
  • Added kernel 5.10.89, 5.16.0, and the RC1 of kernel 5.17 for the X1000 and X5000 to the small fat16 boot partition (There are also initial ramdisks for booting with a label for the X1000 and X5000 and device tree blob files for the X5000/20 and X5000/40 on the small fat16 boot partition. LABELs: "VOID_BOOT" for the small fat16 boot partition and "void" for the ext4 root partition)
  • Added kernel modules for the kernels 5.10.89, 5.16.0 and 5.17-rc1
  • Added Mesa 21.3.3_2 with fixes for old ATI R300~R500 GPUs
  • Added gparted
  • Added unzip
  • Updated Arctic Fox to version 39.0
  • Renamed the libglamoregl.so to libglamoregl.so.bak
  • Added autofs
  • Added pipe-viewer
  • Added youtube-dl
  • Added zsh
  • Removed packages from /var/cache/xbps
  • Changed to NetworkManager for the network configuration
  • NOPASSWD for sudo commands for the members of the group wheel
  • Accessing of partitions without password (polkit configuration modified)
You can image your USB stick with Void with the following commands (Example for sdb):
  1. Code: Select all

    dd if=void-live-powerpc-20220129.img of=/dev/sdb
    Output:

    Code: Select all

    15695871+0 records in
    15695871+0 records out
    8036285952 bytes (8.0 GB, 7.5 GiB) copied, 2364.19 s, 3.4 MB/s
    
  2. Code: Select all

    e2fsck -f /dev/sdb2
You can use GParted for enlarging the partition and resizing the root file system.

Booting Void from a USB stick (Example):

X5000:
  1. Code: Select all

    X5000> usb reset
    Output: ... scaning usb for storage devices... 1 Storage Device(s) found ...
  2. Code: Select all

    X5000> ls usb 0:1
  3. Code: Select all

    X5000> setenv bootargs root=LABEL=void rootdelay=5
  4. Code: Select all

    X5000> fatload usb 0:1 1000000 uImage-5.10
  5. X5000/20:

    Code: Select all

    X5000> fatload usb 0:1 1c00000 cyrus-p5020.dtb
    X5000/40:

    Code: Select all

    X5000> fatload usb 0:1 1c00000 cyrus-p5040.dtb
  6. Code: Select all

    X5000> fatload usb 0:1 2000000 uinitrd-5.10
  7. Code: Select all

    X5000> bootm 1000000 2000000 1c00000
X1000:

IMPORTANT: Please connect the USB stick after you have reached the CFE with the f key.
  1. Code: Select all

    CFE> setenv bootargs "root=LABEL=void rootdelay=5"
  2. Code: Select all

    CFE> ramdisk -z -addr=0x24000000 -fatfs usbdisk0:initrd-5.10.img
  3. Code: Select all

    CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-5.10
You can log into this system as amigaone with the password "amigaone".

Installation

You can install Void with the installer (Desktop link) or image the ext4 root partition on the USB stick to a partition on your hard disk with "dd".

For example:

Code: Select all

dd if=/dev/sdd2 of=/dev/sdb6 && e2fsck -f /dev/sdb6 && resize2fs /dev/sdb6 && tune2fs -L void /dev/sdb6
The installer works very well. Please select the bootloader entry "none Manage bootloader otherwise" because we boot Void with U-Boot or with CFE on our AmigaOnes.

ViewTube is updated automatically in Arctic Fox and InterWeb. Maybe you have to configure ViewTube via the 3 dots under the video. I use the embed video with Embed and play it with VLC.

Image

Cheers,
Christian
Last edited by xeno74 on Sun Jan 30, 2022 1:53 pm, edited 2 times in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Void Linux

Post by sailorMH »

thanks Christian, it looks very nice.
in past I corrupted my Debian installation am was too lazy to repair it ;-). This look like opportunity to install new linux on my X1000.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

sailorMH wrote: Sun Jan 30, 2022 1:25 pm thanks Christian, it looks very nice.
in past I corrupted my Debian installation am was too lazy to repair it ;-). This look like opportunity to install new linux on my X1000.
It works great on my X1000. I would recommend you to install it.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply