Welcome! Log In Create A New Profile

Advanced

Pogoplug Mobile NAND messed up pretty decently :)

Posted by fsm 
fsm
Pogoplug Mobile NAND messed up pretty decently :)
August 02, 2014 09:18PM
Here's my setup:
-Pogoplug Mobile (plugged in and activated to get in via SSH)
-Arduino Uno R2 as Serial connection, soldered

I've been 'playing' with hardware and software for quite a couple of decades, and thought I knew anything about what I'd normally consider 'normal' modifications, but this bugger seems to have confused the crap out of me!

Current status, directly from kwboot's serial connection:

==================================
U-Boot 2011.12 (Apr 21 2012 - 12:34:49)
Cloud Engines-Pogoplug Mobile:MMC version

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
No MMC card found
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Pogov4> mtdparts

device nand0 <orion_nand>, # parts = 5
 #: name		size		offset		mask_flags
 0: u-boot              0x00200000	0x00000000	0
 1: uImage              0x00300000	0x00200000	0
 2: uImage2             0x00300000	0x00500000	0
 3: failsafe            0x00800000	0x00800000	0
 4: root                0x07000000	0x01000000	0

active partition: nand0,0 - (u-boot) 0x00200000 @ 0x00000000

defaults:
mtdids  : none
mtdparts: none
Pogov4> printenv
baudrate=115200
bootargs=$(bootargs_console)
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
ethact=egiga0
ethaddr=01:23:45:67:89:10 <== Yeah, I know, it's a MAC, but it's MY MAC :P
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
partition=nand0,0
stderr=serial
stdin=serial
stdout=serial

Environment size: 653/131068 bytes
===================================

The only thing modified above is the MAC - because :P

If ANYONE can help, here's what I'm looking at:

-I would LOVE to restore my nand back to factory defaults - back to the beginning - but although I have the mtd0-4 parts posted for the V4 boxes from here, I can't SSH to the box, so nandwrite isn't viable :(

-I have tried SEVERAL different uboot's (as follows) and all can't setenv... :(
uboot.2014.07-tld-1.pogo_v4.mtd0.kwb
uboot.nandpogoMobile-MMC-mtdparts-NoUSB.kwb
uboot.uartpogoMobile-MMC-mtdparts-NoUSB.kwb

-I CAN tftpboot and uartboot, but for the damned life of me cannot get an SD or USB stick to boot (most likely because there aren't images I can find and most directions prep the sticks/drives using files from the now dead pogo) :(


I know it's alot to ask - and for that I apologize, but any help would be so helpful!

I'll document everything and hell, if there's no bare-metal recovery directions, I'd LOVE to document that for anyone!

Thank you in advance!
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 03, 2014 06:53AM
fsm,

Get the latest rootfs, and extract it to an SD card or USB thumb formatted as Ext3. If you don't have another Linux box then use a Linux Live CD on Mac/Windows PC (if you have a Mac, you might be able to run fdisk and mke2fs at command line).

1. What error did you see when you setenv? this usually occurs when you run a different U-Boot image (e.g. uboot.2014.07-tld-1.pogo_v4.mtd0.kwb) and the envs area has not been written before.The existing u-boot (i.e. stock) in NAND uses a different location.

2. Did you try to do saveenv before running any setenv? Usually you have to save it once before you can modify it. Since you have UART booting, go ahead and do saveenv to get this area written properly.

The worst case: you can boot with UART and flash either the new U-Boot itself, or the orginal mtds (that I've posted) to NAND, from serial console prompt using nand commands. But I think your booting problem can be solved before resorting to this drastic measure!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 03, 2014 08:25AM
Thank you for the quick reply!

I untared & verified they're on the root of a verified ext3 SD:

U-Boot 2011.12 (Apr 21 2012 - 12:33:19)
Cloud Engines-Pogoplug Mobile:MMC version

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
SDHC found. Card desciption is:
Manufacturer:       0x03, OEM "SD"
Product name:       "SU32G", revision 8.0
Serial number:      12345678
Manufacturing date: 10/2012
CRC:                0x00, b0 = 0
mmc1 is available
Loading file "/uImage" from mmc device 0:1 (xxa1)
** File not found /uImage
't get kernel image!
Pogov4> mc device 0:1 (xxa1)
** File not found /uInitrd
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Pogov4> saveenv
Saving Environment to NAND...
Erasing Nand...
Skipping bad block at  0x000c0000                                          

Writing to Nand... FAILED!

I'm sure you could appreciate a 'clean' install - would it be better to take your mtd set and flash them and begin this from scratch, rather than guessing what I screwed up?

I am 100% positive the "guide" I was following This One :( and I was so stoked to have a new toy to break that I just plain didn't comprehend that there was a difference between these steps and your knowledgeable ones ;)

In any case - progress has been made



Edited 1 time(s). Last edit at 08/03/2014 08:28AM by fsm.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 03, 2014 09:18AM
fsm,

> mmc1 is available
> Loading file "/uImage" from mmc device 0:1 (xxa1)
> ** File not found /uImage
> 't get kernel image!

The above is why you could not boot. The default envs are being used, and it tells u-boot to find the boot files at / directory, not at the usual location in the rootfs. So you can either symlink the files or copy them (assuming /media/sdb1 is the SD card drive letter):

cd  /media/sdb1
cp -a  ./boot/uImage ./uImage  
cp -a  ./boot/uInitrd ./uInitrd

And this bootcmd will need to be adjusted to include the root device mmcblk0p1 if you still can't complete booting. But the dilema is that you can't setenv.
bootcmd=setenv bootargs $(bootargs_console) root=/dev/mmcblk0p1; run bootcmd_mmc; bootm 0x00800000 0x01100000

> Pogov4> saveenv
> Saving Environment to NAND...
> Erasing Nand...
> Skipping bad block at  0x000c0000                 
>                         
> 
> Writing to Nand... FAILED!

The above is bad news! 0xc0000 is the location of the envs in the u-boot you are running, and it's right at the bad block. So you will not be able to read/save envs at all, and must use the default envs…. at least for now! I'll think of some solution (interesting problem :).

At the end, you might ultimately need to go back to the original mtd0. The bad block in mtd0 is at the end of 1M, so it will be OK. So try the above first. If all fails, I'll post the command to flash original mtd0.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 03, 2014 06:35PM
Aaaand more progress:

I copied the files from boot to the root, and here are the results:

U-Boot 2011.12 (Apr 21 2012 - 12:33:19)
Cloud Engines-Pogoplug Mobile:MMC version

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
SDHC found. Card desciption is:
Manufacturer:       0x03, OEM "SD"
Product name:       "SU32G", revision 8.0
Serial number:      69751975
Manufacturing date: 10/2012
CRC:                0x00, b0 = 0
mmc1 is available
Loading file "/uImage" from mmc device 0:1 (xxa1)
2461416 bytes read
Loading file "/uInitrd" from mmc device 0:1 (xxa1)
6362802 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.14.0-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2461352 Bytes = 2.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.14.0-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6362738 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

I let it sit while I slept (figured a few hours would allow it time to boot) - nothing :o

I
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
No MMC card found
** Bad partition 1 **
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Pogov4>

I'm in the process of wiping the SD, making 4 others and going to try all 5 ;)

Not being able to setenv's is cramping the style right now - but that's fine - I should be able to update shortly (hopefully)

Thank you again for your time and help with this - it is genuinely appreciated!


*** UPDATE ***

I have tried 5 cards, ranging from 4GB, 8GB, 16GB (Sandisk) and 4GB, 8GB (PNY) and all have the same results:

mmc1 is available
Loading file "/uImage" from mmc device 0:1 (xxa1)
2461416 bytes read
Loading file "/uInitrd" from mmc device 0:1 (xxa1)
6362802 bytes read
Wrong Image Format for bootm command
ERROR: can't get kernel image!

I'm in the process of snagging my backup 8GB cards from a few devices now ;)



Edited 1 time(s). Last edit at 08/03/2014 07:22PM by fsm.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 03, 2014 08:19PM
Fsm,

Don't bother trying different card! It's the root device as parameter to the kernel that you can't set.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 05, 2014 03:04AM
For reference:

Device 0 bad blocks:
  000c0000
  00d40000
  01780000
  02060000
  04480000
  07160000

I'm pretty stoked to play with these, so might have to purchase a second one to snag a good nand to write over to this one :)

What source do you recommend for JTAG info on these Pogo Mobile units? (Lazy, not really, just didn't find good info, sadly)



Edited 1 time(s). Last edit at 08/05/2014 03:05AM by fsm.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 05, 2014 02:43PM
fsm,

No need for JTAG for the Pogo Mobile, you already have serial! unless the serial port is fried, you can always recover with UART.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 07:10AM
I have a similiar problem. I tried to install the new U-boot and had a NAND write error. I reinstalled the Arch U-boot. Now no LED and network. I found your trick for kwboot to get it to work on the Pogplug Mobile. I can boot debian but cannot flash the NAND. I want to install the new U-boot. Here is my progress for far:

MyLinuxMachine>sudo ./kwboot-tool/kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
Pogov4> printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
ethact=egiga0
ethaddr=00:xx:xx:xx:xx:xx
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
stderr=serial
stdin=serial
stdout=serial

Environment size: 568/131068 bytes

Pogov4> mtdparts

device nand0 <orion_nand>, # parts = 5
 #: name		size		offset		mask_flags
 0: u-boot              0x00200000	0x00000000	0
 1: uImage              0x00300000	0x00200000	0
 2: uImage2             0x00300000	0x00500000	0
 3: failsafe            0x00800000	0x00800000	0
 4: root                0x07000000	0x01000000	0

active partition: nand0,0 - (u-boot) 0x00200000 @ 0x00000000

defaults:
mtdids  : none
mtdparts: none

Pogov4> setenv bootcmd 'setenv bootargs $(bootargs_console) root=/dev/mmcblk0p1; run bootcmd_mmc; bootm 0x00800000 0x01100000'
Pogov4> boot
Previously downloaded rootfs and installed on a SD Card:
MyLinuxMachine>cd /media/sdf1
MyLinuxMachine>sudo tar -xjf Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
MyLinuxMachine>sudo cp -a ./boot/uImage ./uImage ; cp -a ./boot/uInitrd ./uInitrd
and debian booted:
root@debian:/# cat /etc/fw_env.config 
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

root@debian:/tmp# fw_printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
ethact=egiga0
ethaddr=00:xx:xx:xx:xx:xx
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
stderr=serial
stdin=serial
stdout=serial

root@debian:/tmp# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 07b00000 00020000 "root"

root@debian:/tmp# /tmp/flash_erase /dev/mtd0 0 4
File open error

From dmesg:
[    5.390786] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    5.390834] nand: Hynix H27U1G8F2BTR-BC
[    5.390864] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    5.390905] Scanning device for bad blocks
[    5.391225] Bad eraseblock 3 at 0x000000060000
[    5.481573] Creating 3 MTD partitions on "orion_nand":
[    5.481646] 0x000000000000-0x000000100000 : "u-boot"
[    5.482156] 0x000000100000-0x000000500000 : "uImage"
[    5.482597] 0x000000500000-0x000008000000 : "root"

I am not sure how to proceed.

Thanks.



Edited 5 time(s). Last edit at 08/06/2014 11:24AM by rickgtx.
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 09:53AM
I'm going to try what you did to get it to boot...

I just purchased 2 more ($6, how can you go wrong for a toy!) and will have some backups now :)

Will update after sleep :)

Goodnight all!
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 03:02PM
rickgtx,

This is the warning I have in the instruction, you did not check your NAND! Your bad block is right in the midle of 1M (block 3 is at 384K).

Quote

4. Be sure there is no bad block in the first 1M of your NAND (check dmesg). This is very important, if there is bad block in the first 1M, don't flash u-boot, because you will almost certainly brick your box. Please post your question here (there is a work around for it).


If this had been the Pogo E02 or iConnect, you'd have got a brick :) However, since you can boot with UART, you can do the work around below (check the output to see if it's the same):

# flash_erase /dev/mtd0 0 5

Erasing 128 Kibyte @ 40000 -- 40 % complete flash_erase: Skipping bad block at 00060000
Erasing 128 Kibyte @ 80000 -- 100 % complete 

# nandwrite /dev/mtd0 uboot.2014.07-tld-1.pogo_v4.mtd0.kwb 

Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Bad block at 60000, 1 block(s) from 60000 will be skipped
Writing data to block 4 at offset 0x80000

If this does not work, you might have to flash erase in serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/06/2014 03:11PM by bodhi.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 04:07PM
I have two Pogoplug Mobiles and thought I checked both dmesg. The first one updated so easily.

Anyway, same error it is a no-go on the:
root@debian:/u-boot# ./flash_erase /dev/mtd0 0 5
File open error

I looked at MANUAL Directions for Upgrading Your U-Boot but was not sure how to apply both uboot.2014.07-tld-1.pogo_v4.mtd0.kwb and uboot.2014.07-tld-1.environment.img


Thanks so much for your help!
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 06:13PM
rickgtx,

On this bad-block Pogo Mobile, boot uboot.2014.07-tld-1 with UART, and change bootargs to include MTDparts:
Pogov4> mmc_set_bootargs 'setenv bootargs console=$bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'
Pogov4> setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'

Then boot into Debian. Check:
cat /proc/cmdline
cat /proc/mtd

If you see 5 mtdparts listed as
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"
then do
./flash_erase /dev/mtd0 0 5

Please post the output of the above commands here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 09:12PM
HA!

===========================================
./kwboot -t -B 115200 /dev/ttyACM1 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p
setenv bootargs $(bootargs_console) root=/dev/mmcblk0p1; run bootcmd_mmc; bootm 0x00800000 0x01100000
boot


Pogov4> setenv bootargs $(bootargs_console) root=/dev/mmcblk0p1; run bootcmd_mmc; bootm 0x00800000 0x01100000
mmc - MMC sub system

Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
mmc setdsr <value> - set DSR register value

2461416 bytes read in 1547 ms (1.5 MiB/s)
6362802 bytes read in 2075 ms (2.9 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2461352 Bytes = 2.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6362738 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Debian GNU/Linux 7 debian ttyS0

debian login: root
Password: 

root@debian:~# cat /proc/cmdline
$(bootargs_console) root=/dev/mmcblk0p1
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 07b00000 00020000 "root"
root@debian:~# 

===========================================

I'm NOT going to power this sucker down until I hear back from you! :D

Thank you SO MUCH - it's starting to work!!!! YAY!
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 10:10PM
@fsm "I'm NOT going to power this sucker down"
Not to worry, it is a very repeatable process

@bodhi
Perhaps this NAND is beyond repair:

Pogov4> setenv mmc_set_bootargs 'setenv bootargs $(bootargs_console) root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'
Pogov4> setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'
Pogov4> boot
. . .
root@debian:~# cat /proc/cmdline
$(bootargs_console) root=/dev/mmcblk0p1 rootdelay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"

root@debian:/u-boot# ./flash_erase /dev/mtd0 0 5
Erase Total 5 Units
Performing Flash Erase of length 131072 at offset 0x60000
MTD Erase failure: Input/output error
setenv bootargs console=$bootargs_console failed to boot Debian

dmesg:
[    4.647044] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    4.647093] nand: Hynix H27U1G8F2BTR-BC
[    4.647123] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    4.647165] Scanning device for bad blocks
[    4.647485] Bad eraseblock 3 at 0x000000060000
[    4.729582] 5 cmdlinepart partitions found on MTD device orion_nand
[    4.729624] Creating 5 MTD partitions on "orion_nand":
[    4.729665] 0x000000000000-0x000000200000 : "u-boot"
[    4.730101] 0x000000200000-0x000000500000 : "uImage"
[    4.730524] 0x000000500000-0x000000800000 : "uImage2"
[    4.730944] 0x000000800000-0x000001000000 : "failsafe"
[    4.731359] 0x000001000000-0x000008000000 : "root"
. . .
[  185.934536] nand: nand_erase_nand: attempt to erase a bad block at page 0x000000c0



