Page 4 of 6

Re: Linux X1000 newbie

PostPosted: Sat Mar 02, 2019 8:58 pm
by sailorMH
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.

Re: Linux X1000 newbie

PostPosted: Sat Mar 02, 2019 9:38 pm
by sailorMH
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.

Re: Linux X1000 newbie

PostPosted: Sat Mar 02, 2019 10:08 pm
by xeno74
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

Re: Linux X1000 newbie

PostPosted: Sat Mar 02, 2019 10:19 pm
by sailorMH
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.

Re: Linux X1000 newbie

PostPosted: Sat Mar 02, 2019 11:03 pm
by sailorMH
:-(
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.

Re: Linux X1000 newbie

PostPosted: Sun Mar 03, 2019 9:41 am
by xeno74
Thank you for testing! :-)

— Christian

Re: Linux X1000 newbie

PostPosted: Mon Mar 04, 2019 1:36 am
by alfkil
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?

Re: Linux X1000 newbie

PostPosted: Mon Mar 04, 2019 4:42 pm
by xeno74
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

Re: Linux X1000 newbie

PostPosted: Sun Mar 10, 2019 5:46 pm
by sailorMH
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

Re: Linux X1000 newbie

PostPosted: Sun Mar 10, 2019 8:49 pm
by xeno74
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