Getting pfSense to run on the newer Soekris 6501 with a recent mSATA module

Getting pfSense to run on the newer Soekris 6501 with a recent mSATA module

See this document https://doc.pfsense.org/index.php/Boot_Troubleshooting for a guide.

If you see errors like

ad4: TIMEOUT - READ retrying (1 retry left) 

In short, boot the system and at the boot loader type:

set hw.ata.atapi_dma="1"
set hw.ata.ata_dma="1"
set hw.ata.wc="1"
boot

Boot the system, go to the shell, mount the filesystem rw (mount -o rw /) and edit /boot/loader.conf.local by adding:

hw.ata.atapi_dma="1"
hw.ata.ata_dma="1"
hw.ata.wc="1"