Edited 1 time(s). Last edit at 08/06/2014 10:19PM by rickgtx.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 10:19PM
rickgtx,

Go ahead and flash (you will see one block is skipped). Please post output here!

nandwrite /dev/mtd0 uboot.2014.07-tld-1.pogo_v4.mtd0.kwb

BTW, there is a syntax error:

setenv mmc_set_bootargs 'setenv bootargs $bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/06/2014 10:23PM by bodhi.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 10:21PM
@fsm,

> I'm NOT going to power this sucker down until I
> hear back from you! :D

:D
Pls get output of dmesg and post here!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 10:34PM
root@debian:/dev# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell OpenRD Ultimate Board
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c06d7f18, node_mem_map c7efb000
[    0.000000]   DMA zone: 256 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: $(bootargs_console) root=/dev/mmcblk0p1
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 116244K/131072K available (4779K kernel code, 352K rwdata, 1644K rodata, 213K init, 424K bss, 14828K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc064df14   (6424 kB)
[    0.000000]       .init : 0xc064e000 - 0xc0683444   ( 214 kB)
[    0.000000]       .data : 0xc0684000 - 0xc06dc3c4   ( 353 kB)
[    0.000000]        .bss : 0xc06dc3c4 - 0xc074665c   ( 425 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[    2.908301] Console: colour dummy device 80x30
[    2.909081] console [tty0] enabled
[    2.909137] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    2.997964] pid_max: default: 32768 minimum: 301
[    2.998151] Security Framework initialized
[    2.998280] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    2.998349] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    2.999274] Initializing cgroup subsys devices
[    2.999354] Initializing cgroup subsys freezer
[    2.999403] Initializing cgroup subsys net_cls
[    2.999444] Initializing cgroup subsys blkio
[    2.999585] CPU: Testing write buffer coherency: ok
[    3.000219] Setting up static identity map for 0x485fa0 - 0x485fdc
[    3.003435] devtmpfs: initialized
[    3.007337] prandom: seed boundary self test passed
[    3.013444] prandom: 100 self tests passed
[    3.013496] pinctrl core: initialized pinctrl subsystem
[    3.014087] regulator-dummy: no parameters
[    3.014631] NET: Registered protocol family 16
[    3.015276] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    3.016510] cpuidle: using governor ladder
[    3.016575] cpuidle: using governor menu
[    3.016698] Kirkwood: MV88F6281-A1, TCLK=166666667.
[    3.016756] Feroceon L2: Enabling L2
[    3.016830] Feroceon L2: Cache support initialised.
[    3.017467] initial MPP regs: 01111111 11113322 00551111 00100000 00000000 00000000 00000000
[    3.017508]   final MPP regs: 01111111 11113322 00551111 00000000 00000000 00000000 00000000
[    3.018799] Kirkwood PCIe port 0: link down
[    3.018837] PCI: bus0 uses PCIe port 0
[    3.019031] PCI host bridge to bus 0000:00
[    3.019081] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    3.019126] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    3.019167] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    3.019251] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
[    3.019294] pci 0000:00:00.0: reg 0x10: [mem 0xd0000000-0xd00fffff 64bit pref]
[    3.019318] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff]
[    3.019393] pci 0000:00:00.0: supports D1 D2
[    3.019630] PCI: bus0: Fast back to back transfers disabled
[    3.019680] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    3.025948] bio: create slab <bio-0> at 0
[    3.026626] vgaarb: loaded
[    3.027078] usbcore: registered new interface driver usbfs
[    3.027203] usbcore: registered new interface driver hub
[    3.027393] usbcore: registered new device driver usb
[    3.028493] Switched to clocksource orion_clocksource
[    3.063977] NET: Registered protocol family 2
[    3.064946] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    3.065020] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    3.065076] TCP: Hash tables configured (established 1024 bind 1024)
[    3.065209] TCP: reno registered
[    3.065245] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    3.065300] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    3.065611] NET: Registered protocol family 1
[    3.066093] RPC: Registered named UNIX socket transport module.
[    3.066138] RPC: Registered udp transport module.
[    3.066169] RPC: Registered tcp transport module.
[    3.066198] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.066258] PCI: CLS 32 bytes, default 32
[    3.066599] Unpacking initramfs...
[    3.842193] Freeing initrd memory: 6208K (c1101000 - c1711000)
[    3.842346] NetWinder Floating Point Emulator V0.97 (double precision)
[    3.843165] futex hash table entries: 256 (order: -1, 3072 bytes)
[    3.843423] audit: initializing netlink subsys (disabled)
[    3.843528] audit: type=2000 audit(0.930:1): initialized
[    3.844517] bounce pool size: 64 pages
[    3.844646] zbud: loaded
[    3.844925] VFS: Disk quotas dquot_6.5.2
[    3.845019] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.845466] NFS: Registering the id_resolver key type
[    3.845585] Key type id_resolver registered
[    3.845618] Key type id_legacy registered
[    3.845677] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.845718] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.845967] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    3.846394] msgmni has been set to 239
[    3.846598] Key type big_key registered
[    3.849347] alg: No test for stdrng (krng)
[    3.849512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    3.849563] io scheduler noop registered
[    3.849592] io scheduler deadline registered
[    3.849658] io scheduler cfq registered (default)
[    3.850075] mv_xor mv_xor.0: Marvell shared XOR driver
[    3.888580] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    3.928570] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    3.928774] mv_xor mv_xor.1: Marvell shared XOR driver
[    3.968581] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    4.008578] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    4.009028] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.029941] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[    4.031452] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    4.031500] nand: Hynix H27U1G8F2BTR-BC
[    4.031530] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    4.031571] Scanning device for bad blocks
[    4.032132] Bad eraseblock 6 at 0x0000000c0000
[    4.040240] Bad eraseblock 106 at 0x000000d40000
[    4.046812] Bad eraseblock 188 at 0x000001780000
[    4.052552] Bad eraseblock 259 at 0x000002060000
[    4.075778] Bad eraseblock 548 at 0x000004480000
[    4.104631] Bad eraseblock 907 at 0x000007160000
[    4.122268] Creating 3 MTD partitions on "orion_nand":
[    4.122342] 0x000000000000-0x000000100000 : "u-boot"
[    4.122852] 0x000000100000-0x000000500000 : "uImage"
[    4.123294] 0x000000500000-0x000008000000 : "root"
[    4.124815] libphy: Fixed MDIO Bus: probed
[    4.139387] libphy: orion_mdio_bus: probed
[    4.139582] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.216862] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    5.217022] libphy: PHY orion-mdio-mii:01 not found
[    5.217093] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    5.217425] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.217466] ehci-pci: EHCI PCI platform driver
[    5.217581] ehci-orion: EHCI orion driver
[    5.217704] orion-ehci orion-ehci.0: EHCI Host Controller
[    5.217775] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    5.217987] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    5.228550] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    5.228817] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.228866] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.228914] usb usb1: Product: EHCI Host Controller
[    5.228949] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd
[    5.228988] usb usb1: SerialNumber: orion-ehci.0
[    5.229831] hub 1-0:1.0: USB hub found
[    5.229918] hub 1-0:1.0: 1 port detected
[    5.230711] mousedev: PS/2 mouse device common for all mice
[    6.238535] rtc-mv rtc-mv: internal RTC not ticking
[    6.238732] i2c /dev entries driver
[    6.239837] hidraw: raw HID events driver (C) Jiri Kosina
[    6.240286] drop_monitor: Initializing network drop monitor service
[    6.240606] TCP: cubic registered
[    6.240643] NET: Registered protocol family 17
[    6.240827] Key type dns_resolver registered
[    6.241506] registered taskstats version 1
[    6.242293] regulator-dummy: incomplete constraints, leaving on
[    6.242638] libphy: PHY orion-mdio-mii:01 not found
[    6.242713] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.243052] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    6.245324] Freeing unused kernel memory: 212K (c064e000 - c0683000)
[    6.334049] udevd[56]: starting version 175
[    6.602776] mvsdio mvsdio: no pins associated
[    6.626728] SCSI subsystem initialized
[    6.648722] mvsdio mvsdio: using GPIO for card detection
[    6.648953] libphy: PHY orion-mdio-mii:01 not found
[    6.649026] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.699741] libata version 3.00 loaded.
[    6.702501] sata_mv sata_mv.0: version 1.28
[    6.702616] sata_mv sata_mv.0: cannot get optional clkdev
[    6.702793] sata_mv sata_mv.0: slots 32 ports 2
[    6.728363] scsi0 : sata_mv
[    6.737028] scsi1 : sata_mv
[    6.737412] ata1: SATA max UDMA/133 irq 21
[    6.737452] ata2: SATA max UDMA/133 irq 21
[    6.741732] libphy: PHY orion-mdio-mii:01 not found
[    6.741831] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.845590] mmc0: host does not support reading read-only switch. assuming write-enable.
[    6.847496] mmc0: new high speed SDHC card at address aaaa
[    6.862150] mmcblk0: mmc0:aaaa SU32G 29.7 GiB 
[    6.865451]  mmcblk0: p1
[    6.867033] libphy: PHY orion-mdio-mii:01 not found
[    6.867125] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    7.078552] ata1: SATA link down (SStatus 0 SControl F300)
[    7.428542] ata2: SATA link down (SStatus 0 SControl F300)
[    7.566032] EXT3-fs (mmcblk0p1): recovery required on readonly filesystem
[    7.566106] EXT3-fs (mmcblk0p1): write access will be enabled during recovery
[    7.844777] kjournald starting.  Commit interval 5 seconds
[    7.848224] EXT3-fs (mmcblk0p1): recovery complete
[    7.848270] EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
[    9.099500] udevd[238]: starting version 175
[    9.768987] alg: hash: Test 1 failed for mv-hmac-sha1
[    9.769060] 00000000: 0c aa 9f d5 37 c3 79 3a 91 d9 21 5f 42 2b 2c 24
[    9.769098] 00000010: b7 c3 16 0c
[    9.769410] libphy: PHY orion-mdio-mii:01 not found
[    9.769490] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    9.822100] orion_wdt: Initial timeout 25 sec
[    9.822297] libphy: PHY orion-mdio-mii:01 not found
[    9.822374] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    9.922413] libphy: PHY orion-mdio-mii:01 not found
[    9.922520] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[   10.448710] libphy: PHY orion-mdio-mii:01 not found
[   10.448814] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[   10.450120] openrd-client-audio openrd-client-audio: ASoC: CODEC cs42l51-codec.0-004a not registered
[   10.450228] openrd-client-audio openrd-client-audio: snd_soc_register_card() failed: -517
[   10.450293] platform openrd-client-audio: Driver openrd-client-audio requests probe deferral
[   11.938564] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[   11.938641] cs42l51-codec 0-004a: failed to read I2C
[   11.938695] cs42l51-codec: probe of 0-004a failed with error -110
[   13.141644] EXT3-fs (mmcblk0p1): using internal journal
[   15.136827] random: nonblocking pool is initialized
[   18.947746] NET: Registered protocol family 10

Re: Pogoplug Mobile NAND messed up pretty decently :)
August 06, 2014 11:17PM
This was the first time I saw the dmesg in the kwboot console

Pogov4> setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'
Pogov4> setenv mmc_set_bootargs 'setenv bootargs $bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'
Pogov4> boot
. . .
root@debian:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"
root@debian:~# cd /u-boot/
root@debian:/u-boot# ./nandwrite /dev/mtd0 uboot.2014.07-tld-1.pogo_v4.mtd0.kwb
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Bad block at 60000, 1 block(s) from 60000 will be skipped
Writing data to block 4 at offset 0x80000


Thank you bodhi! I'm totally back from the dead (well -- mostly dead). I can boot Arch and Debian. I went ahead and finished the uBoot udate.
@fsm Good Luck to you!



Edited 5 time(s). Last edit at 08/06/2014 11:51PM by rickgtx.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 07, 2014 01:13AM
@fsm,

At the moment, you will need to run UART booting to boot up the Pogo Mobile. There is really no work around (yet) that allows you to permanently fix it. The location of the bad block (0xc0000) unfortunately is right at the envs NAND location. And this can't be changed to another location because this is the common location for all Kirkwood boxes, so I can't do that.

So go keep it running, don't shutdown, do whatever you want to do in Debian, it will all be in the SD rootfs. The caveat is that whenever you shutdown, you will have to reboot with UART and then set the envs and manually boot like you are doing now.

However, I will realease another U-Boot version for Pogo V4/Mobile, iConnect and Netgear Stora with better set of default envs, and that will enable booting even if envs area has never been set properly. You will be able to flash that version on this Pogo Mobile permanently. In fact, there is another work around approach, but I think it is better if I put in a better set of default envs and that will benefit other first time users too.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 07, 2014 11:46AM
While in wait, I have 2 more on the way, so with this one I'll play with the MTD's posted a while ago - let's see what we can get even more messed up :)

Keep your fingers crossed for the other 2 boxes - these are quite fun to mess with!
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 09, 2014 05:45AM
Playing with this box a bit more, flashing won't be as easy as I thought - I can't set an IP to pull the MTD's or nand tools to play with. I'll re-roll the files into the SD car itself then UART boot and try to replace mtd0.

Out of curiosity, why does the UART boot show mtd0/1/2 only, and 3/4 are missing? Just curious :)
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 09, 2014 09:10AM
Try this in U-boot:
Pogov4> setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'
Pogov4> setenv mmc_set_bootargs 'setenv bootargs $bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'
Pogov4> boot

You should be able to see network errors during the boot up and mtd parts will be correct in Debian:
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 08:31PM
Apparently this post looks "like an automated message from a bot" - YAY! :(

I assure you this is me talking about my progress :P

Umm... Thank you VERY much :)

setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'

setenv mmc_set_bootargs 'setenv bootargs $bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'

boot

That's all I need to do to boot from power off now!

I still have that 0x00c bad block, but I no longer need to UART boot every time (./kwboot -t -B 115200 /dev/ttyACM0 -b uboot.2014.07-tld-1.pogo_v4.mtd0.kwb -p)

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell OpenRD Ultimate Board
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 116244K/131072K available (4779K kernel code, 352K rwdata, 1644K rodata, 213K init, 424K bss, 14828K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc064df14   (6424 kB)
[    0.000000]       .init : 0xc064e000 - 0xc0683444   ( 214 kB)
[    0.000000]       .data : 0xc0684000 - 0xc06dc3c4   ( 353 kB)
[    0.000000]        .bss : 0xc06dc3c4 - 0xc074665c   ( 425 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[    1.776966] Console: colour dummy device 80x30
[    1.777014] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    1.866603] pid_max: default: 32768 minimum: 301
[    1.866764] Security Framework initialized
[    1.866861] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.866889] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.867782] Initializing cgroup subsys devices
[    1.867818] Initializing cgroup subsys freezer
[    1.867838] Initializing cgroup subsys net_cls
[    1.867852] Initializing cgroup subsys blkio
[    1.867964] CPU: Testing write buffer coherency: ok
[    1.868544] Setting up static identity map for 0x485fa0 - 0x485fdc
[    1.871740] devtmpfs: initialized
[    1.875705] prandom: seed boundary self test passed
[    1.881766] prandom: 100 self tests passed
[    1.881788] pinctrl core: initialized pinctrl subsystem
[    1.882356] regulator-dummy: no parameters
[    1.882864] NET: Registered protocol family 16
[    1.883511] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    1.884689] cpuidle: using governor ladder
[    1.884715] cpuidle: using governor menu
[    1.884856] Kirkwood: MV88F6281-A1, TCLK=166666667.
[    1.884887] Feroceon L2: Enabling L2
[    1.884938] Feroceon L2: Cache support initialised.
[    1.886892] Kirkwood PCIe port 0: link down
[    1.886908] PCI: bus0 uses PCIe port 0
[    1.887084] PCI host bridge to bus 0000:00
[    1.887113] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.887131] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    1.887149] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.887577] PCI: bus0: Fast back to back transfers disabled
[    1.893870] bio: create slab <bio-0> at 0
[    1.894523] vgaarb: loaded
[    1.894949] usbcore: registered new interface driver usbfs
[    1.895046] usbcore: registered new interface driver hub
[    1.895211] usbcore: registered new device driver usb
[    1.896274] Switched to clocksource orion_clocksource
[    1.931762] NET: Registered protocol family 2
[    1.932681] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.932717] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    1.932748] TCP: Hash tables configured (established 1024 bind 1024)
[    1.932856] TCP: reno registered
[    1.932876] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.932907] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.933189] NET: Registered protocol family 1
[    1.933641] RPC: Registered named UNIX socket transport module.
[    1.933657] RPC: Registered udp transport module.
[    1.933667] RPC: Registered tcp transport module.
[    1.933677] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.934055] Unpacking initramfs...
[    2.709592] Freeing initrd memory: 6208K (c1101000 - c1711000)
[    2.709733] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.710517] futex hash table entries: 256 (order: -1, 3072 bytes)
[    2.710743] audit: initializing netlink subsys (disabled)
[    2.710823] audit: type=2000 audit(0.920:1): initialized
[    2.711771] bounce pool size: 64 pages
[    2.711872] zbud: loaded
[    2.712133] VFS: Disk quotas dquot_6.5.2
[    2.712213] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.712633] NFS: Registering the id_resolver key type
[    2.712717] Key type id_resolver registered
[    2.712731] Key type id_legacy registered
[    2.712769] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.712782] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.713005] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.713401] msgmni has been set to 239
[    2.713577] Key type big_key registered
[    2.716230] alg: No test for stdrng (krng)
[    2.716424] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    2.716440] io scheduler noop registered
[    2.716451] io scheduler deadline registered
[    2.716499] io scheduler cfq registered (default)
[    2.716902] mv_xor mv_xor.0: Marvell shared XOR driver
[    2.756360] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    2.796352] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    2.796525] mv_xor mv_xor.1: Marvell shared XOR driver
[    2.836363] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    2.876359] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    2.876778] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    2.897660] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[    3.480004] console [ttyS0] enabled
[    3.484929] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    3.491295] nand: Hynix H27U1G8F2BTR-BC
[    3.495114] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    3.500773] Scanning device for bad blocks
[    3.505380] Bad eraseblock 6 at 0x0000000c0000
[    3.517824] Bad eraseblock 106 at 0x000000d40000
[    3.528980] Bad eraseblock 188 at 0x000001780000
[    3.539252] Bad eraseblock 259 at 0x000002060000
[    3.567046] Bad eraseblock 548 at 0x000004480000
[    3.600454] Bad eraseblock 907 at 0x000007160000
[    3.614401] 5 cmdlinepart partitions found on MTD device orion_nand
[    3.620664] Creating 5 MTD partitions on "orion_nand":
[    3.625792] 0x000000000000-0x000000200000 : "u-boot"
[    3.631157] 0x000000200000-0x000000500000 : "uImage"
[    3.636508] 0x000000500000-0x000000800000 : "uImage2"
[    3.641923] 0x000000800000-0x000001000000 : "failsafe"
[    3.647441] 0x000001000000-0x000008000000 : "root"
[    3.653638] libphy: Fixed MDIO Bus: probed
[    3.673272] libphy: orion_mdio_bus: probed
[    3.677565] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.754667] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    4.763454] libphy: PHY orion-mdio-mii:01 not found
[    4.768370] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    4.776732] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.783232] ehci-pci: EHCI PCI platform driver
[    4.787819] ehci-orion: EHCI orion driver
[    4.791906] orion-ehci orion-ehci.0: EHCI Host Controller
[    4.797371] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    4.805068] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    4.826318] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    4.832442] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.839235] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.846448] usb usb1: Product: EHCI Host Controller
[    4.851311] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd
[    4.858008] usb usb1: SerialNumber: orion-ehci.0
[    4.863427] hub 1-0:1.0: USB hub found
[    4.867242] hub 1-0:1.0: 1 port detected
[    4.871950] mousedev: PS/2 mouse device common for all mice
[    5.886471] rtc-mv rtc-mv: internal RTC not ticking
[    5.891489] i2c /dev entries driver
[    5.896050] hidraw: raw HID events driver (C) Jiri Kosina
[    5.901856] drop_monitor: Initializing network drop monitor service
[    5.908409] TCP: cubic registered
[    5.911714] NET: Registered protocol family 17
[    5.916379] Key type dns_resolver registered
[    5.921285] registered taskstats version 1
[    5.926137] regulator-dummy: incomplete constraints, leaving on
[    5.932390] libphy: PHY orion-mdio-mii:01 not found
[    5.937375] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    5.945727] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    5.954400] Freeing unused kernel memory: 212K (c064e000 - c0683000)
Loading, please wait...
[    6.049771] udevd[54]: starting version 175
[    6.323102] mvsdio mvsdio: no pins associated
[    6.370775] SCSI subsystem initialized
[    6.396404] mvsdio mvsdio: using GPIO for card detection
[    6.401864] libphy: PHY orion-mdio-mii:01 not found
[    6.410263] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.459466] sata_mv sata_mv.0: cannot get optional clkdev
[    6.464962] sata_mv sata_mv.0: slots 32 ports 2
[    6.530352] scsi0 : sata_mv
[    6.544354] scsi1 : sata_mv
[    6.554763] ata1: SATA max UDMA/133 irq 21
[    6.581528] ata2: SATA max UDMA/133 irq 21
[    6.593545] mmc0: host does not support reading read-only switch. assuming write-enable.
[    6.609452] mmc0: new high speed SDHC card at address aaaa
[    6.615291] libphy: PHY orion-mdio-mii:01 not found
[    6.630438] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.653219] mmcblk0: mmc0:aaaa SU32G 29.7 GiB 
[    6.661047]  mmcblk0: p1
[    6.665119] libphy: PHY orion-mdio-mii:01 not found
[    6.672332] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[    6.936338] ata1: SATA link down (SStatus 0 SControl F300)
[    7.306326] ata2: SATA link down (SStatus 0 SControl F300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[   17.468859] EXT3-fs (mmcblk0p1): recovery required on readonly filesystem
[   17.475629] EXT3-fs (mmcblk0p1): write access will be enabled during recovery
[   17.512340] kjournald starting.  Commit interval 5 seconds
[   17.520288] EXT3-fs (mmcblk0p1): recovery complete
[   17.525067] EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.875433] udevd[238]: starting version 175
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   19.582378] alg: hash: Test 1 failed for mv-hmac-sha1
[   19.590149] 00000000: 0c aa 9f d5 37 c3 79 3a 91 d9 21 5f 42 2b 2c 24
[   19.604661] 00000010: b7 c3 16 0c
[   19.612542] libphy: PHY orion-mdio-mii:01 not found
[   19.620149] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[   19.640508] orion_wdt: Initial timeout 25 sec
[   19.710157] libphy: PHY orion-mdio-mii:01 not found
[   19.715068] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[   20.276486] libphy: PHY orion-mdio-mii:01 not found
[   20.281395] platform mv643xx_eth_port.1: Driver mv643xx_eth_port requests probe deferral
[   20.290720] openrd-client-audio openrd-client-audio: ASoC: CODEC cs42l51-codec.0-004a not registered
[   20.302073] openrd-client-audio openrd-client-audio: snd_soc_register_card() failed: -517
[   20.310337] platform openrd-client-audio: Driver openrd-client-audio requests probe deferral
[   21.766344] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[   21.772862] cs42l51-codec 0-004a: failed to read I2C
[   21.777856] cs42l51-codec: probe of 0-004a failed with error -110
done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
rootfs: clean, 13151/1949696 files, 297764/7791360 blocks
done.
[   22.971967] EXT3-fs (mmcblk0p1): using internal journal
[ ok ] Loading kernel modules...done.
[   23.659411] random: nonblocking pool is initialized
[ ok ] Cleaning up temporary files... /tmp /lib/init/rw.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...[   28.715941] NET: Registered protocol family 10
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
send_packet: Network is down
receive_packet failed on eth0: Network is down
DHCPREQUEST on eth0 to 255.255.255.255 port 67
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
send_packet: Network is down
No DHCPOFFERS received.
Trying recorded lease 192.168.0.15
connect: Network is unreachable
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1677 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting rpcbind daemon...[....] Already running..
1675 (klogd)
. ok 
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).

Debian GNU/Linux 7 debian ttyS0

debian login:

Although the network still isn't working, this is progress... VERY GOOD PROGRESS!

root@debian:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"
root@debian:/pogofiles# ./fw_printenv 
Too few good blocks within range



Wondering what happened that it's not needing uart boot anymore? I did the following *** NOT RECOMMEDED FOR ANYONE TO TRY ***

./flash_erase /dev/mtd0 0 5
nandwrite -a /dev/mtd0 mtd0
nandwrite -a /dev/mtd1 mtd1
nandwrite -a /dev/mtd2 mtd2
nandwrite -a /dev/mtd3 mtd3
nandwrite -a /dev/mtd4 mtd4
#Ignoring all errors because I already know it's not working :)
cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"
./flash_erase /dev/mtd0 0 5
./nandwrite /dev/mtd0 uboot.2014.07-tld-1.pogo_v4.mtd0.kwb



Edited 1 time(s). Last edit at 08/10/2014 08:38PM by fsm.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 08:37PM
fsm,

Without UART, you must be running stock U-Boot. Look at the U-Boot banner in serial console.

Or did you flash new u-boot image?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/10/2014 08:39PM by bodhi.
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 08:41PM
With my Debina SD
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Warning: failed to set MAC address

Hit any key to stop autoboot:  0 
mmc - MMC sub system

Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
mmc setdsr <value> - set DSR register value

2461416 bytes read in 1547 ms (1.5 MiB/s)
6362802 bytes read in 2065 ms (2.9 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2461352 Bytes = 2.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6362738 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

*Waiting forever for nothing to happen here :)

Without:
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Warning: failed to set MAC address

Hit any key to stop autoboot:  0 
mmc - MMC sub system

Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
mmc setdsr <value> - set DSR register value

** Bad device mmc 0 **
** Bad device mmc 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!



Edited 1 time(s). Last edit at 08/10/2014 08:43PM by fsm.
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 08:49PM
fsm,

> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
>
> *Waiting forever for nothing to happen here :)
> [/code]

Yes, it is expected. Without the 2 setenv lines above in rickgtx's post, the mmc rootfs will not be mounted successfully. So it dropped out to the shell, you just can't see it in netconsole, only in serial console. So that why I recommended keep it running 24/7, don't shutdown. Just pretended you've booted normally, and do whatever you want to setup your mmc Debian rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 09:06PM
Yeah, no clue about the netconsole thing - I only hardwire :)

Getting it booted is no issue anymore, it's the darn network that won't come up (most likely due to no MAC set?) - she's hardwired but still won't play nicely with my routers (tried multiple networks, I have too much free time).

Just starting the day now, so I'll be playing with it for the next 12 or so hours, hopefully will have some good news at the end of it :)

For now, time to grab a coffee, let the bangers & mash settle and start work (aka sit at home and play with hardware!)

Thank you again rick & bodhi!
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 09:50PM
fsm,

> Yeah, no clue about the netconsole thing - I only
> hardwire :)

>
> Getting it booted is no issue anymore, it's the
> darn network that won't come up (most likely due
> to no MAC set?)

I see! then you need 3 lines (replace xx:xx:xx with you MAC address)

Pogov4> setenv ethaddr 'xx:xx:xx'
Pogov4> setenv bootcmd 'run mmc_set_bootargs; run bootcmd_mmc; bootm 0x00800000 0x01100000'
Pogov4> setenv mmc_set_bootargs 'setenv bootargs $bootargs_console root=/dev/mmcblk0p1 rootdelay=10 $mtdparts'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/10/2014 09:50PM by bodhi.
fsm
Re: Pogoplug Mobile NAND messed up pretty decently :)
August 10, 2014 11:06PM
Sadly, I've already tried that, but to no avail, still the same messages in dmesg log...

root@debian:~# /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ..[ (warning).
[....] Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
root@debian:~#

I'll pop over some wireless drivers and try setting up a usb network card to veirfy the root cause :)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: