Linux X1000 newbie

AmigaOne X1000 platform specific issues related to Linux only.

Re: Linux X1000 newbie

Postby sailorMH » Sat Mar 02, 2019 8:58 pm

nbache wrote:Is there even a USB 3.0 port on the X1000? And if so, does it work as 3.0 under Linux? (as opposed to OS 4, which doesn't support 3.0).
Niels

there is originally no USB3.0 port. But you can use PCI-e x1 USB 3.0 card and connect to blue USB ports on top of the case. It was discussed there few years before: http://forum.hyperion-entertainment.com/viewtopic.php?f=35&t=2330
And some speed results on my X1000 with external SSD:
USB2.0:
root@amigaone:# time sh -c "sync && dd if=/dev/zero of=/media/tata/Samsung_T3/tmp0 bs=512M count=20 && sync"
20+0 záznamů přečteno
20+0 záznamů zapsáno
10 737 418 240 bajtů (11 GB) zkopírováno, 285,424 s, 37,6 MB/s

real 5m1.073s
user 0m0.002s
sys 0m18.680s
root@amigaone:# umount /media/tata/Samsung_T3/

USB3.0
root@amigaone:# time sh -c "sync && dd if=/dev/zero of=/media/tata/Samsung_T3/tmp0 bs=512M count=20 && sync"
20+0 záznamů přečteno
20+0 záznamů zapsáno
10 737 418 240 bajtů (11 GB) zkopírováno, 72,494 s, 148 MB/s

real 1m16.575s
user 0m0.002s
sys 0m19.546s


Of course, you cannot reach max. USB3.0 speed (600MB/s) because of PCI-e x1 slot (250MB/s) but speed increase is great especially with long files.

All this is slightly offtopic - all USB ports on Nemo motherboard are USB 2.0 - I suppose that USB3.0 was recomended due to read speed.
Last edited by sailorMH on Sat Mar 02, 2019 10:04 pm, edited 1 time in total.
Pegasos 2: MorphOS, AmigaOS, MintPPC 11, NetBSD, MacOS X (molk), Debian 8
AmigaOne X1000: AmigaOS, MintPPC 11, Debian 8, Lubuntu 16.04
Powermac G5 Quad: MacOS X, Debian 8, Lubuntu 16.04
User avatar
sailorMH
 
Posts: 82
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Postby sailorMH » Sat Mar 02, 2019 9:38 pm

alfkil wrote:I have tried booting from two different usb sticks and from the cf card. It is pretty much the same in all cases. That is it miraculously works sometimes, but mostly not.


Booting with my X1000 was at first also magic.
I have two boot devices - usbdisk0: with fatfs and cf0: with ext2.
Before I experimented with fatfs a on cf0:, but ext2 give me the best results. And one more experience - don't delete any file from cf0:, only add. If you need something delete, format again all card.
Today I have kernels on both devices, but unfortunately from USB I can boot only uncompressed kernels (vmlinux). zImage every time have or "I/O error", or "zImage is not elf executable".

Maybe it connected with USB stick speed, like wrotes xeno74.
Pegasos 2: MorphOS, AmigaOS, MintPPC 11, NetBSD, MacOS X (molk), Debian 8
AmigaOne X1000: AmigaOS, MintPPC 11, Debian 8, Lubuntu 16.04
Powermac G5 Quad: MacOS X, Debian 8, Lubuntu 16.04
User avatar
sailorMH
 
Posts: 82
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Postby xeno74 » Sat Mar 02, 2019 10:08 pm

I don’t have any problems with compressed kernels but if you have problems with them, then I will change back to uncompressed kernels.

Please test the uncompressed kernel 4.19.1.

Download: vmlinux-4.19.1-AmigaOne_X1000_X5000.tar.gz
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Linux X1000 newbie

Postby sailorMH » Sat Mar 02, 2019 10:19 pm

xeno74 wrote:I don’t have any problems with compressed kernels but if you have problems with them, then I will change back to uncompressed kernels.

Please test the uncompressed kernel 4.19.1.

I think it is not needed change back to uncompressed - I will test some fast usb sticks - maybe it helps, and if not, I can boot it from cfcard.

And the uncompressed I will test and let you know. Many Thanks.
Pegasos 2: MorphOS, AmigaOS, MintPPC 11, NetBSD, MacOS X (molk), Debian 8
AmigaOne X1000: AmigaOS, MintPPC 11, Debian 8, Lubuntu 16.04
Powermac G5 Quad: MacOS X, Debian 8, Lubuntu 16.04
User avatar
sailorMH
 
Posts: 82
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Postby sailorMH » Sat Mar 02, 2019 11:03 pm

:-(
Also uncompressed kernel 4.19 boots only from cfcard - usb have I/O errors.
But older kernel 4.2 boots fine from usb.
It looks like problem with usb stick.
Pegasos 2: MorphOS, AmigaOS, MintPPC 11, NetBSD, MacOS X (molk), Debian 8
AmigaOne X1000: AmigaOS, MintPPC 11, Debian 8, Lubuntu 16.04
Powermac G5 Quad: MacOS X, Debian 8, Lubuntu 16.04
User avatar
sailorMH
 
Posts: 82
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Postby xeno74 » Sun Mar 03, 2019 9:41 am

Thank you for testing! :-)

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

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

Re: Linux X1000 newbie

Postby alfkil » Mon Mar 04, 2019 1:36 am

Thanks for the help, guys.

I am booting Fienix and MintPPC from hard disk with kernel 4.19 without problems. I think the kernel switch did it, but I am not sure if it is due to the compression or not.

Image

P.S.: Can I alter size of images with BBCode?
Last edited by alfkil on Mon Mar 04, 2019 11:22 pm, edited 1 time in total.
User avatar
alfkil
 
Posts: 61
Joined: Mon Oct 24, 2011 9:46 pm
Location: Denmark

Re: Linux X1000 newbie

Postby xeno74 » Mon Mar 04, 2019 4:42 pm

alfkil wrote:Thanks for the help, guys.

I am booting Fienix and MintPPC from hard disk with kernel 4.19 without problems. I think the kernel switch did it, but I am not sure if it is due to the compression or not.



Hi Alfkil,

Thanks a lot for testing! :-) Could you please test the uncompressed final kernel 5.0 (vmlinux-5.0)?

