Welcome! Log In Create A New Profile

Advanced

Debian on Dell Kace M300

Posted by JDS420 
Re: Debian on Dell Kace M300
October 11, 2019 05:11PM
Neal,

When you list the GPIO in Linux, they are exactly what the DTS defines.

No, I did not find Poweroff. However, shutdown is working fine in Debian, so looks like there is no GPIO for Poweroff.

There are other GPIOs that this u-boot defines, but they don't seem to have any effect when I poke them.

Without GPL source code, it will take too much time to complete a new u-boot for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
October 11, 2019 09:05PM
bodhi Wrote:
-------------------------------------------------------

> Without GPL source code, it will take too much
> time to complete a new u-boot for this box.

That's a shame, but you've done quite a lot! Thanks for all the work you've put into making this into a quite capable little server!

Neal
Re: Debian on Dell Kace M300
October 12, 2019 04:28PM
The M300 went into production today with the 120GB SSD and the cover installed. It's had a week or two of burn-in and several successful boots. No haveged, I just wait. The SSD is secured with zip ties through a couple of fittings installed in the tapped holes in the enclosure on each side of the SSD. Working great. Thanks Bodhi!
Re: Debian on Dell Kace M300
October 12, 2019 05:56PM
mikeh49,

> The M300 went into production today with the 120GB
> SSD and the cover installed. It's had a week or
> two of burn-in and several successful boots. No
> haveged, I just wait.

FYI, there are mainline works going on for kernel 5.4.x which will solve the entropy delay issue.

> The SSD is secured with zip
> ties through a couple of fittings installed in the
> tapped holes in the enclosure on each side of the
> SSD.

Nice!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
October 17, 2019 03:04AM
Thanks everybody :) you guys were doing a lot of works and made this project successful too! I've really enjoyed the collaboration.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
January 06, 2020 07:28PM
Just wanted to let those interested know that the M300 does indeed support port multiplication as I had earlier hoped. I bought a 22 pin male to male adapter and a SATA to ESATA cable and hooked these up (via ESATA cable) to a Sans Digital 4 bay ESATA external disk enclosure.

The 22 pin male to male adapter is here: https://www.amazon.com/gp/product/B00S6HTVGI/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
The SATA to external ESATA port cable is here: https://www.amazon.com/gp/product/B000GX4C7I/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1


I have attached pics of the setup linked below.

dmesg shows the following
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.2-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Wed Oct 2 00:06:56 PDT 2019
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Dell KACE M300
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Ignoring RAM at 0x70000000-0x80000000
[    0.000000] Consider using a HIGHMEM enabled kernel.
[    0.000000] On node 0 totalpages: 458752
[    0.000000]   Normal zone: 3584 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 458752 pages, LIFO batch:63
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 1795396K/1835008K available (10240K kernel code, 892K rwdata, 3468K rodata, 1024K init, 294K bss, 39612K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from cache_alloc_refill+0x500/0x8fc with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008511] Switching to timer-based delay loop, resolution 5ns
[    0.015591] Console: colour dummy device 80x30
[    0.020766] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.031970] pid_max: default: 32768 minimum: 301
[    0.037505] LSM: Security Framework initializing
[    0.042957] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.051061] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.060261] *** VALIDATE proc ***
[    0.064438] *** VALIDATE cgroup1 ***
[    0.068735] *** VALIDATE cgroup2 ***
[    0.073062] CPU: Testing write buffer coherency: ok
[    0.080020] Setting up static identity map for 0x100000 - 0x100058
[    0.087041] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.093111] rcu: Hierarchical SRCU implementation.
[    0.100482] devtmpfs: initialized
[    0.108249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118794] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.126469] xor: measuring software checksum speed
[    0.228530]    arm4regs  :  1816.800 MB/sec
[    0.328531]    8regs     :  1090.400 MB/sec
[    0.428531]    32regs    :  1583.600 MB/sec
[    0.433390] xor: using function: arm4regs (1816.800 MB/sec)
[    0.439659] prandom: seed boundary self test passed
[    0.447707] prandom: 100 self tests passed
[    0.452504] pinctrl core: initialized pinctrl subsystem
[    0.459547] NET: Registered protocol family 16
[    0.465186] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.473402] audit: initializing netlink subsys (disabled)
[    0.480542] audit: type=2000 audit(0.460:1): state=initialized audit_enabled=0 res=1
[    0.489053] cpuidle: using governor ladder
[    0.493881] cpuidle: using governor menu
[    0.498872] Feroceon L2: Enabling L2
[    0.503151] Feroceon L2: Cache support initialised.
[    0.512457] No ATAGs?
[    2.578514] random: fast init done
[    3.426029] alg: No test for lzo-rle (lzo-rle-generic)
[    3.432198] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.618935] raid6: int32x8  gen()   208 MB/s
[    3.788738] raid6: int32x8  xor()   142 MB/s
[    3.958781] raid6: int32x4  gen()   215 MB/s
[    4.128612] raid6: int32x4  xor()   138 MB/s
[    4.298521] raid6: int32x2  gen()   208 MB/s
[    4.468522] raid6: int32x2  xor()   151 MB/s
[    4.638698] raid6: int32x1  gen()   157 MB/s
[    4.808522] raid6: int32x1  xor()   109 MB/s
[    4.813461] raid6: using algorithm int32x4 gen() 215 MB/s
[    4.819527] raid6: .... xor() 138 MB/s, rmw enabled
[    4.825064] raid6: using intx1 recovery algorithm
[    4.830634] vgaarb: loaded
[    4.834409] SCSI subsystem initialized
[    4.839028] libata version 3.00 loaded.
[    4.839214] usbcore: registered new interface driver usbfs
[    4.845395] usbcore: registered new interface driver hub
[    4.851449] usbcore: registered new device driver usb
[    4.857291] pps_core: LinuxPPS API ver. 1 registered
[    4.862933] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.872730] PTP clock support registered
[    4.878292] clocksource: Switched to clocksource orion_clocksource
[    5.570931] VFS: Disk quotas dquot_6.6.0
[    5.575590] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.590119] thermal_sys: Registered thermal governor 'step_wise'
[    5.590317] NET: Registered protocol family 2
[    5.602654] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    5.611859] TCP established hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    5.620602] TCP bind hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    5.628690] TCP: Hash tables configured (established 16384 bind 16384)
[    5.636019] UDP hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    5.643454] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    5.651445] NET: Registered protocol family 1
[    5.656960] RPC: Registered named UNIX socket transport module.
[    5.663601] RPC: Registered udp transport module.
[    5.668984] RPC: Registered tcp transport module.
[    5.674350] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.681461] PCI: CLS 0 bytes, default 32
[    5.686265] Trying to unpack rootfs image as initramfs...
[    6.122075] Freeing initrd memory: 7076K
[    6.126791] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.134887] Initialise system trusted keyrings
[    6.140073] Key type blacklist registered
[    6.144909] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.152141] zbud: loaded
[    6.156190] NFS: Registering the id_resolver key type
[    6.161980] Key type id_resolver registered
[    6.166830] Key type id_legacy registered
[    6.171550] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.178930] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.186272] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    6.194327] fuse: init (API version 7.31)
[    6.199287] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.206522] orangefs_init: module version upstream loaded
[    6.212603] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.247160] async_tx: api initialized (async)
[    6.252262] Key type asymmetric registered
[    6.257024] Asymmetric key parser 'x509' registered
[    6.262654] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.271770] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.281128] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.289419] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.295571] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.303123] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.310064] pci_bus 0000:00: scanning bus
[    6.310127] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.316815] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.324875] pci_bus 0000:00: fixups for bus
[    6.324884] PCI: bus0: Fast back to back transfers disabled
[    6.331148] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    6.331155] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.339825] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    6.339915] pci_bus 0000:01: scanning bus
[    6.340437] pci_bus 0000:01: fixups for bus
[    6.340441] PCI: bus1: Fast back to back transfers enabled
[    6.346588] pci_bus 0000:01: bus scan returning with max=01
[    6.346597] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.353895] pci_bus 0000:00: bus scan returning with max=01
[    6.354012] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.361911] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.367599] pcieport 0000:00:01.0: assign IRQ: got 0
[    6.367617] pcieport 0000:00:01.0: enabling bus mastering
[    6.367932] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.428874] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.438185] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.498845] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.508399] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.516306] printk: console [ttyS0] disabled
[    6.521352] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    6.531026] printk: console [ttyS0] enabled
[    6.540853] printk: bootconsole [earlycon0] disabled
[    6.557733] loop: module loaded
[    6.561859] sata_mv f1080000.sata: version 1.28
[    6.562080] sata_mv f1080000.sata: slots 32 ports 2
[    6.570384] scsi host0: sata_mv
[    6.574635] scsi host1: sata_mv
[    6.578702] ata1: SATA max UDMA/133 irq 33
[    6.583512] ata2: SATA max UDMA/133 irq 33
[    6.589612] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.595129] 2 cmdlinepart partitions found on MTD device spi0.0
[    6.601814] Creating 2 MTD partitions on "spi0.0":
[    6.607329] 0x000000000000-0x00000007f000 : "uboot"
[    6.613897] 0x00000007f000-0x000000080000 : "u-boot-env"
[    6.621633] libphy: Fixed MDIO Bus: probed
[    6.626989] libphy: orion_mdio_bus: probed
[    6.635372] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.643285] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.651232] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:ba
[    6.660849] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.668122] ehci-pci: EHCI PCI platform driver
[    6.673367] ehci-orion: EHCI orion driver
[    6.678219] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.684495] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.693067] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    6.728314] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.735222] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    6.744246] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.752206] usb usb1: Product: EHCI Host Controller
[    6.757799] usb usb1: Manufacturer: Linux 5.3.2-kirkwood-tld-1 ehci_hcd
[    6.765155] usb usb1: SerialNumber: f1050000.ehci
[    6.771026] hub 1-0:1.0: USB hub found
[    6.775528] hub 1-0:1.0: 1 port detected
[    6.780682] usbcore: registered new interface driver usb-storage
[    6.787678] mousedev: PS/2 mouse device common for all mice
[    6.794416] rtc-mv f1010300.rtc: registered as rtc0
[    6.800150] i2c /dev entries driver
[    6.804793] device-mapper: uevent: version 1.0.3
[    6.810391] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    6.819900] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.827188] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.834569] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.842001] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.848876] device-mapper: raid: Loading target version 1.14.0
[    6.856377] hidraw: raw HID events driver (C) Jiri Kosina
[    6.862815] drop_monitor: Initializing network drop monitor service
[    6.870034] NET: Registered protocol family 17
[    6.875396] Key type dns_resolver registered
[    6.881023] registered taskstats version 1
[    6.885859] Loading compiled-in X.509 certificates
[    6.891564] zswap: loaded using pool lzo/zbud
[    6.923756] Key type big_key registered
[    6.938486] Key type encrypted registered
[    6.944697] rtc-mv f1010300.rtc: setting system clock to 2020-01-07T01:05:13 UTC (1578359113)
[    7.148386] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.158343] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.166194] ata1.15: Port Multiplier 1.1, 0x1095:0x3726 r23, 6 ports, feat 0x1/0x9
[    7.177801] ata1.00: hard resetting link
[    7.348832] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.357760] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.366182] hub 1-1:1.0: USB hub found
[    7.370823] hub 1-1:1.0: 4 ports detected
[    7.618402] ata1.00: link resume succeeded after 1 retries
[    7.688312] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    7.732692] ata1.01: hard resetting link
[    7.839572] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[    7.848675] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.856727] usb 1-1.3: Product: Ultra Fit
[    7.861460] usb 1-1.3: Manufacturer: SanDisk
[    7.866442] usb 1-1.3: SerialNumber: XXXXXXXXXXXXXXXXXXX
[    7.873201] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    7.880558] scsi host2: usb-storage 1-1.3:1.0
[    8.072558] ata1.02: hard resetting link
[    8.412142] ata1.03: hard resetting link
[    8.752137] ata1.04: hard resetting link
[    8.909524] scsi 2:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[    8.919854] sd 2:0:0:0: [sda] 30031250 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.929720] sd 2:0:0:0: [sda] Write Protect is off
[    8.935239] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[    8.935843] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.952927]  sda: sda1
[    8.958722] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    9.092389] ata1.05: hard resetting link
[   12.488357] ata1.02: ATA-7: ST380815AS, 3.ADA, max UDMA/133
[   12.494654] ata1.02: 156250000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   12.588351] ata1.02: configured for UDMA/133
[   12.618381] ata1.03: ATA-7: ST3808110AS, 3.AHL, max UDMA/100
[   12.624763] ata1.03: 156301488 sectors, multi 0: LBA48
[   12.635184] ata1.03: configured for UDMA/100
[   12.640364] ata1: EH complete
[   12.654391] scsi 0:2:0:0: Direct-Access     ATA      ST380815AS       A    PQ: 0 ANSI: 5
[   12.663951] sd 0:2:0:0: [sdb] 156250000 512-byte logical blocks: (80.0 GB/74.5 GiB)
[   12.672799] scsi 0:3:0:0: Direct-Access     ATA      ST3808110AS      L    PQ: 0 ANSI: 5
[   12.681711] sd 0:2:0:0: [sdb] Write Protect is off
[   12.687227] sd 0:2:0:0: [sdb] Mode Sense: 00 3a 00 00
[   12.687950] sd 0:3:0:0: [sdc] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[   12.696706] sd 0:2:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.706578] sd 0:3:0:0: [sdc] Write Protect is off
[   12.712106] sd 0:3:0:0: [sdc] Mode Sense: 00 3a 00 00
[   12.712194] sd 0:3:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   13.029666] ata2: SATA link down (SStatus 0 SControl F300)
[   16.009982]  sdc: sdc1
[   16.014729] sd 0:3:0:0: [sdc] Attached SCSI disk
[   16.041370]  sdb: sdb1
[   16.045537] sd 0:2:0:0: [sdb] Attached SCSI disk
[   16.054051] Freeing unused kernel memory: 1024K
[   16.068826] Checked W+X mappings: passed, no W+X pages found
[   16.075214] Run /init as init process
[   16.151424] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   16.166730] random: udevadm: uninitialized urandom read (16 bytes read)
[   16.174777] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   28.230367] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   28.293956] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   28.912593] random: crng init done
[   28.916714] random: 7 urandom warning(s) missed due to ratelimiting
[   30.562066] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   30.658926] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.718778] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   30.770888] orion_wdt: Initial timeout 21 sec
[   30.787407] sd 0:2:0:0: Attached scsi generic sg1 type 0
[   30.810574] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.832922] usbcore: registered new interface driver uas
[   30.847530] sd 0:3:0:0: Attached scsi generic sg2 type 0
[   33.261928] EXT4-fs (sda1): re-mounted. Opts: (null)
[   33.466620] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   34.268325] Adding 262140k swap on /swapfile.  Priority:-2 extents:10 across:5786024k FS
[   38.458936] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   48.673772] NET: Registered protocol family 10
[   48.680264] Segment Routing with IPv6

