Cleaned the USB bridge and hat with cotton swabs and alcohol. Did not resolve the problem.
Raid creation failure - hardware issues
Do you have USB Male A to Male A cable?
I would have to dig through my pile of cables, but maybe. What are you wanting me to try with it?
Connect raspi and hat, then test.
I do not, but i have tried other raspberry pis. Is there any compatibility issues with particular models of hard drives and the HAT?
I think it’s the connection problem. We need to find out whether there is a problem with the connector or with hat itself.
I am 100% sure it is the hard drives i was using and a it’s a specific model.
I had 4 Seagate BarraCuda ST2000LM015. They will not work no matter what, but that is what i typically used.
I friend of mine had 4 matching hard drives of a different model. The raid worked perfectly.
As to why the Seagate BarraCuda ST2000LM015 are not supported i have no idea.
Maybe try to disable the uas module and test? If you have USB A to A cable, you can try to connects the Two USB ports to PC which powering it with the Raspberry Pi. It helps troubleshooting the issue.
Or we could buy a ST2000LM015 for testing.
I can confirm having the same issues. I have tried now with two different Quad SATA Hats and two different USB bridges. Any update on how to solve this issue? I have 4 1TB WD Red all are the same model.
I have pretty much this same issues with mine. Pretty useless big paper holder until I can solve this issue, I’m trying with four new hard drives, all the same, sata 3-4 no matter what drive I put in gets a lot of errors and disconnect. Even tried using 2 USB 3.0 male to make cables and the harddrives didn’t even was recognized.
I had issues with the occasional USB disconnect. I added quirks mode setting to /boot/cmdline.txt by following this guide: https://www.raspberrypi.org/forums/viewtopic.php?t=245931
So far - so good.
Do t know OP but I’ve already tried every fix was mentioned in all forum posts (yes I’ve read eachone word by word) and still no luck, even I tried using 2 3.0 USB A-usb A cables and that didn’t work either
CC @setq
I am sorry for the issue you have. Can you also post the dmesg output? Is it the same as the first post in this topic? Did you try upgrade the JMS561 firmware?
i did, it worked ( the update) i made a new post for this, @setq asked for the dmesg and photos of the tophat, i send the photos, the dmesg will post it later, i have the hard drive testing ( by now there are 3 of 4 OK and passing the the extended tests…) also tested using usb 3.0 cables but i dont trust quality of those. I bought usb connectors, and will be making my own, so i ask: the usb bridge have something beside the traces connecting all 9 pins between each other?
@Alx1690
I’m sorry for the problem. Will disabling UAS help?
Refer to: https://www.raspberrypi.org/forums/viewtopic.php?t=245931
Hi, I’m having the same problem. The raid works for about an hour and then all disks fail with error:
device descriptor read/8, error -110
Disabling UAS did not help. Already installed newest firmware. Any tips?
Edit: The problem comes from random disconnects of the drives. However, I don’t know what causes it. Here is the dmesg output:
[ 59.476106] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 59.476448] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 59.659700] sda: sda1 sda9
[ 59.660317] sdb: sdb1 sdb9
[ 59.663441] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 59.664179] sd 0:0:0:0: [sda] Attached SCSI disk
[ 59.774329] scsi 1:0:0:0: Direct-Access HITACHI HTS725050A7E630 8136 PQ: 0 ANSI: 6
[ 59.774805] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 59.775833] scsi 1:0:0:1: Direct-Access Hitachi HTS547550A9E384 8136 PQ: 0 ANSI: 6
[ 59.776299] sd 1:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 59.777069] sd 1:0:0:1: Attached scsi generic sg3 type 0
[ 59.777551] sd 1:0:0:0: [sdc] Write Protect is off
[ 59.777566] sd 1:0:0:0: [sdc] Mode Sense: 47 00 10 08
[ 59.784326] sd 1:0:0:0: [sdc] No Caching mode page found
[ 59.784348] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 59.784769] sd 1:0:0:1: [sdd] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 59.785531] sd 1:0:0:1: [sdd] Write Protect is off
[ 59.785554] sd 1:0:0:1: [sdd] Mode Sense: 47 00 10 08
[ 59.786310] sd 1:0:0:1: [sdd] No Caching mode page found
[ 59.786331] sd 1:0:0:1: [sdd] Assuming drive cache: write through
[ 59.938655] sdc: sdc1 sdc9
[ 59.939958] sdd: sdd1 sdd9
[ 59.941565] sd 1:0:0:0: [sdc] Attached SCSI disk
[ 59.949090] sd 1:0:0:1: [sdd] Attached SCSI disk
[ 986.090202] usb 2-2: USB disconnect, device number 2
[ 986.354111] usb 2-1: USB disconnect, device number 3
[ 992.302370] usb 2-2: new SuperSpeed USB device number 4 using xhci_hcd
[ 992.323558] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 992.323583] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 992.323597] usb 2-2: Product: JMS56x Series
[ 992.323609] usb 2-2: Manufacturer: JMicron
[ 992.323620] usb 2-2: SerialNumber: 1234567890123
[ 992.328904] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 992.329031] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 992.329046] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 992.339486] usb-storage 2-2:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 992.339800] scsi host0: usb-storage 2-2:1.0
[ 992.770285] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
[ 992.791539] usb 2-1: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 992.791560] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 992.791567] usb 2-1: Product: JMS56x Series
[ 992.791572] usb 2-1: Manufacturer: JMicron
[ 992.791578] usb 2-1: SerialNumber: 1234567890123
[ 992.794339] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 992.794400] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 992.794407] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 992.794755] usb-storage 2-1:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 992.794879] scsi host1: usb-storage 2-1:1.0
[ 993.366569] scsi 0:0:0:0: Direct-Access WDC WD50 00BPKT-75PK4T0 8136 PQ: 0 ANSI: 6
[ 993.366897] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 993.367183] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 993.367783] sd 0:0:0:0: [sda] Write Protect is off
[ 993.367797] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 993.368397] sd 0:0:0:0: [sda] No Caching mode page found
[ 993.368405] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 993.372145] scsi 0:0:0:1: Direct-Access WDC WD50 00LPVT-22G33T0 8136 PQ: 0 ANSI: 6
[ 993.377201] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 993.379762] sd 0:0:0:1: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 993.380491] sd 0:0:0:1: [sdb] Write Protect is off
[ 993.380514] sd 0:0:0:1: [sdb] Mode Sense: 47 00 10 08
[ 993.381196] sd 0:0:0:1: [sdb] No Caching mode page found
[ 993.381208] sd 0:0:0:1: [sdb] Assuming drive cache: write through
[ 993.519718] sda: sda1 sda9
[ 993.520348] sdb: sdb1 sdb9
[ 993.523950] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 993.524625] sd 0:0:0:0: [sda] Attached SCSI disk
[ 993.810595] scsi 1:0:0:0: Direct-Access HITACHI HTS725050A7E630 8136 PQ: 0 ANSI: 6
[ 993.810984] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 993.811430] sd 1:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 993.811667] scsi 1:0:0:1: Direct-Access Hitachi HTS547550A9E384 8136 PQ: 0 ANSI: 6
[ 993.812101] sd 1:0:0:1: Attached scsi generic sg3 type 0
[ 993.812348] sd 1:0:0:0: [sdc] Write Protect is off
[ 993.812359] sd 1:0:0:0: [sdc] Mode Sense: 47 00 10 08
[ 993.812729] sd 1:0:0:1: [sdd] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 993.813528] sd 1:0:0:0: [sdc] No Caching mode page found
[ 993.813548] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 993.818080] sd 1:0:0:1: [sdd] Write Protect is off
[ 993.818100] sd 1:0:0:1: [sdd] Mode Sense: 47 00 10 08
[ 993.818875] sd 1:0:0:1: [sdd] No Caching mode page found
[ 993.818888] sd 1:0:0:1: [sdd] Assuming drive cache: write through
[ 993.937476] sdc: sdc1 sdc9
[ 993.938073] sdd: sdd1 sdd9
[ 993.940424] sd 1:0:0:0: [sdc] Attached SCSI disk
[ 993.941787] sd 1:0:0:1: [sdd] Attached SCSI disk
[ 1133.385279] usb 2-2: USB disconnect, device number 4
[ 1133.649165] usb 2-1: USB disconnect, device number 5
[ 1139.501347] usb 2-2: new SuperSpeed USB device number 6 using xhci_hcd
[ 1139.522555] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 1139.522567] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1139.522574] usb 2-2: Product: JMS56x Series
[ 1139.522579] usb 2-2: Manufacturer: JMicron
[ 1139.522584] usb 2-2: SerialNumber: 1234567890123
[ 1139.531154] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 1139.531215] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 1139.531224] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 1139.531501] usb-storage 2-2:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 1139.531607] scsi host0: usb-storage 2-2:1.0
[ 1139.981408] usb 2-1: new SuperSpeed USB device number 7 using xhci_hcd
[ 1140.002723] usb 2-1: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 1140.002750] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1140.002761] usb 2-1: Product: JMS56x Series
[ 1140.002770] usb 2-1: Manufacturer: JMicron
[ 1140.002778] usb 2-1: SerialNumber: 1234567890123
[ 1140.010567] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 1140.010659] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 1140.010671] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 1140.011103] usb-storage 2-1:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 1140.011411] scsi host1: usb-storage 2-1:1.0
[ 1140.533669] scsi 0:0:0:0: Direct-Access WDC WD50 00BPKT-75PK4T0 8136 PQ: 0 ANSI: 6
[ 1140.534043] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[ 1140.534525] scsi 0:0:0:1: Direct-Access WDC WD50 00LPVT-22G33T0 8136 PQ: 0 ANSI: 6
[ 1140.534804] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 1140.536031] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1140.536373] sd 0:0:0:1: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1140.537016] sd 0:0:0:0: [sda] Write Protect is off
[ 1140.537032] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 1140.537693] sd 0:0:0:1: [sdb] Write Protect is off
[ 1140.537708] sd 0:0:0:1: [sdb] Mode Sense: 47 00 10 08
[ 1140.538375] sd 0:0:0:1: [sdb] No Caching mode page found
[ 1140.538388] sd 0:0:0:1: [sdb] Assuming drive cache: write through
[ 1140.541291] sd 0:0:0:0: [sda] No Caching mode page found
[ 1140.541311] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1140.682081] sdb: sdb1 sdb9
[ 1140.682424] sda: sda1 sda9
[ 1140.684933] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 1140.686479] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1141.013629] scsi 1:0:0:0: Direct-Access HITACHI HTS725050A7E630 8136 PQ: 0 ANSI: 6
[ 1141.013985] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 1141.018977] scsi 1:0:0:1: Direct-Access Hitachi HTS547550A9E384 8136 PQ: 0 ANSI: 6
[ 1141.019152] sd 1:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1141.019332] sd 1:0:0:1: Attached scsi generic sg3 type 0
[ 1141.021758] sd 1:0:0:0: [sdc] Write Protect is off
[ 1141.021777] sd 1:0:0:0: [sdc] Mode Sense: 47 00 10 08
[ 1141.025846] sd 1:0:0:0: [sdc] No Caching mode page found
[ 1141.025865] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 1141.026206] sd 1:0:0:1: [sdd] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1141.026918] sd 1:0:0:1: [sdd] Write Protect is off
[ 1141.026932] sd 1:0:0:1: [sdd] Mode Sense: 47 00 10 08
[ 1141.027618] sd 1:0:0:1: [sdd] No Caching mode page found
[ 1141.027631] sd 1:0:0:1: [sdd] Assuming drive cache: write through
[ 1141.158898] sdd: sdd1 sdd9
[ 1141.159051] sdc: sdc1 sdc9
[ 1141.162165] sd 1:0:0:1: [sdd] Attached SCSI disk
[ 1141.162789] sd 1:0:0:0: [sdc] Attached SCSI disk
[ 1236.176223] perf: interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
[ 1431.791474] usb 2-2: USB disconnect, device number 6
[ 1432.059252] usb 2-1: USB disconnect, device number 7
[ 1437.627472] usb 2-2: new SuperSpeed USB device number 8 using xhci_hcd
[ 1437.648667] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 1437.648685] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1437.648691] usb 2-2: Product: JMS56x Series
[ 1437.648697] usb 2-2: Manufacturer: JMicron
[ 1437.648702] usb 2-2: SerialNumber: 1234567890123
[ 1437.652939] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 1437.653041] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 1437.653051] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 1437.657350] usb-storage 2-2:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 1437.657465] scsi host0: usb-storage 2-2:1.0
[ 1438.391526] usb 2-1: new SuperSpeed USB device number 9 using xhci_hcd
[ 1438.412869] usb 2-1: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
[ 1438.412904] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1438.412917] usb 2-1: Product: JMS56x Series
[ 1438.412929] usb 2-1: Manufacturer: JMicron
[ 1438.412940] usb 2-1: SerialNumber: 1234567890123
[ 1438.418416] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 1438.418536] usb 2-1: UAS is ignored for this device, using usb-storage instead
[ 1438.418551] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 1438.419086] usb-storage 2-1:1.0: Quirks match for vid 1058 pid 0a10: 800000
[ 1438.419743] scsi host1: usb-storage 2-1:1.0
[ 1438.687945] scsi 0:0:0:0: Direct-Access WDC WD50 00BPKT-75PK4T0 8136 PQ: 0 ANSI: 6
[ 1438.688548] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1438.689147] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1438.692512] sd 0:0:0:0: [sda] Write Protect is off
[ 1438.692544] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 1438.692842] scsi 0:0:0:1: Direct-Access WDC WD50 00LPVT-22G33T0 8136 PQ: 0 ANSI: 6
[ 1438.693532] scsi 0:0:0:1: Attached scsi generic sg1 type 0
[ 1438.693837] sd 0:0:0:0: [sda] No Caching mode page found
[ 1438.693854] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1438.695866] sd 0:0:0:1: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1438.696897] sd 0:0:0:1: [sdb] Write Protect is off
[ 1438.696925] sd 0:0:0:1: [sdb] Mode Sense: 47 00 10 08
[ 1438.698005] sd 0:0:0:1: [sdb] No Caching mode page found
[ 1438.698029] sd 0:0:0:1: [sdb] Assuming drive cache: write through
[ 1438.835899] sda: sda1 sda9
[ 1438.836410] sdb: sdb1 sdb9
[ 1438.840573] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 1438.842077] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1439.451621] scsi 1:0:0:0: Direct-Access HITACHI HTS725050A7E630 8136 PQ: 0 ANSI: 6
[ 1439.451971] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 1439.452277] sd 1:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1439.452921] sd 1:0:0:0: [sdc] Write Protect is off
[ 1439.452932] sd 1:0:0:0: [sdc] Mode Sense: 47 00 10 08
[ 1439.453156] scsi 1:0:0:1: Direct-Access Hitachi HTS547550A9E384 8136 PQ: 0 ANSI: 6
[ 1439.453503] sd 1:0:0:1: Attached scsi generic sg3 type 0
[ 1439.453788] sd 1:0:0:0: [sdc] No Caching mode page found
[ 1439.453797] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 1439.454738] sd 1:0:0:1: [sdd] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 1439.462422] sd 1:0:0:1: [sdd] Write Protect is off
[ 1439.462441] sd 1:0:0:1: [sdd] Mode Sense: 47 00 10 08
[ 1439.463453] sd 1:0:0:1: [sdd] No Caching mode page found
[ 1439.463468] sd 1:0:0:1: [sdd] Assuming drive cache: write through
[ 1439.578978] sdc: sdc1 sdc9
[ 1439.579770] sdd: sdd1 sdd9
[ 1439.581356] sd 1:0:0:0: [sdc] Attached SCSI disk
[ 1439.584930] sd 1:0:0:1: [sdd] Attached SCSI disk
If anyone else is having the same problem:
I replaced the power supply. Now the problems are gone. I was using the original power supply bought from radxa. Apparently the power supply does not cope well with sudden power spikes. I even re-enabled UAS without any problems.
I was using the 12v power supply from ALLNET.
Model: YHY-1200500
P/N: WL120060CB-R