Synology DSM on NSA 540 ??

Mindspeed Comcerto 2000 based
Post Reply
dietgert
Posts: 3
Joined: Sun Aug 30, 2015 5:44 am
Location: Germany

Synology DSM on NSA 540 ??

Post by dietgert » Sat Mar 03, 2018 8:50 pm

Hello,

i played a little with a partly defunct NAS540.
The flash area of the first rootfs seems to be complete bad, and i don't have a clue how to repair it.
Also i'd like to know how to change the environment variables for barebox. And don't know how ...
A debian-install wrote some (for me) unwanted things into the environment variables.
The entire system seems to be documented very poorly ...

I extracted an older *.pat-file (DSM 5.2) for the Synology DS414J and put zImage and rd.bin on a tftp-server.
via serial console:

Code: Select all

Barebox-C2K >/ eth0.ipaddr=192.168.xxx.xxx                     # set ip-address of the NAS540 here
Barebox-C2K >/ eth0.ethaddr=5C:F4:AB:xx:xx:xx             # give the mac-address for the first nic of the NAS540 (look at the bootom of the device) 
Barebox-C2K >/ eth0.gateway=192.168.xxx.xxx                # specify the gateway
Barebox-C2K >/ eth0.netmask=255.255.255.0                     # netmask
Barebox-C2K >/ eth0.serverip=192.168.xxx.xxx                 # ip-address of the tftp-server

(nand0 was erased before on my box, because of bad nand0.rootfs1 area)

Barebox-C2K >/ unprotect /dev/nand0

# !!! warning !!!!!!!!!!!!!!!!!!!!! this will write a ramdisk  into the nand0 flash !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)

Barebox-C2K >/ tftp rd.bin /dev/nand0.rootfs2.bb         
TFTP from server 192.168.xxx.xxx ('rd.bin' -> '/dev/nand0.rootfs2.bb')
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	##############
Barebox-C2K >/ protect /dev/nand0

# end-warning !!!!!!!

Barebox-C2K >/ tftp zImage zImage
TFTP from server 192.168.xxx.xxx ('zImage' -> 'zImage')
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	#################################################################
	####
Barebox-C2K >/ bootm /zImage -r /dev/nand0.rootfs2.bb
use initrd /dev/nand0.rootfs2.bb
   Verifying Checksum ... OK
   Image Name:   synology_comcerto2k_ds414j 4528
   Created:      2014-10-27   9:42:40 UTC
   Image Type:   <NULL> <NULL> <NULL> (<NULL>)
   Data Size:    3735582 Bytes =  3.6 MB
   Load Address: 05000000
   Entry Point:  05000000
   Verifying Checksum ... OK
   Image Name:   Linux-3.2.40
   Created:      2014-10-27   7:11:00 UTC
   Image Type:   <NULL> <NULL> <NULL> (<NULL>)
   Data Size:    2683160 Bytes =  2.6 MB
   Load Address: 0f008000
   Entry Point:  0f008000
OK

Starting kernel with initrd ...