One of the external bay disk mounted to media shows a speed test as follows:
root@debian:~# dd if=/dev/zero of=/media/output bs=8k count=100k; rm -f /media/output
102400+0 records in
102400+0 records out
838860800 bytes (839 MB, 800 MiB) copied, 16.4479 s, 51.0 MB/s

Hdparm test for both drives:
 
root@debian:~# hdparm -Tt /dev/sdb

/dev/sdb:
 Timing cached reads:   818 MB in  2.00 seconds = 408.26 MB/sec
 Timing buffered disk reads: 218 MB in  3.02 seconds =  72.24 MB/sec
root@debian:~# hdparm -Tt /dev/sdc

/dev/sdc:
 Timing cached reads:   816 MB in  2.00 seconds = 407.27 MB/sec
 Timing buffered disk reads: 194 MB in  3.01 seconds =  64.38 MB/sec

Have to admit not the performance I was hoping for therefor I am debating whether it's worth it to go through the hassle of putting a hole in the beautiful enclosure for the ESATA port.

Your thoughts / impressions bodhi?



Edited 4 time(s). Last edit at 01/06/2020 09:47PM by LeggoMyEggo.
Attachments:
open | download - M300_Pic1.jpg (479.1 KB)
open | download - M300_Pic2.jpg (514.7 KB)
Re: Debian on Dell Kace M300
January 06, 2020 11:35PM
LeggoMyEggo,

