All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Cloned drive has intermittent Linux crc error
PostPosted: May 14th, 2022, 15:14 
Offline

Joined: February 2nd, 2018, 19:09
Posts: 6
Have an old arcade machine that runs Linux OS, IDE drive. Cloned IDE drive to SATA SSD. Arcade machine boots with SATA IDE adapter Bacchae mobo has no SATA ports. Works fine every time

Cloned to a different brand SSD and intermittently get CRC errors when uncompressing the kernel on boot, other times it works fine. Thinking it was a bad drive, I cloned to another drive of the same brand. Same intermittent CRC error

It appears there is some incompatibility with the brand of SSD and/or the SATA IDE adapter. Any tips on what to look for on which drives/adapters will work?


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 15th, 2022, 11:44 
Offline

Joined: August 18th, 2010, 17:35
Posts: 3636
Location: Massachusetts, USA
It is kind of "hit or miss" with rare set ups like that.
Could you buy the same brand/model SSD that was successful first time around?

_________________
Hard Disk Drive, SSD, USB Drive and RAID Data Recovery Specialist in Massachusetts


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 15th, 2022, 11:59 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Which adapter are you using? What is the bridge IC?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 14:02 
Offline

Joined: August 13th, 2016, 17:10
Posts: 193
Location: Vienna, Austria
CRC errors usually means communication problems between the disk and the computer, so check/replace the cables, clean the contacts, mount/shield the cables away from potentially interfering EM fields.


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 14:29 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
The datasheets for various SATA-IDE bridge ICs stipulate an allowable operating range of 3.3V +/-0.3V for the digital I/O supply. I expect that the arcade game runs off 5V, as would most PCs (?). Therefore I'm wondering just how reliable the IDE interface can be. :-?

JMicron JM20330:
http://www.users.on.net/~fzabkar/temp/JM20330_Spec_Rev.-2.3.pdf

Sunplus SPIF223A ATA to Serial ATA Bi-directional Bridge, QFP-64:
http://monitor.espec.ws/files/spif223a_182.pdf

Marvell 88SA8052 SATA-PATA bridge (page 17):
http://cache.amobbs.com/bbs_upload782111/files_24/ourdev_524768.pdf


Attachments:
spif223a_182.pdf [280 KiB]
Downloaded 215 times
ourdev_524768.pdf [861.66 KiB]
Downloaded 218 times
JM20330_Spec_Rev.-2.3.pdf [1.56 MiB]
Downloaded 295 times

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 16:00 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
This thread claims that the IDE specification guarantees that a voltage level of 2.4V on any I/O pin will be seen as a high logic state.

https://forums.parallax.com/discussion/116800/ide-interface-at-3-3v

Nevertheless I'm wondering if modifying the 3.3V regulator on the adapter so that it delivers 3.6V might improve things.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 19:27 
Offline

Joined: February 2nd, 2018, 19:09
Posts: 6
fzabkar wrote:
Which adapter are you using? What is the bridge IC?


So I think there was a lot of value to this question. First, the SSD uses a Ramaxel controller.

The two SATA->IDE controllers that failed were JM20330 and some other chip that I couldn't make out the letters on.

I picked up the more expensive StarTech IDE2SAT2 which uses Marvell 88SA8052 and it works beautifully. I was about 8 for 8 in boots without errors.

So there is an obvious difference between the chips...does anyone know any cheaper controllers that might have better compatibility?


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 19:30 
Offline

Joined: February 2nd, 2018, 19:09
Posts: 6
fzabkar wrote:
The datasheets for various SATA-IDE bridge ICs stipulate an allowable operating range of 3.3V +/-0.3V for the digital I/O supply. I expect that the arcade game runs off 5V, as would most PCs (?). Therefore I'm wondering just how reliable the IDE interface can be. :-?

JMicron JM20330:
http://www.users.on.net/~fzabkar/temp/JM20330_Spec_Rev.-2.3.pdf

Sunplus SPIF223A ATA to Serial ATA Bi-directional Bridge, QFP-64:
http://monitor.espec.ws/files/spif223a_182.pdf

Marvell 88SA8052 SATA-PATA bridge (page 17):
http://cache.amobbs.com/bbs_upload782111/files_24/ourdev_524768.pdf


The arcade has a conventional computer power supply. Getting very close to 12V and 5V at the adapter. I've not seen the Sunplus yet, will see if I can find an adapter to test with that chip


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 16th, 2022, 20:48 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Those three bridges I listed all have the same pinout. The differences are in the supply voltages and configuration pins. You can see this in the Marvell PDF.

The JMicron datasheet describes the MODE pins. These allow you to select a slower UDMA interface rate. Perhaps that's the trick? You might also try disabling the SSC pin, if it isn't already.

Rohm also has a bridge which appears to be pin compatible (BU29504KV):

http://www.farnell.com/datasheets/46182.pdf

BTW, I'm not surprised that you are having problems with JMicron. Their JM20337 USB-SATA/PATA bridge had an insidious data corruption bug.

http://www.hddoracle.com/viewtopic.php?f=56&t=632

Here's a bridge from Genesis Logic (GL831A, different pinout):

http://www.arrivalelectronics.co.uk/uploads/files/GL831ADatasheet_103.pdf

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 17th, 2022, 7:07 
Offline

Joined: February 2nd, 2018, 19:09
Posts: 6
fzabkar wrote:
Those three bridges I listed all have the same pinout. The differences are in the supply voltages and configuration pins. You can see this in the Marvell PDF.

The JMicron datasheet describes the MODE pins. These allow you to select a slower UDMA interface rate. Perhaps that's the trick? You might also try disabling the SSC pin, if it isn't already.

Rohm also has a bridge which appears to be pin compatible (BU29504KV):

http://www.farnell.com/datasheets/46182.pdf

BTW, I'm not surprised that you are having problems with JMicron. Their JM20337 USB-SATA/PATA bridge had an insidious data corruption bug.

http://www.hddoracle.com/viewtopic.php?f=56&t=632

Here's a bridge from Genesis Logic (GL831A, different pinout):

http://www.arrivalelectronics.co.uk/uploads/files/GL831ADatasheet_103.pdf


Attachments:
File comment: This is great info, thank you. I suppose I can try mode 000: 100mb/s. What do the 0s represent? Assuming I need to short the pins to ground or some voltage?
Screenshot_20220517-070406.png
Screenshot_20220517-070406.png [ 497.66 KiB | Viewed 7399 times ]
Top
 Profile  
 
 Post subject: Re: Cloned drive has intermittent Linux crc error
PostPosted: May 17th, 2022, 14:26 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Logic states 1 and 0 are set by a pullup or pulldown resistor. That is, the relevant pin is either pulled up to the 3.3V supply, or pulled down to ground. I assume a logic state of 1 corresponds to a pullup, and a logic state of 0 to a pulldown, but I'm not sure. You can refer to the schematic diagram on page 17 of the Marvell PDF to see how these pins are configured.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group