All of lore.kernel.org
 help / color / mirror / Atom feed
* The SATA_ini162x.
@ 2023-02-12 14:53 Magnus Elfvendahl
  2023-02-13  1:55 ` Damien Le Moal
  0 siblings, 1 reply; 5+ messages in thread
From: Magnus Elfvendahl @ 2023-02-12 14:53 UTC (permalink / raw)
  To: linux-ide

Hi

Is there a workaround to activate the driver again?

We have a small production server that stopped working due to Ubuntu 
disabling access to the drives connected to the controller.

Fortunately for us, we are not using the RAID function of the unit, only 
using it as a disc-controller. That is, the pass-through function.

I have been ill for a long time and not been able to start doing 
research as the what the issue is, and I just found this information.


Best regards.

Magnus


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: The SATA_ini162x.
@ 2023-02-22 21:28 Ioannis Barkas
  2023-02-22 23:43 ` Damien Le Moal
  0 siblings, 1 reply; 5+ messages in thread
From: Ioannis Barkas @ 2023-02-22 21:28 UTC (permalink / raw)
  To: linux-ide

Hello Magnus,

I will give you more details about it since I reported the issue with
this controller many years ago.

Yes you can activate the driver but you will need to enable this
driver and build your own kernel. That is needed since the driver is
disabled by default. There is at least one underlying issue that has
got unnoticed and has not been solved yet thus the driver is
considered experimental. My PCI card has an eSATA connector routed to
port 0 and a SATA connector routed to port 1. Back then, I had tested
the SATA port and believed that the driver could only handle port 0.

Damien if you are willing to investigate this and help me fix it, I am
at your disposal. I still have the card with this controller, the
datasheet of the IC manufacturer, an AMD based PC with a PCI slot and
lots of disks for testing. What is more, I had done some tests back in
December and the issue remains. Here is what 6.1 prints:
[    1.947670] sata_inic162x 0000:05:06.0: version 0.4
[    1.947716] sata_inic162x 0000:05:06.0: inic162x support is broken
with common data corruption issues and will be disabled by default,
contact linux-ide@vger.kernel.org if in production use

Here is the problem:
[    3.285163] ata8.00: native sectors (1) is smaller than sectors (976773168)

I tested the eSATA port and it behaves exactly the same as the SATA
port. I have also performed some modifications but those were in the
wrong direction as I completely broke the driver thus it could not
detect attached devices. That brought a libata bug to the surface and
I need to send a patch about it. Back to sata_inic, I have not figured
out how it works with both channels.

Hope to get better Magnus really soon!

Best regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-04 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12 14:53 The SATA_ini162x Magnus Elfvendahl
2023-02-13  1:55 ` Damien Le Moal
2023-02-22 21:28 Ioannis Barkas
2023-02-22 23:43 ` Damien Le Moal
2023-04-04 19:59   ` Ioannis Barkas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.