Hi, On Wed, Jun 28, 2017 at 09:07:18PM +0200, Jarom?r Dole?ek wrote: > during my testing on jdolecek-ncq branch, I found that when I attach the > ATAPI device via a port multiplier, the device is never actually detected. > The behaviour I see is that atapibus is detected on the port, but not the > actual device cd1, like this:
I have the exactly the same issue on my Marvell ARM board with mvsata. It does detect and attach a 2nd harddisc after a SATA port multiplier if I attach one but always fails to attach the DVD burner present: mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA Host Controller (SATAHC) mvsata0: GenIIe, 1hc, 2port/hc atabus0 at mvsata0 channel 0 atabus1 at mvsata0 channel 1 ... ata0 port 1: device present, speed: 3.0Gb/s atabus1: SATA port multiplier, 4 ports atabus1: vendor 0x11ab, product 0x4140, revision 1.1, level 193 atabus1 PMP port 0: device present, speed: 3.0Gb/s atabus1 PMP port 2: device present, speed: 1.5Gb/s atapibus0 at atabus1: 2 targets wd0 at atabus1 drive 0 ... The DVD burner on port 2 is never found. Curiously it detects two targets on the atapibus0, so I presume those are the two devices? One being the SSD and the other the DVD burner? > This behaviour is same on kernel from HEAD sources and my ncq branch. I can confirm that. I tried a new HEAD kernel on the machine and it still fails to recognize the DVD burner. FYI, it never detected it as long as I have this machine. With regards, Reinoud