Fienix - New PowerPC Distro

AmigaOne X5000 platform specific issues related to Linux only.
Fogg_80
Posts: 41
Joined: Sat Jun 18, 2011 11:15 pm

Re: Fienix - New PowerPC Distro

Post by Fogg_80 »

I am in Fienix Soar with InterWeb browser, try try try uff!
Next step:
how install Fienix on hdd? I want install second hhd on X5000 and detach my dvd.
Now I use PCI network card, I can use onboard ethernet port and which?

P.S. I have a 32GB usb stick, can install Fienix on this and no second hhd?

User avatar
kilaueabart
Posts: 697
Joined: Mon Mar 05, 2012 2:36 am

Re: Fienix - New PowerPC Distro

Post by kilaueabart »

xeno74 wrote:
Wed Apr 29, 2020 4:49 am
This is a multi-partition disk image. Pease copy it first to a USB disk. After that you can copy the "FIENIX-DISK" partition to a partition on your hard disk.
I'm getting too dumb to use a computer. I ignored Casey's "Image copying instructions for Linux, Mac and Windows" because I figured I knew how to copy an image in Linux.

This morning I did copy the image to a (too-large) usb stick. GParted says it went fine: /dev/sdb1 fat32 FIENIX-BOOT 56.90 MiB used of 128 MiB. /dev/sdb2 ext4 FIENIX-DISK using 5.23 GiB of 114.53 GiB.

Next I copied from the usb device to /dev/sda6. Took over an hour! At the time, GParted indicated success. So I tried to boot from /dev/sda6, with this result:

Code: Select all

Error mounting /dev/sda6 at /media/bart/FIENIX-DISK: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/bart/FIENIX-DISK"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sda6,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
Okay, here is what dmesg told me:

Code: Select all

kernel: EXT4-fs (sda6): bad geometry: block count 30023424 exceeds size of device (25529856 blocks)
And now GParted reports almost the same as I reported yesterday, except the black square has turned blue-gray, the label has changed from blank to FIENIX-DISK. Used and Unused are back to ---.

So I thought I would boot the new fienix from the usb device. Wrong! The fatload command gets "** bad device usb 0 **"

Color me totally stumped.

User avatar
kilaueabart
Posts: 697
Joined: Mon Mar 05, 2012 2:36 am

Re: Fienix - New PowerPC Distro

Post by kilaueabart »

Today I emptied a smaller (ca 14 GiB) thumb drive. It took only a few minutes to copy the image file to it. I can open its FIENIX-BOOT from the Ubuntu PLACES menu, and see the cyrus .dtb, 28.7 kb; uImage-5.5, 11.2 MB, vmlinux-5.5, 35.0 MB and zimage-5.5, 11.4 MB.

So it looks like at least that part of the usb drive is OK, but "fatload usb 0:1 1000000 uImage-5.5" still gets me "bad device usb 0." Not a problem that bing finds any solutions for.

GParted agrees that /dev/sdc1 has 56.90 MiB of fat32 mounted at /media/bart/FIENIX-BOOT, but, like yesterday, 3.91 MiB of ext4 FIENIX-DISK lie unmounted at /dev/sdc2, no space used or unused. Amazing that GParted can tell its name, size, and format even though it isn't there!

I reformatted /dev/sda6 again to empty it, then copied FIENIX-DISK to it from the usb stick. It copied fast today, but that's the only thing better than yesterday. The red (!) warning is:

Code: Select all

e2label: Filesystem has unsupported feature(s) while trying to open /dev/sda6
Couldn't find valid filesystem superblock.

Couldn't find valid filesystem superblock.

dumpe2fs 1.42.13 (17-May-2015)
dumpe2fs: Filesystem has unsupported feature(s) while trying to open /dev/sda6

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
I am going to download the image archive again and see if maybe something went wrong with the transmission, but I'm pessimistic because I've done that once already. (I'll also try to find out what a filesystem superblock is, and "dumpe2fs," but I don't imagine that will help the situation.)

Obviously I have no reason to be surprised at the kernel panics, "Unable to mount root fs on unknown-block(8,6)." Bing turns up a lot of those with "(0,0)" but I can't find anything with numbers higher than 0.

User avatar
xeno74
Posts: 5917
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

kilaueabart wrote:
Fri May 01, 2020 12:50 am
So it looks like at least that part of the usb drive is OK, but "fatload usb 0:1 1000000 uImage-5.5" still gets me "bad device usb 0."
Did you try the command ”usb reset” before?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5917
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

