Just my 2 cents on network (samba) performance for NSA325 on Debian: Read from NAS to my pc SSD drive: 59.5MB/sec Write to NAS from my pc SSD drive: 37.5MB/sec Both speeds are of 2GB file. My smb.conf Bye!by davidedg - Debian
Almaz Wrote: ------------------------------------------------------- > I guess, it's impossible to boot from raid. boot from raid (only mirror - raid1) is possible from uboot. Confirmed working for my Lacie NS2MAX unit: https://github.com/davidedg/NAS-NS2MAX-mod/blob/master/install/install-on-hdd_mdadm.txt#L61 Basically, you create a small md volume for /boot, with the old metaby davidedg - Debian
> You can bug WarheadsSE :) Warhead will do a GitHub release > after he's happy with what we have. And then I will release it here. @WarheadsSE: any chances that this will be included in upstream u-boot ? I just dislike fragmentation :Dby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > @davidedg, > > I'm testing kernel 3.17 FDT for all Kirkwood > boxes. > > I am trying to compile the DTS file > kirkwood-nsa325.dts, which I got from > > pkirchhofer Git I had succeeded in compiling a working FDT kernel by manual cherrypicking specific patches - but it was a nightby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > It's up to the users to add udev rules to /etc/udev/rules.d/ to automount USB drives or any I humbly advertise the "usbmount" package, which does a pretty nice job for this, at least for me :Dby davidedg - Debian
I actually use esekeyd for my buttons, and my own kernel config; but I tried anyway stopping esekeyd and installing acpid and it does the same error. I tried running an strace -f , but could not grasp any usable info.by davidedg - Debian
herb Wrote: ------------------------------------------------------- > I'm using: Bus 005 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port It's the very same I'm using. > The version of kwboot is unlnown. I cannot see any version info anywhere! I'm using the one from mailine U-boot 2014.01, self compiled for x86 with sourcery codebench codeby davidedg - Debian
bodhi Wrote: > Interesting time it took on your box. Mine took about 20s to load Herb, what serial adapter are you using? Going obvious... did you set it to 115200 bauds? What is the size of the file you're trying to boot? What version of kwboot you're using?by davidedg - Debian
davidedg Wrote: ------------------------------------------------------- > Do you know what is the minumum env ? > Or can I reset env to default and build from there? Ok I'm having success with this (minimal) environment, hope I did not leave out too much ;P https://github.com/davidedg/NAS-NSA325-mod/blob/master/uboot/upstream_u-boot.txt A big thanks to WarheadsSE and Bodhiby davidedg - Debian
Flashed to nand and booted without problems. Now working on better environment to take advantage of scripting. Do you know what is the minumum env ? I mean, do I still need all stuff like: CONTRY_TYPE=FF FEATURE_BIT=00 MODEL_ID=AE03 PRODUCT_NAME=NSA-325v2 VENDOR_NAME=MitraStar Technology Corp. disL2Cache=no disL2Prefetch=yes disaMvPnp=no enaAutoRecovery=yes enaCpuStream=no enby davidedg - Debian
Don't know exactly what I've done... but now it works! It seems there was something wrong with "$(" variable calling. Stock u-boot allowed to call smth like: bootm $(loadaddr) $(uInitramfsAddr)' and I used it almost everywhere. New Uboot seems to not always like it - I just removed the parenthesis. I also thought that the "arcNumber=4495" was the culpby davidedg - Debian
After booting uboot with UART, I'm trying to boot my kernel image. after usb reset, I try: ext2load usb 0:1 ${uInitramfsAddr} /boot/uInitramfs I answers back: 3155024 bytes read in 550 ms (5.5 MiB/s) ## Error inserting "filesize" variable, errno=12 Then, same thing for initramfs (it reads file, but barks on filesize variable) Trying to boot: bootm 0x0200by davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > I've been looking at your NSA325 mod page: > https://github.com/davidedg/NAS-NSA325-mod/ and I really like a lot of what you've done. > > In particular: > https://github.com/davidedg/NAS-DNS325-mod/blob/master/rootfs-initramfs/rootfs-nand.txt#L268 actually this is for my former nas (dlink dnsby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > This sounds to me that your serial connection is > probably not full speed? Virtualization ruined it :D Worked at first shot now on native Linux Mint (with pl2303 usb serial adapter). I did not understand until some minutes ago that the watchdog is actually still there UNTIL new u-boot has done booting. Tomorrby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > You should use the smaller > uart version from the tarball re-uploaded here. > The mtd0 version is 384K and it will have problem loading completely. > > > uboot.2013.10-tld-1.nsa325.uart.kwb > 45%, but no farther. What I've noticed, though, is that I have to use "-p" switch eveby davidedg - Debian
Mmm... tried several times but... can't seem to go past 34~36 % in kwboot. I'm using the one shipped/compiled from u-boot 2014.01 (from denx). root@debian:~/nas/uboot/u-boot-2014.01/tools# ./kwboot -b ~/nas/nsa325/uboot-t1/uboot.2013.10-tld-1.nsa325.mtd0.kwb -p -t /dev/ttyS1 -B 115200 Sending boot message. Please reboot the target...- Sending boot image... 0 % [..............by davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > @davidedg, > Have you tried the test U-Boot? I'm running NAND > version and it has been very stable. now that weekend has finally come, I will be happy to test it :D As I understood from your reply to sigma, new Uboot has different location for its env and won't touch the stock one. But, since itby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > This is because the current kernel NSA325 setup does not allow writing to mtd0. Out of curiosity, since my kernel build never had this "switch", how do you prevent mtd0 from writing? > > I hope i can fix it with a new submarine :) > :) Das U-boot? First time I searched info on Google for "by davidedg - uBoot
bodhi Wrote: ------------------------------------------------------- > Since WarheadsSE has not released this U-Boot to > GitHub, please consider this a pre-released test > version, not an "official realease" from me. The > official release will be a different build > whenever the u-boot-kirkwood GitHub is ready. I would like to help, but would not know how :Dby davidedg - uBoot
bodhi Wrote: ------------------------------------------------------- > I see. So you're not getting temperature readng either? Nope, exactly. I can't remember if stock firmware has a sensor for that? Would be interesting to have one... but I can nonetheless witness no failure with 40°C outside this summer (1 WD Green hard disk), using custom kernel. BTW, more important tby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > @davidedg, > > Quote> [ 396.131910] nsa3xx-hwmon nsa3xx-hwmon: > Failed to read MCU data > > 0 > > [ 401.391909] nsa3xx-hwmon nsa3xx-hwmon: Failed > to read MCU data > > 0 > > > Now that I got sometime to play with the NSA325, > I'm seeing this in dmesg alsoby davidedg - Debian
hansenfiks Wrote: ------------------------------------------------------- > only thing i have done since reset and format, is > to install Transmission and deactivated the > mediaserver module. user mode processes can definitely be swapped out. You should try allocate fake ram and see if swap kicks in. Don't know if this is doable with stock kernel (i use tmpfs for this).by davidedg - Debian
Strange that swap is not even touched, though. Have a feeling that this might be related to drive issues (non pageable ram in ntfs module?). What are values of: cat /proc/sys/vm/swappiness cat /proc/swaps cat /proc/meminfo swapon -s cat /proc/sys/vm/vfs_cache_pressure Did you install any 3rd party modules/plugins? Bye!by davidedg - Debian
absintos Wrote: ------------------------------------------------------- > same with 3.14. The main culprit that i suspect is samba4. although, the lack of proper jumbo frames > support might also be affecting this (worked great with stock). when jumbo frames are enabled (9k, > 4k, whatever), speed drops to about 1-2 MBps.... When first replaced stock fw with my first debian builby davidedg - Debian
Stefnas Wrote: ------------------------------------------------------- > Thanks bodhi, > I succeeded to compile and to bootthe kernel (with > 3.14.5). > The original uInitrd (from your tarbal 3.14.0 > succeed to load but it fails to load the rootfs on > the same usb-stick. With the 3.14.0-kirkwood-tld-1 > kernel it succeeded). > I made also a new uInitrd file withby davidedg - Debian
SPuntte Wrote: ------------------------------------------------------- > My perception is that you cannot (or no easy way exists to) install a custom OS onto the > SATA-drives if you want to have them configured as a RAID array. Haven't really tried on NSA325 because I just own 1 drive, but it should work. I made it work on Lacie NS2MAX, though. Only 3 requirements for this shouby davidedg - Debian
kao Wrote: ------------------------------------------------------- > how hard it is to get Debian running on NSA325v2? > Or, better yet - will I be able to do that? Since you already installed Debian on QNAP NAS, I think you already know pretty much of the hard stuff. > I probably would be able to attach serial console should it be necessary. I definitely suggest to have oneby davidedg - Debian
Bodhi, here are 2 serial bootlogs, 1 with eth cable and the other without, both working.by davidedg - Debian
Greg Wrote: ------------------------------------------------------- > although I havent tried cross-compiling > yet. I know it takes ages to build using this > small ARM. Thanks for your feedback. G Greg, just a starter for CodeSourcery: https://sourcery.mentor.com/GNUToolchain/doc16565/getting-started.pdf Linux ia32 installer: https://sourcery.mentor.com/GNUToolchain/packagby davidedg - Debian
bodhi Wrote: ------------------------------------------------------- > Do you experience any of the problem that Greg is seeing? Actually, I've never used your _compiled_ version, as my building system is quite different. I can confirm, though, that the .config you provided generates fully functional 3.14.2 and 3.14.3 kernels, with no reboots whatsoever. @Greg: if you're stiby davidedg - Debian