Quantcast
Channel: Linux Device Hacking
Viewing all 46985 articles
Browse latest View live

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Quote

zifxify,

Please try this new armada-385-synology-rs816.dtb.

stops at random: fast init done
Marvell>> boot
(Re)start USB controller...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
Booting Debian . . .
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading zImage from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'zImage'.
Load address: 0x2000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##############
	 5.1 MiB/s
done
Bytes transferred = 4021296 (3d5c30 hex)
loading uInitrd from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'uInitrd'.
Load address: 0x3000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###########################
	 5 MiB/s
done
Bytes transferred = 7070236 (6be21c hex)
loading DTB from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'armada-385-synology-rs816.dtb'.
Load address: 0x1000000
Loading: *?##
	 1.4 MiB/s
done
Bytes transferred = 17017 (4279 hex)
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Device Tree to 00ff8000, end 00fff278 ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017

[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] OF: fdt: Machine model: Synology RS816

[    0.000000] bootconsole [earlycon0] enabled

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] percpu: Embedded 17 pages/cpu @ef7c8000 s40460 r8192 d20980 u69632

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608

[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:4m(boot),-(spi-rootfs) earlyprintk=serial init=/bin/systemd

[    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: 1019064K/1048576K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 29512K reserved, 0K cma-reserved, 262144K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)

[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)

[    0.000000]       .data : 0xc0d00000 - 0xc0db2308   ( 713 kB)

[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] L2C-310 enabling early BRESP for Cortex-A9

[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9

[    0.000000] L2C-310 D prefetch enabled, offset 1 lines

[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled

[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB

[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001

[    0.000000] Selected CPU frequency (16) unsupported

[    0.000000] Switching to timer-based delay loop, resolution 40ns

[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns

[    0.007880] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns

[    0.019026] Console: colour dummy device 80x30

[    0.023538] Calibrating local timer... 933.11MHz.

[    0.083562] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)

[    0.093949] pid_max: default: 32768 minimum: 301

[    0.098688] Security Framework initialized

[    0.102876] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.109547] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.116948] CPU: Testing write buffer coherency: ok

[    0.121992] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.163569] Setting up static identity map for 0x100000 - 0x100060

[    0.169862] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4

[    0.175140] mvebu-pmsu: Initializing Power Management Service Unit

[    0.233536] smp: Bringing up secondary CPUs ...

[    0.293564] Booting CPU 1

[    0.296386] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.296426] smp: Brought up 1 node, 2 CPUs

[    0.306304] SMP: Total of 2 processors activated (100.00 BogoMIPS).

[    0.312623] CPU: All CPU(s) started in SVC mode.

[    0.317717] devtmpfs: initialized

[    0.322605] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

[    0.330490] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

[    0.340374] futex hash table entries: 512 (order: 3, 32768 bytes)

[    0.346631] prandom: seed boundary self test passed

[    0.353006] prandom: 100 self tests passed

[    0.357183] pinctrl core: initialized pinctrl subsystem

[    0.362964] NET: Registered protocol family 16

[    0.367936] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.375712] cpuidle: using governor ladder

[    0.379882] cpuidle: using governor menu

[    0.383973] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

[    0.392030] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.398016] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling

[    0.406169] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling

[    0.463745] reg-fixed-voltage usb3-vbus0: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0_vbus_pins, deferring probe

[    0.476393] reg-fixed-voltage usb3-vbus1: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci1_vbus_pins, deferring probe

[    0.489423] vgaarb: loaded

[    0.492379] SCSI subsystem initialized

[    0.503800] usbcore: registered new interface driver usbfs

[    0.509397] usbcore: registered new interface driver hub

[    0.514854] usbcore: registered new device driver usb

[    0.520237] media: Linux media interface: v0.10

[    0.524887] Linux video capture interface: v2.00

[    0.530252] clocksource: Switched to clocksource armada_370_xp_clocksource

[    0.566531] VFS: Disk quotas dquot_6.6.0

[    0.570619] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.582764] NET: Registered protocol family 2

[    0.587541] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

[    0.594758] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    0.601311] TCP: Hash tables configured (established 8192 bind 8192)

[    0.607767] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    0.613784] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    0.620339] NET: Registered protocol family 1

[    0.624943] RPC: Registered named UNIX socket transport module.

[    0.630942] RPC: Registered udp transport module.

[    0.635706] RPC: Registered tcp transport module.

[    0.640485] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.647067] Unpacking initramfs...

[    0.848622] Freeing initrd memory: 6908K

[    0.852781] NetWinder Floating Point Emulator V0.97 (double precision)

[    0.859524] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available

[    0.868337] audit: initializing netlink subsys (disabled)

[    0.873897] audit: type=2000 audit(0.843:1): state=initialized audit_enabled=0 res=1

[    0.874091] Initialise system trusted keyrings

[    0.874106] Key type blacklist registered

[    0.874161] workingset: timestamp_bits=30 max_order=18 bucket_order=0

[    0.881707] zbud: loaded

[    0.902214] NFS: Registering the id_resolver key type

[    0.907331] Key type id_resolver registered

[    0.911602] Key type id_legacy registered

[    0.915680] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    0.922466] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

[    0.928964] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.

[    0.936286] orangefs_debugfs_init: called with debug mask: :none: :0:

[    0.942870] orangefs_init: module version upstream loaded

[    0.950180] Key type asymmetric registered

[    0.954363] Asymmetric key parser 'x509' registered

[    0.959321] bounce: pool size: 64 pages

[    0.963248] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)

[    0.970711] io scheduler noop registered

[    0.974697] io scheduler deadline registered

[    0.979053] io scheduler cfq registered (default)

[    0.984482] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver

[    0.992492] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00

[    0.998469] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]

[    1.004859] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]

[    1.011806] pci_bus 0000:00: root bus resource [bus 00-ff]

[    1.017594] PCI: bus0: Fast back to back transfers disabled

[    1.023249] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring

[    1.031323] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring

[    1.039433] PCI: bus1: Fast back to back transfers enabled

[    1.070273] PCI: bus2: Fast back to back transfers disabled

[    1.075980] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]

[    1.082917] pci 0000:00:02.0: BAR 13: assigned [io  0x10000-0x10fff]

[    1.089325] pci 0000:00:01.0: PCI bridge to [bus 01]

[    1.094373] pci 0000:02:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]

[    1.101653] pci 0000:02:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]

[    1.108493] pci 0000:02:00.0: BAR 4: assigned [io  0x10000-0x1001f]

[    1.114830] pci 0000:02:00.0: BAR 0: assigned [io  0x10020-0x10027]

[    1.121160] pci 0000:02:00.0: BAR 2: assigned [io  0x10028-0x1002f]

[    1.127482] pci 0000:02:00.0: BAR 1: assigned [io  0x10030-0x10033]

[    1.133817] pci 0000:02:00.0: BAR 3: assigned [io  0x10034-0x10037]

[    1.140140] pci 0000:00:02.0: PCI bridge to [bus 02]

[    1.145189] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]

[    1.151517] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]

[    1.158422] pcieport 0000:00:02.0: enabling device (0140 -> 0143)

[    1.164823] mv_xor f1060800.xor: Marvell shared XOR driver

[    1.230592] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )

[    1.238396] mv_xor f1060900.xor: Marvell shared XOR driver

[    1.300577] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )

[    1.332488] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

[    1.350061] ahci 0000:02:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode

[    1.358210] ahci 0000:02:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 

[    1.368133] scsi host0: ahci

[    1.371285] scsi host1: ahci

[    1.374427] scsi host2: ahci

[    1.377549] scsi host3: ahci

[    1.380631] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 48

[    1.388076] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 48

[    1.395534] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 48

[    1.403074] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 48

[    1.411789] m25p80 spi0.0: found n25q064, expected mx25l6405d

[    1.417595] m25p80 spi0.0: n25q064 (8192 Kbytes)

[    1.422289] 2 cmdlinepart partitions found on MTD device spi0.0

[    1.428263] Creating 2 MTD partitions on "spi0.0":

[    1.433129] 0x000000000000-0x000000400000 : "boot"

[    1.438479] 0x000000400000-0x000000800000 : "spi-rootfs"

[    1.444743] libphy: Fixed MDIO Bus: probed

[    1.449221] libphy: orion_mdio_bus: probed

[    1.456421] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled

[    1.465018] mvneta f1070000.ethernet eth0: Using hardware mac address 00:50:43:27:27:4d

[    1.473247] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    1.479835] ehci-pci: EHCI PCI platform driver

[    1.484395] ehci-orion: EHCI orion driver

[    1.488871] usbcore: registered new interface driver usblp

[    1.494452] usbcore: registered new interface driver usb-storage

[    1.500667] mousedev: PS/2 mouse device common for all mice

[    1.506883] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0

[    1.514568] i2c /dev entries driver

[    1.541451] gpio-fan soc:gpio-fan: GPIO fan initialized

[    1.556902] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().

[    1.569143] thermal thermal_zone0: Temperature sensor reading not valid

[    1.575816] thermal thermal_zone0: failed to read out thermal zone (-5)

[    1.582732] orion_wdt: Initial timeout 171 sec

[    1.588291] marvell-cesa f1090000.crypto: CESA device successfully registered

[    1.595582] hidraw: raw HID events driver (C) Jiri Kosina

[    1.601170] usbcore: registered new interface driver usbhid

[    1.606798] usbhid: USB HID core driver

[    1.610828] drop_monitor: Initializing network drop monitor service

[    1.617175] Netfilter messages via NETLINK v0.30.

[    1.621957] ip_set: protocol 6

[    1.625225] NET: Registered protocol family 10

[    1.630141] Segment Routing with IPv6

[    1.633967] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

[    1.640491] NET: Registered protocol family 17