VLC 3.0.9.2-1 doesn't work on my X5000.

Code: Select all

VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
Illegal instruction
The old version 3.0.4.20200404fienixbuild is still available via Synaptic (Menu Package - Force Version... - Force version: 3.0.4.20200404fienixbuild (additional)) and works without any problems.

Code: Select all

VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[010bdbe0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 5917
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hi All,

I successfully upgraded Fienix on my X5000/40 and X1000 today and got the new Mesa 20.0.4! :-)

Many thanks to Casey! :-)

Screenshot of Fienix PowerPC with the kernel 5.7-rc3 and with Mesa 20.0.4:

Image

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
kilaueabart
Posts: 697
Joined: Mon Mar 05, 2012 2:36 am

Re: Fienix - New PowerPC Distro

Post by kilaueabart »

This morning I downloaded the 0426 version of soar again. Made several attempts to copy it to a 14 GB usb stick, emptying the stick first with GParted each time.

Code: Select all

bart@X5000:~$ sudo dd if=Downloads/fienix-soar_3.0-20200426.img of=/dev/sdc
[sudo] password for bart: 
It never worked, each time getting

Code: Select all

dd: writing to '/dev/sdc': Input/output error
But the details were strikingly different between times.

Code: Select all

1538505+0 records in
1538504+0 records out
787714048 bytes (788 MB, 751 MiB) copied, 322.002 s, 2.4 MB/s

741641+0 records in
741640+0 records out
379719680 bytes (380 MB, 362 MiB) copied, 143.309 s, 2.6 MB/s

1271689+0 records in
1271688+0 records out
651104256 bytes (651 MB, 621 MiB) copied, 246.825 s, 2.6 MB/s

5950793+0 records in
5950792+0 records out
3046805504 bytes (3.0 GB, 2.8 GiB) copied, 1190.26 s, 2.6 MB/s
It looks like I almost made it that last time. I guess I'll try that a few more times. What should I do if I never make it?

The GParted warning for /dev/sdc2 is consistent, not sharing the above variations. At the end of the long list, always this:

Code: Select all

<i>dumpe2fs 1.42.13 (17-May-2015)
dumpe2fs: Corrupt extent header while reading journal super block</i>

User avatar
kilaueabart
Posts: 697
Joined: Mon Mar 05, 2012 2:36 am

Re: Fienix - New PowerPC Distro

Post by kilaueabart »

I tried copying to that thumb drive two more times. The second time left the drive invisible to GParted as well as to Ubuntu's P!aces menu!

Next I dug up a micro SD card. GParted said it was empty ("unallocated") to my surprise. I went ahead with dd if=Downloads/fienix-soar_3.0-20200426.img of=/dev/sdc again, and the /dev/sdc SD card disappeared from GParted as well. I'm starting to feel like I have some kind of curse on me.

The thumb drive is recognized again today, but I'm not about to try copying to it again.

User avatar
xeno74
Posts: 5917
Joined: Fri Mar 23, 2012 7:58 am

Re: Fienix - New PowerPC Distro

Post by xeno74 »

Hi All,

We have an initrd for the kernel 5.5 with intructions for booting Fienix. With an initrd you can boot Linux with the name of the partition. You have to use the partition name "FIENIX-DISK" instead of "FIENIX" in the bootargs.

Download: initrd-5.5-rc7-X1000_X5000.tar.gz

Screenshot with instructions for creating and booting initial ramdisks:

Image

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

Running Linux on AmigaONEs can require some tinkering.

caseycullen
Posts: 355
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: Fienix - New PowerPC Distro

Post by caseycullen »

kilaueabart wrote:
Sun May 03, 2020 12:02 am
I tried copying to that thumb drive two more times. The second time left the drive invisible to GParted as well as to Ubuntu's P!aces menu!

Next I dug up a micro SD card. GParted said it was empty ("unallocated") to my surprise. I went ahead with dd if=Downloads/fienix-soar_3.0-20200426.img of=/dev/sdc again, and the /dev/sdc SD card disappeared from GParted as well. I'm starting to feel like I have some kind of curse on me.

The thumb drive is recognized again today, but I'm not about to try copying to it again.
I guess I'm a bit confused about what is happening. You copied the image successfully before, you just got a usb error when you tried booting from the USB (which is generally resolved by entering "usb reset" as the first U-Boot command, before "setenv bootargs ...").
When you say "it disappeared", did you try going to the GParted menu and click on Refresh Devices?

Post Reply