Fun with an MD1200/MD1220 & SC200/SC220

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

cam_e_ron

New Member
Aug 5, 2024
3
0
1
Just throwing out a guess as to why the EMMs may not booting:
To the left of drive slot 0 is a little IO card with LED's and on the MD1200 funcitons as the split mode card. If you remove the first two cards I think there is a little blue release pin to remove that card. Maybe power down the enclosure, remove that card and power it up without it (it will run without it) to see if it is causing some EMM confusion? I honestly don't think it would but its easy enough to check.
Not really sure what I did to get it working, but it eventually just connected up and now behaves without issue. Works great for SAS and SATA disks with only a single controller installed. Only downside is the drive LEDs do not light with a SATA drive connected. Good news for anyone who gets a PS6110 EQL shelf since I couldn't find anything online for any differences between the PS6100 other than the controller.
 

Zaide

New Member
Sep 3, 2024
1
0
1
Hi everyone
Thanks a lot for all of this
As many of us I’m very interested in fan issues but here with my md3000i
Unfortunately I do not have any response with the command _shutup or _setspeed
I was wondering if there is any ways to control fans on md3000i ??
I m using putty with an official serial cable
Thanks for your input on this
 

logixworx

New Member
Apr 15, 2024
13
0
1
Is a Dell SC4020 of any benefit in a business homelab with two or three loaded SC220s? Any reason why I should not concern myself with chaining my SC220s to a SC4020 ? Licensing issues? Redundancy?
 

MrCrisis

New Member
Sep 14, 2024
1
0
1
Hi, thanks for all the info. I recently bought an MD1200 and I plan to use it with SATA disks. This one seems to be in split mode (split mode led lit on front) and only half of the disks visible on one controller.

The only problem is that the switch on the front panel for changing modes seems to be broken, as I'm still in split mod regardless of its position.

Do you know if it's possible to force the unified mode in CLI?

Thanks in advance
 

wasn

New Member
Sep 19, 2024
1
1
3
Thank you, you made my day
i have now modified a PS6210X chassis to a MD1220.
Without the fru mod using your script my system only detected the chassis but no drives.
But with the modded fru files no i can see all discs.




Good news: on my PS6210, I extracted the FRU data and I was able to write a quick script that parses that output then modifies the magic values in a text file taken from fru_read. As a note, the PS6210 uses the magic "EQ-PIRATES" and 0x84 for the checksum. This worked perfectly.

Bad news: only 12 drives of the 24 show up - I think I'll end up needing the magic values from a PS6100 to make them all show up. Does anyone (@eski?) have one that they can run fru_read on and send me the data from?
 
  • Like
Reactions: fohdeesha

mentalinc

New Member
Jul 29, 2021
6
0
1
Does anyone else have issues with the fans ramping up then down again, or the shutup scripts just not working any more and fans to go 100% until physically powered off?
 

Mortorojo

New Member
May 9, 2023
2
1
3
Has anybody figured out how to write firmware to the other images after using _boot which erases Image1 and 2?

Figured out the answer to my own question. _runtime
Honestly people should be flashing with _runtime not _boot. If there is an issue with _boot, you brick the EMM
 
Last edited:
  • Like
Reactions: Daylight2751

buru12

New Member
Oct 9, 2024
2
0
1
has anyone figured out how to interpret the temp readings?

what are BP_1/2, SIM0/1, EXP0/1?
 

buru12

New Member
Oct 9, 2024
2
0
1
has anyone figured out how to interpret the temp readings?

what are BP_1/2, SIM0/1, EXP0/1?
nevermind, set_temp provides some insight:

Code:
BlueDress.106.000 >set_temp
 usage: set_temp <sensor 0-4><temp>( -55 to 125 degrees C)
                         0 - SIM0 max6544 internal sensor, top shelf
                         1 - SIM1 max6654 intenal sensot, bottom shelf
                         2 - BP_1 lm75 left most looking from front
                         3 - BP_2 lm75 right most looking from front
                         4 - EXP0 max6654 external sense diode hooked to lSI expander, top shelf
                         5 - EXP1 max6654 external sense diode hooked to lSI expander, bottom shelf
 

