[FIXED]:GoFlex "bad block" in NAND-the real problem?

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

[FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby davygravy » Wed Mar 28, 2012 5:28 am

This business on the GoFlex Series with

$this->bbcode_second_pass_code('', 'Too few good blocks within range')seems to me to be an indication of an mtd/ubi problem with subpages. Has anyone here tried solving it from that angle?
Last edited by davygravy on Sat Mar 31, 2012 2:34 pm, edited 1 time in total.
davygravy
 
Posts: 27
Joined: Wed Jan 25, 2012 1:50 am

[FIXED]: GoFlex "bad block" in NAND-the real problem?

Postby davygravy » Sat Mar 31, 2012 2:33 pm

Wow, that was quick... a user over at Doozan forums traced it down to a kernel problem, and fixed it by compiling in a longer delay (40 instead of 25 - microseconds I guess) in the board setup.c . Reference here: GoFlex "bad flash" or "Too few good blocks..." = Red Herring?

So, it was indeed a red herring... nothing broken, just a driver problem.
davygravy
 
Posts: 27
Joined: Wed Jan 25, 2012 1:50 am

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby stino2004 » Thu Apr 05, 2012 6:57 pm

Total newbie to archlinux here, but i am having the same problem when trying to use U-boot. Can anybody post step by step instructions on how to implement the fix? Like i said i am a total newb so the more detail the better. Thanks
stino2004
 
Posts: 3
Joined: Thu Apr 05, 2012 6:54 pm

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby moonman » Fri Apr 06, 2012 1:18 am

look at the link in the post above. If you are a newbiew, you shouldn't be messing with nand. If you are still up for this and ok with bricking your device and have the serial to recover and so on... then look in the doozan forum (link above)
Download the kernel
$this->bbcode_second_pass_code('', 'wget https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.1.10.tar.bz2 ')
extract it
$this->bbcode_second_pass_code('', 'tar xvjf linux-3.1.10.tar.bz2')
Download all pathes including the one for nand
$this->bbcode_second_pass_code('', 'cd linux-3.1.10
wget http://dev.shyd.de/dockstar/dockstar-goflex-3.1.10.patch
wget <url>
.
.
.')

Archlinux specific patches can be found here: https://github.com/archlinuxarm/PKGBUIL ... core/linux

Apply patches:
$this->bbcode_second_pass_code('', 'patch -p1 < dockstar-goflex-3.1.10.patch
patch -p1 < <patch file>
.
.
.')

Get the config file at https://github.com/archlinuxarm/PKGBUIL ... core/linux

do
$this->bbcode_second_pass_code('', 'make uImage
make modules
make modules_install')

Backup your old uImage in /boot
$this->bbcode_second_pass_code('', 'mv /boot/uImage /boot/uImage.old')

Copy the new uImage
$this->bbcode_second_pass_code('', 'cp ./arch/arm/boot/uImage /boot/uImage')

Reboot and hope everything went fine :)
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby stino2004 » Fri Apr 06, 2012 3:08 am

thanks for the details...is there any benefit to correcting this problem? i.e. improved performance and/or features...the only problem i've noticed so far is that i'm unable to set my mac address to the manufacturer mac address but everything else seems to be fine. i have both samba and dlna installed and working, so unless correcthing this will provide some added benefits other than being able to update the mac address i might not risk bricking my device. thanks again and any advice or info is helpful
stino2004
 
Posts: 3
Joined: Thu Apr 05, 2012 6:54 pm

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby moonman » Fri Apr 06, 2012 5:12 am

What is your device? Nand is not used except for a short period during boot time so no, there is no performance improvement. I don't think having the right MAC address is a big deal. Also, there are other ways to change your mac address after kernel is loaded.
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby stino2004 » Fri Apr 06, 2012 1:56 pm

I have a goflex home 1TB.

Would setting the mac address on boot following the link below be the best way?

https://wiki.archlinux.org/index.php/MA ... s_Spoofing
stino2004
 
Posts: 3
Joined: Thu Apr 05, 2012 6:54 pm

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby moonman » Fri Apr 06, 2012 5:50 pm

You got it. That is exactly what i meant.
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby xenoxaos » Sun Apr 08, 2012 6:59 pm

This is being implemented in our kernel and should be built today.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: [FIXED]:GoFlex "bad block" in NAND-the real problem?

Postby baafie » Thu Apr 12, 2012 6:55 pm

Xenoxaos, are you going to be submitting GoFlex support to the mainline kernel?
baafie
 
Posts: 15
Joined: Sun Apr 01, 2012 10:57 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 12 guests