Ramdisk crashed - per seriell reparieren

Status
Für weitere Antworten geschlossen.

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
neues Problem :)

Habe nun eine DS212j auf dem Tisch und wollte genau so vorgehen, jedoch kommt folgendes:


Marvell>> setenv serverip 192.168.0.43
Marvell>> setenv ipaddr 192.168.0.60
Marvell>> tftpboot 0x4000000 zImage
Using egiga0 device
TFTP from server 192.168.0.43; our IP address is 192.168.0.60
Filename 'zImage'.
Load address: 0x4000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
############################################
done
Bytes transferred = 1552216 (17af58 hex)
Marvell>> tftpboot 0x6000000 rd.bin
Using egiga0 device
TFTP from server 192.168.0.43; our IP address is 192.168.0.60
Filename 'rd.bin'.
Load address: 0x6000000
Loading: #################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 1030435 (fb923 hex)
Marvell>> sf probe 0 50000000
Usage:
sflash - read, write or erase the external SPI Flash.

Marvell>> bootm 0x4000000 0x6000000
## Booting image at 04000000 ...
Image Name: Linux-2.6.32.12
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1552152 Bytes = 1.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 06000000 ...
Image Name: synology_88f6281_212j 8451
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 1030371 Bytes = 1006.2 kB
Load Address: 00800000
Entry Point: 00800000
Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #8451 Wed Aug 17 05:12:01 CST 2016
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Feroceon-KW
[ 0.000000] Using UBoot passing parameters structure
[ 0.000000] Sys Clk = 200000000, Tclk = 166666667
[ 0.000000] Synology Board ID: 21
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS212jv20 ihd_num=2 netif_num=1
[ 0.000000] Synology Hardware Version: DS212jv20-j
[ 0.000000] Internal HD num: 2
[ 0.000000] Internal netif num: 1
[ 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: 128MB 128MB = 256MB total
[ 0.000000] Memory: 244992KB available (3652K code, 519K data, 124K init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:128
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 1058.40 BogoMIPS (lpj=5292032)
[ 0.260000] Mount-cache hash table entries: 512
[ 0.260000] CPU: Testing write buffer coherency: ok
[ 0.260000] devtmpfs: initialized
[ 0.260000] xor: measuring software checksum speed
[ 0.310000] arm4regs : 965.200 MB/sec
[ 0.360000] 8regs : 579.200 MB/sec
[ 0.410000] 32regs : 747.600 MB/sec
[ 0.410000] xor: using function: arm4regs (965.200 MB/sec)
[ 0.410000] NET: Registered protocol family 16
[ 0.410000] Feroceon L2: Enabling L2
[ 0.410000] Feroceon L2: Cache support initialised, in WT override mode.
[ 0.420000]
[ 0.420000] CPU Interface
[ 0.420000] -------------
[ 0.420000] SDRAM_CS0 ....base 00000000, size 128MB
[ 0.420000] SDRAM_CS1 ....base 08000000, size 128MB
[ 0.420000] SDRAM_CS2 ....disable
[ 0.420000] SDRAM_CS3 ....disable
[ 0.420000] PEX0_MEM ....base e0000000, size 128MB
[ 0.420000] PEX0_IO ....base f2000000, size 1MB
[ 0.420000] PEX1_MEM ....no such
[ 0.420000] PEX1_IO ....no such
[ 0.420000] INTER_REGS ....base f1000000, size 1MB
[ 0.420000] NFLASH_CS ....base fa000000, size 2MB
[ 0.420000] SPI_CS ....base f4000000, size 16MB
[ 0.420000] BOOT_ROM_CS ....no such
[ 0.420000] DEV_BOOTCS ....no such
[ 0.420000] CRYPT_ENG ....base f0000000, size 2MB
[ 0.420000] Detected Tclk 200000000 and SysClk 0
[ 0.420000] Synology 6281 1, 2 bay GPIO Init
[ 0.920000] PEX0 interface detected no Link.
[ 0.920000] PCI: bus0: Fast back to back transfers enabled
[ 0.920000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
[ 0.930000] bio: create slab <bio-0> at 0
[ 0.930000] vgaarb: loaded
[ 0.930000] SCSI subsystem initialized
[ 1.100000] raid6: int32x1 90 MB/s
[ 1.270000] raid6: int32x2 130 MB/s
[ 1.440000] raid6: int32x4 121 MB/s
[ 1.610000] raid6: int32x8 130 MB/s
[ 1.610000] raid6: using algorithm int32x8 (130 MB/s)
[ 1.610000] Switching to clocksource kw_clocksource
[ 1.610000] NET: Registered protocol family 2
[ 1.610000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 1.610000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.610000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.610000] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.610000] TCP reno registered
[ 1.610000] NET: Registered protocol family 1
[ 1.610000] RPC: Registered udp transport module.
[ 1.610000] RPC: Registered tcp transport module.
[ 1.610000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.610000] Trying to unpack rootfs image as initramfs...
[ 1.610000] Freeing initrd memory: 4096K
[ 1.610000] XOR registered 4 channels
[ 1.610000] XOR 2nd invalidate WA enabled
[ 1.610000] VFS: Disk quotas dquot_6.5.2
[ 1.610000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.610000] msgmni has been set to 486
[ 1.610000] alg: No test for md5 (md5-generic)
[ 1.610000] alg: No test for des (des-generic)
[ 1.610000] alg: No test for des3_ede (des3_ede-generic)
[ 1.610000] alg: No test for stdrng (krng)
[ 1.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 1.610000] io scheduler noop registered
[ 1.610000] io scheduler anticipatory registered (default)
[ 1.620000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.620000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 1.630000] console [ttyS0] enabled
[ 1.630000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[ 1.650000] brd: module loaded
 

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
[ 1.650000] sata_mv sata_mv.0: version 1.28
[ 1.650000] sata_mv sata_mv.0: slots 32 ports 2
[ 1.660000] scsi0 : sata_mv
[ 1.660000] scsi1 : sata_mv
[ 1.670000] ata1: SATA max UDMA/133 irq 21
[ 1.670000] ata2: SATA max UDMA/133 irq 21
[ 10.220000] ata1: link is slow to respond, please be patient (ready=0)
[ 14.720000] ata1: SRST failed (errno=-16)
[ 14.720000] ata1: SRST fail, set srst fail flag
[ 15.230000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 15.230000] ata1: link reset sucessfully clear error flags
[ 15.300000] ata1.00: ATA-8: WDC WD20EARS-00MVWB0, 51.0AB51, max UDMA/133
[ 15.300000] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 15.350000] ata1.00: configured for UDMA/133
[ 15.370000] scsi 0:0:0:0: Direct-Access WDC WD20EARS-00MVWB0 51.0 PQ: 0 ANSI: 5
[ 15.370000] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 15.380000] sd 0:0:0:0: [sda] Write Protect is off
[ 15.390000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 15.400000] sda: sda1
[ 15.420000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 18.420000] Delay 5 seconds to wait for disk 2 ready.
[ 28.960000] ata2: link is slow to respond, please be patient (ready=0)
[ 29.080000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 29.280000] ata2.00: ATA-8: WDC WD20EARX-00PASB0, 51.0AB51, max UDMA/133
[ 29.280000] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 29.330000] ata2.00: configured for UDMA/133
[ 29.350000] scsi 1:0:0:0: Direct-Access WDC WD20EARX-00PASB0 51.0 PQ: 0 ANSI: 5
[ 29.350000] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 29.360000] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 29.370000] sd 1:0:0:0: [sdb] Write Protect is off
[ 29.370000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 29.380000] sdb: sdb1
[ 29.400000] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 29.410000] physmap platform flash device: 00400000 at f8000000
[ 29.410000] SPI Serial flash detected @ 0xf8000000, 4096KB (64sec x 64KB)
[ 29.420000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x3f0000
[ 29.440000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[ 29.450000] SYNOMTD flash bank 0: Using RedBoot partition definition
[ 29.460000] Creating 6 MTD partitions on "SYNOMTD-0":
[ 29.460000] 0x000000000000-0x000000080000 : "RedBoot"
[ 29.470000] 0x000000080000-0x000000280000 : "zImage"
[ 29.470000] 0x000000280000-0x0000003c0000 : "rd.gz"
[ 29.480000] 0x0000003c0000-0x0000003d0000 : "vendor"
[ 29.480000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 29.490000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 29.500000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 29.500000] serial number='CCKON03413'
[ 29.510000] 0x0000003d0000-0x0000003f0000 : "RedBoot Config"
[ 29.510000] 0x0000003f0000-0x000000400000 : "FIS directory"
[ 29.520000] mvCpuIfTargetWinBaseLowGet:ERR. Getting target 11 failed.
[ 29.530000] mvCpuIfTargetWinSizeGet:ERR. Getting target 11 failed.
[ 29.530000]
[ 29.530000] ERROR: flashInfoFill - Failed to get Device Base address and Size (spi_flash 0)Loading Marvell Ethernet Driver:
[ 29.540000] o Cached descriptors in DRAM
[ 29.550000] o DRAM SW cache-coherency
[ 29.550000] o 2 Giga ports supported
[ 29.560000] o Single RX Queue support - ETH_DEF_RXQ=0
[ 29.560000] o Single TX Queue support - ETH_DEF_TXQ=0
[ 29.570000] o TCP segmentation offload (TSO) supported
[ 29.570000] o Receive checksum offload supported
[ 29.580000] o Transmit checksum offload supported
[ 29.580000] o SKB Recycle supported - (Enabled)
[ 29.590000] o Rx descripors: q0=128
[ 29.590000] o Tx descripors: q0=532
[ 29.590000] o Loading network interface(s):
[ 29.600000] o register under mv88fx_eth platform
[ 29.610000] o eth0, ifindex = 2, GbE port = 0
[ 29.610000] o eth0, phy chipid = 1410e40, Support WOL = 0
[ 29.620000]
[ 29.620000] md: linear personality registered for level -1
[ 29.620000] md: raid0 personality registered for level 0
[ 29.630000] md: raid1 personality registered for level 1
[ 29.630000] md: raid10 personality registered for level 10
[ 29.640000] md: raid6 personality registered for level 6
[ 29.640000] md: raid5 personality registered for level 5
[ 29.650000] md: raid4 personality registered for level 4
[ 29.660000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 29.660000] cpuidle: using governor ladder
[ 29.670000] TCP cubic registered
[ 29.670000] NET: Registered protocol family 17
[ 29.680000] NET: Registered protocol family 15
[ 29.680000] registered taskstats version 1
[ 29.690000] md: Waiting for all devices to be available before autodetect
[ 29.690000] md: If you don't use raid, use raid=noautodetect
[ 29.700000] md: Autodetecting RAID arrays.
[ 29.700000] md: Scanned 0 and added 0 devices.
[ 29.710000] md: autorun ...
[ 29.710000] md: ... autorun DONE.
[ 29.710000] EXT3-fs: unable to read superblock
[ 29.720000] EXT2-fs: unable to read superblock
[ 29.720000] EXT4-fs (md0): unable to read superblock
[ 29.730000] List of all partitions:
[ 29.730000] 0800 1953514584 sda driver: sd
[ 29.740000] 0801 1953514583 sda1
[ 29.740000] 0810 1953514584 sdb driver: sd
[ 29.740000] 0811 1953514583 sdb1
[ 29.750000] 1f00 512 mtdblock0 (driver?)
[ 29.750000] 1f01 2048 mtdblock1 (driver?)
[ 29.760000] 1f02 1280 mtdblock2 (driver?)
[ 29.760000] 1f03 64 mtdblock3 (driver?)
[ 29.770000] 1f04 128 mtdblock4 (driver?)
[ 29.770000] 1f05 64 mtdblock5 (driver?)
[ 29.780000] No filesystem could mount root, tried: ext3 ext2 ext4
[ 29.780000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.160
Punkte für Reaktionen
407
Punkte
393
Hallo,
was gibt denn putty aus wenn Du ohne Eingriff bootest?

Gruß Götz
 

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
U-Boot 1.1.4 (Mar 15 2012 - 15:43:19) Marvell version: 3.4.4

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B43C

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

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


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 1 is AUDIO

USB 0: host mode
PEX 0: interface detected no Link.

Synology Model: DS212jr1
Fan Status: Not Good
Fan 1: Not Good

Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
## Booting image at f8080000 ...
Image Name: Linux-2.6.32.12
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1539164 Bytes = 1.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at f8280000 ...
Bad Magic Number
Bad Heade
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.160
Punkte für Reaktionen
407
Punkte
393
Hallo,
OK, Ramdisk im Eimer. Was gibt printenv aus wenn Du den Bootvorgang abbrichst?

Gruß Götz
 

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
also voll im arsch? :-(


Marvell>> printenv
bootcmd=bootm F8080000 F8280000
baudrate=115200
loads_echo=0
ipaddr=192.168.101.224
serverip=192.168.101.111
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=cfi_flash:0x380000(root),0x80000(uboot)ro
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:egiga0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
bootdelay=3
disaMvPnp=no
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,4M root=/dev/md0 rw syno_hw_version=DS212jv20 ihd_num=2 netif_num=1
ethact=egiga0
ethaddr=00:00:5f:ff:00:00
eth1addr=00:01:5f:ff:00:01

Environment size: 1098/4092 bytes
 

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
U-Boot 1.1.4 (Mar 15 2012 - 15:43:19) Marvell version: 3.4.4

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B43C

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

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


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 1 is AUDIO

USB 0: host mode
PEX 0: interface detected no Link.

Synology Model: DS212jr1
Fan Status: Not Good
Fan 1: Not Good

Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
## Booting image at f8080000 ...
Bad Magic Number
Marvell>>
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.160
Punkte für Reaktionen
407
Punkte
393
Hallo,
sorry, hatte gerade ne Menge um die Ohren. In Post #25 wird der Kernel noch geladen, in Post #28 geht der auch nicht mehr. Möglicherweise Flash im Eimer. Die tftpboot Variante sollte eigentlich weiterhin funktionieren. Mit den Adressen muß man experimentieren.

Gruß Götz
 

mandrake2217

Benutzer
Mitglied seit
30. Jun 2016
Beiträge
197
Punkte für Reaktionen
2
Punkte
18
nicht schlimm ... jeder hat zu tun :)

welche varianten sollte man probieren UND sollte man auch mit der adresse beim sf probe was ändern?

VG
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat