A new kernel for oxnas

This forum is for all other ARMv5 devices

Re: A new kernel for oxnas

Postby shv » Sun Sep 29, 2013 9:12 pm

Uboot and kernel are already contained in Releases. But I don't have the knowledge how to set up my SATA drive for booting this uboot and kernel files. Can somebody tell me how to do this?
Debian @ Pogoplug Pro (actively used)
Debian @ Pogoplug E02
shv
 
Posts: 38
Joined: Fri Dec 21, 2012 6:35 am

Re: A new kernel for oxnas

Postby WarheadsSE » Mon Sep 30, 2013 1:10 am

My script shows you rather specifically, from the How-To on booting from sata. Just read the content.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: A new kernel for oxnas

Postby shv » Mon Sep 30, 2013 7:31 am

I used your script already with other kernels. But with this uboot and kernel the files are somehow different.

u-boot-spl - might be similar to your stage files
u-boot - What to do with uboot.env which shall be on FAT partition? How to set up the uboot.env for booting from SATA?

uImage - Ok, I could flash it but I am missing the module path.
ox820.dtb - What to do with this file.

So it is not so easy to use this uboot and kernel directly. Alternatively I could try to compile an own kernel based on the sources and load it with the old uboot from your SATA script. But it would be nice to get information how to put the new files directly to SATA disk and maybe flash them later.

I have seen your releases tags. Are you booting with tftp instead of SATA? Can you please provide some information how to boot your files from SATA disk?

- shv
Debian @ Pogoplug Pro (actively used)
Debian @ Pogoplug E02
shv
 
Posts: 38
Joined: Fri Dec 21, 2012 6:35 am

Re: A new kernel for oxnas

Postby navym » Tue Oct 01, 2013 12:19 am

Use WarheadsSE's script, and replace ./uImages/uImage.pci with the following one, good luck
https://skydrive.live.com/redir?resid=6 ... EBE6E5!105

BTW: There is a blog about the performance issue
http://mkl-note.blogspot.com/2009/12/li ... issue.html

_____________________________
a bug fixed, link updated
navym
 
Posts: 17
Joined: Tue Sep 24, 2013 2:11 am

Re: A new kernel for oxnas

Postby shv » Tue Oct 01, 2013 8:19 am

Hello navym,
thank you for the upload of the kernel. I did a comparision of the SATA performance between your kernel and the 2.6.31.6_SMP_820 kernel provided by WarheadsSE. I used the same hardware, same rootfs with the following mount options and commands:

Code: Select all
/dev/sda4 on /media/data type ext4 (rw,noatime,errors=remount-ro,commit=100,barrier=0,nobh,data=writeback)
dd if=/dev/zero of=/media/data/test.tmp bs=500K count=1024
dd if=/media/data/test.tmp of=/dev/null bs=500K count=1024

2.6.31.6_SMP_820
Read: 80MB/s
Write: 69MB/s

3.11.1+
Read: 80MB/s
Write: 35MB/s

- shv
Debian @ Pogoplug Pro (actively used)
Debian @ Pogoplug E02
shv
 
Posts: 38
Joined: Fri Dec 21, 2012 6:35 am

Re: A new kernel for oxnas

Postby navym » Tue Oct 01, 2013 8:29 am

Seems really significant, I will try to improve it and let you test again. :)
navym
 
Posts: 17
Joined: Tue Sep 24, 2013 2:11 am

Re: A new kernel for oxnas

Postby WarheadsSE » Tue Oct 01, 2013 1:52 pm

Still better than what I was getting *with* DMA (20MB/s max)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: A new kernel for oxnas

Postby GrizzlyAdams » Wed Oct 02, 2013 2:35 am

I'm having problems with the ethernet under this kernel, it looks like packets are getting sent, and something is received, but dhcp and ping replies don't come back. ARP appears to work though, as the arp tables are getting filled with correct data on both my pogoplug and my pc when I attempt to ping addresses.
GrizzlyAdams
 
Posts: 3
Joined: Wed Jul 06, 2011 4:46 am

Re: A new kernel for oxnas

Postby shv » Wed Oct 02, 2013 6:06 pm

I tested the kernel with a faster harddisk and got the following results:

2.6.31.6_SMP_820
Read: 111MB/s
Write: 68MB/s

3.11.1+
Read: 100MB/s
Write: 34MB/s

- shv
Debian @ Pogoplug Pro (actively used)
Debian @ Pogoplug E02
shv
 
Posts: 38
Joined: Fri Dec 21, 2012 6:35 am

Re: A new kernel for oxnas

Postby navym » Sun Oct 06, 2013 8:49 am

Updated, hopefully it can write 50MiB+/s on ext4 now, testers welcome
navym
 
Posts: 17
Joined: Tue Sep 24, 2013 2:11 am

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest