LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2024, 10:43 AM   #1
knsxdrkcas7
LQ Newbie
 
Registered: May 2024
Posts: 2

Rep: Reputation: 0
Sata SSDs crash Linux Mint(and others distros) in any MW-DMA modes.


Hi,

I have to use a proprietary tape backup software from 1997 to copy a couple 100GBs that will only work with a storage device in Multi-Word-DMA mode - MDMA mode (0-2). I have to use SATA SSDs to copy the backup tapes to.

After connecting drives I change the mode of the SSD (2nd physical drive in computer) with the the following command in terminal:

hdparm -d1 -X mdma2 /dev/sdb

That works and puts my backup SSD drive in MW-DMA2 mode (max 16MB/S transfer rate). Then attempting to read/write to the drive freezes the machine, just copying a 50MB file to the drive in the terminal as a test, the tapes are not even connected at this point.
All PIO and UDMA modes work, but any MDMA mode will cause a hard lock and crash the SSD when read/written to, I have to turn off power.

Is this a bug in Linux Kernal (same happens in Ubuntu,Debian,Zorin and Suse). I find it hard to believe SATA SSDs no longer work in any MDMA mode (they advertise this as a supported mode - but they have dropped SWDMA modes).

I have tried different motherboards and different brands of SATA SSDs to rule out hardware differences.
 
Old 05-07-2024, 01:16 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
No experience, but a quick search found this - looks very relevant.
 
Old 05-08-2024, 07:41 AM   #3
knsxdrkcas7
LQ Newbie
 
Registered: May 2024
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
No experience, but a quick search found this - looks very relevant.
After reading the link you posted I connected an SATA SSD to a Windows 11 computer. After changing some settings in the registry I forced the SSD to MW-DMA2 mode. Then i coped around 1GB of files, read them back and hash checked the files, it worked.
So this is a bug in Linux, simply an SATA SSD will not work in any MW-DMA mode and crash the OS when read/written to (all PIO and UDMA modes work).

Any Linux Guru's out there who can help with this.

Last edited by knsxdrkcas7; 05-08-2024 at 09:45 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Do M.2 SSDs have have the writes issues like older sata SSDs? linux2021 Linux - Newbie 5 08-19-2020 03:35 PM
RAID 0 with four SATA 2 or two SATA 3 SSDs? Ulysses_ Linux - Hardware 32 02-09-2014 01:11 PM
crash () { crash|crash& }; crash grob115 Linux - Security 6 05-07-2011 03:06 AM
Checking the DMA/UDMA modes for SATA drive kushalkoolwal Debian 2 10-05-2007 03:54 PM
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration