Fedora 25 ppc64

AmigaOne X1000 platform specific issues related to Linux only.

Fedora 25 ppc64

Postby xeno74 » Thu Sep 15, 2016 2:53 pm

Image

First, I had to create a new kernel with the following options:

CONFIG_BLK_DEV_MD: RAID support
CONFIG_BLK_DEV_DM: Device mapper support
CONFIG_BLK_DEV_DM_BUILTIN
CONFIG_SQUASHFS=m


I had to modify Fedora's initrd:

Code: Select all
mv initrd.img initrd.img.xz


Code: Select all
xz -d initrd.img.xz


Code: Select all
mkdir initrd_new


Code: Select all
cd initrd_new


Code: Select all
cpio -idv < ../initrd.img


Code: Select all
cd lib/modules


Code: Select all
cp -R /lib/modules/4.7.3_A-EON_AmigaONE_X1000_Nemo .


Code: Select all
cd 4.7.3_A-EON_AmigaONE_X1000_Nemo


Code: Select all
rm build


Code: Select all
rm source


Code: Select all
cd ../../..


Code: Select all
find . | cpio --create --format='newc' > ../newinitrd


Code: Select all
gzip newinitrd


Code: Select all
mv newinitrd.gz newinitrd.img


Copy the newinitrd.img to the CF card.

Loading the newinitrd.img from the CF card:

Code: Select all
CFE> ramdisk -addr=0x24000000 -fatfs cf0:newinitrd.img


Download: Fedora-Server-netinst-ppc64-25-Alpha-1.2.iso

FYI: Loading default initrd from the CD:

Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:ppc/ppc64/initrd.img
Last edited by xeno74 on Thu Sep 15, 2016 5:29 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: 2933
Joined: Fri Mar 23, 2012 8:58 am

Re: Fedora 25 ppc64

Postby xeno74 » Thu Sep 15, 2016 3:30 pm

Anaconda doesn't start because it needs the live-rw.

Code: Select all
device-mapper: reload ioctl on live-rw failed: Invalid argument


I was able to link it.

Code: Select all
ln -s /dev/dm-0 /dev/mapper/live-rw


Code: Select all
exit


Code: Select all
exit


Code: Select all
exit


Anaconda installer error message:

SystemError: Unsupported PPC machine type: None


I was able to modify the Anaconda python script but there was another problem with Xorg. I will test it in a virtual QEMU machine.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby xeno74 » Thu Sep 15, 2016 6:49 pm

I was able to start the Anaconda installer with QEMU.

Code: Select all
qemu-system-ppc64 -m 2048 -cdrom Fedora-Server-dvd-ppc64-25-Alpha-1.2.iso -boot d -hda fedora.img -net nic,model=rtl8139 -net user


Download full DVD: Fedora-Server-dvd-ppc64-25-Alpha-1.2.iso
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby zappa2009 » Thu Sep 15, 2016 8:45 pm

Nice News.
X1000 RadeonHD5450 4GB (2x2GB) DDR2-PC2-8500 Kingston HyperX 5-5-5-5-15 OS4.1.6 & Lubuntu13.04/mintppc11 with Kernel 3.8.7/3.9
User avatar
zappa2009
 
Posts: 230
Joined: Tue Jun 21, 2011 1:17 pm

Re: Fedora 25 ppc64

Postby xeno74 » Thu Sep 15, 2016 11:46 pm

Copy the Fedora 25 QEMU img via SSH to the X1000:

Code: Select all
scp -r fedora.img christian@192.168.1.139:/home/christian/Downloads


On the X1000:

Code: Select all
su


Code: Select all
fdisk -lu fedora.img


Code: Select all
Disk fedora.img: 5 GiB, 5368709120 bytes, 10485760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc5409d87

Device      Boot    Start      End  Sectors  Size Id Type
fedora.img1 *        2048    22527    20480   10M 41 PPC PReP Boot
fedora.img2         22528 10192895 10170368  4.9G 83 Linux
fedora.img3      10192896 10485759   292864  143M 82 Linux swap / Solaris


Mount the root partition inside the img:

Code: Select all
mount fedora.img /mnt -o loop,offset=$((512*22528))


df -h

Code: Select all
/dev/sdb4        39G     48M   37G    1% /media/christian/c87fa493-6827-4072-af93-7175972daf64
/dev/loop0      4,7G    1,4G  3,1G   31% /mnt


Code: Select all
cd /mnt


Code: Select all
rsync --stats --progress --numeric-ids -axAhHSP . /media/christian/c87fa493-6827-4072-af93-7175972daf64
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby xeno74 » Fri Sep 16, 2016 2:31 am

It's important to edit /etc/fstab with the correct root partition.

Fantastic, it's booting!!!!!!!!!!!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby xeno74 » Fri Sep 16, 2016 2:37 am

Installing MATE

First, update your system using this command:

Code: Select all
dnf update


To install MATE, use this command:

Code: Select all
dnf groupinstall mate-desktop


You may want to install Mate related tools as well. You can do that with this command:

Code: Select all
dnf groupinstall mate-applications
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby xeno74 » Fri Sep 16, 2016 4:02 am

The first screenshot (VNC). Unfortunately my keyboard and mouse don't work. I can only use them via VNC. I have to figure out why.

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

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

Re: Fedora 25 ppc64

Postby xeno74 » Fri Sep 16, 2016 4:28 am

I solved the mouse and keyboard problem. I had to install the package xorg-x11-drv-libinput. Additionally I installed the Radeon driver xorg-x11-drv-ati.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Fedora 25 ppc64

Postby xeno74 » Fri Sep 16, 2016 11:59 am

Hi All,

Fedora 25 Server ppc64 works on my AmigaONE X1000. I have even the latest version of Firefox. This is the first PPC Linux with Firefox 48.0.1. ;-)

Image

There are still some issues. Examples:

Code: Select all
Error initializing authority: Error calling StartServiceByName for org.freedesktop.PoliceKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.PolicyKit1'


Code: Select all
[   18.440468] polkitd[2715]: unhandled signal 11 at 0000000000000000 nip 00003fffaa3d48b8 lr 00003fffaa3d4894 code 30001
[   68.114394] polkitd[2899]: unhandled signal 11 at 0000000000000000 nip 00003fff836348b8 lr 00003fff83634894 code 30001
[  135.920599] polkitd[3098]: unhandled signal 11 at 0000000000000000 nip 00003fff88f428b8 lr 00003fff88f42894 code 30001
[  160.925845] polkitd[3102]: unhandled signal 11 at 0000000000000000 nip 00003fff855588b8 lr 00003fff85558894 code 30001
[  185.954308] polkitd[3131]: unhandled signal 11 at 0000000000000000 nip 00003fff95cbb8b8 lr 00003fff95cbb894 code 30001
[  210.984283] polkitd[3220]: unhandled signal 11 at 0000000000000000 nip 00003fff85dd18b8 lr 00003fff85dd1894 code 30001
[  236.008505] polkitd[3293]: unhandled signal 11 at 0000000000000000 nip 00003fff7e67a8b8 lr 00003fff7e67a894 code 30001
[  261.050526] polkitd[3358]: unhandled signal 11 at 0000000000000000 nip 00003fff8878c8b8 lr 00003fff8878c894 code 30001
[  286.068909] polkitd[3381]: unhandled signal 11 at 0000000000000000 nip 00003fff943238b8 lr 00003fff94323894 code 30001
[  311.095950] polkitd[3388]: unhandled signal 11 at 0000000000000000 nip 00003fff9c1078b8 lr 00003fff9c107894 code 30001
[  336.107066] polkitd[3437]: unhandled signal 11 at 0000000000000000 nip 00003fffa3bf58b8 lr 00003fffa3bf5894 code 30001
[  361.117037] polkitd[3450]: unhandled signal 11 at 0000000000000000 nip 00003fffb0cae8b8 lr 00003fffb0cae894 code 30001
[  386.138630] polkitd[3746]: unhandled signal 11 at 0000000000000000 nip 00003fff7aa1b8b8 lr 00003fff7aa1b894 code 30001
[  411.282463] polkitd[3768]: unhandled signal 11 at 0000000000000000 nip 00003fffa91fd8b8 lr 00003fffa91fd894 code 30001
[  430.389391] polkitd[3774]: unhandled signal 11 at 0000000000000000 nip 00003fffb40338b8 lr 00003fffb4033894 code 30001
[  436.313335] polkitd[3778]: unhandled signal 11 at 0000000000000000 nip 00003fff7c0088b8 lr 00003fff7c008894 code 30001
[  461.328256] polkitd[3783]: unhandled signal 11 at 0000000000000000 nip 00003fff8347a8b8 lr 00003fff8347a894 code 30001
[  486.332860] polkitd[3789]: unhandled signal 11 at 0000000000000000 nip 00003fffb68a58b8 lr 00003fffb68a5894 code 30001
[  492.789496] polkitd[3795]: unhandled signal 11 at 0000000000000000 nip 00003fff77b808b8 lr 00003fff77b80894 code 30001
[  511.344104] polkitd[3805]: unhandled signal 11 at 0000000000000000 nip 00003fff833978b8 lr 00003fff83397894 code 30001
[  536.312762] abrt-dbus[3851]: unhandled signal 11 at 0000000000000008 nip 0000000031555b70 lr 0000000031555948 code 30001
[  536.498073] polkitd[3859]: unhandled signal 11 at 0000000000000000 nip 00003fff785978b8 lr 00003fff78597894 code 30001
[  561.466712] abrt-dbus[3856]: unhandled signal 11 at 0000000000000008 nip 0000000026526b70 lr 0000000026526948 code 30001
[  561.516975] polkitd[3874]: unhandled signal 11 at 0000000000000000 nip 00003fff976738b8 lr 00003fff97673894 code 30001
[  586.525292] polkitd[3903]: unhandled signal 11 at 0000000000000000 nip 00003fff934c38b8 lr 00003fff934c3894 code 30001
[  611.533604] polkitd[3929]: unhandled signal 11 at 0000000000000000 nip 00003fff9a5a58b8 lr 00003fff9a5a5894 code 30001
[  636.551238] polkitd[3956]: unhandled signal 11 at 0000000000000000 nip 00003fffa95698b8 lr 00003fffa9569894 code 30001
[  661.583004] polkitd[3961]: unhandled signal 11 at 0000000000000000 nip 00003fffa69fe8b8 lr 00003fffa69fe894 code 30001
[  686.614110] polkitd[3994]: unhandled signal 11 at 0000000000000000 nip 00003fff82a7a8b8 lr 00003fff82a7a894 code 30001
[  711.637617] polkitd[4001]: unhandled signal 11 at 0000000000000000 nip 00003fff779568b8 lr 00003fff77956894 code 30001
[  736.666319] polkitd[4015]: unhandled signal 11 at 0000000000000000 nip 00003fffa00878b8 lr 00003fffa0087894 code 30001
[  761.700300] polkitd[4028]: unhandled signal 11 at 0000000000000000 nip 00003fffb13278b8 lr 00003fffb1327894 code 30001
[ 1432.577828] polkitd[4723]: unhandled signal 11 at 0000000000000000 nip 00003fffa3cfc8b8 lr 00003fffa3cfc894 code 30001
[ 1457.545136] abrt-dbus[4720]: unhandled signal 11 at 0000000000000008 nip 00000000431a7b70 lr 00000000431a7948 code 30001
[ 1457.610932] polkitd[4733]: unhandled signal 11 at 0000000000000000 nip 00003fff8ff478b8 lr 00003fff8ff47894 code 30001
[ 1482.575824] abrt-dbus[4729]: unhandled signal 11 at 0000000000000008 nip 000000005e12ab70 lr 000000005e12a948 code 30001
[ 1485.907214] polkitd[4749]: unhandled signal 11 at 0000000000000000 nip 00003fffae7ea8b8 lr 00003fffae7ea894 code 30001
[ 1510.908183] polkitd[4753]: unhandled signal 11 at 0000000000000000 nip 00003fffb60718b8 lr 00003fffb6071894 code 30001
[ 1564.435625] polkitd[4830]: unhandled signal 11 at 0000000000000000 nip 00003fff859cf8b8 lr 00003fff859cf894 code 30001
[ 1589.399905] abrt-dbus[4827]: unhandled signal 11 at 0000000000000008 nip 000000002e95ab70 lr 000000002e95a948 code 30001
[ 1589.520819] polkitd[4854]: unhandled signal 11 at 0000000000000000 nip 00003fff7e3898b8 lr 00003fff7e389894 code 30001
[ 1614.409475] abrt-dbus[4848]: unhandled signal 11 at 0000000000000008 nip 0000000047d96b70 lr 0000000047d96948 code 30001
[ 1614.803640] yumex-dnf[4843]: unhandled signal 11 at 0000000000000000 nip 00003fff8fd97de0 lr 00003fff8fd97d4c code 30001
[ 1618.622303] polkitd[4911]: unhandled signal 11 at 0000000000000000 nip 00003fff7df298b8 lr 00003fff7df29894 code 30001
[ 1643.587979] abrt-dbus[4908]: unhandled signal 11 at 0000000000000008 nip 000000002074ab70 lr 000000002074a948 code 30001
[ 1643.635688] polkitd[4925]: unhandled signal 11 at 0000000000000000 nip 00003fff85cb58b8 lr 00003fff85cb5894 code 30001
[ 1668.600790] abrt-dbus[4921]: unhandled signal 11 at 0000000000000008 nip 0000000048e5db70 lr 0000000048e5d948 code 30001
[ 2483.146748] polkitd[5857]: unhandled signal 11 at 0000000000000000 nip 00003fff7bc6f8b8 lr 00003fff7bc6f894 code 30001
[ 2525.345141] polkitd[5866]: unhandled signal 11 at 0000000000000000 nip 00003fffb33528b8 lr 00003fffb3352894 code 30001
[ 2638.551822] polkitd[5920]: unhandled signal 11 at 0000000000000000 nip 00003fff7f7b88b8 lr 00003fff7f7b8894 code 30001
[ 2749.061020] polkitd[6105]: unhandled signal 11 at 0000000000000000 nip 00003fff82be68b8 lr 00003fff82be6894 code 30001
[ 3413.474342] polkitd[30363]: unhandled signal 11 at 0000000000000000 nip 00003fff864678b8 lr 00003fff86467894 code 30001
[ 3438.440610] abrt-dbus[30360]: unhandled signal 11 at 0000000000000008 nip 000000003774bb70 lr 000000003774b948 code 30001
[ 3438.506383] polkitd[30395]: unhandled signal 11 at 0000000000000000 nip 00003fffb52528b8 lr 00003fffb5252894 code 30001
[ 3463.468604] abrt-dbus[30391]: unhandled signal 11 at 0000000000000008 nip 0000000020882b70 lr 0000000020882948 code 30001
[ 4523.004588] polkitd[30503]: unhandled signal 11 at 0000000000000000 nip 00003fff91f6b8b8 lr 00003fff91f6b894 code 30001
[ 4548.029241] polkitd[30507]: unhandled signal 11 at 0000000000000000 nip 00003fffb69cf8b8 lr 00003fffb69cf894 code 30001
[ 4580.773379] polkitd[30628]: unhandled signal 11 at 0000000000000000 nip 00003fff958b88b8 lr 00003fff958b8894 code 30001
[ 4605.739237] abrt-dbus[30625]: unhandled signal 11 at 0000000000000008 nip 000000004dd6bb70 lr 000000004dd6b948 code 30001
[ 4605.807020] polkitd[30637]: unhandled signal 11 at 0000000000000000 nip 00003fff862c08b8 lr 00003fff862c0894 code 30001
[ 4630.771102] abrt-dbus[30633]: unhandled signal 11 at 0000000000000008 nip 00000000572cbb70 lr 00000000572cb948 code 30001
[ 5104.810060] polkitd[30777]: unhandled signal 11 at 0000000000000000 nip 00003fff7cb408b8 lr 00003fff7cb40894 code 30001
[ 5344.167263] polkitd[30882]: unhandled signal 11 at 0000000000000000 nip 00003fff9520f8b8 lr 00003fff9520f894 code 30001
[ 5369.190606] polkitd[30887]: unhandled signal 11 at 0000000000000000 nip 00003fff990f58b8 lr 00003fff990f5894 code 30001
[ 5421.058965] polkitd[31124]: unhandled signal 11 at 0000000000000000 nip 00003fffaf2178b8 lr 00003fffaf217894 code 30001
[ 5424.103875] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 5646.431436] polkitd[31330]: unhandled signal 11 at 0000000000000000 nip 00003fff97af88b8 lr 00003fff97af8894 code 30001
[ 5772.929360] polkitd[31604]: unhandled signal 11 at 0000000000000000 nip 00003fff889d48b8 lr 00003fff889d4894 code 30001
[ 5842.985224] polkitd[31684]: unhandled signal 11 at 0000000000000000 nip 00003fff7a8208b8 lr 00003fff7a820894 code 30001
[ 5867.964129] polkitd[31688]: unhandled signal 11 at 0000000000000000 nip 00003fffa8bbf8b8 lr 00003fffa8bbf894 code 30001
[ 6341.794539] polkitd[31943]: unhandled signal 11 at 0000000000000000 nip 00003fff834878b8 lr 00003fff83487894 code 30001


Unfortunately Fedora 25 isn't stable yet but that's normal because it is alpha software.

Cheers,

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

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

Next

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 4 guests