dropoutjeep
Cadet
- Joined
- May 8, 2018
- Messages
- 3
Having some trouble trying to get a PCI serial port card working with FreeNAS. It appears to work well on a FreeBSD 11 system with the uart(4) driver recognizing the ports right after the puc(4) driver attaches to the card on boot. /dev/cuau[23]* and /dev/ttyu[23]* are available for use and work well.
FreeNAS doesn't recognize the card until I put a copy of the puc(4) kernel module from a FreeBSD system in place, a technique that has worked well in the past with some old fast ethernet cards.
The puc(4) driver attaches to the card, but the uart(4) driver doesn't pick up the ports and create the corresponding entries in /dev.
According to a post in this thread, the uart(4) driver doesn't pull in the code in dev/uart/uart_bus_puc.c unless 'puc' is in the kernel config. The post goes on to suggest a fix that involves removing 'puc' from the end of the line for uart_bus_puc.c in /sys/conf/files and rebuilding the kernel. Easy enough with FreeBSD, but not so much with FreeNAS.
Any suggestions on the best way to get the uart(4) driver in the FreeNAS kernel to work with the puc(4) driver loaded as a kernel module?
FreeNAS doesn't recognize the card until I put a copy of the puc(4) kernel module from a FreeBSD system in place, a technique that has worked well in the past with some old fast ethernet cards.
The puc(4) driver attaches to the card, but the uart(4) driver doesn't pick up the ports and create the corresponding entries in /dev.
According to a post in this thread, the uart(4) driver doesn't pull in the code in dev/uart/uart_bus_puc.c unless 'puc' is in the kernel config. The post goes on to suggest a fix that involves removing 'puc' from the end of the line for uart_bus_puc.c in /sys/conf/files and rebuilding the kernel. Easy enough with FreeBSD, but not so much with FreeNAS.
Any suggestions on the best way to get the uart(4) driver in the FreeNAS kernel to work with the puc(4) driver loaded as a kernel module?