commandline: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
arch_number: 1094
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.2.40 (root@build5) (gcc version 4.6.4 20130405 (prerelease) (crosstool-NG 1.18.0) ) #4528 SMP Mon Oct 27 15:10:57 CST 2014
[    0.000000] CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=50c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Comcerto 2000 EVM
[    0.000000] Truncating RAM at 00000000-3fffffff to -27ffffff (vmalloc region overlap).
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Comcerto: zone_dma mapping size=2c00000 type=10
[    0.000000] PERCPU: Embedded 7 pages/cpu @c49af000 s4896 r8192 d15584 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 157440
[    0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 44MB 576MB = 620MB total
[    0.000000] Memory: 620464k/620464k available, 34896k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe8800000 - 0xf0000000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe8000000   ( 640 MB)
[    0.000000]     modules : 0xc3600000 - 0xc4000000   (  10 MB)
[    0.000000]       .text : 0xc4008000 - 0xc43f1410   (4006 kB)
[    0.000000]       .init : 0xc43f2000 - 0xc4410320   ( 121 kB)
[    0.000000]       .data : 0xc4412000 - 0xc443da20   ( 175 kB)
[    0.000000]        .bss : 0xc443da44 - 0xc44a86b0   ( 428 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] PLL0 running at 2400 MHz, PLL1 at 1000 MHz PLL2 running at 1500 MHz PLL3 running at 1066 MHz
[    0.000000] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 17179ms
[    0.000186] Calibrating delay loop... 2387.14 BogoMIPS (lpj=11935744)
[    0.060028] pid_max: default: 32768 minimum: 301
[    0.060214] Mount-cache hash table entries: 512
[    0.060768] CPU: Testing write buffer coherency: ok
[    0.060905] CPU0: thread -1, cpu 0, socket 9, mpidr 80000900
[    0.060933] Calibrating local timer... 299.85MHz.
[    0.120061]  Creating cpu1_hotplug_thread....
[    0.120140]  cpu1_hotplug_thread Created
[    0.121417] CPU1: Booted secondary processor
[    0.180037] CPU1: thread -1, cpu 1, socket 9, mpidr 80000901
[    0.180084] Brought up 2 CPUs
[    0.180096] SMP: Total of 2 processors activated (4780.85 BogoMIPS).
[    0.181727] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2
[    0.181968] xor: measuring software checksum speed
[    0.229984]    arm4regs  :  2128.800 MB/sec
[    0.279958]    8regs     :  1384.800 MB/sec
[    0.329933]    32regs    :  1084.000 MB/sec
[    0.379908]    neon      :  1488.400 MB/sec
[    0.379915] xor: using function: arm4regs (2128.800 MB/sec)
[    0.380127] NET: Registered protocol family 16
[    0.382087] L310 cache controller enabled
[    0.382099] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x00c40000, PREFETCH_CTRL 0x00000000, Cache size: 262144 B
[    0.382176] ARMv7 AUX CTRL(0): 0x47
[    0.382181] ARMv7 AUX CTRL(0): 0x47
[    0.382197] ARMv7 AUX CTRL(1): 0x47
[    0.382204] ARMv7 AUX CTRL(1): 0x47
[    0.382215] Not supported hw version!
[    0.383875] Power Management Mode Support For C2000: 
[    0.384304] PCIe: Ref clk 48Mhz
[    0.384311] PCIe: Detected C2K RevA1 device serdes clk devider old:new=2e:6
[    4.377956] PCIe0: Link Up Failed 
[    4.402342] bio: create slab <bio-0> at 0
[    4.568870] raid6: int32x1     33 MB/s
[    4.738453] raid6: int32x2     48 MB/s
[    4.908066] raid6: int32x4     83 MB/s
[    5.077804] raid6: int32x8    116 MB/s
[    5.247558] raid6: neonx1     163 MB/s
[    5.417730] raid6: neonx2     196 MB/s
[    5.587587] raid6: neonx4     201 MB/s
[    5.757391] raid6: neonx8     219 MB/s
[    5.757397] raid6: using algorithm neonx8 (219 MB/s)
[    5.757472] dw_dma_probe:1651: dw_dmac clk rate: 250000000 
[    5.757512] dw_dmac dw_dmac.0: DesignWare DMA Controller, 8 channels
[    5.759356] SCSI subsystem initialized
[    5.760135] usbcore: registered new interface driver usbfs
[    5.760340] usbcore: registered new interface driver hub
[    5.760482] usbcore: registered new device driver usb
[    5.761530] Switching to clocksource timer2
[    5.763501] NET: Registered protocol family 2
[    5.763651] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    5.764118] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    5.765471] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    5.766190] TCP: Hash tables configured (established 131072 bind 65536)
[    5.766196] TCP reno registered
[    5.766205] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    5.766268] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    5.766547] NET: Registered protocol family 1
[    5.766787] RPC: Registered named UNIX socket transport module.
[    5.766794] RPC: Registered udp transport module.
[    5.766799] RPC: Registered tcp transport module.
[    5.766804] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.766948] Trying to unpack rootfs image as initramfs...
[    7.572367] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    7.589056] Freeing initrd memory: 3648K
[    7.589148] membuf_init: created membuf device(254, 0)
[    7.589206] clock_frequency_set: (1:24) NTG INCR value is 422212465
[    7.590548] VFS: Disk quotas dquot_6.5.2
[    7.590666] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.591420] msgmni has been set to 1218
[    7.591603] async_tx: api initialized (async)
[    7.591790] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    7.591800] io scheduler noop registered
[    7.591879] io scheduler cfq registered (default)
[    7.592327] comcerto_dma_probe: XOR DMA channel registered
[    7.668384] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    8.152017] serial8250.0: ttyS0 at MMIO 0x96400000 (irq = 59) is a 16550A
[    8.721200] console [ttyS0] enabled
[    8.871966] serial8250.0: ttyS1 at MMIO 0x96300000 (irq = 58) is a 16550A
[    9.038759] brd: module loaded
[    9.041842] Loading iSCSI transport class v2.0-870.
[    9.048087] SATA Serdes: 48Mhz ref clk
[    9.052344] Serdes1: Lane OK Passed
[    9.056315] Serdes2: Lane OK Passed
[    9.059816] ahci ahci: forcing PORTS_IMPL to 0x3
[    9.064513] ahci ahci: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl platform mode
[    9.072292] ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    9.081525] scsi0 : ahci_platform
[    9.085397] scsi1 : ahci_platform
[    9.089085] ata1: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x100 irq 48
[    9.097045] ata2: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x180 irq 48
[    9.451575] ata1: SATA link down (SStatus 0 SControl 320)
[    9.457026] Delay 7 seconds to wait for disk 2 ready.
[   16.791573] ata2: SATA link down (SStatus 0 SControl 320)
[   16.798231] designware_spi_probe:Initializing SPI Controller : Using dma=1 CLK(DUS)=250000000 Hz
[   16.807073] dw_spi_dma_init:343: initializing spi dma....done
[   16.813006] spi_dma_init:105: dma_ineted set to 1.
[   16.818113] Support m25p80_read DMA retry mechanism
[   16.823072] jedec 0 ext_jedec 0 
[   16.826324] m25p80 spi1.0: found m25p05-nonjedec, expected n25q064
[   16.832534] m25p80 spi1.0: m25p05-nonjedec (64 Kbytes)
[   16.837812] Creating 6 MTD partitions on "spi_flash":
[   16.842891] 0x000000000000-0x000000070000 : "RedBoot"
[   16.847957] mtd: partition "RedBoot" extends beyond the end of device "spi_flash" -- size truncated to 0x10000
[   16.858957] 0x000000070000-0x000000370000 : "zImage"
[   16.863949] mtd: partition "zImage" is out of reach -- disabled
[   16.870829] 0x000000370000-0x0000007d0000 : "rd.gz"
[   16.875738] mtd: partition "rd.gz" is out of reach -- disabled
[   16.882531] 0x0000007d0000-0x0000007e0000 : "vendor"
[   16.887511] mtd: partition "vendor" is out of reach -- disabled
[   16.893460] vender Mac0 checksum error ucSum:0x8d Buf:0x27 Sum:141.
[   16.899746] vender Mac1 checksum error ucSum:0x1c Buf:0x13 Sum:796.
[   16.906037] vender Mac2 checksum error ucSum:0x14 Buf:0x20 Sum:788.
[   16.912326] vender Mac3 checksum error ucSum:0x63 Buf:0xe7 Sum:867.
[   16.918611] serial number checksum error, serial='��', checksum='25' not '131'serial number=''
[   16.928041] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[   16.933914] mtd: partition "RedBoot Config" is out of reach -- disabled
[   16.941509] 0x0000007f0000-0x000000800000 : "FIS directory"
[   16.947110] mtd: partition "FIS directory" is out of reach -- disabled
[   16.954660] comcerto_spi comcerto_spi.1: at 0x96500000 mapped to 0xE8814000, irq=60
[   16.962380] designware_spi_probe:Initializing SPI Controller : Using dma=0 CLK(spi_i2c)=250000000 Hz
[   16.971753] comcerto_spi comcerto_spi.0: at 0x90498000 mapped to 0xE8816000, irq=61
[   16.979548] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.986241] Initializing USB Mass Storage driver...
[   16.991253] usbcore: registered new interface driver usb-storage
[   16.997291] USB Mass Storage support registered.
[   17.001927] dwc_otg: version 2.94a 27-OCT-2011
[   17.206097] Core Release: 2.81a
[   17.209251] Setting default values for core params
[   17.413812] Using Buffer DMA mode
[   17.417137] Periodic Transfer Interrupt Enhancement - disabled
[   17.422989] Multiprocessor Interrupt Enhancement - disabled
[   17.428576] OTG VER PARAM: 0, OTG VER FLAG: 0
[   17.432976] dwc_otg dwc_otg.0: DWC OTG Controller
[   17.437810] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   17.444905] dwc_otg dwc_otg.0: irq 53, io mem 0x00000000
[   17.450296] Init: Port Power? op_state=1
[   17.454236] Init: Power Port (0)
[   17.458007] hub 1-0:1.0: USB hub found
[   17.461789] hub 1-0:1.0: 1 port detected
[   17.466144] i2c /dev entries driver
[   17.469817] comcerto_i2c_calculate_dividers: speed=97kHz, M=1, N=7, dividers=0x0f
[   17.477972] i2c-core: driver [eeprom] using legacy suspend method
[   17.484093] i2c-core: driver [eeprom] using legacy resume method
[   17.490122] md: linear personality registered for level -1
[   17.495628] md: raid0 personality registered for level 0
[   17.500955] md: raid1 personality registered for level 1
[   17.506286] md: raid10 personality registered for level 10
[   17.511790] md: raid6 personality registered for level 6
[   17.517116] md: raid5 personality registered for level 5
[   17.522446] md: raid4 personality registered for level 4
[   17.528120] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[   17.536594] cpuidle: using governor ladder
[   17.540701] cpuidle: using governor menu
[   17.544850] TCP cubic registered
[   17.548091] NET: Registered protocol family 17
[   17.552600] Registering the dns_resolver key type
[   17.558343] md: Waiting for all devices to be available before autodetect
[   17.565166] md: If you don't use raid, use raid=noautodetect
[   17.571493] md: Autodetecting RAID arrays.
[   17.575616] md: Scanned 0 and added 0 devices.
[   17.580073] md: autorun ...
[   17.582882] md: ... autorun DONE.
[   17.586282] RAMDISK: lzma image found at block 0
[   19.622649] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
[   19.668552] ds414j_synobios: module license 'Synology Inc.' taints kernel.
[   19.675487] Disabling lock debugging due to kernel taint
[   19.682368] correction with 0x00
[   19.685966] 1918-18-255 103:250:162 UTC
[   19.689819] synobios: load, major number 201
[   19.694135] Brand: Synology
[   19.696962] Model: DS-414j
[   19.699693] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   19.708189] synobios cpu_arch proc entry initialized
[   19.713178] synobios syno_platform proc entry initialized
mknod: /dev/synobios: File exists
Starting /usr/syno/bin/synocfgen...
unknown model: 92, skip updating model info
/usr/syno/bin/synocfgen returns 0
[   19.739944] synobios: unload
/linuxrc.syno: /etc.defaults/rc.mindspeed: line 51: can't create /proc/sys/net/ipv6/conf/all/forwarding: nonexistent directory
Exit on error [1] DISK NOT INSTALLED...
none /sys sysfs rw,relatime 0 0
linuxrc.syno failed on 1
rm: /etc: is a directory
starting pid 994, tty '': '/etc/rc'
:: Starting /etc/rc
/etc/rc: line 53: /usr/syno/bin/synoplatform: not found
:: Prepare var ... [  OK  ]
:: Mounting procfs ... [  OK  ]
:: Mounting tmpfs ... [  OK  ]
:: Mounting devpts ... [  OK  ]
:: Mounting sysfs ... [  OK  ]
:: Loading module pfe[   20.066782] pfe_module_init
[   20.069646] pfe_platform_probe
[   20.073985] ipsec: baseaddr :9a000000 --- eba00000
[   20.079807] pfe_probe
[   20.082113] PFE Driver version:
[   20.082115] pfe_ctrl_nas_2_00_4
[   20.082117] built with pfe sources version: pfe_nas_2_00_3-2-g90f7fb3
[   20.094878] cbus_baseaddr: ed000000, ddr_baseaddr: ec000000, ddr_phys_baseaddr: 3400000, ddr_size: c00000
[   20.104479] pfe_hw_init
[   20.106933] CLASS version: 20
[   20.109908] TMU version: 1011231
[   20.113149] BMU1 version: 21
[   20.116036] BMU2 version: 21
[   20.118923] EMAC1 network cfg: 80000
[   20.122510] EMAC2 network cfg: 80000
[   20.126094] EMAC3 network cfg: 80000
[   20.129676] EGPI1 version: 50
[   20.132655] EGPI2 version: 50
[   20.135629] EGPI3 version: 50
[   20.138604] HGPI version: 50
[   20.141490] GPT version: 0
[   20.144207] HIF version: 10
[   20.147008] HIF NOPCY version: 10
[   20.150330] UTIL version: 20
[   20.153222] bmu_init(1) done
[   20.156110] bmu_init(2) done
[   20.165622] class_init() done
[   20.168602] tmu_init: mem init
[   20.171668] tmu_init: lmem init
[   20.174860] tmu_init() done
[   20.177660] util_init() done
[   20.180549] gpi_init(1) done
[   20.183442] gpi_init(2) done
[   20.186331] gpi_init(3) done
[   20.189219] gpi_init(hif) done
[   20.192285] bmu_enable(1) done
[   20.195346] bmu_enable(2) done
[   20.198407] pfe_hif_lib_init
[   20.201446] pfe_hif_init
[   20.203994] pfe_hif_alloc_descr
[   20.207232] pfe_hif_init_buffers
[   20.210586] pfe_firmware_init
[   20.364360] pfe_load_elf
[   20.398362] PFE binary version: pfe_nas_2_00_3-2-g90f7fb3
[   20.403827] pfe_firmware_init: class firmware loaded 0xbc0 0xc3010000
[   20.410288] pfe_load_elf
[   20.414241] pfe_firmware_init: tmu firmware loaded 0x1a0
[   20.419568] pfe_load_elf
[   20.423699] pfe_firmware_init: util firmware loaded 0x1220
[   20.429337] pfe_ctrl_init
[   20.448287] timer_add c365a110
[   20.451352] timer_add c365a0b0
[   20.454422] timer_add c365a0e0
[   20.457488] timer_add c365a050
[   20.460549] timer_add c365a038
[   20.463626] timer_add c365a068
[   20.467323] timer_add c365a080
[   20.470391] ipsec_common_hard_init ipsec_baseaddr:eba00000 - espah_base:eba00000
[   20.479021] timer_add c365a020
[   20.482095] pfe_ctrl_init finished
[   20.485506] pfe_eth_init
[   20.488375] pfe_ctrl_timer
[   20.497415] Comcerto MDIO Bus: probed
[   20.749289] eth0: pfe_eth_init_one: created interface, baseaddr: ed200000
[   21.048083] eth1: pfe_eth_init_one: created interface, baseaddr: ed220000
[   21.330325] eth3: pfe_eth_init_one: created interface, baseaddr: ed330000
[   21.337192] pfe_vwd_init
[   21.339773] pfe_vwd_init: created vwd device(252, 0)
[   21.344782] pfe_vwd_driver_init: start
[   21.348544] pfe_vwd_up: start
[   21.351714] hif_process_client_req: register client_id 3
[   21.357056] pfe_hif_client_register
[   21.360587] pfe_vwd_driver_init: end
[   21.364199] pfe_pcap_init
 ... [  OK  ]
:: Checking new disks ...
No new disk. Do nothing.
[   21.428937] md: md1 stopped.
mdadm: stopped /dev/md1
rc: Use all internal disk as swap.
rc: No internal disk installed.
[   21.532247] Unable to find swap-space signature
swapon: /dev/md1: Invalid argument
/dev/root.old on / type ext2 (rw,relatime,errors=continue)
/tmp on /tmp type tmpfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/sys on /sys type sysfs (0)
:: Loading module fat ... [  OK  ]
:: Loading module vfat ... [  OK  ]
:: Mounting usbfs ... [  OK  ]
:: Loading module synobios[   22.004827] correction with 0x00
[   22.008423] 1918-18-255 103:250:162 UTC
[   22.012312] synobios: load, major number 201
[   22.016611] Brand: Synology
[   22.019441] Model: DS-414j
[   22.022183] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   22.030677] synobios cpu_arch proc entry initialized
[   22.035668] synobios syno_platform proc entry initialized
 ... [  OK  ]
[   22.322289] eth0: pfe_eth_open
[   22.325491] hif_process_client_req: register client_id 0
[   22.330818] pfe_hif_client_register
[   22.334369] eth0: pfe_gemac_init
[   22.337629] PHY comcerto-0:01 not found
[   22.341476] eth0: phy_connect() failed
[   22.345256] eth0: pfe_eth_open: pfe_phy_init() failed
[   22.350324] hif_lib_client_unregister : client: e7080424, client_id: 0, txQ_depth: 1024, rxQ_depth: 256
[   22.359758] hif_process_client_req: unregister client_id 0
[   22.365275] pfe_hif_client_unregister
ifconfig: ioctl 0x8914 failed: No such device
udhcpc (v1.16.1) started
[   22.379179] eth0: pfe_eth_open
[   22.382386] hif_process_client_req: register client_id 0
[   22.387714] pfe_hif_client_register
[   22.391215] eth0: pfe_gemac_init
[   22.394498] PHY comcerto-0:01 not found
[   22.398346] eth0: phy_connect() failed
[   22.402124] eth0: pfe_eth_open: pfe_phy_init() failed
[   22.407191] hif_lib_client_unregister : client: e7080424, client_id: 0, txQ_depth: 1024, rxQ_depth: 256
[   22.416629] hif_process_client_req: unregister client_id 0
[   22.422145] pfe_hif_client_unregister
ifconfig: ioctl 0x8914 failed: No such device
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/etc/rc: line 493: /sbin/sysctl: not found
:: Starting syslogd ... [  OK  ]
/etc/rc: line 560: /usr/syno/etc/rc.d/S98findhostd.sh: not found
/etc.defaults/rc.volume: line 246: awk: not found
/etc.defaults/rc.volume: line 246: /usr/syno/bin/synoarchiveupgrade: not found
/etc/rc: line 574: /usr/syno/bin/synokerneltz: not found
/etc/rc: line 576: /sbin/sysctl: not found
/etc/rc: line 582: /sbin/sysctl: not found
/etc/rc: line 594: awk: not found
/etc/rc: line 594: /sbin/sysctl: not found
/etc/rc: line 625: /usr/syno/bin/synologset1: not found
:: Starting scemd
:: Starting services in background
/etc/rc: line 667: sort: not found
/etc/rc: line 667: sed: not found
/etc/rc: line 667: servicetool: not found
/etc/rc.network: line 1346: awk: not found
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/syno/sbin/minissdpd -i eth0 -i eth1 -i eth3
eth0 not UP
eth1 not UP
eth3 not UP
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
cat: can't open '/sys/block/sd*/device//model': No such file or directory
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
/etc/rc: line 687: can't create /proc/sys/kernel/syno_netfilter_status: nonexistent directory
:: Loading module xhci-hcd[   30.331781] ## xhci_plat_probe
[   30.334860] ### comcerto_start_xhci
[   30.338373] USB3.0 clock selected: internal
[   30.345949] xhci-hcd xhci-hcd: xHCI Host Controller
[   30.350888] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[   30.358140] xhci-hcd xhci-hcd: irq 54, io mem 0x9f000000
[   30.364590] hub 2-0:1.0: USB hub found
[   30.368386] hub 2-0:1.0: 1 port detected
[   30.375979] xhci-hcd xhci-hcd: xHCI Host Controller
[   30.380911] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 3
[   30.396633] hub 3-0:1.0: USB hub found
[   30.400428] hub 3-0:1.0: 1 port detected
 ... [  OK  ]
startup daemons
Thr Jan  1 00:00:30 UTC 1970
starting pid 2310, tty '': '/sb
DiskStation login: [   31.898217] ------------[ cut here ]------------
[   31.902887] WARNING: at arch/arm/mach-comcerto/synology-gpio.c:286 SYNO_CTRL_FAN_STATUS_GET+0x23/0x78()
[   31.912313] Modules linked in: xhci_hcd ds414j_synobios(P) vfat fat pfe(O) [last unloaded: ds414j_synobios]
[   31.922198] [<c4011431>] (unwind_backtrace+0x1/0x94) from [<c4027745>] (warn_slowpath_common+0x35/0xb4)
[   31.931637] [<c4027745>] (warn_slowpath_common+0x35/0xb4) from [<c40277d5>] (warn_slowpath_null+0x11/0x14)
[   31.941322] [<c40277d5>] (warn_slowpath_null+0x11/0x14) from [<c4017517>] (SYNO_CTRL_FAN_STATUS_GET+0x23/0x78)
[   31.951391] [<c4017517>] (SYNO_CTRL_FAN_STATUS_GET+0x23/0x78) from [<c368d4f5>] (GetFanStatus+0x18/0x2c [ds414j_synobios])
[   31.962498] [<c368d4f5>] (GetFanStatus+0x18/0x2c [ds414j_synobios]) from [<c368aedf>] (synobios_ioctl+0x75a/0x132c [ds414j_synobios])
[   31.974558] [<c368aedf>] (synobios_ioctl+0x75a/0x132c [ds414j_synobios]) from [<c408c8c5>] (do_vfs_ioctl+0x709/0x7b0)
[   31.985213] [<c408c8c5>] (do_vfs_ioctl+0x709/0x7b0) from [<c408c98b>] (sys_ioctl+0x1f/0x38)
[   31.993610] [<c408c98b>] (sys_ioctl+0x1f/0x38) from [<c400cbc1>] (ret_fast_syscall+0x1/0x46)
[   32.002080] ---[ end trace 295b55344edeabab ]---
[   32.681583] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[   32.725517] usb 2-1: Special reset for xhci.
[   34.013577] ------------[ cut here ]------------
[   34.018222] WARNING: at arch/arm/mach-comcerto/synology-gpio.c:286 SYNO_CTRL_FAN_STATUS_GET+0x23/0x78()
[   34.027655] Modules linked in: xhci_hcd ds414j_synobios(P) vfat fat pfe(O) [last unloaded: ds414j_synobios]
[   34.037545] [<c4011431>] (unwind_backtrace+0x1/0x94) from [<c4027745>] (warn_slowpath_common+0x35/0xb4)
[   34.046982] [<c4027745>] (warn_slowpath_common+0x35/0xb4) from [<c40277d5>] (warn_slowpath_null+0x11/0x14)
[   34.056678] [<c40277d5>] (warn_slowpath_null+0x11/0x14) from [<c4017517>] (SYNO_CTRL_FAN_STATUS_GET+0x23/0x78)
[   34.066747] [<c4017517>] (SYNO_CTRL_FAN_STATUS_GET+0x23/0x78) from [<c368d4f5>] (GetFanStatus+0x18/0x2c [ds414j_synobios])
[   34.077852] [<c368d4f5>] (GetFanStatus+0x18/0x2c [ds414j_synobios]) from [<c368aedf>] (synobios_ioctl+0x75a/0x132c [ds414j_synobios])
[   34.089912] [<c368aedf>] (synobios_ioctl+0x75a/0x132c [ds414j_synobios]) from [<c408c8c5>] (do_vfs_ioctl+0x709/0x7b0)
[   34.100566] [<c408c8c5>] (do_vfs_ioctl+0x709/0x7b0) from [<c408c98b>] (sys_ioctl+0x1f/0x38)
[   34.108962] [<c408c98b>] (sys_ioctl+0x1f/0x38) from [<c400cbc1>] (ret_fast_syscall+0x1/0x46)
[   34.117433] ---[ end trace 295b55344edeabac ]---
The system booted up until the warnings then powered down itself.
I can only suspect the fan-speed as a reason for this.
Hope for some suggestions now ...

BR
dietgert

Post Reply