Void Linux

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

Re: Void Linux

Post by xeno74 »

Hi Kilaueabart,

Thanks for testing Void! Please try the ROOTFS 20210820. This ROOTFS is already configured and has more software included.

Have a nice day,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Void Linux

Post by xeno74 »

Roland wrote: Thu Aug 19, 2021 8:01 pm Did you already check whether there is for it some interesting software, not available for MintPPC and Fienix?
Yes, the patched WebKit web browser Epiphany.
jacadcaps wrote: Rebased to latest stable WebKitGTK over the weekend, mainly in order to stay in sync with Void Linux big endian patches. So far so good in terms of websites that I've tested: Re-Captcha, Telegram, WhatsApp all working.

Starting to work on the actual browser application now...
jacadcaps wrote: Daniel Kolesa from Void Linux / PPC submitted JavaScript BE fixes in May and so far the patch was totally ignored. Given this, I really don't see the point.
jacadcaps wrote: Void has had PPC patches for quite a while now and I am both using their work and have contributed to their patches myself. It does look like the CLoop fix finally got accepted into WebKit though, which is nice.
jacadcaps wrote: Made a lot of progress rebasing to WebKitGTK 2.32.1 (latest stable, from May 10th). It looks like between Daniel Kolesa of Void Linux and me we were able to fix the JavaScript BE regressions that have made into the source tree in the meanwhile.
jacadcaps wrote: While the 'Rebased to latest stable WebKitGTK (2.32.1)' entry may seem insignificant, it was actually quite a bit of work to get this to run smoothly. There were several endianness regressions (bugs) in JavaScriptCore that I've tracked down and fixed together with Daniel Kolesa (Void Linux). Many, many interfaces in WebCore have changed and those changes had to be reflected in my code (even if they were simple type/enum changes 70% of the time). Still, a working rebase proves that there's future for Wayfarer and 1.x wasn't just a one-off.
Further information: New Modern Webkit-based Browser In Development

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

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 824
Joined: Tue May 02, 2017 7:23 am

Re: Void Linux

Post by Roland »

xeno74 wrote: Thu Aug 26, 2021 11:28 am Yes, the patched WebKit web browser Epiphany.
Thanks for the tip! I have followed the Wayfarer thread but did not pay attention to that detail...

I installed it now... It works but seems to be still very unstable and cannot load any complicated sites. I was not able to load bookmarks from any html file I tested, either. Compared to Wayfarer it feels still quite 'alfa'.

Does it work for you, and can you import bookmarks? Is it more stable in X1000?
- Roland -
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

Hi Roland,

I haven’t tried Epiphany on my X1000 yet.

@All
Void Linux with the RC7 of kernel 5.14:

Image

Cheers,
Christian
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: Thu Aug 26, 2021 8:01 am Hi Kilaueabart,

Thanks for testing Void! Please try the ROOTFS 20210820. This ROOTFS is already configured and has more software included.
Ironically, that was the first one I put in my new partition dev/sda8, but apparently I didn't unarchive it. I cleaned out sda8, copied the 20210820 archive in again, unarchived it, and tried to run it, but it failed with a note that nothing could be found to boot.

The problem seems to have been that it hadn't unarchived to the partition, but to a folder named "void-ppc-ROOTFS-20210820" in that partition. Not knowing what else to do, I tried copying everything in that folder out to the partition. Now when I try run void it looks like it is working, the boot-up text getting to a line that says "void-live login:" before going to a flashing multi-color screen with a text cursor in the upper left corner. Thinking maybe there would be clues in the boot-up text which flashes past way too fast to read, I videoed it and copied out the last page:

Code: Select all

=> Mounting rootfs fead-write...
EXT4-fs (sda8): re-mounted. Opts: (null). Qu
=> Mounting all non-network filesystems...
=> Intializing swap...
=> Intializing random seed...
=> Setting up loopback interface...
=> Setting up hostname to 'void-live'...
=> Loading sysctl(8) settings...
kernel.dmesg_restrict = 1
kernel.kexec_load_disabled = 1
sysctl: cannot stat /proc/sys/kernel/yama/ptr
kernel.core_uses_pid = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.kptr_restrict = 1
kernel.perf_event_paranoid = 2
sysctl: cannot stat /proc/sys/kernel/unprivile
=> Initialization complete, running stage 2...
- runit: leave stage: /etc/runit/1
- runit: enter stage: /etc/runit/2
runsuchdir: default: currrent.
udevd[3854]: starting version 3.2.10
udevd[3854]: starting eudev-3.2.10

Void 5.14.0-rc6_A-EON_X5000 (void-live) (tty1)

void-live login: _
Some lines were too long for my camera.

I also took a look at dmesg.log. Most of it is old stuff but it ends up like this:

Code: Select all

