linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Need help to debug ata errors
@ 2021-12-03 11:11 Ayan Kumar Halder
  2021-12-06  0:12 ` Damien Le Moal
  0 siblings, 1 reply; 4+ messages in thread
From: Ayan Kumar Halder @ 2021-12-03 11:11 UTC (permalink / raw)
  To: linux-ide; +Cc: axboe, linux-kernel, Stefano Stabellini, Stefano Stabellini

Hi All,

I am trying to run linux as a DomU guest on Xen with AHCI assigned to it.
I can confirm that SATA works (ie able to detect sdb) as a Dom0 guest. 
However, it does not work as a DomU guest.

Hardware :- ZCU102 board and it has two sata ports
Kernel :- 5.10

I have enabled the debug logs in drivers/ata

1. Logs from dom0 (where SATA works) https://pastebin.com/2BhMDq47
2. Logs from domU (where SATA does not work) https://pastebin.com/fE8WZnZ0

Can some help me to answer these questions
1. What does this mean "1st FIS failed" ?

2. In the dom0 logs, PORT_SCR_ERR = 0x41d0002 whereas in domU logs, 
PORT_SCR_ERR = 0. Does it give some hints ?

3. Any other issues or hints to debug this ?

I can confirm that in domU scenario, we do not get any interrupts from 
the device. What might be going wrong here ?

Thanks in advance.

Kind regards,
Ayan

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

end of thread, other threads:[~2021-12-06 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03 11:11 Need help to debug ata errors Ayan Kumar Halder
2021-12-06  0:12 ` Damien Le Moal
2021-12-06 11:18   ` Ayan Kumar Halder
2021-12-06 11:57     ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).