Pogoplug V4 ArchLinux Tar wget: Short Write

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Pogoplug V4 ArchLinux Tar wget: Short Write

Postby Socaltom » Tue Feb 03, 2015 4:38 pm

The USB drive issue is well documented, basically the fastest drive to respond is the one it tries to boot. If your rootfs is on the slow one you have an issue. Did you format the SD card? create the filesystem?
Can you post the df, lsblk, mount and ls -l results?
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Pogoplug V4 ArchLinux Tar wget: Short Write

Postby grayman4hire » Tue Feb 03, 2015 6:32 pm

Switching to SD Card booting, would probably be the simplest solution for you. However, what uBoot are you using for your Pogoplug v4? You'll need to use the one here if you want SD Card booting support on the PPV4 - http://blog.qnology.com/2014/07/hacking ... obile.html

Adjust your boot order so that SD Card is booted first.

#update boot order so that SDCard/MMC is booted before USB
/tmp/fw_setenv bootcmd 'run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset'

If you're still having issues, then try switching out your SD Card. Otherwise, post your complete console output so that it's clear exactly what you're doing and what error message you're getting.

$this->bbcode_second_pass_quote('pkelly', 'S')o I'm frustrated again...

I got a USB drive working without a hitch, but then it wouldn't boot correctly on reboot with another drive connected. I had to disconnect the second USB drive and let it boot, THEN attach/remount the second drive for it to work. Lame. I've searched high and low for an answer to that and I keep running into roadblocks. However, I did read that a guy got it working by using the SD card. When you use the SD card it boots with other drives plugged in. This means I'm back to square one....

I can't download the archlinux tar. I keep getting a Short write error. I'm even in the mounted SD card directory. I check my usage across my drives using df and it shows my SD card is only 4% full. The rootfs is only at 17%. However, after I get the short write error, the system crawls. Something isn't right. I just don't get it. It's a good SD card as far as I know. Any thoughts?
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Pogoplug V4 ArchLinux Tar wget: Short Write

Postby pkelly » Wed Feb 04, 2015 4:51 am

Thanks guys. I ended up figured out a workaround. I successfully got a USB stick installation going. I figured I could either dump it onto the SD card and try booting from that or just do the install steps directly from the USB ALARM install. I'm not too savvy with dd yet so I just booted to the USB ALARM install, inserted and formatted the SD card, mounted it, and downloaded the ALARM tar onto it. I simply unpacked it and away we go:) Not exactly how the instructions say to do it, but it got me off the ground. I now have two SD card bootable pogoplug V4s. I just ordered two E02 pogoplugs as well. I'm looking forward to those.

So this also takes care of my boot order issue I was having with multiple usb drives plugged in during boot. However, now I'd like to know the best/most common way/easiest way to automount usb devices as they are randomly plugged/unplugged/switched around/with no consistent label or static mount point. I've been reading up on udisks1 & 2 and autofs. I'm not sure which one is worth tackling. Could you steer me in the right direction?
pkelly
 
Posts: 17
Joined: Fri Jan 30, 2015 7:24 pm

Re: Pogoplug V4 ArchLinux Tar wget: Short Write

Postby pkelly » Wed Feb 04, 2015 5:25 am

I found this: USBmount. But I can't figure out how to install the package. I read it in the comments of this article:

http://blog.qnology.com/2014/07/hacking ... 0047537813

Any help would be appreciated...Yes I know this is getting off topic to the original post. I just don't think this warrants a new topic. Thanks for your help!
pkelly
 
Posts: 17
Joined: Fri Jan 30, 2015 7:24 pm


Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 32 guests