lucky644

New Member
Oct 10, 2024
2
0
1
Just wanted to say there's a lot of really good info in this thread.

I figured I'd toss my MD1200's info on here for reference.

Code:
BlueDress.105.001 >_ver
********************* Bench Build **********************
Build Owner   : douglas_yates
Build Number  : 001
Build Version : 105
Build Date    : Tue Oct 16 10:29:36 2012
FPGA Revision  : A9
Board Revision : 8
CPLD Revision  : 7
**************Firmware Image Information****************
          Image Region 0 (Always Boot)
             Revision         : 0.0.63.0
             Dell Version     : 1.01
             Total Image Size : 0003d89c [252060]
             Fast Boot        : Yes
             Image Address    : 0x14000000
             RegionOffset     : 0x00000000
             RegionSize       : 0x00080000
             RegionType       : 0x00000000
          Image Region 1
             Revision         : 0.0.63.0
             Dell Version     : 1.01
             Total Image Size : 0003d89c [252060]
             Fast Boot        : Yes
             Image Address    : 0x14080000
             RegionOffset     : 0x00080000
             RegionSize       : 0x00080000
             RegionType       : 0x00000001
Active--->Image Region 2
             Revision         : 0.0.63.0
             Dell Version     : 1.05
             Total Image Size : 00041584 [267652]
             Fast Boot        : Yes
             Image Address    : 0x14100000
             RegionOffset     : 0x00100000
             RegionSize       : 0x00080000
             RegionType       : 0x00000002
********************************************************
I was successful in using TrueNAS Scale's SSH to make the connection using:

Code:
cu -l /dev/ttyS1 -s 38400
And then using this to make them quiet, temporarily.

Code:
_shutup 20
It ramps back up usually within 2 minutes.

Has anyone been successful in getting a cron job to work on TrueNAS Scale? It seems like no matter what I've tried, the bash script fails, but manually it works.
 
Last edited:

Mortorojo

New Member
May 9, 2023
2
1
3
Here's what I use, this sets fan speed and all drive leds. Mine is fully populated so I set Leds to match R730xd. Run every minute, mine resets about every 5-6min.
Code:
#!/bin/bash

stty -F /dev/ttyS1 speed 38400 cs8 -ixon raw
echo -ne "_shutup 30\n\r" > /dev/ttyS1
echo -ne "_slotled 12 1\n\r" >/dev/ttyS1
 

bwnance

New Member
Oct 16, 2024
1
1
1
Good news: on my PS6210, I extracted the FRU data and I was able to write a quick script that parses that output then modifies the magic values in a text file taken from fru_read. As a note, the PS6210 uses the magic "EQ-PIRATES" and 0x84 for the checksum. This worked perfectly.

Bad news: only 12 drives of the 24 show up - I think I'll end up needing the magic values from a PS6100 to make them all show up. Does anyone (@eski?) have one that they can run fru_read on and send me the data from?
Thank you all for this gold mine! I successfully used fru_download and xmodem from miniterm on a mac to get my PS6210 working with MD1200 controllers! I used eksi's dump as input.txt with mustardtiger's script, selected MD1200 as the chassis type, and then it all worked perfectly!
 
  • Like
Reactions: eski

lucky644

New Member
Oct 10, 2024
2
0
1
Here's what I use, this sets fan speed and all drive leds. Mine is fully populated so I set Leds to match R730xd. Run every minute, mine resets about every 5-6min.
Code:
#!/bin/bash

stty -F /dev/ttyS1 speed 38400 cs8 -ixon raw
echo -ne "_shutup 30\n\r" > /dev/ttyS1
echo -ne "_slotled 12 1\n\r" >/dev/ttyS1
I tested it, worked for a bit then glitched out and stopped working. Rebooted the r730xd and power cycled the md1200, seems to be working again. Pretty finicky thing.
 

timbot

New Member
Dec 11, 2024
1
1
1
I had some more time to investigate further and I figured out more of the values in the FRU.

Enclosure FamilyMagic (ASCII) (offset: 0x133)Checksum (byte) (offset: 0x143)
MD12XXMD-DEVILS0xDA
MD32XXHOGS_SAS0xE8
SC2XXSC-SURLY0xFD
PS6210EQ-PIRATES0x84

Additionally, the int32 at offset 0x2FC is a counter of how many times the FRU has been written to.
i used this info to flash my 3200 to accept the 1200 emm. steps i took:

put the md1200 EMM in the 3200, using the serial cable connect with 38400 8N1
in a serial console, run "fru_read 2", copy the output to a file, remove the memory addresses and ascii text (leaving just the hex)
copy the hex to an editor; i used imhex from GitHub - WerWolv/ImHex: A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
change 0x133-13b to 4D 44 2D 44 45 56 49 4C 53 (changes HOGS_SAS to MD-DEVILS)
change the checksum at 0x143 to DA
i didnt remove the trailing zero's. i did at first, and it said the file was invalid.
save the file in imhex
use a terminal prog with xmodem transfer, i used tera term
enter "fru_download 2", then send the file (teraterm is File>Transfer>XMODEM>Send within 60 seconds
On my backplane, the fru in 2 and 5 were the same, so i uploaded it to both, but i think i saw somewhere in the thread that when you upload it to one it writes it to both. i just sent it to both anyway.
reboot the enclosure after complete, and the backplane is now a MD1200.

i tried changing the "MD3200" to "MD1200" in the hex file, but it would not update the FRU, so i left it as is. my final file i used looked like this:

1733974330063.png
 
  • Like
Reactions: fohdeesha

Daylight2751

New Member
Nov 17, 2022
3
5
3
i tried changing the "MD3200" to "MD1200" in the hex file, but it would not update the FRU, so i left it as is.
Its likely that string also has a checksum. If i recall correctly, you can use the `chassisname` command to rename "MD3200" to "MD1200". If I could read my own post, I'd know that command only exists in the SC2 firmware :rolleyes:. Well, since it has piqued my interest and I couldn't see an obvious checksum by diffing two FRUs, ill take a peek at the SC2 firmware in a dissassembler and see if its doing anything special.
 
Last edited:

MasterCATZ

Member
Jun 8, 2011
30
0
8
I normally use Dell Compellent / Xyratek 0952913-07 6G SAS Controller HB-SBB2-E601-COMP
with Linux PC with SnapRaid JOBD / ZFS
but local stock in AU ran dry I have been having to pay the excessive international shipping rates getting from USA

would these
DELL E01M Compellent SC2 EMM Controller 6Gb/s Dual Port SAS SC220
work the same or do you need something else to control them like the netapp controllers?
LSI / Avago SAS Raid 9302-16e 12Gb/s PCIe 3.0 HBA Controller

I have 6x E01M here and I can not get disks to show up inside NETAPP DS424
a international ebay vender sent wrong items not worth the return shipping ... so another $600 down the drain


not too sure why its not working assuming because its a netapp shelf

would I have to flash the backplane as well ?

I have attached a zip folder with both the MD3200 and MD1200 dumps, they don't open properly in notepad but they work in AsProgrammer.
I will give "lsscsi -g" another go tomorrow after a resilver completes


Code:
lsscsi -g

[1:0:2:0]    enclosu DELL     MD1200           1.06  -          /dev/sg0

[1:0:3:0]    disk    ATA      Samsung SSD 860  3B6Q  /dev/sda   /dev/sg1

[6:0:0:0]    disk    ATA      KINGSTON SV300S3 BBF0  /dev/sdb   /dev/sg2



##use that address

sg_write_buffer -b 4k -m dmc_offs_save -I MD12_106.bin /dev/sg0
 

Attachments

Last edited: