Ubuntu Mate 15.10

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
AlicePPC
Beta Tester
Beta Tester
Posts: 38
Joined: Wed Jun 19, 2013 12:04 pm
Location: Asturias-Spain
Contact:

Re: Ubuntu Mate 15.10

Post by AlicePPC »

Hello Epsilon.
You need download from here https://www.debian.org
You can download CD or DVD image PowerPC and how say xeno74 also netinstall available
burn the dvd.
CFE ramdisk -z -addr=0x24000000 -fs=iso atapi0.1:install/powerpc64/initrd.gz
CFE setenv bootargs "root=/dev/ramdisk"
CFE boot -elf -noints -fatfs usbdisk0:vmlinux-4.3
and follow the instructions for install ist very similar to ubuntu installation
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

xeno74 wrote:
AlicePPC wrote:Unable to locate package firmware-linux-nonfree
You can also install it manually.

Download: linux-firmware-nonfree_1.16_all.deb

Code: Select all

sudo dpkg -i linux-firmware-nonfree_1.16_all.deb
Oh sorry you need the package linux-firmware. Could you install it, please?
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

AlicePPC wrote:Humm...I have a problem loading kernel modules
How can fix this?
This is a Systemd error message. Currently, I am testing ubuntu MATE 15.10 amd64 in a virtual VMware Player 12 machine too and I also see the Systemd kernel modules error message on start-up there. In my point of view it is a Ubuntu userland problem. (see the following screenshot)

Image
corto
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 40
Joined: Sun Jun 19, 2011 9:53 am

Re: Ubuntu Mate 15.10

Post by corto »

@xeno74

Thank you very much for the nice document with the procedure to install Ubuntu Mate 15.10. I followed it and here are my comments and questions:
- You don't mention the screen about the choice of the Ethernet card. I chose the PCI card because my wire is plugged there for AmigaOS
- About the download mirrors, the only one that is listed is "uk"
- About the modules directory: would it be possible to have a shorter name for the path? That's not very convenient, and more knowing the backspace is not responsive (with high latency)
- Then there is a choice of the kernel: I chose linux-powerpc64-smp but I'm not sure it is the good choice
- I partitioned my hard drive with 2 partitions "/" and "swap" (and checked the option "bootable" for the first one, that should have its importance)
- Nice: there are instructions about how to parameter CFE and ... localized!
- At this stage, there is a difference between the screen and your document: the installer mentions a bootcommand with initrd and vmlinuz in "sata0;0:/boot/". But from what I've read in forums, it is not possible. Could you confirm and remind me why? What kind of memory card do you recommend?
- Note that there a command "setenv -p boot_debian" ... strange when installing Ubuntu.

After a reboot using the kernel on usb key, Linux starts and stops, mentioning something like "ERROR: systemd Failed to start Load Modules ...". Yesterday, I had the log on screen but retrying now, the screen is black. I don't know how to check if there is something in the modules directory.
Is there something to copy during the installation after having created the directory?

I hope that will help to improve the process ... and at the end, I would like to be able to run Ubuntu Mate 15.10 and ... Debian 8, in addition to AmigaOS.
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

corto wrote: Thank you very much for the nice document with the procedure to install Ubuntu Mate 15.10.
My pleasure!
corto wrote: I followed it and here are my comments and questions:
- You don't mention the screen about the choice of the Ethernet card. I chose the PCI card because my wire is plugged there for AmigaOS
Oh sorry, on which part of the installation shall I mention it?
corto wrote: - About the download mirrors, the only one that is listed is "uk"
Shall I remove the screenshot with the mirrors?
corto wrote: - About the modules directory: would it be possible to have a shorter name for the path? That's not very convenient, and more knowing the backspace is not responsive (with high latency)
I will try it but I think it's not possible.
corto wrote: - Then there is a choice of the kernel: I chose linux-powerpc64-smp but I'm not sure it is the good choice
It's OK. You don't use this kernel. It's only for creating the directory /lib/modules.
You use a special X1000 kernel on your CF card or USB drive.
corto wrote: - At this stage, there is a difference between the screen and your document: the installer mentions a bootcommand with initrd and vmlinuz in "sata0;0:/boot/". But from what I've read in forums, it is not possible. Could you confirm and remind me why? What kind of memory card do you recommend?
I can confirm it. Please use the CFE commands from the manual.

