On 2016-02-01, Gabriele Tozzi <[email protected]> wrote: >> I have no solution for you but some search results >> >> http://daemonforums.org/showthread.php?t=4752 >> http://openbsd-archive.7691.n7.nabble.com/Atapiscsi-problem-on-VIA-NAB7100-VIA-VT6420-td184350.html >> http://openbsd-archive.7691.n7.nabble.com/Second-SATA-channel-in-Via-VT3237S-td191011.html > > Thank you! > > The third link spotted my problem: it's an old OpenBSD bug that, > apparently, never got fixed. > > It looks like I'll have to install OpenBSD some other day. > > Gabriele
That report "As indicated by PR6117 it appears to have arisen between 4.4 and 4.5" is based on faulty reading of kernel/6117, what it's actually saying is that the system was previously running 4.4 and it was broken there too, but the report was made after testing on -current. --snip-- Turns out the VIA VT6421 SATA controller has 3 channels, two sata and one pata. The first sata and the pata port work on OpenBSD, the second sata port does not. Linux/FreeBSD/NetBSD all have special code to handle this chip, OpenBSD does not. E.g. see these files: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/dev/pci/viaide.c http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/chipsets/ata-via.c?rev=HEAD;content-type=text%2Fplain http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/ata/sata_via.c Putting this information here so it does not get lost. Maybe a pciide guru can look at this problem. --snip-- i.e. it's just missing support for a quirky chip that needs the OS to do some weird setup.

