Installing on E02

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

Re: Installing on E02

Postby moonman » Thu Feb 28, 2013 12:41 pm

Invalid journal entries? That's the thing... there is no journal in ext2, it is not a journaling filesystem so it is error prone. ext3 = ext2 + journal

Convert to ext3 then, and change U-Boot parameter "usb_rootfstype" to ext3 before you convert.

$this->bbcode_second_pass_code('', 'pacman -Sy uboot-env
fw_setenv usb_rootfstype 'ext3'')

then shutdown your plug "gracefully"

Plugin your stick/hdd to another linux machine and issue
$this->bbcode_second_pass_code('', 'tune2fs -j /dev/sdX1')

replace X with the appropriate drive letter
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Installing on E02

Postby sjwoo » Thu Feb 28, 2013 2:06 pm

Thanks, moonman -- but I don't get it. I followed the instructions in the install explicitly:

6. Now create the ext3 filesystem:
wget http://archlinuxarm.org/os/pogoplug/mke2fs
chmod 755 mke2fs
./mke2fs -j /dev/sda1
mkdir usb
mount /dev/sda1 usb

So shouldn't my file system already be in ext3? The "-j" parameter is to create ext3, right?
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: Installing on E02

Postby Socaltom » Thu Feb 28, 2013 2:35 pm

The system reads the env variables so it knows what type of fs its booting. If the env sys ext2 ( the default) then it ignores the journal.
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: Installing on E02

Postby sjwoo » Thu Feb 28, 2013 2:49 pm

Just ran fw_printenv:

usb_rootfstype=ext2

Again, I followed this exactly:

cd /tmp
wget http://jeff.doozan.com/debian/uboot/ins ... ot_mtd0.sh
chmod +x install_uboot_mtd0.sh
./install_uboot_mtd0.sh

Maybe the instructions should be updated to add

fw_setenv usb_rootfstype 'ext3'

?

Thanks for the tip -- I just executed it, then unceremoniously unplugged the Pogo. It came back up fine.
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: Installing on E02

Postby guiyoforward » Tue Mar 05, 2013 9:15 pm

$this->bbcode_second_pass_quote('sjwoo', 'O')kay, I think I figured it out. If I shut down gracefully, then the system is AOK. It's only if I shut down suddenly. When I take out the USB stick and run "e2fsck -f /dev/sdX1" as moonman suggested on my Linux box then put it back in the Pogo, it starts up OK.

This seems like a very serious problem, though. On the subsequent boot, there are invalid journal entries that the system fixes, but am I going to have to do this every time there's a power failure?


I hear you. I'm in South America and I think I will not be able to use my device. No way to run a NAS...
guiyoforward
 
Posts: 15
Joined: Tue Mar 05, 2013 8:45 pm

Re: Installing on E02

Postby guiyoforward » Tue Mar 05, 2013 9:17 pm

$this->bbcode_second_pass_quote('sjwoo', 'J')ust ran fw_printenv:
usb_rootfstype=ext2
Again, I followed this exactly:
cd /tmp
wget http://jeff.doozan.com/debian/uboot/ins ... ot_mtd0.sh
chmod +x install_uboot_mtd0.sh
./install_uboot_mtd0.sh
Maybe the instructions should be updated to add
fw_setenv usb_rootfstype 'ext3'
?
Thanks for the tip -- I just executed it, then unceremoniously unplugged the Pogo. It came back up fine.


Yes! Please update instructions so we get ext3! Lots of traffic to this forum will be avoided :)
guiyoforward
 
Posts: 15
Joined: Tue Mar 05, 2013 8:45 pm

Re: Installing on E02

Postby yazyazoo » Tue Mar 05, 2013 9:33 pm

I was having same problem with it not loading up.

Moonman gave me this in another thread. I did this before the last section where the first line is cd ..

/usr/sbin/fw_setenv usb_rootfstype 'ext3'

After doing this it reboots without losing it.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Installing on E02

Postby jkillebrew » Tue Mar 05, 2013 10:05 pm

I second that, the instructions should include this so everyone is using ext3, especially noobs like me. It would have saved by a lot of time and frustration.
jkillebrew
 
Posts: 7
Joined: Sun Feb 24, 2013 6:45 am

Re: Installing on E02

Postby MI95SHO » Wed Mar 06, 2013 1:09 am

$this->bbcode_second_pass_quote('guiyoforward', '
')Yes! Please update instructions so we get ext3! Lots of traffic to this forum will be avoided :)


For sure! Anyone game to writing one up? At least until ALARM updates theirs. Moonman? sjwoo?
MI95SHO
 
Posts: 4
Joined: Sun Feb 10, 2013 11:33 pm
Top

Re: Installing on E02

Postby guiyoforward » Thu Mar 07, 2013 2:57 am

Is this the crucial missing bit?
/usr/sbin/fw_setenv usb_rootfstype 'ext3'
guiyoforward
 
Posts: 15
Joined: Tue Mar 05, 2013 8:45 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 342 guests