Hi,
The following commit in libata-dev breaks NV SATA init - I don't
have a dump handy, but the problem is a NULL ptr dereference here:
libata-core.c
int ata_device_add(const struct ata_probe_ent *ent)
{
...
/* register each port bound to this device */
for (i = 0; i < host->n_ports; i++) {
...
/* start port */
rc = ap->ops->port_start(ap);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The problematic commit is fea63e38013ec628ab3f7fddc4c2148064b7910a:
"[PATCH] libata: fix non-uniform ports handling
Non-uniform ports handling got broken while updating libata to handle
those in the same host. Only separate irq for the non-uniform
secondary port was implemented while all other fields (host flags,
transfer mode...) of the secondary port simply shared those of the
first.