bodhi Wrote: ------------------------------------------------------- > @pengu, > > Thanks! I see. Same SoC and everything. I think > that cover all bases, except 2 items: > > - memory: the NSA320S has 256MB RAM, I thought the > NSA310S also has 256MB? > - The number of SATA ports needs to be defined as > 1 port for NSA310S. This is not that important, >by JohnnyUSA - Debian
Here is the full bootlog: http://pastebin.com/pAyj62Ebby JohnnyUSA - Debian
root@debian:~# dmesg | grep mv643xx_eth [ 2.040733] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 2.124478] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:df:07:11 root@debian:~# and root@NSA310S:/zyxel/sbin# ./fw_printenv | grep ethaddr ethaddr=5C:F4:AB:DF:07:11 How is it possible, we both running almost the same setups, same NAby JohnnyUSA - Debian
Gonna check all these in a min and edit this post with infos. This is taken from ZyXEL OS Telnet: root@NSA310S:/zyxel/sbin# ./fw_printenv | grep ethaddr ethaddr=5C:F4:AB:DF:07:11 ..more to come soonby JohnnyUSA - Debian
pengu Wrote: ------------------------------------------------------- > I didn't see this on my box. > To which device you are connected? > > I'm using a D-Link DIR-825 with OpenWrt Chaos > Calmer using odhcpd I'm using Linksys WRT160NL with OpenWrt Chaos Calmer r46120 and odhcpd. LE: my cable is the cable that came with the NAS. root@debian:~# miby JohnnyUSA - Debian
Seems i was in hurry. Sadly more problems now... On halt/shutdown my ethernet is somehow dying: [ 23.423067] NET: Registered protocol family 10 [ 23.594219] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please vby JohnnyUSA - Debian
@pengu nothing happens, that's why i'm looking for alternative to actually put some use on that button. @bodhi thanks! gonna try that. I think we should make something official about pengu's discovery on NSA310S, more ppl should know Debian is working properly. I've had enough time for testing these days, running both Flexget and Sonarr, everything works perfectly fine.by JohnnyUSA - Debian
Ok, back with fresh news. Got my Sandisk Nano Stick and everything is working perfectly. Debian boots at coldboot or reboot. Now, i've managed to get my USB TTL bla bla and here's the U-Boot output for the other stick that didn't boot on coldboot: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.06.29 20:55:46 =~=~=~=~=~=~=~=~=~=~=~= __ __ _ _by JohnnyUSA - Debian
bodhi Wrote: ------------------------------------------------------- > @Johnny, > > That Cruzer Fit will do the job just fine! I use > this for all my plugs that boot with USB. > > Heads up: If the cold boot problem is still there > even with Sandisk drive, you'll need serial > console to troubleshoot this. Too bad we don't > have newer u-boot forby JohnnyUSA - Debian
I've ordered this one today: http://www.ebay.com/itm/SANDISK-Cruzer-Fit-USB-Flash-Drive-16GB-16G-Mini-Nano-New-Lifetime-Warranty-/221686809520?pt=LH_DefaultDomain_3&hash=item339d9043b0 Hope it will do the job. I'm too inlove with my Debian installation and can't stand the fact i have problems at coldboot.by JohnnyUSA - Debian
Ok, i've tested with 3 different USB sticks: one no-name (4gb), one DataTraveler (64gb), one (forgot name - 16gb). None of them booted on NAS coldboot. They all booted when i first SSH'ed into ZyXEL OS and did a "reboot". I suppose there's nothing we can do at least until my TTL adapter arrives.by JohnnyUSA - Debian
pengu Wrote: ------------------------------------------------------- > Do you have another usb stick to test? > > you said earlier that netconsole is working. > Can you give some output? > I think this isn't kernel related so some output > at U-Boot stage could help > > It should be like this: > > http://pastebin.com/7uptNXc2 No, i said i coulby JohnnyUSA - Debian
Ok, i've installed the new kernel --> no change 1. On coldboot (halt/power off the NAS), it doesn't boot from USB. 2. I've changed the usb_rootdelay to 15, nothing, on coldboot doesn't boot from USB NOTE: It seems i was wrong, i don't have to log to ZyXEL OS telnet and do "sync/reboot" in orded to boot from USB. It's enough to coldboot to ZyXEL OSby JohnnyUSA - Debian
pengu Wrote: ------------------------------------------------------- > This is no problem here: > When issuing the halt command in debian and power > the device on later, it boots fine. > I think this could be kernel related. > You use 3.18.5 as in the rootfs right? > I'm using 4.0.0-tld2 and no problem. Ok, gonna switch to 4.0.0-tld2 also and see what's happby JohnnyUSA - Debian
Back with some news guys! After almost 10 hrs of testing stuff it seems i figured out what is/was wrong with Debian being unable to boot from USB. So, if i remove the power cord from NAS or i use the HALT command in Debian to shutdown the NAS, at power-on, i can't boot anymore into Debian. The only solution i found is to remove the USB, boot into Zyxel OS, login to Zyxel OS telnet, pluby JohnnyUSA - Debian
pengu Wrote: ------------------------------------------------------- > This is what I said. > you have to use ext2load when using a ext2/3 > partition > when using a fat partition like me, you have to > use fatload. I knew that since i first read your guide. I've setup them like they should but somehow i didn't save the environment.. or something fishy happened..by JohnnyUSA - Debian
pengu Wrote: ------------------------------------------------------- > @ JohnnyUSA: > > > you don't need the bootable flag if needet I can > upload a usable stick image with my settings. Please do so until i figure out what's happening wrong on my end. LE: Ok, it worked! I've checked again every step, every setting and even if last night, as you gby JohnnyUSA - Debian
So to get things straight, 1. I should create a partition FAT16 and put only kernel files in its root. (how large this partition should be?) 2. I should create a swap partition type Linux Swap? and if so (how large? 500mb should suffice?) 3. I should create a 3rd partition labelled "rootfs" ext3 formatted on any size i want to? A partition where i put all rootfs files from @bohdi.by JohnnyUSA - Debian
Thanks again for replies guys. Fact is, I did managed to boot Debian once on the same stick. So the stick it's not the culprit here, just to remove this from our equation. PS: I'm instaling Debian on VM now just to try it on it also.by JohnnyUSA - Debian
Thanks for the reply @bodhi, did what you said, plugged in the USB, rebooted the NAS, all leds were lid for 1-2 minutes or so and after they went dark and only the sys led is blinking, trying to ping the NAS --> "Destination host unreachable".. As i've said, today worked once and i'm sure i did the same steps. After i've formatted the USB and recreated the rootfs paby JohnnyUSA - Debian
Ok, i decided to reformat the USB Stick and make a bigger partition for rootfs (previously i've had only 2gb), did all the steps that were working previously and now it doesn't work again. I think i'm going crazy. Tried that DKU-5 cable, no luck connecting through serial, tried to inverse RX/TX pins, nothing. I have only one ROOTFS partition on Stick marked as BOOT, labeled aby JohnnyUSA - Debian
Finally managed to make it work. Sadly, Netcat didn't work on my box, also, the DKU-5 cable that arrived today wasn't ok, it outputs 4.5v, way too much. But when i was about to give up, tried one more time combining steps from your tutorial @pengu and @bodhi's topic and magic... i got ssh access. More details later on when i'll get more time to stay on my PC.by JohnnyUSA - Debian
Perfect thanks! Gonna debug tomorrow and post results here ;)by JohnnyUSA - Debian
ok, gonna test this in a min. EDIT: nothing is happening even if i edited the correct IP's, gonna try again tommorow when i'll get a DKU-5 cable. Is there any pic with the correct pins connections on 310S? Cheers!by JohnnyUSA - Debian
Ok, i've tried right now but sadly it doesn't work, i suppose i've messed up something. When i plug the USB stick and Reboot the NAS, every led on my NAS is lid and i can't SSH or whatever ---> Destination unreachable. Fac is, if i remove the USB stick, the NAS is booting ok in the Zyxel OS and everything is working as it previously did.by JohnnyUSA - Debian
Brilliant @pengu. One more thing since i'm totally noob when comes to all this advanced stuff(i've worked on linux before normal user level only). Considering i don't do any mistakes, do i really need the serial stuff since i'm missing at the moment the nokia cable. Also, is there any advantage in running Debian on HDD instead of USB stick? What about running it from NANDby JohnnyUSA - Debian
Thanks alot for your fast response, tommorow i'll get home and follow your guide, if anything bad will happen i'll message you here. Cheers my friend, beer is on me ;)by JohnnyUSA - Debian
Hi pengu, i have the same NSA310S and i'm interested in installing Debian on it, can you provide a step by step guide if you're kind enough? Thanks in advance.by JohnnyUSA - Debian