Download: linux-image-5.0-X1000_X5000.tar.gz

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

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

Re: Linux X1000 newbie

Postby sailorMH » Sun Mar 10, 2019 5:46 pm

sailorMH wrote::-(
Also uncompressed kernel 4.19 boots only from cfcard - usb have I/O errors.
It looks like problem with usb stick.


Today I replaced my usb flash for new one:
SanDisk Ultra Flair 32GB, read speed 130 MB/s.

Every kernel compressed or uncompressed (vmlinux, zImage) boots fine. Tested on 4.2, 4.4, 4.9, 4,14, 4.19, 5.0, 5.1.

@xeno74 thanks for tips
Pegasos 2: MorphOS, AmigaOS, MintPPC 11, NetBSD, MacOS X (molk), Debian 8
AmigaOne X1000: AmigaOS, MintPPC 11, Debian 8, Lubuntu 16.04
Powermac G5 Quad: MacOS X, Debian 8, Lubuntu 16.04
User avatar
sailorMH
 
Posts: 82
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Linux X1000 newbie

Postby xeno74 » Sun Mar 10, 2019 8:49 pm

sailorMH wrote:Today I replaced my usb flash for new one:
SanDisk Ultra Flair 32GB, read speed 130 MB/s.

Every kernel compressed or uncompressed (vmlinux, zImage) boots fine. Tested on 4.2, 4.4, 4.9, 4,14, 4.19, 5.0, 5.1.

@xeno74 thanks for tips


Hi SailorMH,

Many thanks for testing! :-)

@Alfkil
Could you please test the uncompressed final kernel 5.0 (vmlinux-5.0)?

Download: linux-image-5.0-X1000_X5000.tar.gz

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

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

PreviousNext

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: mechanic and 1 guest