SATA controller card insanity

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

SATA controller card insanity

Post by ciresmis »

Hello,
I have been running Linux Mint for just a few months now. In the beginning, all the hard drives worked fine (except one), but then one of my smaller SSD drives worked intermittently, and then not at all. Several weeks later another SSD drive quit. I had just thought there was maybe something Linux didn't like about the drives, because I could reboot into Windows 7 and still see them. However, after this second drive went out, Windows 7 could not see them. Well, it has been a few weeks. Tonight, a third SSD drive quit. Rebooting didn't work. It could not find Windows 7 anymore at bootup. So I open the machine, and my first instinct was maybe the sata controller. I removed the screw, and it practically fell over. It was so loose in the slot. I put it back in, and it was still loose. So I put it in the other PCIe slot and rebooted. It still seems more loose than normal though. It found one drive right away, but the other two will not connect. I think I may need drivers, but I have no idea how to do that on Linux. Can someone guide me through this?

One other question. In the beginning, all the hard drives worked fine except one. I think this may have been the drive I installed Linux on. Does this sound right? That Linux would install in a location and then prevent anyone from seeing that location? Or am I off on this? I do have one drive I can see, but it will not mount. Is that the drive Linux was installed on? I dedicated a single small SSD drive for the Linux installation. I just cannot recall which one it is now that some of them can be seen and some cannot.

Thanks a ton for the help. I have been frustrated with my Linux experience so far, but I don't plan on quitting. I just don't always have the time to investigate.

ciresmis
User avatar
kato181
Level 5
Level 5
Posts: 955
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: SATA controller card insanity

Post by kato181 »

There are no SATA drivers. If all your ssd's are failing as you said, it could point to a number of things. If you are using PCIe slots, then they are not sata. You haven't provided much info if none as to what system you have.
To do that, start terminal and copy & paste the following commands and post the results back here in between the code display brackets </>
inxi -Fxz
Also post the results of Gparted
If you boot into your bios, does it detect the ssd's
User avatar
antikythera
Level 8
Level 8
Posts: 2201
Joined: Thu Jul 02, 2020 12:52 pm

Re: SATA controller card insanity

Post by antikythera »

There are such things as PCI-E SATA Adaptor cards ;)

SATA controllers use PCI-E lanes to function even if integrated into a motherboard chipset or processor die. The OP may have one but if it is loose in the slot even with a screw holding the bracket or at an odd angle then it may have shorted. Also if it's gradually stopped recognising attached drives in both Linux and Windows then the card is most likely faulty anyway.

Running Linux would not gradually render drives formatted as NTFS unusable with Windows too. You may get the odd prompt to check them for errors but that would be the extent of it.
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

Here is what I get when I run inxi -Fxz:
System:
Host: Frynkynstyn Kernel: 4.15.0-108-generic x86_64 bits: 64 compiler: gcc
v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine:
Type: Desktop System: Gigabyte product: H270-HD3 v: N/A serial: <filter>
Mobo: Gigabyte model: H270-HD3-CF v: x.x serial: <filter>
UEFI [Legacy]: American Megatrends v: F6 date: 07/06/2017
CPU:
Topology: Quad Core model: Intel Core i7-7700 bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600
Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:
Device-1: NVIDIA vendor: Gigabyte driver: nvidia v: 440.100
bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa
resolution: 1680x1050~60Hz, 1920x1200~60Hz
OpenGL: renderer: GeForce GTX 1650 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100
direct render: Yes
Audio:
Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel
bus ID: 01:00.1
Sound Server: ALSA v: k4.15.0-108-generic
Network:
Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: 3.2.6-k
port: f000 bus ID: 00:1f.6
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.03 TiB used: 787.84 GiB (37.9%)
ID-1: /dev/sda vendor: Toshiba model: THNSNK128GCS8 SATA 128GB
size: 119.24 GiB
ID-2: /dev/sdb vendor: Samsung model: SSD 840 Series size: 232.89 GiB
ID-3: /dev/sdc vendor: Seagate model: ST3320620AS size: 298.09 GiB
ID-4: /dev/sdd vendor: Crucial model: CT525MX300SSD1 size: 489.05 GiB
ID-5: /dev/sde vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
ID-6: /dev/sdf vendor: Intel model: SSDSC2BW240A4 size: 223.57 GiB
ID-7: /dev/sdg type: USB vendor: Generic model: Flash Disk
size: 125.00 GiB
ID-8: /dev/sdl type: USB vendor: Generic model: Flash Disk
size: 125.00 GiB
Partition:
ID-1: / size: 116.87 GiB used: 23.86 GiB (20.4%) fs: ext4 dev: /dev/sda1
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 33 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 59%
Info:
Processes: 275 Uptime: 1m Memory: 62.87 GiB used: 1.29 GiB (2.0%)
Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20
inxi: 3.0.32

The gparted or Gparted command is not found.
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

I am not sure what happened with this card. This is the first time I have seen a card work its way loose like this. It makes me worry about replacing it if the MB is more responsible than the card. That being said, I tried to reboot into Windows 7. It does allow me to boot into Windows 7 first of all. That had stopped. Once it did it immediately installed new drivers. I rebooted and it found one drive I had lost, but it still did not find two others. After a few reboots it still did not find anything new, so I have become resolved to find a new Sata Controller Card. Is there a flavor that Linux likes over all the others? I have a PCI1 slot open and a PCIEX4 slot open. Of course, I do have the 2 PCIEX1 slots open. I will also admit to not really knowing what that means, but I can tell you I am not opposed to using them.

Thanks to kato181 and antikythera for the help. These lessons are valuable to me. Much appreciated.

So, if you had to pick a Sata Controller, which one would you pick?

Cheers!
User avatar
antikythera
Level 8
Level 8
Posts: 2201
Joined: Thu Jul 02, 2020 12:52 pm

Re: SATA controller card insanity

Post by antikythera »

I don't see any M.2 drives listed there, so if you don't use an optical drive in your system, you could actually use the 6 SATA ports the board has.

If the card you have now has connections that resembles this example picture, install it in the shorter PCI-E slot above your GPU. It will operate the same speed as normal but be more stable than in a full length slot.

Image

I cannot recommend a decent replacement that works with Linux. I specialise more with Windows but someone here may know of a decent add-in card with a SATA controller chip that works nicely with current kernels.
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

Well I got a new controller card, and by sheer accident it turned out to be the same one I have installed already. The instructions say it will automatically install the drivers, but it doesn't look like it does.

I plugged the card into the second PCIEX1 slot with the same results.

So I took the card and plugged it into the PCIEX4 slot, and it cannot find the controller card either.

Then I rebooted into Windows 7. It found the card (still in the PCIEX4 slot), installed drivers, and had me reboot. Once it was up again, Device Manager looked like it found the controller card with 4 ports, but it did not list any of the drives. It also had a yield-sign question mark under PCI Device. So may be it had problems. I dunno.

Before I switched to Linux Mint, that original controller card was working and the 3 drives I had on it were functioning normally.

I honestly don't know what else to try. The Linux environment is not familiar nor intuitive to me, at least not yet.

Any additional guidance is greatly appreciated.

ciresmis
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

Here is what I get when I run inxi -Fxz

System: Host: Frynkynstyn Kernel: 4.15.0-108-generic x86_64 bits: 64 compiler: gcc v: 7.5.0
Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Desktop System: Gigabyte product: H270-HD3 v: N/A serial: <filter>
Mobo: Gigabyte model: H270-HD3-CF v: x.x serial: <filter>
UEFI [Legacy]: American Megatrends v: F6 date: 07/06/2017
CPU: Topology: Quad Core model: Intel Core i7-7700 bits: 64 type: MT MCP arch: Kaby Lake rev: 9
L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600
Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 801 2: 800 3: 800 4: 800 5: 800
6: 800 7: 801 8: 800
Graphics: Device-1: NVIDIA vendor: Gigabyte driver: nvidia v: 440.100 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa
resolution: 1680x1050~60Hz, 1920x1200~60Hz
OpenGL: renderer: GeForce GTX 1650 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100
direct render: Yes
Audio: Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
bus ID: 00:1f.3
Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k4.15.0-108-generic
Network: Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: 3.2.6-k port: f000
bus ID: 00:1f.6
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 2.03 TiB used: 853.03 GiB (41.0%)
ID-1: /dev/sda vendor: Toshiba model: THNSNK128GCS8 SATA 128GB size: 119.24 GiB
ID-2: /dev/sdb vendor: Samsung model: SSD 840 Series size: 232.89 GiB
ID-3: /dev/sdc vendor: Seagate model: ST3320620AS size: 298.09 GiB
ID-4: /dev/sdd vendor: Crucial model: CT525MX300SSD1 size: 489.05 GiB
ID-5: /dev/sde vendor: Intel model: SSDSC2BW240A4 size: 223.57 GiB
ID-6: /dev/sdf vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
ID-7: /dev/sdg type: USB vendor: Generic model: Flash Disk size: 125.00 GiB
ID-8: /dev/sdl type: USB vendor: Generic model: Flash Disk size: 125.00 GiB
Partition: ID-1: / size: 116.87 GiB used: 23.94 GiB (20.5%) fs: ext4 dev: /dev/sda1
Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 31 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 59%
Info: Processes: 256 Uptime: 9m Memory: 62.87 GiB used: 1.58 GiB (2.5%) Init: systemd
runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 inxi: 3.0.32
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

User avatar
kato181
Level 5
Level 5
Posts: 955
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: SATA controller card insanity

Post by kato181 »

I count 6 drives you have connected is that correct? What drive are you trying to install Mint on?
Check the link out. Go to Specifications, then scroll all the way down to Remark. You will find most of those remarks are nearly applies to all mobo's.
https://www.gigabyte.com/Motherboard/GA ... v-10/sp#sp
User avatar
antikythera
Level 8
Level 8
Posts: 2201
Joined: Thu Jul 02, 2020 12:52 pm

Re: SATA controller card insanity

Post by antikythera »

ciresmis wrote:
Fri Oct 16, 2020 1:17 am
Here is the card I just installed:

https://www.amazon.com/dp/B00AZ9T3OU/?c ... _lig_dp_it
In BIOS, try disabling IOMMU. Be aware though it may affect some of your USB ports negatively.
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

Let me clarify a few things. I already have Linux Mint 19.3 installed. I did this back in March when Windows 7 security and virus updates finally ended.

Once I installed Linux, all the drives were working. Over time the drives associated with my sata controller stopped working. The easiest fix is to determine if the sata controller can be fixed. With the new sata controller doing the same thing, that answer is no. I have now placed that new sata controller in a PCIEX4 slot, and it is still not working. Yes, I have 6 drives, most of which are smaller drives. Each user gets their own drive to do what they want with. That is the plan, although it is not working out that way.

As soon as I can get this fixed, I still have two more pressing hurdles to overcome - installing a printer and installing a scanner.

So as far as this sata controller, does anyone know of a executable file that will install this card on Linux? Do they even make such a thing? This is supposed to be a Linux-compatible controller card. If it is, where is the driver for it? Why do the instructions say I just plug it in and it should work when in fact it does not?

As far as the chipset issue mentioned by gigabyte, how would that affect my controller card? Why has this issue seemingly not affected the other drives that are directly connected to the MB?

I currently have two jobs to stay afloat, so my time is limited. Tonight is a rare Friday evening off. I am hopeful I can get this resolved. Somehow.

I will try the suggestions presented. If anyone has anything else they can add, I'd appreciate it. --- ciresmis
User avatar
antikythera
Level 8
Level 8
Posts: 2201
Joined: Thu Jul 02, 2020 12:52 pm

Re: SATA controller card insanity

Post by antikythera »

There's no executable for the card, the chip on it is from around 2011 and Marvell don't actively provide updated linux driver packages for end users to install. They did however release code to the kernel developers so it will ever work with the kernel modules already included or it won't. It seems you are between a rock and a hard place with this. Marvell SATA controller support has always been sketchy at best. Try the IOMMU tweak anyway, it may not have been necessary before with the older kernel build but that's not to say it won't help now.

You could try booting from 19.3 live media and see if the card is recognised and all the drives are accessible first. If they are, make a note of the kernel version including the revision number at the end of it.

Boot the installed version of Linux Mint and make sure that is installed via Mint Update Manager>View>Kernels. Then restart the machine with that kernel and see if the card and drives are still accessible. If they are, remove the newer builds of the kernel and add the flagged updates for it to the Mint Update blacklist (right click on their entries and choose the option to do that).
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

Is there any other route to getting more SATA ports? Would a PCI card work better? I am not in love with this sata controller card.
User avatar
kato181
Level 5
Level 5
Posts: 955
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: SATA controller card insanity

Post by kato181 »

You could try buying a new sata cable only 1 at this stage and then test so see if it detects. In all the years that I have built computers I have never ever struck a problem too which you are having. To have all the ssd drivers go down one after each other seems very to highly unlikely. If your windows starts and fails to see the drives, then I would look at Gigabytes website to see if there is a bios update, if there is look to see what it is a fix for before you flash the bios..
You could also try disconnecting every drive then connect one ssd and boot into your live session and check to see if the drive is present. Checking you bios upon reboot once a ssd is connected will also tell you if the drive is present. I'm assuming all your ssd's are sata connected? Your mobo can take a M.2 ssd so you could get one of those and go that way.
If you have access to another computer, you could test the ssd's drives on that one to see if they are detected, if they are then we can say for 75% your mobo maybe catcus ractus.
Process of elimination where everything else fails.
scjet45
Level 3
Level 3
Posts: 141
Joined: Sat May 07, 2016 12:50 am

Re: SATA controller card insanity

Post by scjet45 »

ciresmis wrote:
Tue Oct 13, 2020 6:56 pm
Is there a flavor that Linux likes over all the others? I have a PCI1 slot open and a PCIEX4 slot open. ...
So, if you had to pick a Sata Controller, which one would you pick?

Cheers!
Yes, the "LSI Internal SATA/SAS 9211-4i" is a dependable pick.
https://www.newegg.com/lsi00190-sata-sa ... 6816118114
https://www.amazon.com/LSI-Logic-SAS921 ... 066&sr=8-5
It uses a PCIEX4 size slot, and can be used as Raid, or JBOD(HBA)/dumb Sata Controller
User avatar
MartyMint
Level 6
Level 6
Posts: 1189
Joined: Thu Dec 27, 2012 10:50 pm

Re: SATA controller card insanity

Post by MartyMint »

Are all these drives SSD drives drawing power from the single SATA controller?

What power supply do you have installed in this machine?
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

I have a Solid Gear 650 power supply installed. It does supply all the power for the drives.

https://www.microcenter.com/product/457 ... wer-supply
ciresmis
Level 1
Level 1
Posts: 32
Joined: Sun Oct 11, 2020 11:12 pm
Location: Texas

Re: SATA controller card insanity

Post by ciresmis »

scjet45, with this controller card, where are the sata ports? I am not seeing how this helps with my 3 SSD drives?
User avatar
antikythera
Level 8
Level 8
Posts: 2201
Joined: Thu Jul 02, 2020 12:52 pm

Re: SATA controller card insanity

Post by antikythera »

You have to buy an adaptor cable from SAS to SATA, the card doesn't come with a cable because people want different configurations or cable lengths.
Don't take life so seriously, nobody gets out alive anyway!
AMSTRAD CPC6128 - 128KB RAM, 3" Hitachi Floppy Diskette Drive, External Sony Cassette Recorder, Locomotive BASIC 1.1, CTM-644 Monitor
Post Reply

Return to “Hardware Support”