BuckNaked, SSH into rescue system and print out fw_printenv And let's take a look at that. Also, it's best to setup netconsole right after you have a successful Debian installation (in fact, a successful uBoot installation would be enough to setup netconsole). http://forum.doozan.com/read.php?3,14by bodhi - Debian
mgiammarco Wrote: ------------------------------------------------------- > Here is my sequence: > > - installed NSA320 boot image on usb > - updated > - installed iscsi initiator for a test > - all ok for one week > - added 1tb 2.5 external hdd > - modified it to 3049 (not remember exact number) > to let it see the hdd I assumed you've rebooted afterby bodhi - uBoot
Gents, Did you guys try to upgrade your rootfs to wheezy when this happened? If you can recall the event or have a log, it would be easier to figure out what went wrong.by bodhi - uBoot
@tree, What instruction did you use to generate the initrd.img-3.9-1-kirkwood ? was it generated automatically by flash-kernel when you upgrade to jessie? If it was, try to install the kernel deb package again. But before doing that, remove flash-kernel. And then afer successfully install kernel 3.9-1-kirkwood, generate the uImage and uInitrd manually: mkimage -A arm -O linux -T kernel -by bodhi - Debian
@mgiammarco, Netconsole normally stops the output there (unless you have set up custome boot parameters, or load the module earlier in initrd). Did you try to ssh in? do you use static IP or dynamic IP?by bodhi - uBoot
servercat, Hmm... Since you are booting with the rescue system on USB, it would be sda1. The install script (squeeze or wheezy) will need to write over the sda1 drive, so it is not possible :) sorry I forgot about that. There is a way to force rescue system stick to be assigned sdb1 but it's not foolproof, it's trial and error. You could install uBoot only by running the script iby bodhi - Debian
@habibie, It is possible if Jeff can add this option to his installation script. But this change will effect a lot of sites out there that are using his script to install Kirkwood plugs. Their documentation will need to change to reflect this. I would imagine that the script must be changed in a way that people just say "yes" or press Enter to ignore the option of using different namby bodhi - uBoot
@servercat, Without seeing your current uBoot envs, it's hard to tell exactly what the problem is. However, I'm guessing: - Since you can only boot from the rescue roofts on a USB stick, it means the rescue is setup to load from the stick, not from NAND. - The problem with a lot bad blocks shown in dmesg, and then fw_printenv responds with "Too few good blocks within rangeby bodhi - Debian
If you are booting with a USB thumb drive, 1st thing to do is to mount that stick to a different Linux box and check for error with e2fsck. You did not say your boot drive was formatted ext2 or ext3, but if it was ext2 then when the power went down its file system must have been corrupted.by bodhi - Debian
dheerajjotwani Wrote: ------------------------------------------------------- > # fw_printenv > Warning: Bad CRC, using default environment > bootcmd=bootp; setenv bootargs root=/dev/nfs > nfsroot=${serverip}:${rootpath} > ip= > ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${ho > stname}::off; bootm > bootdelay=5 > baudrate=115200 >by bodhi - Debian
Please see 1st post for an uploaded uBoot image for GoFlex Net.by bodhi - uBoot
Since you've installed Arch, your uBoot envs will probably need to be adjusted in order to boot Debian. Please login into Arch, and print your uBoot envs with fw_printenv and post the output here. Usually it is just a couple of simple changes.by bodhi - Debian
@pancho22, Good news! the new uBoot build I just created does work with >2TB HDD. This is when the HDD is attached as a second drive formatted as EXT3. http://forum.doozan.com/read.php?3,12381,12890#msg-12890 Running without netconsole works fine. With netconsole, a work around is needed as described in that post. I'll upload it for testing sometime today.by bodhi - uBoot
I've finally figured out these netconsle problems in the later uBoot versions and how work around them. Testing with u-boot.2013.07-rc1 1. netconsole input driver seems to regress. Second character in command got lost consistenly. This is due to a recursion logic in drivers/net/netconsole.c that processes characters from a buffer. I modified the recursion logic slightly and it seems toby bodhi - uBoot
@habibie, Have you tried renaming openwrt-kirkwood-uImage to uImage. And what ever the uInitrd is named in Openwrt, rename it to uInitrd?by bodhi - uBoot
davidnewton Wrote: ------------------------------------------------------- > bodhi Wrote: > -------------------------------------------------- > ----- > > Cool! You could try to fix your old stick now. > It > > is certainly easier to do that since you are in > > Debian. > > dohdi: Can I just copy the files in /boot to the > old drive to preserveby bodhi - Debian
@servercat, You could mount the stick on another Linux box and convert it to Ext2, it's quite simple to do. Use tune2fs command.by bodhi - Debian
Cool! You could try to fix your old stick now. It is certainly easier to do that since you are in Debian.by bodhi - Debian
@david, See http://forum.doozan.com/read.php?2,12875,12877#msg-12877by bodhi - Debian
Try this rootfs (see under "Updated 19 June 2013" section): http://forum.doozan.com/read.php?2,12096by bodhi - Debian
@pancho22, I dont think it will work because the reason stated above in part_efi.c. Last time I've looked, the code is still the same.by bodhi - uBoot
postman Wrote: ------------------------------------------------------- > @Bohdi, > > First, thanks for the help. > > I had the standard topkick 2.6.xx kernel that the > tonidoplug2 ships with. When I installed, I did > get two errors about missing symbolic links; > others have mentioned them and said it still > booted, so i paid it little mind. > >by bodhi - Debian
@postman, Before installing kernel, what do you have? can you ssh in? What's your output when you run dpkg -i to install? if you got error and didn't not generate initrd.img, then you can't boot Debian. And I guess you've determined that you have Topkick? (according to Arch site there are 2 variations). The Topkick patch is available in Arch Linux ARM master patch filby bodhi - Debian
Header package linux-headers-3.8.11-kirkwood-tld-3 was uploaded. Please see 1st post for Dropbox link.by bodhi - Debian
Syong, Thanks for trying, too bad I was hoping it would work pass that point! But thanks to your test I know my setup is not a problem.by bodhi - Debian
Syong, I've attached the uBoot image in this post. Basically, netconsole is broken for me in that whenever I try to run a command, the 2nd character is lost. For example, printenv becomes pintenv. If I run prrintenv then it would work OK. Since we have uBoot envs scripted as several chained commands, this causes other boot commands envs to abort. So you can't boot with netconsoby bodhi - Debian
davidnewton Wrote: ------------------------------------------------------- > I have a dockstar with debian which have been > working for 3 years without problem. But now, > every time I tried to reboot it, it just hangs > there, it can not fall-back to original system > either. I tried many different flash drives, they > all behave the same (those drives work fine on >by bodhi - uBoot
See Davy's post: http://forum.doozan.com/read.php?3,7852,7852 The NSA320 has the boot ROM version that supports UART booting. So if you have serial console, you can boot in UART mode, it will not execute your installed uBoot. The kwboot tool mentioned in Davy's post is pretty good. I can boot a Pogo E02 uBoot image on a GoFlex Net for sanity check. Of coure it won't completby bodhi - Debian
Thanks Syong, Have you tried UART booting? Perhaps you could try my Goflex Net uBoot build to see if you see the same Netconsole problem?by bodhi - Debian
@syong & chessplayer, For your NSA320, do you use Davy's uBoot: https://www.dropbox.com/sh/nwt2kbvetvgvroo/e-pNtdMhCC/Kirkwood/rootfs_images/NSA320quickstart or do you use the stock uBoot? if you use Davy's uBoot, could you post that uBoot version number here. Thanks,by bodhi - Debian