Cool! Port multiplier works so that would make this box substantially more powerful than the NSA325 :)

This might need adjustment

root@debian:~# dd if=/dev/zero of=/media/output bs=8k count=100k; rm -f /media/output

I hope it was the case that you've overlooked this: If your rootfs is USB then /media/output is on /dev/sda1. So the dd test should be tried on sdb1 or sdc1, after you've mounted them.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
January 07, 2020 11:12PM
bodhi Wrote:
-------------------------------------------------------
> LeggoMyEggo,
> I hope it was the case that you've overlooked
> this: If your rootfs is USB then /media/output is
> on /dev/sda1. So the dd test should be tried on
> sdb1 or sdc1, after you've mounted them.

I had mounted /dev/sdb1 to /media before performing the test.
Re: Debian on Dell Kace M300
January 07, 2020 11:55PM
LeggoMyEggo Wrote:
-------------------------------------------------------
> bodhi Wrote:
> -------------------------------------------------------
> > LeggoMyEggo,
> > I hope it was the case that you've overlooked
> > this: If your rootfs is USB then /media/output
> is
> > on /dev/sda1. So the dd test should be tried on
> > sdb1 or sdc1, after you've mounted them.
>
> I had mounted /dev/sdb1 to /media before
> performing the test.

Then I would suggest plugging in a SATA cable directly for the single HHD test (to remove the possible slow down impact by external HDD enclosure controller).

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/08/2020 01:44AM by bodhi.
Re: Debian on Dell Kace M300
January 08, 2020 04:33PM
For comparisons sake, I mounted the stock SSD module to media and tested.

root@debian:~# mount /dev/sda2 /media
root@debian:~# cd /media
root@debian:/media# dd if=/dev/zero of=/media/output bs=8k count=100k; rm -f /media/output
102400+0 records in
102400+0 records out
838860800 bytes (839 MB, 800 MiB) copied, 31.1632 s, 26.9 MB/s 

root@debian:/media# hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   766 MB in  2.00 seconds = 383.06 MB/sec
 Timing buffered disk reads: 210 MB in  3.00 seconds =  69.99 MB/sec

Have to dig out a single external ESATA enclosure I have somewhere to test your hypothesis about the controller of the Sans Digital ESATA unit. It is an older model I picked up used and it is SATA II but that should not mean much as the controller in the M300 is SATA 2 as well.
Re: Debian on Dell Kace M300
January 08, 2020 11:33PM
Leggo,

> Have to dig out a single external ESATA enclosure

I think the enclosure of any type would effect the speed. I don't recall right now if this M300 SATA is a 22 pin connector type, I'm thinking about a direct cable connection.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
January 09, 2020 12:17AM
bodhi Wrote:
-------------------------------------------------------
> Leggo,
I don't recall right now if this M300 SATA
> is a 22 pin connector type,

It is. See first picture in my upper post for the way I adapted 22 pin to 7 pin SATA.

Just curious, what performance read / write would you have expected given the M300's specs?



Edited 1 time(s). Last edit at 01/09/2020 12:18AM by LeggoMyEggo.
Re: Debian on Dell Kace M300
January 09, 2020 03:34AM
The NSA325 (1.6 GHz CPU) benchmarks tested with older kernel.

dmesg

[Thu Dec  3 22:50:50 2015] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[Thu Dec  3 22:50:51 2015] ata1.00: ATA-8: ST9750420AS, 0002DEM1, max UDMA/133
[Thu Dec  3 22:50:51 2015] ata1.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[Thu Dec  3 22:50:51 2015] ata1.00: configured for UDMA/133
[Thu Dec  3 22:50:51 2015] scsi 0:0:0:0: Direct-Access     ATA      ST9750420AS      DEM1 PQ: 0 ANSI: 5

root@tldDebian:/localdisk# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   626 MB in  2.00 seconds = 312.28 MB/sec
 Timing buffered disk reads: 316 MB in  3.00 seconds = 105.32 MB/sec

I did not save dd test. But usually it is about 70MB/s write speed cp a large file (> 1GB) on NSA325.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/09/2020 03:40AM by bodhi.
Author:

Your Email:


Subject:


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