[    1.645033] 8021q: 802.1Q VLAN Support v1.8

[    1.649296] Key type dns_resolver registered

[    1.653729] ThumbEE CPU extension supported.

[    1.658064] Registering SWP/SWPB emulation handler

[    1.663188] registered taskstats version 1

[    1.667348] Loading compiled-in X.509 certificates

[    1.672248] zswap: loaded using pool lzo/zbud

[    1.712846] Key type big_key registered

[    1.719415] Key type encrypted registered

[    1.724759] v5.0-sata0: supplied by pwr_en_sata0

[    1.729503] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x1

[    1.735687] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x1 impl platform mode

[    1.740842] ata3: SATA link down (SStatus 0 SControl 300)

[    1.741545] ata1: SATA link down (SStatus 0 SControl 300)

[    1.741575] ata2: SATA link down (SStatus 0 SControl 300)

[    1.751510] ata4: SATA link down (SStatus 0 SControl 300)

[    1.766620] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 

[    1.775840] scsi host4: ahci-mvebu

[    1.779476] scsi host5: ahci-mvebu

[    1.783062] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41

[    1.791031] ata6: DUMMY

[    1.793723] xhci-hcd f10f0000.usb3: xHCI Host Controller

[    1.799104] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1

[    1.806712] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010

[    1.815302] xhci-hcd f10f0000.usb3: irq 42, io mem 0xf10f0000

[    1.821187] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    1.828026] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.835303] usb usb1: Product: xHCI Host Controller

[    1.840242] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd

[    1.846743] usb usb1: SerialNumber: f10f0000.usb3

[    1.851816] hub 1-0:1.0: USB hub found

[    1.855645] hub 1-0:1.0: 1 port detected

[    1.859761] xhci-hcd f10f0000.usb3: xHCI Host Controller

[    1.865147] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2

[    1.872721] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.

[    1.880908] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003

[    1.887748] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.895024] usb usb2: Product: xHCI Host Controller

[    1.899960] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd

[    1.906458] usb usb2: SerialNumber: f10f0000.usb3

[    1.911457] hub 2-0:1.0: USB hub found

[    1.915282] hub 2-0:1.0: 1 port detected

[    1.919516] xhci-hcd f10f8000.usb3: xHCI Host Controller

[    1.924906] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3

[    1.932499] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010

[    1.941089] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000

[    1.946957] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002

[    1.953803] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.961080] usb usb3: Product: xHCI Host Controller

[    1.966017] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd

[    1.972516] usb usb3: SerialNumber: f10f8000.usb3

[    1.977524] hub 3-0:1.0: USB hub found

[    1.981359] hub 3-0:1.0: 1 port detected

[    1.985472] xhci-hcd f10f8000.usb3: xHCI Host Controller

[    1.990854] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4

[    1.998416] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.

[    2.006604] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003

[    2.013449] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    2.020726] usb usb4: Product: xHCI Host Controller

[    2.025664] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd

[    2.032161] usb usb4: SerialNumber: f10f8000.usb3

[    2.037131] hub 4-0:1.0: USB hub found

[    2.040967] hub 4-0:1.0: 1 port detected

[    2.045367] armada38x-rtc f10a3800.rtc: setting system clock to 2019-01-22 18:51:42 UTC (1548183102)

[    2.054743] v12.0-sata0: supplied by pwr_en_sata0

[    2.059529] v12.0-sata0: disabling

[    2.063071] Warning: unable to open an initial console.

[    2.123960] ata5: SATA link down (SStatus 0 SControl 300)

[    2.140008] Freeing unused kernel memory: 1024K

[    2.178967] systemd-udevd[1340]: starting version 232

[    2.185459] random: systemd-udevd: uninitialized urandom read (16 bytes read)

[    2.192941] random: systemd-udevd: uninitialized urandom read (16 bytes read)

[    2.198361] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.198898] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.198941] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.199223] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.199399] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.199577] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.199754] random: udevadm: uninitialized urandom read (16 bytes read)

[    2.199915] random: udevadm: uninitialized urandom read (16 bytes read)

[    3.570261] usb 1-1: new high-speed USB device number 2 using xhci-hcd

[    3.740530] usb 1-1: New USB device found, idVendor=7614, idProduct=2419

[    3.747284] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[    3.754477] usb 1-1: Product: JMicron JMF60X SSD

[    3.759155] usb 1-1: Manufacturer: JMicron

[    3.763321] usb 1-1: SerialNumber: 0000000000033

[    3.768450] usb-storage 1-1:1.0: USB Mass Storage device detected

[    3.774754] scsi host6: usb-storage 1-1:1.0

[    3.782044] usbcore: registered new interface driver uas

[    4.830686] scsi 6:0:0:0: Direct-Access                                Dev PQ: 0 ANSI: 0 CCS

[    4.840784] sd 6:0:0:0: [sda] 63062016 512-byte logical blocks: (32.3 GB/30.1 GiB)

[    4.848579] sd 6:0:0:0: [sda] Write Protect is off

[    4.853674] sd 6:0:0:0: [sda] Asking for cache data failed

[    4.859220] sd 6:0:0:0: [sda] Assuming drive cache: write through

[    4.866576]  sda: sda1

[    4.869908] sd 6:0:0:0: [sda] Attached SCSI disk

[    4.916319] random: fast init done

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Quote

I'm guessing it's the same for this synology device. If so enabling pcie in the device-tree should allow debian to find all 4 drives.

something like this in the orginal dts ?

pcie-controller {
			compatible = "marvell,armada-38x-pcie";
			status = "okay";
			device_type = "pci";
			#address-cells = <0x3>;
			#size-cells = <0x2>;
			msi-parent = <0x6>;
			bus-range = <0x0 0xff>;
			ranges = <0x82000000 0x0 0x80000 0xf0010000 0x80000 0x0 0x2000 0x82000000 0x0 0x40000 0xf0010000 0x40000 0x0 0x2000 0x82000000 0x0 0x44000 0xf0010000 0x44000 0x0 0x2000 0x82000000 0x0 0x48000 0xf0010000 0x48000 0x0 0x2000 0x82000000 0x1 0x0 0x8e80000 0x0 0x1 0x0 0x81000000 0x1 0x0 0x8e00000 0x0 0x1 0x0 0x82000000 0x2 0x0 0x4e80000 0x0 0x1 0x0 0x81000000 0x2 0x0 0x4e00000 0x0 0x1 0x0 0x82000000 0x3 0x0 0x4d80000 0x0 0x1 0x0 0x81000000 0x3 0x0 0x4d00000 0x0 0x1 0x0 0x82000000 0x4 0x0 0x4b80000 0x0 0x1 0x0 0x81000000 0x4 0x0 0x4b00000 0x0 0x1 0x0>;

			pcie@1,0 {
				device_type = "pci";
				assigned-addresses = <0x82000800 0x0 0x80000 0x0 0x2000>;
				reg = <0x800 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x1 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x1 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x0 0x1d 0x4>;
				marvell,pcie-port = <0x0>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x8>;
				status = "disabled";
			};

			pcie@2,0 {
				device_type = "pci";
				assigned-addresses = <0x82000800 0x0 0x40000 0x0 0x2000>;
				reg = <0x1000 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x2 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x2 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x0 0x21 0x4>;
				marvell,pcie-port = <0x1>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x5>;
				status = "okay";
			};

			pcie@3,0 {
				device_type = "pci";
				assigned-addresses = <0x82000800 0x0 0x44000 0x0 0x2000>;
				reg = <0x1800 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x3 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x3 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x0 0x46 0x4>;
				marvell,pcie-port = <0x2>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x6>;
				status = "disabled";
			};

			pcie@4,0 {
				device_type = "pci";
				assigned-addresses = <0x82000800 0x0 0x48000 0x0 0x2000>;
				reg = <0x2000 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x4 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x4 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x0 0x47 0x4>;
				marvell,pcie-port = <0x3>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x7>;
				status = "disabled";
			};
		};

Re: Debian on Synology RS816 (Armada 385)

$
0
0
more or less.

most of that is covered in armada-385.dtsi which you are including at the top of your dts file, most likely all you need to do is override the status from "disabled" to "okay". It's probably something like:

&pciec {
	pcie@2,0 {
		status = "okay";
	};
};

Re: Debian on Synology RS816 (Armada 385)

$
0
0
That's also probably why using the stock dtb is failing, the new kernel doesn't like that older style binding for pcie (and possibly others).

looking again at @bohdi 's dts it looks like that's already covered, the pcie errors are probably from the extra entry he has in there, maybe.

I'd guess the drives aren't showing up because they aren't being powered up by uboot and you're dtb isn't set up to do it either (it sure looks like it is detecting that the there are 4 sata ports detected). I think @bohdi said he has a way to do that in uboot which he prefers. Usually I go through and enable the relevant gpio pins in the dtb (largely because I keep the stock uboot on the devices I work with).

looks like you're getting pretty close.

pcie {
                        
			status = "okay";
			/*
			 * The two PCIe units are accessible through
			 * standard PCIe slots on the board.
			*/
			pcie@1,0 {
				/* Port 0, Lane 0 */
				status = "okay";
			};
			pcie@2,0 {
				/* Port 1, Lane 0 */
				status = "okay";
			};
		};

Re: Debian on Synology RS816 (Armada 385)

$
0
0
zifxify,

> something like this in the orginal dts ?

The original DTS has old binding.
pcie-controller {


The new binding is
pciec: pcie {

------

Try booting with the armada-385-synology-ds116.dtb again. Log in to Debian and install new kernel linux-4.19.1-mvebu-tld-1 from the release thread.

And then boot with armada-385-synology-rs816.dtb.

Re: Debian on Synology RS816 (Armada 385)

$
0
0
1000001101000,

> looking again at @bohdi 's dts it looks like
> that's already covered, the pcie errors are
> probably from the extra entry he has in there,
> maybe.

You might be right! the Armada 385 has a couple options regarding ports/lanes for PCIe. So it might be X4 for the RS816.

Quote

* x1 port only available when pcie@1,0 is
* configured as a x1 port


But let's see how the new kernel version linux-4.19.1-mvebu-tld-1 behaves with the armada-385-synology-rs816.dtb, before we change the DTS.

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Quote

But let's see how the new kernel version linux-4.19.1-mvebu-tld-1 behaves with the armada-385-synology-rs816.dtb, before we change the DTS.

:) first two drives are accessible, mountable in Debian
Marvell>> boot
(Re)start USB controller...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
Booting Debian . . .
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading zImage from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'zImage'.
Load address: 0x2000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###############################################
	 5.1 MiB/s
done
Bytes transferred = 4502408 (44b388 hex)
loading uInitrd from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'uInitrd'.
Load address: 0x3000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #######################
	 4.9 MiB/s
done
Bytes transferred = 7971185 (79a171 hex)
loading DTB from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'armada-385-synology-rs816.dtb'.
Load address: 0x1000000
Loading: *?##
	 1 MiB/s
done
Bytes transferred = 17017 (4279 hex)
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.19.1-mvebu-tld-1
   Created:      2019-01-23  15:11:44 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7971121 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Device Tree to 00ff8000, end 00fff278 ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.1-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1 SMP PREEMPT Mon Nov 5 20:42:26 PST 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Synology RS816
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41932 r8192 d23604 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:4m(boot),-(spi-rootfs) earlyprintk=serial init=/bin/systemd
[    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: 1017124K/1048576K available (9216K kernel code, 794K rwdata, 2336K rodata, 1024K init, 328K bss, 31452K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 795 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 329 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000005] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007976] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1ae5b571769, max_idle_ns: 881590513431 ns
[    0.019061] Switching to timer-based delay loop, resolution 1ns
[    0.025085] Ignoring duplicate/late registration of read_current_timer delay
[    0.032102] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.043259] Console: colour dummy device 80x30
[    0.047699] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.00 BogoMIPS (lpj=9330000)
[    0.058264] pid_max: default: 32768 minimum: 301
[    0.062945] Security Framework initialized
[    0.067064] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.073647] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.081017] CPU: Testing write buffer coherency: ok
[    0.085886] CPU0: Spectre v2: using BPIALL workaround
[    0.091021] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.155012] Setting up static identity map for 0x100000 - 0x100060
[    0.161223] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.166420] mvebu-pmsu: Initializing Power Management Service Unit
[    0.184994] rcu: Hierarchical SRCU implementation.
[    0.224993] smp: Bringing up secondary CPUs ...
[    0.285043] Booting CPU 1
[    0.287787] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.287790] CPU1: Spectre v2: using BPIALL workaround
[    0.298501] smp: Brought up 1 node, 2 CPUs
[    0.302577] SMP: Total of 2 processors activated (3732.00 BogoMIPS).
[    0.308916] CPU: All CPU(s) started in SVC mode.
[    0.313990] devtmpfs: initialized
[    0.318960] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.326840] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.336647] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.342838] prandom: seed boundary self test passed
[    0.349122] prandom: 100 self tests passed
[    0.353197] pinctrl core: initialized pinctrl subsystem
[    0.359036] NET: Registered protocol family 16
[    0.363909] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.371062] audit: initializing netlink subsys (disabled)
[    0.377007] audit: type=2000 audit(0.350:1): state=initialized audit_enabled=0 res=1
[    0.384738] cpuidle: using governor ladder
[    0.388855] cpuidle: using governor menu
[    0.392869] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.400843] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.406748] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.414802] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.435789] vgaarb: loaded
[    0.438619] SCSI subsystem initialized
[    0.445383] usbcore: registered new interface driver usbfs
[    0.450902] usbcore: registered new interface driver hub
[    0.456260] usbcore: registered new device driver usb
[    0.461687] media: Linux media interface: v0.10
[    0.466252] videodev: Linux video capture interface: v2.00
[    0.471896] pps_core: LinuxPPS API ver. 1 registered
[    0.477376] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.486528] PTP clock support registered
[    0.491170] clocksource: Switched to clocksource arm_global_timer
[    0.530330] VFS: Disk quotas dquot_6.6.0
[    0.534287] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.547304] NET: Registered protocol family 2
[    0.551961] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.559590] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.566647] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.573112] TCP: Hash tables configured (established 8192 bind 8192)
[    0.579486] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.585412] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.591873] NET: Registered protocol family 1
[    0.596472] RPC: Registered named UNIX socket transport module.
[    0.602376] RPC: Registered udp transport module.
[    0.607055] RPC: Registered tcp transport module.
[    0.611740] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.618243] Unpacking initramfs...
[    0.845272] Freeing initrd memory: 7788K
[    0.849428] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.856190] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.865550] Initialise system trusted keyrings
[    0.869988] Key type blacklist registered
[    0.874063] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.880530] zbud: loaded
[    0.883584] NFS: Registering the id_resolver key type
[    0.888616] Key type id_resolver registered
[    0.892791] Key type id_legacy registered
[    0.896784] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.903460] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.909903] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.917191] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.923683] orangefs_init: module version upstream loaded
[    0.930940] Key type asymmetric registered
[    0.935030] Asymmetric key parser 'x509' registered
[    0.939906] bounce: pool size: 64 pages
[    0.943787] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.951153] io scheduler noop registered
[    0.955063] io scheduler deadline registered
[    0.959327] io scheduler cfq registered (default)
[    0.965316] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.973987] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.979882] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.985355] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.992206] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.999384] PCI: bus0: Fast back to back transfers disabled
[    1.004946] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.012925] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.021595] PCI: bus1: Fast back to back transfers enabled
[    1.027305] pci 0000:02:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x1 link at 0000:00:02.0 (capable of 7.876 Gb/s with 8 GT/s x1 link)
[    1.041020] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.071807] PCI: bus2: Fast back to back transfers disabled
[    1.077384] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    1.084239] pci 0000:00:02.0: BAR 13: assigned [io  0x10000-0x10fff]
[    1.090563] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.095516] pci 0000:02:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    1.102711] pci 0000:02:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]
[    1.109468] pci 0000:02:00.0: BAR 4: assigned [io  0x10000-0x1001f]
[    1.115712] pci 0000:02:00.0: BAR 0: assigned [io  0x10020-0x10027]
[    1.121956] pci 0000:02:00.0: BAR 2: assigned [io  0x10028-0x1002f]
[    1.128193] pci 0000:02:00.0: BAR 1: assigned [io  0x10030-0x10033]
[    1.134437] pci 0000:02:00.0: BAR 3: assigned [io  0x10034-0x10037]
[    1.140674] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.145621] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    1.151883] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.158765] pcieport 0000:00:02.0: enabling device (0140 -> 0143)
[    1.165267] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.231537] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.239097] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.301523] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.345522] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.353013] console [ttyS0] disabled
[    1.376642] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.385612] console [ttyS0] enabled
[    1.385612] console [ttyS0] enabled
[    1.392631] bootconsole [earlycon0] disabled
[    1.392631] bootconsole [earlycon0] disabled
[    1.421845] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A
[    1.441833] ahci 0000:02:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    1.449964] ahci 0000:02:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.459276] scsi host0: ahci
[    1.462423] scsi host1: ahci
[    1.465516] scsi host2: ahci
[    1.468626] scsi host3: ahci
[    1.471677] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 48
[    1.479108] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 48
[    1.486548] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 48
[    1.493985] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 48
[    1.502682] m25p80 spi0.0: found n25q064, expected mx25l6405d
[    1.508571] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    1.513229] 2 cmdlinepart partitions found on MTD device spi0.0
[    1.519174] Creating 2 MTD partitions on "spi0.0":
[    1.524064] 0x000000000000-0x000000400000 : "boot"
[    1.529370] 0x000000400000-0x000000800000 : "spi-rootfs"
[    1.535619] libphy: Fixed MDIO Bus: probed
[    1.540096] libphy: orion_mdio_bus: probed
[    1.547320] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.555934] mvneta f1070000.ethernet eth0: Using hardware mac address 00:50:43:27:27:4d
[    1.564182] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.570751] ehci-pci: EHCI PCI platform driver
[    1.575269] ehci-orion: EHCI orion driver
[    1.579711] usbcore: registered new interface driver usblp
[    1.585259] usbcore: registered new interface driver usb-storage
[    1.591469] mousedev: PS/2 mouse device common for all mice
[    1.597669] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.605348] i2c /dev entries driver
[    1.632289] gpio-fan soc:gpio-fan: GPIO fan initialized
[    1.638803] armada_thermal f10e4078.thermal: Temperature sensor reading not valid
[    1.646335] thermal thermal_zone0: failed to read out thermal zone (-5)
[    1.653267] orion_wdt: Initial timeout 171 sec
[    1.658917] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.666216] hidraw: raw HID events driver (C) Jiri Kosina
[    1.671796] usbcore: registered new interface driver usbhid
[    1.677393] usbhid: USB HID core driver
[    1.681432] drop_monitor: Initializing network drop monitor service
[    1.687940] NET: Registered protocol family 10
[    1.702904] Segment Routing with IPv6
[    1.706616] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.713128] NET: Registered protocol family 17
[    1.717615] 8021q: 802.1Q VLAN Support v1.8
[    1.721872] Key type dns_resolver registered
[    1.726247] ThumbEE CPU extension supported.
[    1.730536] Registering SWP/SWPB emulation handler
[    1.735635] registered taskstats version 1
[    1.739750] Loading compiled-in X.509 certificates
[    1.744608] zswap: loaded using pool lzo/zbud
[    1.755455] Key type big_key registered
[    1.762198] Key type encrypted registered
[    1.767678] usb_phy_generic usb3_0_phy: Linked as a consumer to regulator.3
[    1.774772] usb_phy_generic usb3_1_phy: Linked as a consumer to regulator.4
[    1.781927] v5.0-sata0: supplied by pwr_en_sata0
[    1.786614] platform f10a8000.sata:sata-port@0: Linked as a consumer to regulator.1
[    1.794351] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x1
[    1.800496] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x1 impl platform mode
[    1.809594] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.828842] scsi host4: ahci-mvebu
[    1.832536] ata2: SATA link down (SStatus 0 SControl 300)
[    1.838006] ata1: SATA link down (SStatus 0 SControl 300)
[    1.842467] scsi host5: ahci-mvebu
[    1.843489] ata3: SATA link down (SStatus 0 SControl 300)
[    1.846926] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.852385] ata4: SATA link down (SStatus 0 SControl 300)
[    1.860291] ata6: DUMMY
[    1.868340] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.873697] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.881293] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    1.890574] xhci-hcd f10f0000.usb3: irq 42, io mem 0xf10f0000
[    1.896519] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.904835] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.912096] usb usb1: Product: xHCI Host Controller
[    1.916996] usb usb1: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    1.923471] usb usb1: SerialNumber: f10f0000.usb3
[    1.928435] hub 1-0:1.0: USB hub found
[    1.932228] hub 1-0:1.0: 1 port detected
[    1.936309] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.941662] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.949188] xhci-hcd f10f0000.usb3: Host supports USB 3.0  SuperSpeed
[    1.955694] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.963882] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    1.972191] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.979445] usb usb2: Product: xHCI Host Controller
[    1.984351] usb usb2: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    1.990819] usb usb2: SerialNumber: f10f0000.usb3
[    1.995748] hub 2-0:1.0: USB hub found
[    1.999528] hub 2-0:1.0: 1 port detected
[    2.003771] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.009116] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.016692] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.025985] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[    2.031907] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    2.040209] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.047474] usb usb3: Product: xHCI Host Controller
[    2.052380] usb usb3: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    2.058849] usb usb3: SerialNumber: f10f8000.usb3
[    2.063787] hub 3-0:1.0: USB hub found
[    2.067566] hub 3-0:1.0: 1 port detected
[    2.071652] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.076992] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.084531] xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
[    2.091031] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.099216] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    2.107526] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.114789] usb usb4: Product: xHCI Host Controller
[    2.119687] usb usb4: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    2.126163] usb usb4: SerialNumber: f10f8000.usb3
[    2.131103] hub 4-0:1.0: USB hub found
[    2.134892] hub 4-0:1.0: 1 port detected
[    2.139327] armada38x-rtc f10a3800.rtc: setting system clock to 2019-01-23 15:23:14 UTC (1548256994)
[    2.148687] v12.0-sata0: supplied by pwr_en_sata0
[    2.153454] v12.0-sata0: disabling
[    2.192280] ata5: SATA link down (SStatus 0 SControl 300)
[    2.198216] Freeing unused kernel memory: 1024K
[    2.203075] Checked W+X mappings: passed, no W+X pages found
[    2.208760] Run /init as init process
Loading, please wait...
starting version 232
[    2.248809] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.251968] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.256641] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
[    3.691184] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.871458] usb 1-1: New USB device found, idVendor=7614, idProduct=2419, bcdDevice= 1.00
[    3.879674] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.886852] usb 1-1: Product: JMicron JMF60X SSD
[    3.891497] usb 1-1: Manufacturer: JMicron
[    3.895610] usb 1-1: SerialNumber: 0000000000033
[    3.902150] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.908443] scsi host6: usb-storage 1-1:1.0
[    3.914739] usbcore: registered new interface driver uas
[    4.991613] scsi 6:0:0:0: Direct-Access                                Dev PQ: 0 ANSI: 0 CCS
[    5.001775] sd 6:0:0:0: [sda] 63062016 512-byte logical blocks: (32.3 GB/30.1 GiB)
[    5.010279] sd 6:0:0:0: [sda] Write Protect is off
[    5.015612] sd 6:0:0:0: [sda] Asking for cache data failed
[    5.021125] sd 6:0:0:0: [sda] Assuming drive cache: write through
[    5.029503]  sda: sda1
[    5.032750] sd 6:0:0:0: [sda] Attached SCSI disk
[    5.070890] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 47541/1974272 files, 493514/7882496 blocks
done.
[   12.817470] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   12.840733] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   13.161697] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   13.180026] systemd[1]: Detected architecture arm.

Welcome to ?[1mDebian GNU/Linux 9 (stretch)?[0m!

[   13.211635] systemd[1]: Set hostname to <debian>.
[   13.627394] systemd[1]: lvm2-monitor.service: Cannot add dependency job, ignoring: Unit lvm2-monitor.service is masked.
[   13.638355] systemd[1]: quota.service: Cannot add dependency job, ignoring: Unit quota.service is masked.
[   13.648061] systemd[1]: lvm2-lvmetad.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmetad.socket is masked.
[   13.658752] systemd[1]: lvm2-lvmpolld.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmpolld.socket is masked.
[   13.669803] systemd[1]: phpsessionclean.timer: Cannot add dependency job, ignoring: Unit phpsessionclean.timer is masked.
[   13.680853] systemd[1]: acpid.path: Cannot add dependency job, ignoring: Unit acpid.path is masked.
[   13.689978] systemd[1]: acpid.socket: Cannot add dependency job, ignoring: Unit acpid.socket is masked.
[?[0;32m  OK  ?[0m] Listening on fsck to fsckd communication Socket.
[?[0;32m  OK  ?[0m] Listening on udev Kernel Socket.
[?[0;32m  OK  ?[0m] Listening on RPCbind Server Activation Socket.
[?[0;32m  OK  ?[0m] Listening on udev Control Socket.
[?[0;32m  OK  ?[0m] Listening on Journal Socket (/dev/log).
[?[0;32m  OK  ?[0m] Set up automount Arbitrary Executab…rmats File System Automount Point.
[?[0;32m  OK  ?[0m] Started Forward Password Requests to Wall Directory Watch.
[?[0;32m  OK  ?[0m] Started Dispatch Password Requests to Console Directory Watch.
[?[0;32m  OK  ?[0m] Reached target Paths.
[?[0;32m  OK  ?[0m] Reached target Encrypted Volumes.
[?[0;32m  OK  ?[0m] Listening on Journal Audit Socket.
[?[0;32m  OK  ?[0m] Reached target Swap.
[?[0;32m  OK  ?[0m] Listening on /dev/initctl Compatibility Named Pipe.
[?[0;32m  OK  ?[0m] Listening on Journal Socket.
[?[0;32m  OK  ?[0m] Created slice User and Session Slice.
[?[0;32m  OK  ?[0m] Listening on Syslog Socket.
[?[0;32m  OK  ?[0m] Created slice System Slice.
         Mounting POSIX Message Queue File System...
[?[0;32m  OK  ?[0m] Created slice system-serial\x2dgetty.slice.
[?[0;32m  OK  ?[0m] Reached target Slices.
         Starting Load Kernel Modules...
[?[0;32m  OK  ?[0m] Created slice system-getty.slice.
         Mounting RPC Pipe File System...
         Mounting Debug File System...
         Mounting NFSD configuration filesystem...
         Starting Journal Service...
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Nameserver information manager...
         Starting Remount Root and Kernel File Systems...
[   14.554773] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[?[0;32m  OK  ?[0m] Mounted NFSD configuration filesystem.
[?[0;32m  OK  ?[0m] Mounted RPC Pipe File System.
[?[0;32m  OK  ?[0m] Mounted Debug File System.
[?[0;32m  OK  ?[0m] Mounted POSIX Message Queue File System.
[?[0;32m  OK  ?[0m] Started Journal Service.
[?[0;32m  OK  ?[0m] Started Load Kernel Modules.
[?[0;32m  OK  ?[0m] Started Create list of required sta…vice nodes for the current kernel.
[?[0;32m  OK  ?[0m] Started Remount Root and Kernel File Systems.
[?[0;32m  OK  ?[0m] Started Nameserver information manager.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
         Starting pNFS block layout mapping daemon...
[?[0;32m  OK  ?[0m] Started Load/Save Random Seed.
[?[0;32m  OK  ?[0m] Started Create Static Device Nodes in /dev.
[?[0;32m  OK  ?[0m] Started Apply Kernel Variables.
[?[0;32m  OK  ?[0m] Started pNFS block layout mapping daemon.
         Starting udev Kernel Device Manager...
[?[0;32m  OK  ?[0m] Reached target Local File Systems (Pre).
[   15.161315] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
         Mounting /tmp...
[?[0;32m  OK  ?[0m] Mounted /tmp.
[?[0;32m  OK  ?[0m] Started udev Coldplug all Devices.
[?[0;32m  OK  ?[0m] Started udev Kernel Device Manager.
[   15.478351] systemd-journald[1518]: Received request to flush runtime journal from PID 1
[?[0;32m  OK  ?[0m] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
         Starting Raise network interfaces...
[?[0;32m  OK  ?[0m] Started Flush Journal to Persistent Storage.
[?[0;32m  OK  ?[0m] Started Preprocess NFS configuration.
[?[0;32m  OK  ?[0m] Found device /dev/ttyS0.
         Starting NFSv4 ID-name mapping service...
[   15.747881] sd 6:0:0:0: Attached scsi generic sg0 type 0
[?[0;32m  OK  ?[0m] Reached target NFS client services.
         Starting Create Volatile Files and Directories...
[?[0;32m  OK  ?[0m] Started NFSv4 ID-name mapping service.
[?[0;32m  OK  ?[0m] Started Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[?[0;32m  OK  ?[0m] Reached target System Time Synchronized.
[?[0;32m  OK  ?[0m] Started RPC bind portmap service.
[?[0;32m  OK  ?[0m] Started Update UTMP about System Boot/Shutdown.
[?[0;32m  OK  ?[0m] Reached target System Initialization.
[?[0;32m  OK  ?[0m] Listening on D-Bus System Message Bus Socket.
[?[0;32m  OK  ?[0m] Started Daily Cleanup of Temporary Directories.
[?[0;32m  OK  ?[0m] Started Daily apt download activities.
[?[0;32m  OK  ?[0m] Started Daily apt upgrade and clean activities.
[   16.481881] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   16.490749] mvneta f1070000.ethernet eth0: configuring for phy/sgmii link mode
[?[0;32m  OK  ?[0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[?[0;32m  OK  ?[0m] Reached target Sockets.
[?[0;32m  OK  ?[0m] Reached target Basic System.
         Starting Login Service...
         Starting Initialize hardware monitoring sensors...
         Starting System Logging Service...
[?[0;32m  OK  ?[0m] Started Regular background program processing daemon.
[?[0;32m  OK  ?[0m] Started D-Bus System Message Bus.
         Starting LSB: MD monitoring daemon...
         Starting Avahi mDNS/DNS-SD Stack...
[?[0;32m  OK  ?[0m] Started Trigger anacron every hour.
[?[0;32m  OK  ?[0m] Started Run anacron jobs.
[?[0;32m  OK  ?[0m] Reached target Timers.
[?[0;32m  OK  ?[0m] Reached target RPC Port Mapper.
[?[0;32m  OK  ?[0m] Started System Logging Service.
[?[0;32m  OK  ?[0m] Started LSB: MD monitoring daemon.
[?[0;32m  OK  ?[0m] Started Initialize hardware monitoring sensors.
[?[0;32m  OK  ?[0m] Started Avahi mDNS/DNS-SD Stack.
[?[0;32m  OK  ?[0m] Started Login Service.
[   21.791559] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[?[0m?[0;31m*     ?[0m] A start job is running for Raise network interfaces (8s / 5min 2s)
?[K[?[0;1;31m*?[0m?[0;31m*    ?[0m] A start job is running for Raise network interfaces (9s / 5min 2s)
?[K[?[0;31m*?[0;1;31m*?[0m?[0;31m*   ?[0m] A start job is running for Raise network interfaces (9s / 5min 2s)
?[K[ ?[0;31m*?[0;1;31m*?[0m?[0;31m*  ?[0m] A start job is running for Raise network interfaces (10s / 5min 2s)
?[K[  ?[0;31m*?[0;1;31m*?[0m?[0;31m* ?[0m] A start job is running for Raise network interfaces (11s / 5min 2s)
?[K[   ?[0;31m*?[0;1;31m*?[0m?[0;31m*?[0m] A start job is running for Raise network interfaces (11s / 5min 2s)
?[K[    ?[0;31m*?[0;1;31m*?[0m] A start job is running for Raise network interfaces (12s / 5min 2s)[   26.023849] random: crng init done
[   26.027270] random: 7 urandom warning(s) missed due to ratelimiting

?[K[?[0;32m  OK  ?[0m] Started Raise network interfaces.
[?[0;32m  OK  ?[0m] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting A high performance web server and a reverse proxy server...
         Starting NFS Mount Daemon...
[?[0;32m  OK  ?[0m] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
[?[0;32m  OK  ?[0m] Started /etc/rc.local Compatibility.
[?[0;32m  OK  ?[0m] Started OpenBSD Secure Shell server.
[?[0;32m  OK  ?[0m] Started NFS Mount Daemon.
         Starting NFS server and services...
[   26.572113] NFSD: starting 45-second grace period (net f0000039)
[?[0;32m  OK  ?[0m] Started NFS server and services.
[?[0;32m  OK  ?[0m] Started A high performance web server and a reverse proxy server.
[?[0;32m  OK  ?[0m] Reached target Remote File Systems (Pre).
[?[0;32m  OK  ?[0m] Reached target Remote File Systems.
         Starting LSB: Starts ProFTPD daemon...
         Starting LSB: Starts syslogd...
         Starting LSB: service and resource monitoring daemon...
         Starting Permit User Sessions...
         Starting LSB: start or stop rrdcached...
         Starting LSB: Start NTP daemon...
         Starting LSB: SMART monitoring daemon...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[?[0;32m  OK  ?[0m] Started LSB: Starts ProFTPD daemon.
[?[0;32m  OK  ?[0m] Started LSB: Starts syslogd.
[?[0;32m  OK  ?[0m] Started Permit User Sessions.
[?[0;32m  OK  ?[0m] Started LSB: SMART monitoring daemon.
[?[0;32m  OK  ?[0m] Started LSB: service and resource monitoring daemon.
[?[0;1;31mFAILED?[0m] Failed to start LSB: start or stop rrdcached.
See 'systemctl status rrdcached.service' for details.
[?[0;32m  OK  ?[0m] Started Getty on tty1.
[?[0;32m  OK  ?[0m] Started Serial Getty on ttyS0.
[?[0;32m  OK  ?[0m] Reached target Login Prompts.
         Starting LSB: Starts klogd...
[?[0;32m  OK  ?[0m] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[?[0;32m  OK  ?[0m] Started LSB: Starts klogd.
         Starting LSB: set CPUFreq kernel parameters...
[?[0;32m  OK  ?[0m] Started LSB: set CPUFreq kernel parameters.
[   32.232090] fbcon: Taking over console


Debian GNU/Linux 9 debian ttyS0

debian login:

root@debian:~# lsblk
NAME      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda         8:0    0 30.1G  0 disk 
`-sda1      8:1    0 30.1G  0 part /
sdb         8:16   1  2.7T  0 disk 
|-sdb1      8:17   1  2.4G  0 part 
|-sdb2      8:18   1    2G  0 part 
`-sdb3      8:19   1  2.7T  0 part 
sdc         8:32   1  2.7T  0 disk 
|-sdc1      8:33   1  2.4G  0 part 
|-sdc2      8:34   1    2G  0 part 
`-sdc3      8:35   1  2.7T  0 part 
mtdblock0  31:0    0    4M  0 disk 
mtdblock1  31:1    0    4M  0 disk

Re: Debian on Synology RS816 (Armada 385)

$
0
0
While you're working though this, keep an eye on /dev/disk/by-path. That'll let you see whether it's accessing the drive via the soc or the pcie controller.

I think your/bohdi's next steps will be to try disabling the soc sata and confirm you're accessing those disks via sata then work on enabling the other disks, though you can do it the other way around.

sorry to interrupt again, I got stuck for over a week on this exact situation and want to save others that frustration.

Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
I've been somewhat consistently having issues on my PogoPlug E-02 running Debian 9 (Stretch). I say somewhat because I'm not exactly sure how frequently this happens, but I'd guess once or twice a month, but maybe more.

The issue I'm experience seems to be the system as a whole locking up, freezing, or becoming partially inaccessible. If I'm using a program like forked-daapd to play my music library, I'll lose the ability to connect to the server on my remote app. I notice after a few days of running normally, sometimes the process of connecting to my library from the remote app becomes very slow. If I've recently rebooted that process is usually pretty quick.

If I'm in an SSH session, the session will become unresponsive. Yesterday I was running apt-get install alsa-utils and during the process everything froze. Eventually (like 10 minutes later) my terminal session returned me to root@pogoplug.local, but any additional commands failed to execute.

If I ping my Pogo when it's in this state, I get a response as if everything is normal, but everything on the device seems unusable.

When I check ram usage with free -h or htop I usually have plenty of ram available. On average I'm using around 50-60mb and the E-02 has 256mb with 512mb of swap available. I'm running the same services (plus more) on a Pogoplug Pro with half the ram available and not getting freezes on that device.

Any ideas how I can start troubleshooting this? Logs to check? Thanks for any tips.

Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
If you've got access to the device when it happens running dmesg for the kernel output is a good first step. /var/log/messages and /var/log/syslog are also good places to start.

Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
Thanks!

I'll try to do dmesg the next time I notice freezing or lagginess, but so far it's already past the point of me running any command or even connecting via ssh.

I also don't have either of those logs. Is there something I need to do to get them to be created?

Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
I might not be the best person to ask when it comes to these devices. These logs might be disabled to reduce disk activity or something like that (I'm guessing if you can run apt-get install it's not a read only filesystem). If you have any logs in /var/log they may be a good place to start.

there are a bunch of options you can pursue but someone with more experience troubleshooting these devices might have something more useful to suggest.

Re: Debian on Synology RS816 (Armada 385)

$
0
0
zifxify,

> :) first two drives are accessible, mountable in
> Debian

Cool :)

1. Before we continue, I'd like you to remove systemd from bootargs and boot with sysvinit.

init=/bin/systemd
That way we have the same reference point for other users in the forum, and make it easier for late coming RS816 users to install the rootfs and kernel on this box. After it's all working, you would then add it back in as your own preference.

2. Do you have 4 HDDs that are attached to all 4 ports right now?

Please repost the serial console log with sysvinit, and 4 HDDs attached.

Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
cdlenfert,

> I also don't have either of those logs. Is there
> something I need to do to get them to be created?

My released rootfs (if you are running it) has busybox-syslogd running with option logging to RAM.

The first step in debugging issue like this is to remove the option "logging to RAM", so that you have syslog output to /var/log/messages in the rootfs.

cat /etc/default/busybox-syslogd
# Defaults for busybox-syslogd initscript
# This is a POSIX shell fragment sourced by /etc/init.d/busybox-syslogd

# Additional options that are passed to the daemons.  Default is to log
# to ring buffer (to be read with logread(1)) and drop duplicates.
SYSLOG_OPTS="-C128"
KLOG_OPTS=""

Temporarily remove the option by commenting it out.
#SYSLOG_OPTS="-C128"
And then restart busybox-syslogd, or reboot the system.

When it is starting to exhibit the behavior, if you don't have serial console and cannot SSH in then just unplug power cord and hope that you can see the /var/log/messages showing some errors (even partial log can be useful). The rootfs file system EXT3 will be OK when you unplug power like that. The worst case is you need to mount it on aonther box and run e2fsck to fix any error cause by power outage.

It is best to troubleshoot this problem using serial console.

Re: Compile wireless driver rtl8188eu

$
0
0
Thanks. Let's keep this as an open issue. In the mean time I'm gonna use an old i386 terminal where the driver compiled with no problem.

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Quote

I think your/bohdi's next steps will be to try disabling the soc sata and confirm you're accessing those disks via sata then work on enabling the other disks, though you can do it the other way around.

so this means one drive accessible through pcie and another accessible via soc sata I guess ?

root@debian:~# ls -al /dev/disk/by-path
total 0
drwxr-xr-x 2 root root 160 Jan 23 14:14 .
drwxr-xr-x 7 root root 140 Jan 23 14:14 ..
lrwxrwxrwx 1 root root   9 Jan 23 14:15 platform-f10a8000.sata-ata-1 -> ../../sdb
lrwxrwxrwx 1 root root  10 Jan 23 14:15 platform-f10a8000.sata-ata-1-part1 -> ../../sdb1
lrwxrwxrwx 1 root root   9 Jan 23 14:15 platform-f10f0000.usb3-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root  10 Jan 23 14:15 platform-f10f0000.usb3-usb-0:1:1.0-scsi-0:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root   9 Jan 23 14:15 platform-soc:pcie-pci-0000:02:00.0-ata-2 -> ../../sda
lrwxrwxrwx 1 root root  10 Jan 23 14:15 platform-soc:pcie-pci-0000:02:00.0-ata-2-part1 -> ../../sda1

Quote

sorry to interrupt again, I got stuck for over a week on this exact situation and want to save others that frustration.

no interruption at all,I'm glad to have your advice :)

<------>

Quote

2. Do you have 4 HDDs that are attached to all 4 ports right now?

Yes (another set of test drives. (atm)). Now all drives are already inserted at boot.

Marvell>> boot
(Re)start USB controller...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
Booting Debian . . .
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading zImage from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'zImage'.
Load address: 0x2000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ###############################################
	 5 MiB/s
done
Bytes transferred = 4502408 (44b388 hex)
loading uInitrd from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'uInitrd'.
Load address: 0x3000000
Loading: *?#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #######################
	 4.9 MiB/s
done
Bytes transferred = 7971185 (79a171 hex)
loading DTB from tftpserver ...
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'armada-385-synology-rs816.dtb'.
Load address: 0x1000000
Loading: *?##
	 1 MiB/s
done
Bytes transferred = 17017 (4279 hex)
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.19.1-mvebu-tld-1
   Created:      2019-01-23  15:11:44 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7971121 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Device Tree to 00ff8000, end 00fff278 ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.1-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1 SMP PREEMPT Mon Nov 5 20:42:26 PST 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Synology RS816
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41932 r8192 d23604 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:4m(boot),-(spi-rootfs) earlyprintk=serial
[    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: 1017124K/1048576K available (9216K kernel code, 794K rwdata, 2336K rodata, 1024K init, 328K bss, 31452K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 795 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 329 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000006] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007976] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1ae5b571769, max_idle_ns: 881590513431 ns
[    0.019060] Switching to timer-based delay loop, resolution 1ns
[    0.025086] Ignoring duplicate/late registration of read_current_timer delay
[    0.032103] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.043259] Console: colour dummy device 80x30
[    0.047699] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.00 BogoMIPS (lpj=9330000)
[    0.058265] pid_max: default: 32768 minimum: 301
[    0.062945] Security Framework initialized
[    0.067064] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.073647] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.081020] CPU: Testing write buffer coherency: ok
[    0.085888] CPU0: Spectre v2: using BPIALL workaround
[    0.091022] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.155012] Setting up static identity map for 0x100000 - 0x100060
[    0.161223] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.166421] mvebu-pmsu: Initializing Power Management Service Unit
[    0.184993] rcu: Hierarchical SRCU implementation.
[    0.224993] smp: Bringing up secondary CPUs ...
[    0.285042] Booting CPU 1
[    0.287784] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.287787] CPU1: Spectre v2: using BPIALL workaround
[    0.298499] smp: Brought up 1 node, 2 CPUs
[    0.302574] SMP: Total of 2 processors activated (3732.00 BogoMIPS).
[    0.308914] CPU: All CPU(s) started in SVC mode.
[    0.313988] devtmpfs: initialized
[    0.318939] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.326808] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.336615] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.342806] prandom: seed boundary self test passed
[    0.349091] prandom: 100 self tests passed
[    0.353166] pinctrl core: initialized pinctrl subsystem
[    0.359006] NET: Registered protocol family 16
[    0.363870] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.371021] audit: initializing netlink subsys (disabled)
[    0.376951] audit: type=2000 audit(0.350:1): state=initialized audit_enabled=0 res=1
[    0.384683] cpuidle: using governor ladder
[    0.388802] cpuidle: using governor menu
[    0.392808] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.400782] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.406689] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.414743] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.435787] vgaarb: loaded
[    0.438619] SCSI subsystem initialized
[    0.445386] usbcore: registered new interface driver usbfs
[    0.450905] usbcore: registered new interface driver hub
[    0.456264] usbcore: registered new device driver usb
[    0.461688] media: Linux media interface: v0.10
[    0.466255] videodev: Linux video capture interface: v2.00
[    0.471898] pps_core: LinuxPPS API ver. 1 registered
[    0.477376] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.486527] PTP clock support registered
[    0.491157] clocksource: Switched to clocksource arm_global_timer
[    0.530368] VFS: Disk quotas dquot_6.6.0
[    0.534324] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.547348] NET: Registered protocol family 2
[    0.552005] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.559634] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.566690] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.573154] TCP: Hash tables configured (established 8192 bind 8192)
[    0.579527] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.585449] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.591911] NET: Registered protocol family 1
[    0.596510] RPC: Registered named UNIX socket transport module.
[    0.602415] RPC: Registered udp transport module.
[    0.607094] RPC: Registered tcp transport module.
[    0.611780] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.618285] Unpacking initramfs...
[    0.845161] Freeing initrd memory: 7788K
[    0.849304] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.856060] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.865430] Initialise system trusted keyrings
[    0.869869] Key type blacklist registered
[    0.873945] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.880412] zbud: loaded
[    0.883459] NFS: Registering the id_resolver key type
[    0.888491] Key type id_resolver registered
[    0.892668] Key type id_legacy registered
[    0.896662] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.903338] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.909780] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.917066] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.923560] orangefs_init: module version upstream loaded
[    0.930815] Key type asymmetric registered
[    0.934906] Asymmetric key parser 'x509' registered
[    0.939783] bounce: pool size: 64 pages
[    0.943668] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.951034] io scheduler noop registered
[    0.954945] io scheduler deadline registered
[    0.959208] io scheduler cfq registered (default)
[    0.965198] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.973871] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.979766] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.985238] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.992088] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.999258] PCI: bus0: Fast back to back transfers disabled
[    1.004820] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.012799] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.021464] PCI: bus1: Fast back to back transfers enabled
[    1.027174] pci 0000:02:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x1 link at 0000:00:02.0 (capable of 7.876 Gb/s with 8 GT/s x1 link)
[    1.040890] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.071784] PCI: bus2: Fast back to back transfers disabled
[    1.077360] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    1.084214] pci 0000:00:02.0: BAR 13: assigned [io  0x10000-0x10fff]
[    1.090537] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.095491] pci 0000:02:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    1.102686] pci 0000:02:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]
[    1.109443] pci 0000:02:00.0: BAR 4: assigned [io  0x10000-0x1001f]
[    1.115687] pci 0000:02:00.0: BAR 0: assigned [io  0x10020-0x10027]
[    1.121932] pci 0000:02:00.0: BAR 2: assigned [io  0x10028-0x1002f]
[    1.128170] pci 0000:02:00.0: BAR 1: assigned [io  0x10030-0x10033]
[    1.134413] pci 0000:02:00.0: BAR 3: assigned [io  0x10034-0x10037]
[    1.140651] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.145597] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    1.151860] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.158741] pcieport 0000:00:02.0: enabling device (0140 -> 0143)
[    1.165241] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.231523] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.239084] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.301508] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.345648] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.353159] console [ttyS0] disabled
[    1.376794] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.385752] console [ttyS0] enabled
[    1.385752] console [ttyS0] enabled
[    1.392768] bootconsole [earlycon0] disabled
[    1.392768] bootconsole [earlycon0] disabled
[    1.422003] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A
[    1.441999] ahci 0000:02:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    1.450130] ahci 0000:02:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.459461] scsi host0: ahci
[    1.462615] scsi host1: ahci
[    1.465707] scsi host2: ahci
[    1.478826] scsi host3: ahci
[    1.481873] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 48
[    1.489304] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 48
[    1.496743] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 48
[    1.504180] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 48
[    1.512875] m25p80 spi0.0: found n25q064, expected mx25l6405d
[    1.518763] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    1.523445] 2 cmdlinepart partitions found on MTD device spi0.0
[    1.529403] Creating 2 MTD partitions on "spi0.0":
[    1.534231] 0x000000000000-0x000000400000 : "boot"
[    1.539545] 0x000000400000-0x000000800000 : "spi-rootfs"
[    1.545798] libphy: Fixed MDIO Bus: probed
[    1.550274] libphy: orion_mdio_bus: probed
[    1.557516] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.566129] mvneta f1070000.ethernet eth0: Using hardware mac address 00:50:43:27:27:4d
[    1.574377] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.580947] ehci-pci: EHCI PCI platform driver
[    1.585464] ehci-orion: EHCI orion driver
[    1.589910] usbcore: registered new interface driver usblp
[    1.595457] usbcore: registered new interface driver usb-storage
[    1.601668] mousedev: PS/2 mouse device common for all mice
[    1.607870] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.615550] i2c /dev entries driver
[    1.642487] gpio-fan soc:gpio-fan: GPIO fan initialized
[    1.649002] armada_thermal f10e4078.thermal: Temperature sensor reading not valid
[    1.656534] thermal thermal_zone0: failed to read out thermal zone (-5)
[    1.663466] orion_wdt: Initial timeout 171 sec
[    1.669110] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.676412] hidraw: raw HID events driver (C) Jiri Kosina
[    1.681992] usbcore: registered new interface driver usbhid
[    1.687590] usbhid: USB HID core driver
[    1.691626] drop_monitor: Initializing network drop monitor service
[    1.698138] NET: Registered protocol family 10
[    1.713100] Segment Routing with IPv6
[    1.716812] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.723326] NET: Registered protocol family 17
[    1.727814] 8021q: 802.1Q VLAN Support v1.8
[    1.732068] Key type dns_resolver registered
[    1.736436] ThumbEE CPU extension supported.
[    1.740726] Registering SWP/SWPB emulation handler
[    1.745852] registered taskstats version 1
[    1.749967] Loading compiled-in X.509 certificates
[    1.754835] zswap: loaded using pool lzo/zbud
[    1.765516] Key type big_key registered
[    1.772298] Key type encrypted registered
[    1.777779] usb_phy_generic usb3_0_phy: Linked as a consumer to regulator.3
[    1.784883] usb_phy_generic usb3_1_phy: Linked as a consumer to regulator.4
[    1.792053] v5.0-sata0: supplied by pwr_en_sata0
[    1.796736] platform f10a8000.sata:sata-port@0: Linked as a consumer to regulator.1
[    1.804479] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x1
[    1.810635] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x1 impl platform mode
[    1.819742] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.838990] scsi host4: ahci-mvebu
[    1.842586] ata1: SATA link down (SStatus 0 SControl 300)
[    1.848080] ata3: SATA link down (SStatus 0 SControl 300)
[    1.853552] ata4: SATA link down (SStatus 0 SControl 300)
[    1.858990] scsi host5: ahci-mvebu
[    1.862585] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.870538] ata6: DUMMY
[    1.873220] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.878583] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.886176] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    1.895469] xhci-hcd f10f0000.usb3: irq 42, io mem 0xf10f0000
[    1.901413] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.909717] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.916981] usb usb1: Product: xHCI Host Controller
[    1.921886] usb usb1: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    1.928355] usb usb1: SerialNumber: f10f0000.usb3
[    1.933327] hub 1-0:1.0: USB hub found
[    1.937108] hub 1-0:1.0: 1 port detected
[    1.941205] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.946548] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.954081] xhci-hcd f10f0000.usb3: Host supports USB 3.0  SuperSpeed
[    1.960581] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.968769] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    1.977078] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.984339] usb usb2: Product: xHCI Host Controller
[    1.989237] usb usb2: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    1.995711] usb usb2: SerialNumber: f10f0000.usb3
[    2.000635] hub 2-0:1.0: USB hub found
[    2.004426] hub 2-0:1.0: 1 port detected
[    2.008658] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.014012] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.021588] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.030868] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[    2.036669] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.043031] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    2.051342] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.058608] usb usb3: Product: xHCI Host Controller
[    2.058623] ata2.00: ATA-7: GB0250C8045, HPGA, max UDMA/133
[    2.063515] usb usb3: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    2.063518] usb usb3: SerialNumber: f10f8000.usb3
[    2.075748] hub 3-0:1.0: USB hub found
[    2.080369] ata2.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 32)
[    2.084145] hub 3-0:1.0: 1 port detected
[    2.094665] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.100025] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.100029] ata2.00: configured for UDMA/133
[    2.107571] xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
[    2.118597] scsi 1:0:0:0: Direct-Access     ATA      GB0250C8045      HPGA PQ: 0 ANSI: 5
[    2.126780] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.131603] sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[    2.135030] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    2.142642] sd 1:0:0:0: [sda] Write Protect is off
[    2.150790] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.162861] usb usb4: Product: xHCI Host Controller
[    2.162933] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    2.167761] usb usb4: Manufacturer: Linux 4.19.1-mvebu-tld-1 xhci-hcd
[    2.183441] usb usb4: SerialNumber: f10f8000.usb3
[    2.188383] hub 4-0:1.0: USB hub found
[    2.192173] hub 4-0:1.0: 1 port detected
[    2.196602] armada38x-rtc f10a3800.rtc: setting system clock to 2019-01-23 22:14:50 UTC (1548281690)
[    2.206041] v12.0-sata0: supplied by pwr_en_sata0
[    2.210807] v12.0-sata0: disabling
[    2.217513]  sda: sda1
[    2.220435] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    2.381171] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.388352] ata5.00: ATA-7: GB0250C8045, HPGA, max UDMA/133
[    2.393961] ata5.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 32)
[    2.401795] ata5.00: configured for UDMA/133
[    2.406313] scsi 4:0:0:0: Direct-Access     ATA      GB0250C8045      HPGA PQ: 0 ANSI: 5
[    2.414927] sd 4:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[    2.422478] sd 4:0:0:0: [sdb] Write Protect is off
[    2.427330] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    2.463838]  sdb: sdb1
[    2.466690] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[    2.472701] Freeing unused kernel memory: 1024K
[    2.477542] Checked W+X mappings: passed, no W+X pages found
[    2.483241] Run /init as init process
Loading, please wait...
starting version 232
[    2.523312] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.526379] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.531016] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
[    3.681169] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.861441] usb 1-1: New USB device found, idVendor=7614, idProduct=2419, bcdDevice= 1.00
[    3.869658] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.876835] usb 1-1: Product: JMicron JMF60X SSD
[    3.881480] usb 1-1: Manufacturer: JMicron
[    3.885593] usb 1-1: SerialNumber: 0000000000033
[    3.892093] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.898379] scsi host6: usb-storage 1-1:1.0
[    3.904670] usbcore: registered new interface driver uas
[    4.911603] scsi 6:0:0:0: Direct-Access                                Dev PQ: 0 ANSI: 0 CCS
[    4.921924] sd 6:0:0:0: [sdc] 63062016 512-byte logical blocks: (32.3 GB/30.1 GiB)
[    4.929710] sd 6:0:0:0: [sdc] Write Protect is off
[    4.936130] sd 6:0:0:0: [sdc] Asking for cache data failed
[    4.942016] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[    4.949335]  sdc: sdc1
[    4.952627] sd 6:0:0:0: [sdc] Attached SCSI disk
[    4.964016] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1 
rootfs: clean, 47541/1974272 files, 493555/7882496 blocks
done.
[   13.388993] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   13.402246] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   13.725078] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   13.743399] systemd[1]: Detected architecture arm.

Welcome to ?[1mDebian GNU/Linux 9 (stretch)?[0m!

[   13.781614] systemd[1]: Set hostname to <debian>.
[   14.210732] systemd[1]: quota.service: Cannot add dependency job, ignoring: Unit quota.service is masked.
[   14.220429] systemd[1]: lvm2-lvmetad.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmetad.socket is masked.
[   14.231246] systemd[1]: lvm2-lvmpolld.socket: Cannot add dependency job, ignoring: Unit lvm2-lvmpolld.socket is masked.
[   14.242171] systemd[1]: lvm2-monitor.service: Cannot add dependency job, ignoring: Unit lvm2-monitor.service is masked.
[   14.253127] systemd[1]: acpid.socket: Cannot add dependency job, ignoring: Unit acpid.socket is masked.
[   14.262606] systemd[1]: dm-event.socket: Cannot add dependency job, ignoring: Unit dm-event.socket is masked.
[   14.272590] systemd[1]: acpid.path: Cannot add dependency job, ignoring: Unit acpid.path is masked.
[?[0;32m  OK  ?[0m] Set up automount Arbitrary Executab…rmats File System Automount Point.
[?[0;32m  OK  ?[0m] Listening on RPCbind Server Activation Socket.
[?[0;32m  OK  ?[0m] Listening on Journal Socket (/dev/log).
[?[0;32m  OK  ?[0m] Listening on udev Kernel Socket.
[?[0;32m  OK  ?[0m] Listening on Journal Socket.
[?[0;32m  OK  ?[0m] Created slice User and Session Slice.
[?[0;32m  OK  ?[0m] Created slice System Slice.
         Mounting NFSD configuration filesystem...
         Starting Nameserver information manager...
         Starting Load Kernel Modules...
[?[0;32m  OK  ?[0m] Reached target Slices.
         Mounting Debug File System...
         Starting Create list of required st…ce nodes for the current kernel...
[?[0;32m  OK  ?[0m] Listening on Syslog Socket.
         Mounting POSIX Message Queue File System...
[?[0;32m  OK  ?[0m] Listening on /dev/initctl Compatibility Named Pipe.
[?[0;32m  OK  ?[0m] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[   14.824317] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[?[0;32m  OK  ?[0m] Started Forward Password Requests to Wall Directory Watch.
[?[0;32m  OK  ?[0m] Created slice system-serial\x2dgetty.slice.
[?[0;32m  OK  ?[0m] Created slice system-getty.slice.
[?[0;32m  OK  ?[0m] Listening on udev Control Socket.
[?[0;32m  OK  ?[0m] Listening on Journal Audit Socket.
         Starting Journal Service...
[?[0;32m  OK  ?[0m] Started Dispatch Password Requests to Console Directory Watch.
[?[0;32m  OK  ?[0m] Reached target Encrypted Volumes.
[?[0;32m  OK  ?[0m] Reached target Paths.
[?[0;32m  OK  ?[0m] Reached target Swap.
         Mounting RPC Pipe File System...
[?[0;32m  OK  ?[0m] Mounted NFSD configuration filesystem.
[?[0;32m  OK  ?[0m] Mounted RPC Pipe File System.
[?[0;32m  OK  ?[0m] Mounted Debug File System.
[?[0;32m  OK  ?[0m] Mounted POSIX Message Queue File System.
[?[0;32m  OK  ?[0m] Started Journal Service.
[?[0;32m  OK  ?[0m] Started Load Kernel Modules.
[?[0;32m  OK  ?[0m] Started Create list of required sta…vice nodes for the current kernel.
[?[0;32m  OK  ?[0m] Started Remount Root and Kernel File Systems.
[?[0;32m  OK  ?[0m] Started Nameserver information manager.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
         Starting pNFS block layout mapping daemon...
[?[0;32m  OK  ?[0m] Started Load/Save Random Seed.
[?[0;32m  OK  ?[0m] Started Create Static Device Nodes in /dev.
[?[0;32m  OK  ?[0m] Started Apply Kernel Variables.
[?[0;32m  OK  ?[0m] Started pNFS block layout mapping daemon.
[   15.754349] systemd-journald[1544]: Received request to flush runtime journal from PID 1
[?[0;32m  OK  ?[0m] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[?[0;32m  OK  ?[0m] Mounted /tmp.
[?[0;32m  OK  ?[0m] Started udev Kernel Device Manager.
[?[0;32m  OK  ?[0m] Started Flush Journal to Persistent Storage.
[?[0;32m  OK  ?[0m] Started udev Coldplug all Devices.
[?[0;32m  OK  ?[0m] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
[?[0;32m  OK  ?[0m] Started Preprocess NFS configuration.
[?[0;32m  OK  ?[0m] Found device /dev/ttyS0.
[   16.347191] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   16.355093] sd 4:0:0:0: Attached scsi generic sg1 type 0
[?[0;32m  OK  ?[0[   16.362894] sd 6:0:0:0: Attached scsi generic sg2 type 0
m] Started Create Volatile Files and Directories.
         Starting RPC bind portmap service...
[?[0;32m  OK  ?[0m] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
         Starting NFSv4 ID-name mapping service...
[   16.515566] random: crng init done
[   16.518989] random: 7 urandom warning(s) missed due to ratelimiting
[?[0;32m  OK  ?[0m] Reached target NFS client services.
[?[0;32m  OK  ?[0m] Started RPC bind portmap service.
[?[0;32m  OK  ?[0m] Started NFSv4 ID-name mapping service.
[?[0;32m  OK  ?[0m] Started Update UTMP about System Boot/Shutdown.
[?[0;32m  OK  ?[0m] Reached target System Initialization.
[?[0;32m  OK  ?[0m] Listening on D-Bus System Message Bus Socket.
[?[0;32m  OK  ?[0m] Started Daily Cleanup of Temporary Directories.
[?[0;32m  OK  ?[0m] Started Daily apt download activities.
[?[0;32m  OK  ?[0m] Started Daily apt upgrade and clean activities.
[?[0;32m  OK  ?[0m] Started Trigger anacron every hour.
[   17.141871] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   17.150740] mvneta f1070000.ethernet eth0: configuring for phy/sgmii link mode
[?[0;32m  OK  ?[0m] Reached target Timers.
[?[0;32m  OK  ?[0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[?[0;32m  OK  ?[0m] Reached target Sockets.
[?[0;32m  OK  ?[0m] Reached target Basic System.
         Starting System Logging Service...
[?[0;32m  OK  ?[0m] Started Regular background program processing daemon.
[?[0;32m  OK  ?[0m] Started D-Bus System Message Bus.
         Starting Login Service...
[?[0;32m  OK  ?[0m] Started Run anacron jobs.
         Starting Initialize hardware monitoring sensors...
         Starting LSB: MD monitoring daemon...
         Starting Avahi mDNS/DNS-SD Stack...
[?[0;32m  OK  ?[0m] Reached target RPC Port Mapper.
[?[0;32m  OK  ?[0m] Started System Logging Service.
[?[0;32m  OK  ?[0m] Started LSB: MD monitoring daemon.
[?[0;32m  OK  ?[0m] Started Initialize hardware monitoring sensors.
[?[0;32m  OK  ?[0m] Started Avahi mDNS/DNS-SD Stack.
[?[0;32m  OK  ?[0m] Started Login Service.
[?[0;32m  OK  ?[0m] Started Run anacron jobs.
[   22.431546] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[?[0m?[0;31m*     ?[0m] A start job is running for Raise network interfaces (8s / 5min 2s)
?[K[?[0;1;31m*?[0m?[0;31m*    ?[0m] A start job is running for Raise network interfaces (9s / 5min 2s)
?[K[?[0;31m*?[0;1;31m*?[0m?[0;31m*   ?[0m] A start job is running for Raise network interfaces (9s / 5min 2s)
?[K[ ?[0;31m*?[0;1;31m*?[0m?[0;31m*  ?[0m] A start job is running for Raise network interfaces (10s / 5min 2s)
?[K[?[0;32m  OK  ?[0m] Started Raise network interfaces.
[?[0;32m  OK  ?[0m] Reached target Network.
         Starting A high performance web server and a reverse proxy server...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
[?[0;32m  OK  ?[0m] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
[?[0;32m  OK  ?[0m] Started NFS Mount Daemon.
         Starting NFS server and services...
[?[0;32m  OK  ?[0m] Started /etc/rc.local Compatibility.
[   25.150984] NFSD: starting 45-second grace period (net f0000039)
[?[0;32m  OK  ?[0m] Started OpenBSD Secure Shell server.
[?[0;32m  OK  ?[0m] Started NFS server and services.
[?[0;32m  OK  ?[0m] Started A high performance web server and a reverse proxy server.
[?[0;32m  OK  ?[0m] Reached target Remote File Systems (Pre).
[?[0;32m  OK  ?[0m] Reached target Remote File Systems.
         Starting LSB: Starts ProFTPD daemon...
         Starting LSB: start or stop rrdcached...
         Starting LSB: SMART monitoring daemon...
         Starting LSB: Starts syslogd...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Permit User Sessions...
         Starting LSB: Start NTP daemon...
         Starting LSB: service and resource monitoring daemon...
[?[0;32m  OK  ?[0m] Started LSB: Starts ProFTPD daemon.
[?[0;32m  OK  ?[0m] Started LSB: SMART monitoring daemon.
[?[0;32m  OK  ?[0m] Started LSB: Starts syslogd.
[?[0;32m  OK  ?[0m] Started Permit User Sessions.
[?[0;32m  OK  ?[0m] Started Getty on tty1.
[?[0;32m  OK  ?[0m] Started Serial Getty on ttyS0.
[?[0;32m  OK  ?[0m] Reached target Login Prompts.
         Starting LSB: Starts klogd...
[?[0;1;31mFAILED?[0m] Failed to start LSB: start or stop rrdcached.
See 'systemctl status rrdcached.service' for details.
[?[0;32m  OK  ?[0m] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[?[0;32m  OK  ?[0m] Started LSB: service and resource monitoring daemon.
[?[0;32m  OK  ?[0m] Started LSB: Starts klogd.
         Starting LSB: set CPUFreq kernel parameters...
[?[0;32m  OK  ?[0m] Started LSB: set CPUFreq kernel parameters.
[   30.770284] fbcon: Taking over console


Debian GNU/Linux 9 debian ttyS0

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Quote

so this means one drive accessible through pcie and another accessible via soc sata I guess ?
look like it. That matches what I've seen before, the soc sata taking priority over the pcie when both are enabled (only the one drive since the device-tree only enables one sata via soc). You should be able to remove the soc sata entry from the dtb so that pcie takes over for that one too:




I'm guessing those two drives are enabled either because they both use the power regulator defined below, or more likely just one of them does and uboot happens to power up both SoC connected ports and leaves them that way as part of the boot process
reg_sata0: pwr-sata0 {
		compatible = "regulator-fixed";
		regulator-name = "pwr_en_sata0";
		regulator-min-microvolt = <12000000>;
		regulator-max-microvolt = <12000000>;
		enable-active-high;
		regulator-boot-on;
		gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>;
	};

I usually handle this by manually enabling gpio pins and watching for drives powering up until i can map out what gpio pins power which drives and then add corresponding dtb entries. It sounded like @bohdi might have had a better way.

Re: Troubleshooting Freeze Issue on Debian 9 - SSH, Ping, Logs

$
0
0
Thank you! We'll see if I capture anything in the log the next time I come across this issue. If not I'll likely set up a serial connection.

cat /var/log/messages 
Jan 23 19:28:34 Pogoplug syslog.info syslogd started: BusyBox v1.22.1

Re: Debian on Synology RS816 (Armada 385)

$
0
0
zifxify,

You ar still running systemd. To go back to sysvinit

apt-get install sysvinit-core sysvinit sysvinit-utils
and reboot.

Re: Debian on Synology RS816 (Armada 385)

$
0
0
Looking at the boot log, and what 10... said above. I think it is most likely that this box PCIe ports are configured as X1.

Of course, the GPL and the board schematic would be better source to determine how Synololy configured this board. But perhaps we don't need to dig in those yet.

So assuming the PICe ports are X1 for now. If it does not work, we'll modify the DTS to try X4.

@zifxify,

Please try this new DTB.
Viewing all 46985 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>