I use a 256MB SanDisk CompactFlash card.
corto wrote: After a reboot using the kernel on usb key, Linux starts and stops, mentioning something like "ERROR: systemd Failed to start Load Modules ...".
It's normal. I have the same error message on x86. The kernel modules work. I think it's a Linux userland problem.
corto wrote: Yesterday, I had the log on screen but retrying now, the screen is black.
Have you seen the login screen? Which graphics card is installed in your X1000?
corto
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 40
Joined: Sun Jun 19, 2011 9:53 am

Re: Ubuntu Mate 15.10

Post by corto »

xeno74 wrote:
corto wrote: I followed it and here are my comments and questions:
- You don't mention the screen about the choice of the Ethernet card. I chose the PCI card because my wire is plugged there for AmigaOS
Oh sorry, on which part of the installation shall I mention it?
I'm sorry, I didn't write the step :-(
xeno74 wrote:
corto wrote: - About the download mirrors, the only one that is listed is "uk"
Shall I remove the screenshot with the mirrors?
Or just mention that the list may differ.
xeno74 wrote:
corto wrote: - About the modules directory: would it be possible to have a shorter name for the path? That's not very convenient, and more knowing the backspace is not responsive (with high latency)
I will try it but I think it's not possible.
Ok, no problem. It was a bit painful but it has just to be done once.
xeno74 wrote:
corto wrote: - Then there is a choice of the kernel: I chose linux-powerpc64-smp but I'm not sure it is the good choice
It's OK. You don't use this kernel. It's only for creating the directory /lib/modules.
You use a special X1000 kernel on your CF card or USB drive.
Ok. But I was a bit stuck in front of the choice. Please add a word in the document.
xeno74 wrote:
corto wrote: - At this stage, there is a difference between the screen and your document: the installer mentions a bootcommand with initrd and vmlinuz in "sata0;0:/boot/". But from what I've read in forums, it is not possible. Could you confirm and remind me why? What kind of memory card do you recommend?
I can confirm it. Please use the CFE commands from the manual.

Ok. But that's too bad we can boot from harddrive.
xeno74 wrote: I use a 256MB SanDisk CompactFlash card.
Ok, are there some cards to avoid, due to a size too big, or a speed incompatibility?
xeno74 wrote:
corto wrote: After a reboot using the kernel on usb key, Linux starts and stops, mentioning something like "ERROR: systemd Failed to start Load Modules ...".
It's normal. I have the same error message on x86. The kernel modules work. I think it's a Linux userland problem.
I don't know more, I can't open a console ...
xeno74 wrote:
corto wrote: Yesterday, I had the log on screen but retrying now, the screen is black.
Have you seen the login screen? Which graphics card is installed in your X1000?
No, I haven't seen the login screen.

I use a RadeonHD 6570.
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

corto wrote:
No, I haven't seen the login screen.

I use a RadeonHD 6570.
Could you configure Xorg manually, please?

Code: Select all

sudo X -configure
After that copy the xorg.conf to /etc/X11.

@All

Ubuntu MATE 15.10 Beta 2 is out! Come and see what's new.

https://ubuntu-mate.org/blog/ubuntu-mate-wily-beta2/

Image
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

ubuntu MATE 15.10 PowerPC in a chroot on Lubuntu 12.04.5 PowerPC

If you want to test ubuntu MATE 15.10 with a lot of new programs such as Firefox 41 or LibreOffice 5 and you don't have a free partition or you couldn't install it on your AmigaONE X1000, then you can install it in a chroot on your existing 12.04 system.

Code: Select all

sudo su

Code: Select all

mkdir /chroot-wily

Code: Select all

debootstrap --arch powerpc wily /chroot-wily http://ports.ubuntu.com/ubuntu-ports
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 790BC7277767219C86F933B4FE6ACC0B21F32)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I Found additional base dependencies: bc libdpkg-perl libgdm3 perl perl-modules
I: Checking component main on http://ports.ubuntu.com/ubuntu-ports....
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
...
I: Base system installed successfully.
Change to the directory /chroot-wily:

Code: Select all

cd /chroot-wily
Mount proc:

Code: Select all

mount -t proc none ./proc
Mount dev:

Code: Select all

mount -o bind /dev ./dev
Mount sys:

Code: Select all

mount -t sysfs sys ./sys
Chroot to Ubuntu 15.10 with:

Code: Select all

chroot . /bin/bash
PLEASE check if you are on Ubuntu 15.10:

Code: Select all

cat /etc/issue 
Ubuntu Wily Werewolf (development branch) \n \l
Congratulations you have installed Ubuntu 15.10 PowerPC in a chroot!

If you want to use the Ubuntu flavour ubuntu MATE then you have to install the meta package ubuntu-mate-desktop:

Please add the repositories universe and multiverse to the sources.list:

Code: Select all

vi /etc/apt/sources.list
dep http://ports.ubuntu.com/ubuntu-ports wily main universe multiverse
Afterwards you have to update the package database:

Code: Select all

apt-get update

Code: Select all

apt-get install ubuntu-mate-desktop
(This takes a long time)

After that there are some errors about cups. You have to remove cups.

Code: Select all

apt-get remove cups
apt-get autoremove
apt-get remove avahi-daemon
apt-get autoremove
Ubuntu Mate 15.10 isn't installed completely. You can completely install it with:

Code: Select all

apt-get install ubuntu-mate-*
After installing ubuntu MATE 15.10 completely, You have to remove cups again.

Code: Select all

apt-get remove cups
apt-get autoremove
apt-get remove avahi-daemon
apt-get autoremove
Please leave the ubuntu MATE 15.10 chroot with:

Code: Select all

exit
You have to use the X11 unix socket from the Lubuntu 12.04.5 host system for ubuntu MATE 15.10 X11 programs.

Mount the X11 unix socket from Lubuntu in the chroot environment:

Code: Select all

mount --bind /tmp/.X11-unix ./tmp/.X11-unix
You have to allow the access from the ubuntu MATE 15.10 X11 programs:

Code: Select all

xhost + local:
Output:
non-network local connections being added to access control list
Chroot to ubuntu MATE 15.10 again with:

Code: Select all

chroot . /bin/bash
Set up the DISPLAY variable to ':0':

Code: Select all

export DISPLAY=:0
Yeah, you can start Firefox 41:

Code: Select all

firefox
Note: You can use the latest Firefox 41 on Lubuntu 12.04.5 PowerPC with a ubuntu MATE 15.10 PowerPC chroot. Firefox 41 isn't available for Lubuntu 12.04.5 PowerPC.

If Firefox and Thunderbird have another font in the menus and dialogue boxes than the desktop environment, then you have to create the file .fonts.conf in the home directory.

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
</match>
</fontconfig>
If this file exist, then the Firefox use the font configuration from the desktop environment.
Last edited by xeno74 on Fri Oct 02, 2015 11:26 am, edited 6 times in total.
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

Screenshots of ubuntu MATE 15.10 in a chroot on Lubuntu 12.04.5:

ImageImage
User avatar
xeno74
Posts: 10698
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Ubuntu Mate 15.10

Post by xeno74 »

3D acceleration for the ubuntu MATE 15.10 PowerPC chroot

Download the unofficial Mesa with Firefox 41 from the chroot:

Image

MesaLib-10.0.4-powerpc-unofficial.tar.bz2

The package will be downloaded to the directory /root/Downloads in your chroot.

Unpack it with:

Code: Select all

tar jxfv MesaLib-10.0.4-powerpc-unofficial.tar.bz2
Copy the patched r600_dri.so to /usr/lib/powerpc-linux-gnu/dri/:

Code: Select all

cp mesa-10.0.4/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/
You can check it with:

Code: Select all

glxinfo | grep -i opengl

Code: Select all

vblank_mode=0 glxgears
Image
Post Reply