[    7.642657] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   11.267906] EXT4-fs (sda8): INFO: recovery required on readonly filesystem
[   11.275713] EXT4-fs (sda8): write access will be enabled during recovery
[   12.213223] EXT4-fs (sda8): recovery complete
[   12.239378] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   12.247247] VFS: Mounted root (ext4 filesystem) readonly on device 8:8.
[   12.275556] devtmpfs: mounted
[   12.283522] Freeing unused kernel image (initmem) memory: 444K
[   12.291300] This architecture does not have kernel memory protection.
[   12.299139] Run /sbin/init as init process
[   12.306924]   with arguments:
[   12.306927]     /sbin/init
[   12.306929]   with environment:
[   12.306932]     HOME=/
[   12.306935]     TERM=linux
[   12.623555] random: crng init done
[   13.142706] udevd[2269]: starting version 3.2.10
[   13.247762] udevd[2270]: starting eudev-3.2.10
[   15.415271] EXT4-fs (sda8): re-mounted. Opts: (null). Quota mode: none.
[   16.343111] EXT4-fs (sda8): re-mounted. Opts: (null). Quota mode: none.
I'm not smart enough anymore to ever figure out if there are any useful clues in these documents or not. I suspect I have missed something in Christian's instructions in this discussion. For one thing, I don't have a "small FAT-16" place to put it. /dev/sda8/ is a 1 GiB ext4 job. And I couldn't get GParted to make a partition out of part of my unallocated almost 500 GiB so I did it from OS4. My boot script for Void is my boot Fienix script, with /dev/sda6 changed to /dev/sda8.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

kilaueabart wrote: Sun Aug 29, 2021 10:20 pm Now when I try run void it looks like it is working, the boot-up text getting to a line that says "void-live login:" before going to a flashing multi-color screen with a text cursor in the upper left corner.
Maybe you need to use a xorg.conf with Driver "fbdev". Roland also uses a xorg.conf.
Roland wrote: Sat Aug 21, 2021 10:48 am I have still a Radeon R7 240 in my machine, and I tested the 'xorg.conf' (with 'fbdev' defined) from both Fienix and MintPPC ...
Please create the following xorg.conf in the directory /etc/X11.

Code: Select all

Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Device"
Identifier "Device0"
Driver "fbdev"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
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: Mon Aug 30, 2021 6:31 am
kilaueabart wrote: Sun Aug 29, 2021 10:20 pm Now when I try run void it looks like it is working, the boot-up text getting to a line that says "void-live login:" before going to a flashing multi-color screen with a text cursor in the upper left corner.
Please create ... xorg.conf in the directory /etc/X11.
I'm still doing something wrong, but adding xorg.conf to /etc/X11 does make a difference. Now after all that text down the screen while booting ends with

Void 5.14.0_A-EON_X5000 (void live) (tty1)

void-live login:


it is followed immediately by a black screen, a text cursor coming up and blinking three times at intervals in its upper left corner, and at longer intervals a blue rectangle mid-screen with an "!" in a triangle and the text Out of Range.
If I try typing at the text cursor I sometimes get a character to join the blinking, and there is a new text line above it that reads something like logitech-bldpp-device 0003:0460:2010.0005: HID** 1.0 device connected.

Today's dmesg.log ends:

Code: Select all

[    7.620763] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.632933]  sdb: sdb1 sdb2
[    7.643070] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   11.285877] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   11.293788] VFS: Mounted root (ext4 filesystem) readonly on device 8:8.
[   11.323951] devtmpfs: mounted
[   11.331968] Freeing unused kernel image (initmem) memory: 440K
[   11.339799] This architecture does not have kernel memory protection.
[   11.347672] Run /sbin/init as init process
[   11.355824]   with arguments:
[   11.355827]     /sbin/init
[   11.355830]   with environment:
[   11.355833]     HOME=/
[   11.355835]     TERM=linux
[   11.939328] random: crng init done
[   12.149282] udevd[2248]: starting version 3.2.10
[   12.261061] udevd[2249]: starting eudev-3.2.10
[   14.104298] EXT4-fs (sda8): re-mounted. Opts: (null). Quota mode: none.
[   15.048839] EXT4-fs (sda8): re-mounted. Opts: (null). Quota mode: none.
I think I saw a complaint somewhere yesterday about Void not being able to find Wired connection 1. I have only Wired connection 2.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

kilaueabart wrote: Tue Aug 31, 2021 7:40 pm it is followed immediately by a black screen, a text cursor coming up and blinking three times at intervals in its upper left corner, and at longer intervals a blue rectangle mid-screen with an "!" in a triangle and the text Out of Range.
If I try typing at the text cursor I sometimes get a character to join the blinking,
Hi Kilaueabart,

Maybe glamor is the problem. Please rename the libglamoregl.so to libglamoregl.so.bak as root.

Code: Select all

mv /usr/lib/xorg/modules/libglamoregl.so /usr/lib/xorg/modules/libglamoregl.so.bak
After that restart your X5000.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Void Linux

Post by xeno74 »

Enable and start Bluetooth:

Code: Select all

# ln -s /etc/sv/bluetoothd /var/service
Check if the Bluetooth daemon is working:

Code: Select all

sv status bluetoothd
Output if Bluetooth is working: run: bluetoothd: (pid 4918) 15s; run: log: (pid 4917) 15s
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Void Linux

Post by xeno74 »

Roland wrote: Thu Aug 26, 2021 1:49 pm I installed it now... It works but seems to be still very unstable and cannot load any complicated sites. I was not able to load bookmarks from any html file I tested, either. Compared to Wayfarer it feels still quite 'alfa'.
Hi Roland,

I installed and tested the Eolie WebKit web browser on Void Linux today and it works better than Epiphany. It loads websites very fast. You don't need to start it with the activated variable "WEBKIT_DISABLE_COMPOSITING_MODE".

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply