Welcome! Log In Create A New Profile

Advanced

HP T5325 with bad flash - what to do?

Posted by kalehrl 
Re: HP T5325 with bad flash - what to do?
September 11, 2017 02:12PM
The other device boots fine with kwboot.
I guess this one is broken beyond repair.
Re: HP T5325 with bad flash - what to do?
September 11, 2017 02:18PM
feas Wrote:
-------------------------------------------------------
> I know I get weird results from faulty connections
> at times. Reconnect it from scratch and try the ot
> her with kwboot too to check that it is that devic
> e.

Thanks feas.

I always did this test before installing u-boot. But a really bad SPI flash might hose the running u-boot, or cause it to choke.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 11, 2017 02:19PM
kalehrl Wrote:
-------------------------------------------------------
> The other device boots fine with kwboot.
> I guess this one is broken beyond repair.

No :) I will find a way to rescue it, if the SPI flash is that bad.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 11, 2017 02:22PM
haha, ok, so much fun with these devices. :D
I've got a couple of hp t5740 and they are plain boring compared to these ones. :)
Re: HP T5325 with bad flash - what to do?
September 12, 2017 01:10AM
kalehrl.

First, use picocom to connect serial console (to verify that whether the SPI the flash caused the freeze).

Please post serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 12, 2017 01:54AM
Sorry but what exactly is picocom? I had a quick look on the net and it seems to be a minimal terminal emulator. I currently use lxterminal as terminal emulator to read the serial log from the hp t5325. Could you please be more specific? Thank you.
Re: HP T5325 with bad flash - what to do?
September 12, 2017 03:02AM
simply it opens a connection to the device in a terminal and allows you view the boot up and to type commands on the device as if you were on it.

in debian

sudo apt-get install picocom


connect to device with usb adapter and type

picocom /dev/ttyUSB0 -b 115200
in a terminal

you should see the settings displayed and terminal ready

power on the device
Re: HP T5325 with bad flash - what to do?
September 12, 2017 07:24AM
Ok, here is the log:
root@debian64:/home/kalehrl# picocom /dev/ttyUSB0 -b 115200
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready
��
       _   _     .____    
      | |_| |    |  _ \  
      |  _  |    | (_))   
      | |-| |    | |      
      |_| |_|    |_|  ..  
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE 

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: SM22 Firm: I052 Ser#: (03)5526888-20080228
            Type: Hard Disk
            Capacity: 463.6 MB = 0.4 GB (949536 x 512)


1888432 bytes read
Checking Button Status: off
Checking GotoWOL Status: off
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.22.18-2-armel
   Created:      2009-11-17  18:35:01 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1888368 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................................................... done, booting the kernel.
Re: HP T5325 with bad flash - what to do?
September 12, 2017 07:18PM
> U-Boot 1.1.4 (Jan 8 2010 - 14:03:56) MIC version: 3.4.19-16
>

The SPI flash is not entirely bad, after all. U-boot image is intact, so it booted.

> Reset IDE:
> Marvell Serial ATA Adapter
> Integrated Sata device found
> [0 0 0]: Enable DMA mode (6)
> Device 0 @ 0 0:
> Model: SM22 Firm: I052 Ser#: (03)5526888-20080228
> Type: Hard Disk
> Capacity: 463.6 MB = 0.4 GB (949536 x
> 512)
>
>
> 1888432 bytes read
> Checking Button Status: off
> Checking GotoWOL Status: off
> ## Booting image at 00200000 ...
> Image Name: Linux-2.6.22.18-2-armel
> Created: 2009-11-17 18:35:01 UTC
> Image Type: ARM Linux Kernel Image (uncompres
> sed)
> Data Size: 1888368 Bytes = 1.8 MB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... OK
> OK
>

It got to this point, so the envs area was still OK.

But wow it stuck at starting stock OS. And it could be many things.

------------

Please repeat this boot with piccom. Interrupt serial console at count down and get the listing of envs

printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 13, 2017 01:15AM
root@debian64:/home/kalehrl# picocom /dev/ttyUSB0 -b 115200
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready
�
       _   _     .____    
      | |_| |    |  _ \  
      |  _  |    | (_))   
      | |-| |    | |      
      |_| |_|    |_|  ..  
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE 

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
HP>> printenv
[U-boot variables]
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=no
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x80000@0x80000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
usb_bootargs=root=/dev/ram rw
bootusb=usb start;fatload usb 0 0x800000 /boot/uImage.usb;fatload usb 0 0x1100000 /boot/uInitrd.usb
usbboot=setenv bootargs $(usb_bootargs); run bootusb; bootm 0x800000 0x1100000
thinpro_bootargs=root=/dev/sda1 rw init=/init video=xgifb splash quiet
thinpro=ide reset; ext2load ide 0:1 0x200000 /boot/uImage; wol; setenv bootargs $(thinpro_bootargs); bootm 0x200000
pcieTune=yes
mfgmode=setenv bootdelay 3; setenv in_mfg yes;setenvh GotoWOL Yes; setenvh WOLEnabled No; setenv bootcmd run mfgboot; saveenv; reset
mfgbootargs=setenv bootargs root=/dev/sdb1 rw init=/init ip=dhcp rootdelay=8 $(console) udevtimeout=8
mfgboot=usb start; ext2load usb 0:1 0x2000000 /boot/uImage; run mfgbootargs; bootm 0x2000000
product=setenv bootdelay 1; setenv in_mfg no;setenvh GotoWOL No; setenvh WOLEnabled Yes; setenv bootcmd run thinpro; saveenv; reset
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
ethaddr=f4:ce:46:23:fd:25
gatewayip=10.4.50.5
netmask=255.255.255.0
ipaddr=10.4.50.70
serverip=10.4.50.5
bootdelay=1
in_mfg=no
bootcmd=run thinpro
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
enaAutoRecovery=yes

Environment size: 1974/4092 bytes

[PUE variables]
manufacturer=Hewlett-Packard
product_name=hp t5325
vendor=mitac
mac=f4:ce:46:23:fd:25
uuid=b7726ae4-bb54-11d4-ae6a-f4ce4623fd25
serial=CN304121BS

Environment size: 146/4092 bytes

[HPE variables]
UbootVersion=0x03041916
UbootReleaseDate=01082010
AssetNumber=0
AssetLocation=0
InitialNumlock=On
ClockSpeed=1200
WOLEnabled=Yes
GotoWOL=No

Environment size: 140/4092 bytes
HP>>
Re: HP T5325 with bad flash - what to do?
September 13, 2017 06:26PM
This is much better than I thought. So we can see the SPI flash did not have any problem.

## Booting image at 00200000 ...
   Image Name:   Linux-2.6.22.18-2-armel
   Created:      2009-11-17  18:35:01 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1888368 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................................................... done, booting the kernel.

The problem booting above is most likely that the stock rootfs was corrupted. And we need to reflash that only.

Let me come back to this topic later and post some recovery instruction.

About why your kwboot was stuck: please check your serial console wires to see if all 3 wires were solidly connected.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 14, 2017 12:57AM
Quote
The problem booting above is most likely that the stock rootfs was corrupted. And we need to reflash that only.

I've already flashed the unit with hp recovery files and it seemed to go fine, the unit booted once or twice but it froze shortly afterwards. After that, it wouldn't boot at all.

Quote
About why your kwboot was stuck: please check your serial console wires to see if all 3 wires were solidly connected.

I tried the same cable with the good unit and it booted fine with kwboot.



Edited 1 time(s). Last edit at 09/14/2017 12:58AM by kalehrl.
Re: HP T5325 with bad flash - what to do?
September 14, 2017 03:40AM
kalehrl,

> I've already flashed the unit with hp recovery
> files and it seemed to go fine, the unit booted
> once or twice but it froze shortly afterwards.
> After that, it wouldn't boot at all.

That is indeed a symptom of some bad flash region in the stock FW.

However, your bootlog showed that it booted pass stock u-boot loading and list the envs OK. So all you need to do is to set up stock u-boot to boot with USB rootfs and all will be OK.

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



Edited 1 time(s). Last edit at 09/14/2017 03:43AM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 14, 2017 03:43AM
Run picocom. Plug in the USB rootfs. Power up. Interrupt serial console, and execute

setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x1100000 /boot/uInitrd'
setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000
setenv bootcmd 'run bootcmd_usb; reset'
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
boot


Note: since we are booting with stock u-boot. You need to do step 4 during the USB rootfs creation.

Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.12.1-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync

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



Edited 1 time(s). Last edit at 09/14/2017 05:40AM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 14, 2017 07:40AM
Shall I replace kirkwood-goflexnet.dtb in the instructions with kirkwood-t5325.dtb?
I replaced it, I guess that should be done.
Here is the log:
_   _     .____    
      | |_| |    |  _ \  
      |  _  |    | (_))   
      | |-| |    | |      
      |_| |_|    |_|  ..  
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE 

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
HP>> setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x1100000 /boot/uInitrd'
HP>> setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000
HP>> setenv bootcmd 'run bootcmd_usb; reset'
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
HP>> boot
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
.........................................................................................................................................................................

3833511 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
.....................................................................................................................................................................................................................................................................................................

7245696 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-09-14  12:43:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833447 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes =  6.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: HP t5325 Thin Client
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback



Edited 1 time(s). Last edit at 09/14/2017 08:06AM by kalehrl.
Re: HP T5325 with bad flash - what to do?
September 14, 2017 07:09PM
Did it get stuck at this point? No more output?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 15, 2017 12:54AM
Yes, that's all. Funny thing is, the other, working hp t5325 also won't boot with the USB flash prepared with step 4. I used my x86 virtual machine to make the step 4 modification. Maybe I need to use the hp t5325 itself?
Re: HP T5325 with bad flash - what to do?
September 15, 2017 01:06AM
kalehrl Wrote:
-------------------------------------------------------
> Yes, that's all. Funny thing is, the other,
> working hp t5325 also won't boot with the USB
> flash prepared with step 4.

> I used my x86 virtual
> machine to make the step 4 modification. Maybe I
> need to use the hp t5325 itself?

There is a very small chance that could be a problem (depending on a lot of factors, but in general it is not a problem to do that).

Yes when you can, always run the mkimage natively on ARM box such as the other T5325. It is the best way so you don't even need to worry.

However, note that when you installed and boot with my new u-boot, step 4 must be skipped during rootfs creation.

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



Edited 1 time(s). Last edit at 09/15/2017 01:10AM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 15, 2017 02:15AM
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 4.12.1-kirkwood-tld-1
> (root@tldDebian) (gcc version 4.9.2 (Debian
> 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT
> 2017
> [    0.000000] CPU: Feroceon 88FR131 [56251311]
> revision 1 (ARMv5TE), cr=0005397f
> [    0.000000] CPU: VIVT data cache, VIVT
> instruction cache
> [    0.000000] OF: fdt: Machine model: HP t5325
> Thin Client
> [    0.000000] bootconsole [earlycon0] enabled
> [    0.000000] Memory policy: Data cache
> writeback

It is indeed strange that it would be stuck here. The SPI flash was not even coming in to play in the kernel at this point yet.

Can you redo the USB rootfs on the good T5325 box?

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



Edited 1 time(s). Last edit at 09/15/2017 02:16AM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 15, 2017 12:43PM
I did rootfs on my linux virtual machine and it works fine in the good box so I think that can't be the issue.
I see hp uboot has some tests like 'mtest' to test RAM so I'll run them.
Re: HP T5325 with bad flash - what to do?
September 15, 2017 05:00PM
kalehrl Wrote:
-------------------------------------------------------
> I did rootfs on my linux virtual machine and it
> works fine in the good box so I think that can't
> be the issue.

Is the good box running new u-boot?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 15, 2017 05:56PM
Yes. But I did step 4 before using the USB flash drive in the bad box.



Edited 1 time(s). Last edit at 09/15/2017 05:58PM by kalehrl.
Re: HP T5325 with bad flash - what to do?
September 15, 2017 09:49PM
kalehrl Wrote:
-------------------------------------------------------
> Yes. But I did step 4 before using the USB flash
> drive in the bad box.

This step 4 has been done inside the good T5325 box at Linux shell?

Pardon me for the trivial questions! I want to make sure I got all the details.

Problem with booting the bad box seems to be inconsistent between u-boot (with kwboot) booting and during Linux kernel booting.

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



Edited 1 time(s). Last edit at 09/15/2017 09:49PM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 16, 2017 09:56AM
I did step 4 on the good box and still no luck:
Attachments:
open | download - log.txt (70 KB)
Re: HP T5325 with bad flash - what to do?
September 16, 2017 05:17PM
kalehrl,

The redone rootfs booted farther and gave out real cause of problem.

As you've guessed it, there are some bad RAM in your box. AFAICT, the kernel error looks like a rare kernel bug that surfaced when trying to handle that bad RAM page.

Try this to get more info and see if it was really a bug.

This time we add a debug option to the kernel bootargs (bold line):
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x1100000 /boot/uInitrd'
setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000
setenv bootcmd 'run bootcmd_usb; reset'
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 with bad flash - what to do?
September 17, 2017 02:51AM
Here is the log.
Attachments:
open | download - log.txt (73.1 KB)
Re: HP T5325 with bad flash - what to do?
September 17, 2017 06:35PM
kalehrl,

It did not give us more info than before.

Lets do this bisect to find the bad memory region.


setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x1100000 /boot/uInitrd'
setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000
setenv bootcmd 'run bootcmd_usb; reset'
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M'
boot

In the the bootargs env (bold line), it is set to 256M. So the idea is if this boots OK then change it to 384M in the next boot, if it causes a hang then reduce it to 128M, ... so on.

Go forward and backward in a binary search (128, 64, 32, 16, 8, 4, 2, 1) until you can boot with the max amount of memory that you can.

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



Edited 1 time(s). Last edit at 09/17/2017 06:36PM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 19, 2017 07:01AM
I tried both 256M and 128M options but still errors:
_   _     .____
      | |_| |    |  _ \
      |  _  |    | (_))
      | |-| |    | |
      |_| |_|    |_|  ..
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
HP>> setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x1100000 /boot/uInitrd'
HP>> setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000
HP>> setenv bootcmd 'run bootcmd_usb; reset'
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M'
HP>> boot
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
.........................................................................................................................................................................

3833511 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
.....................................................................................................................................................................................................................................................................................................

7245696 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2013-01-01  16:26:59 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833447 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes =  6.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: HP t5325 Thin Client
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 239388K/262144K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 22756K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007905] Switching to timer-based delay loop, resolution 5ns
[    0.014307] Console: colour dummy device 80x30
[    0.018884] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029483] pid_max: default: 32768 minimum: 301
[    0.034352] Security Framework initialized
[    0.038670] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045344] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053283] CPU: Testing write buffer coherency: ok
[    0.059202] Setting up static identity map for 0x100000 - 0x100058
[    0.065672] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.073984] devtmpfs: initialized
[    0.081683] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.091641] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.098207] prandom: seed boundary self test passed
[    0.106864] prandom: 100 self tests passed
[    0.111075] pinctrl core: initialized pinctrl subsystem
[    0.117463] NET: Registered protocol family 16
[    0.122477] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130938] cpuidle: using governor ladder
[    0.135163] cpuidle: using governor menu
[    0.139640] Feroceon L2: Enabling L2
[    0.143317] Feroceon L2: Cache support initialised.
[    0.148625] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.164703] No ATAGs?
[    0.174057] vgaarb: loaded
[    0.179540] SCSI subsystem initialized
[    0.183818] usbcore: registered new interface driver usbfs
[    0.189493] usbcore: registered new interface driver hub
[    0.194937] usbcore: registered new device driver usb
[    0.201198] clocksource: Switched to clocksource orion_clocksource
[    0.295841] VFS: Disk quotas dquot_6.6.0
[    0.299902] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.317441] NET: Registered protocol family 2
[    0.322647] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.329690] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.336157] TCP: Hash tables configured (established 2048 bind 2048)
[    0.342662] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.348568] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.355085] NET: Registered protocol family 1
[    0.359910] RPC: Registered named UNIX socket transport module.
[    0.365965] RPC: Registered udp transport module.
[    0.370728] RPC: Registered tcp transport module.
[    0.375523] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.382272] Unpacking initramfs...
[    0.385749] Initramfs unpacking failed: junk in compressed archive
[    0.411690] Freeing initrd memory: 7076K
[    0.415846] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.423409] audit: initializing netlink subsys (disabled)
[    0.429302] Initialise system trusted keyrings
[    0.433867] audit: type=2000 audit(0.417:1): state=initialized audit_enabled=0 res=1
[    0.441737] Key type blacklist registered
[    0.445949] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.452573] zbud: loaded
[    0.456136] NFS: Registering the id_resolver key type
[    0.461344] Key type id_resolver registered
[    0.465596] Key type id_legacy registered
[    0.469677] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.476480] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.483115] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.490397] fuse init (API version 7.26)
[    0.494741] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.501471] orangefs_init: module version upstream loaded
[    0.506930] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.561206] random: fast init done
[    6.352351] Key type asymmetric registered
[    6.356523] Asymmetric key parser 'x509' registered
[    6.361796] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.369241] io scheduler noop registered
[    6.373298] io scheduler deadline registered
[    6.377699] io scheduler cfq registered (default)
[    6.383705] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.399046] loop: module loaded
[    6.403897] libphy: Fixed MDIO Bus: probed
[    6.408788] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.415442] ehci-pci: EHCI PCI platform driver
[    6.420005] ehci-orion: EHCI orion driver
[    6.424307] usbcore: registered new interface driver usb-storage
[    6.430696] mousedev: PS/2 mouse device common for all mice
[    6.436676] i2c /dev entries driver
[    6.440608] kirkwood-cpufreq kirkwood-cpufreq: Unable to get cpuclk
[    6.447018] kirkwood-cpufreq: probe of kirkwood-cpufreq failed with error -22
[    6.454680] hidraw: raw HID events driver (C) Jiri Kosina
[    6.460482] drop_monitor: Initializing network drop monitor service
[    6.467057] NET: Registered protocol family 17
[    6.471671] Key type dns_resolver registered
[    6.476801] registered taskstats version 1
[    6.480963] Loading compiled-in X.509 certificates
[    6.485905] zswap: loaded using pool lzo/zbud
[    6.492703] Key type big_key registered
[    6.498446] Key type encrypted registered
[    6.503809] hctosys: unable to open rtc device (rtc0)
[    8.556370] Unable to handle kernel paging request at virtual address d0000000
[    8.563644] pgd = c0004000
[    8.566425] [d0000000] *pgd=00000000
[    8.570077] Internal error: Oops: 5 [#1] PREEMPT ARM
[    8.575100] Modules linked in:
[    8.578232] CPU: 0 PID: 1 Comm: swapper Not tainted 4.12.1-kirkwood-tld-1 #1
[    8.585329] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.591646] task: cf834e00 task.stack: cf836000
[    8.596250] PC is at crc32_be+0x6c/0x160
[    8.600234] LR is at 0xc0950bd0
[    8.603442] pc : [<c0584814>]    lr : [<c0950bd0>]    psr: 20000053
[    8.603442] sp : cf837ef0  ip : c09520c8  fp : 00000000
[    8.615034] r10: c0db9ba0  r9 : c0c4b838  r8 : 0bd705dd
[    8.620314] r7 : 00000000  r6 : cffffffc  r5 : 1c3e9e27  r4 : 00000007
[    8.626889] r3 : 3e07b35d  r2 : 1e1bdfbc  r1 : c115f354  r0 : 2b256da3
[    8.633473] Flags: nzCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment none
[    8.640747] Control: 0005397f  Table: 00004000  DAC: 00000053
[    8.646544] Process swapper (pid: 1, stack limit = 0xcf836190)
[    8.652428] Stack: (0xcf837ef0 to 0xcf838000)
[    8.656847] 7ee0:                                     c115f358 f0defde7 4e4d16c5 c0c59544
[    8.665075] 7f00: 00000000 c0c3f8f0 00000007 c0c3f8bc 000000b8 c010178c 00000000 c01334d0
[    8.673299] 7f20: 00000000 c0299eec 00000000 c0aeb5e0 000000b8 00000007 00000007 c0aec440
[    8.681525] 7f40: 000000b7 c0aec440 cfffce97 cfffce9b c0d0bc24 00000007 c0c4b830 000000b8
[    8.689750] 7f60: 00000007 c0c4b834 000000b8 c0c59544 c0db9ba0 c0c00e18 00000007 00000007
[    8.697975] 7f80: 00000000 c0c005ac 00000000 c08331f8 00000000 00000000 00000000 00000000
[    8.706200] 7fa0: 00000000 c0833200 00000000 c01070f0 00000000 00000000 00000000 00000000
[    8.714425] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.722651] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 3b021025 ce6bfc62
[    8.730889] [<c0584814>] (crc32_be) from [<c0c3f8f0>] (of_fdt_raw_init+0x34/0x78)
[    8.738432] [<c0c3f8f0>] (of_fdt_raw_init) from [<c010178c>] (do_one_initcall+0xa8/0x158)
[    8.746665] [<c010178c>] (do_one_initcall) from [<c0c00e18>] (kernel_init_freeable+0x198/0x260)
[    8.755419] [<c0c00e18>] (kernel_init_freeable) from [<c0833200>] (kernel_init+0x8/0x10c)
[    8.763653] [<c0833200>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24)
[    8.771278] Code: e1a05002 e59fe0f4 e3550000 0a00002b (e5963004)
[    8.777429] ---[ end trace 12b0d190d31fd2dc ]---
[    8.782187] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    8.782187]
[    8.791453] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    8.791453]
Re: HP T5325 with bad flash - what to do?
September 19, 2017 07:33AM
kalehrl,

That's very good! with 256M you did not get the bad page error. It was a different error caused by stock u-boot limitation.

So try this revised envs set

setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x2100000 /boot/uInitrd'
setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x2100000
setenv bootcmd 'run bootcmd_usb; reset'
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M'
boot

If it boots into Debian OK, try 384M next,... and so on.

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



Edited 2 time(s). Last edit at 09/19/2017 07:37AM by bodhi.
Re: HP T5325 with bad flash - what to do?
September 19, 2017 07:37AM
It almost booted after the second try:
_   _     .____
      | |_| |    |  _ \
      |  _  |    | (_))
      | |-| |    | |
      |_| |_|    |_|  ..
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
HP>> setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1  0x2100000 /boot/uInitrd'
HP>> setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x2100000
HP>> setenv bootcmd 'run bootcmd_usb; reset'
HP>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M'
HP>> boot
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
.........................................................................................................................................................................

3833511 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
.................................................................................................................................................................................................................
.....................................................................................................................................................................................................................................................................................................

7245696 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2013-01-01  16:26:59 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833447 Bytes =  3.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes =  6.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: HP t5325 Thin Client
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootmem_debug=1 mem=256M
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 239372K/262144K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 22772K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007905] Switching to timer-based delay loop, resolution 5ns
[    0.014306] Console: colour dummy device 80x30
[    0.018884] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029483] pid_max: default: 32768 minimum: 301
[    0.034352] Security Framework initialized
[    0.038670] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045344] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053284] CPU: Testing write buffer coherency: ok
[    0.059202] Setting up static identity map for 0x100000 - 0x100058
[    0.065672] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.073982] devtmpfs: initialized
[    0.081668] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.091620] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.098192] prandom: seed boundary self test passed
[    0.106856] prandom: 100 self tests passed
[    0.111067] pinctrl core: initialized pinctrl subsystem
[    0.117449] NET: Registered protocol family 16
[    0.122461] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130926] cpuidle: using governor ladder
[    0.135147] cpuidle: using governor menu
[    0.139621] Feroceon L2: Enabling L2
[    0.143300] Feroceon L2: Cache support initialised.
[    0.148607] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.164681] No ATAGs?
[    0.174017] vgaarb: loaded
[    0.179499] SCSI subsystem initialized
[    0.183782] usbcore: registered new interface driver usbfs
[    0.189450] usbcore: registered new interface driver hub
[    0.194894] usbcore: registered new device driver usb
[    0.201159] clocksource: Switched to clocksource orion_clocksource
[    0.295812] VFS: Disk quotas dquot_6.6.0
[    0.299876] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.317426] NET: Registered protocol family 2
[    0.322618] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.329664] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.336133] TCP: Hash tables configured (established 2048 bind 2048)
[    0.342635] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.348543] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.355064] NET: Registered protocol family 1
[    0.359890] RPC: Registered named UNIX socket transport module.
[    0.365940] RPC: Registered udp transport module.
[    0.370702] RPC: Registered tcp transport module.
[    0.375497] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.382246] Unpacking initramfs...
[    1.031585] Freeing initrd memory: 7076K
[    1.035746] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.043322] audit: initializing netlink subsys (disabled)
[    1.049245] Initialise system trusted keyrings
[    1.053817] audit: type=2000 audit(1.037:1): state=initialized audit_enabled=0 res=1
[    1.061692] Key type blacklist registered
[    1.065906] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.072529] zbud: loaded
[    1.076095] NFS: Registering the id_resolver key type
[    1.081306] Key type id_resolver registered
[    1.085550] Key type id_legacy registered
[    1.089631] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.096437] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.103054] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.110336] fuse init (API version 7.26)
[    1.114676] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.121397] orangefs_init: module version upstream loaded
[    1.126859] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.561166] random: fast init done
[    6.980687] Key type asymmetric registered
[    6.985160] Asymmetric key parser 'x509' registered
[    6.990157] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.997750] io scheduler noop registered
[    7.001797] io scheduler deadline registered
[    7.006193] io scheduler cfq registered (default)
[    7.012330] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.021611] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    7.030190] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    7.036544] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.043501] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.049363] PCI: bus0: Fast back to back transfers disabled
[    7.055041] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.063622] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    7.101221] PCI: bus1: Fast back to back transfers disabled
[    7.106949] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe5ffffff]
[    7.113910] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    7.120326] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe3ffffff pref]
[    7.127630] pci 0000:01:00.0: BAR 1: assigned [mem 0xe4000000-0xe403ffff]
[    7.134497] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x1007f]
[    7.140825] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.145871] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    7.152223] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe5ffffff]
[    7.159143] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.165844] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.231894] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    7.239745] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.301887] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    7.309952] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.317744] console [ttyS0] disabled
[    7.321515] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    7.330554] console [ttyS0] enabled
[    7.330554] console [ttyS0] enabled
[    7.337683] bootconsole [earlycon0] disabled
[    7.337683] bootconsole [earlycon0] disabled
[    7.354768] loop: module loaded
[    7.358495] sata_mv f1080000.sata: slots 32 ports 2
[    7.366214] scsi host0: sata_mv
[    7.369802] scsi host1: sata_mv
[    7.373264] ata1: SATA max UDMA/133 irq 35
[    7.377380] ata2: SATA max UDMA/133 irq 35
[    7.383109] m25p80 spi0.0: found mx25l8005, expected m25p80
[    7.388722] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    7.393626] 5 ofpart partitions found on MTD device spi0.0
[    7.399135] Creating 5 MTD partitions on "spi0.0":
[    7.403978] 0x000000000000-0x000000080000 : "u-boot"
[    7.410298] 0x000000080000-0x0000000c0000 : "SSD firmware"
[    7.417162] 0x0000000c0000-0x0000000d0000 : "u-boot env"
[    7.423832] 0x0000000d0000-0x0000000e0000 : "permanent u-boot env"
[    7.431095] 0x0000000d0000-0x0000000e0000 : "permanent u-boot env"
[    7.439546] libphy: Fixed MDIO Bus: probed
[    7.444507] libphy: orion_mdio_bus: probed
[    7.453510] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.461703] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f4:ce:46:23:fd:25
[    7.470558] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.477208] ehci-pci: EHCI PCI platform driver
[    7.481812] ehci-orion: EHCI orion driver
[    7.486037] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.491635] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.499595] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    7.531190] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.537488] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.544339] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.551620] usb usb1: Product: EHCI Host Controller
[    7.556516] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[    7.563267] usb usb1: SerialNumber: f1050000.ehci
[    7.568689] hub 1-0:1.0: USB hub found
[    7.572543] hub 1-0:1.0: 1 port detected
[    7.577144] usbcore: registered new interface driver usb-storage
[    7.583579] mousedev: PS/2 mouse device common for all mice
[    7.589772] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    7.596881] i2c /dev entries driver
[    7.602573] hidraw: raw HID events driver (C) Jiri Kosina
[    7.608430] drop_monitor: Initializing network drop monitor service
[    7.615036] NET: Registered protocol family 17
[    7.619583] Key type dns_resolver registered
[    7.624707] registered taskstats version 1
[    7.628820] Loading compiled-in X.509 certificates
[    7.633749] zswap: loaded using pool lzo/zbud
[    7.647864] Key type big_key registered
[    7.660981] Key type encrypted registered
[    7.666462] rtc-mv f1010300.rtc: setting system clock to 2008-09-10 21:44:14 UTC (1221083054)
[    7.881205] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.889807] ata1.00: ATA-7: SM224, I0521, max UDMA/133
[    7.895004] ata1.00: 949536 sectors, multi 0: LBA
[    7.902249] ata1.00: configured for UDMA/133
[    7.917091] scsi 0:0:0:0: Direct-Access     ATA      SM224            1    PQ: 0 ANSI: 5
[    7.926314] sd 0:0:0:0: [sda] 949536 512-byte logical blocks: (486 MB/464 MiB)
[    7.933624] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.940989] sd 0:0:0:0: [sda] Write Protect is off
[    7.946004] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.956938]  sda: sda1
[    7.960670] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.121742] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    8.128494] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.136420] hub 1-1:1.0: USB hub found
[    8.140357] hub 1-1:1.0: 4 ports detected
[    8.272749] ata2: SATA link down (SStatus 0 SControl F300)
[    8.291262] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    8.461256] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    8.633742] usb 1-1.3: New USB device found, idVendor=1307, idProduct=0165
[    8.640681] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.660906] usb 1-1.3: Product: USB Mass Storage Device
[    8.671251] usb 1-1.3: Manufacturer: USBest Technology
[    8.676418] usb 1-1.3: SerialNumber: 1006296602673f
[    8.693955] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    8.708422] scsi host2: usb-storage 1-1.3:1.0
[    9.181333] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[    9.772576] scsi 2:0:0:0: Direct-Access     take MS  Colorline        0.00 PQ: 0 ANSI: 2
[    9.786925] sd 2:0:0:0: [sdb] 7613559 512-byte logical blocks: (3.90 GB/3.63 GiB)
[    9.800918] sd 2:0:0:0: [sdb] Write Protect is off
[    9.811541] sd 2:0:0:0: [sdb] Asking for cache data failed
[    9.817083] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[    9.953613]  sdb: sdb1
[    9.962657] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   19.301437] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   19.320290] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   21.296438] input: gpio_keys as /devices/platform/gpio_keys/input/input0
done.
[....] Waiting for /dev to be fully populated...[   21.540949] xgifb: module is from the staging directory, the quality is unknown, you have been warned.
[   21.634644] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030]
[   21.716819] xgifb 0000:01:00.0: chipid = 32
[   21.729215] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1
[   21.775211] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xd1000000, size 32768k
[   21.823950] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.825149] orion_wdt: Initial timeout 21 sec
[   21.860553] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.860773] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   22.035665] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xd0f00000, size 256k
[   22.073545] asoc-simple-card sound: alc5621-hifi <-> i2s mapping ok
[   22.187251] xgifb 0000:01:00.0: No or unknown bridge type detected
[   22.207513] xgifb: Default mode is 800x600x16 (60Hz)
[   22.319389] random: crng init done
done.
[ ok ] Activating swap:.
[   23.262879] EXT4-fs (sdb1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sdb1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 9256/238080 files, 109010/951296 blocks
. ok
[   23.504326] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   26.885230] NET: Registered protocol family 10
[   26.892180] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.898226] Segment Routing with IPv6
[....] Configuring network interfaces...[   30.158663] Unable to handle kernel paging request at virtual address 6961775e
[   30.165922] pgd = cfa18000
[   30.168642] [6961775%] *pgd=00000000
[   30.172241] Internal error: Oops: 80000005 [#1] PREEMPT ARM
[   30.177833] Modules linked in: ipv6 evdev snd_soc_simple_card snd_soc_simple_card_utils snd_soc_kirkwood snd_soc_alc5623 sg snd_soc_core snd_pcm_dmaengine snd_pcm orion_wdt marvell_cesa snd_timer snd soundc/re ac97_bus xgifb(C) cfbfillrect cfbimgblt cfbcopyarea fb uio_pdrv_genirq uio gpio_keys uas fixed



Edited 1 time(s). Last edit at 09/19/2017 07:41AM by kalehrl.
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: