From: "Pongrácz István" <pongracz.istvan@gmail.com>
To: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: Asmedia 0x0624 support in linux kernel - request - update with manually built kernel
Date: Tue, 05 Oct 2021 14:58:31 +0200 [thread overview]
Message-ID: <ab2fde897de1bbbafcec8cf81e05346430c782a4.camel@gmail.com> (raw)
In-Reply-To: <8f4b17c763cb2742c6699d54d7577834b411722b.camel@gmail.com>
Dear Tejun/All,
I just downloaded the ubuntu kernel source version 5.4.140 and I
modified the ahci.c file:
I simply added the extra line with the pci id of the card as shown
below:
/* Asmedia */
{ PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci }, /* ASM1060 */
{ PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci }, /* ASM1060 */
{ PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci }, /* ASM1061 */
{ PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci }, /* ASM1062 */
{ PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci }, /* ASM1061R */
{ PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci }, /* ASM1062R */
+ { PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci },
I built the kernel and rebooted the machine.
Now the kernel can see disks attached to the card.
As I just drop some hdds I had around, it seems I got some non-working
hdds, so, I will have to get some proven working hdds to populate all
the 10 sata channels and test them.
Summary: at this point it seems with the modification above this card
could work.
If you need something I should do (test), please let me know, I would
be happy to participate in this test.
Thank you.
István Pongrácz
2021. 10. 5, kedd keltezéssel 10.27-kor Pongrácz István ezt írta:
> Dear Tejun/All,
>
> EDIT: sorry, the first email sent as html, now this is a clean txt
> version of it. Sorry again.
>
> ----
>
> I checked the ahci.c after I failed to use Asmedia sata card
> (pci:1b21-
> 0624-1b21-1060;01-01-85;detected;storage;pata_acpi;ASMedia Technology
> Inc.;IDE interface;ASMedia Technology Inc.) in linux, using
> kernel 5.11.0-37-lowlatency.
>
> As I found no answer/solution on the net, as a final resort I write
> to
> you about this card and try to ask you to look after this chip.
>
> Technically this pci sata card is a 10 ports card, using (as I can
> see)
> 3 chips in cascade to get 2x5 sata ports.
>
> Regarding to the recent Asmedia support, I found this:
> https://github.com/torvalds/linux/blob/master/drivers/ata/ahci.c#L588
>
>
> /* Asmedia */
> { PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci }, /* ASM1060 */
> { PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci }, /* ASM1060 */
> { PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci }, /* ASM1061 */
> { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci }, /* ASM1062 */
> { PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci }, /* ASM1061R */
> { PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci }, /* ASM1062R */
>
>
> So, unfortunately the 0624 is not there yet.
>
> Thank you all for your time an efforts regarding the development!
>
> Best regards,
> Mr. István Pongrácz
next prev parent reply other threads:[~2021-10-05 12:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 8:27 Asmedia 0x0624 support in linux kernel - request - txt format Pongrácz István
2021-10-05 12:58 ` Pongrácz István [this message]
2021-10-05 16:12 ` Asmedia 0x0624 support in linux kernel - request - update with manually built kernel Tejun Heo
2021-10-07 12:05 ` Asmedia 0x0624 support in linux kernel - news, test results Pongrácz István
2021-10-11 7:37 ` Damien Le Moal
2021-10-11 9:03 ` Pongrácz István
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ab2fde897de1bbbafcec8cf81e05346430c782a4.camel@gmail.com \
--to=pongracz.istvan@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox