Перевёл на 8-ку ещё один сервак, вылезли грабельки с nut'ом. На 7-ке всё работало. порты после обновления пересобрал. В relnotes сказано что имена последовательных устройств сменились, cuad* -> cuau*. Так и вышло, в конфигурации ups.conf соответственно сменил. Непонятно, чем занят этот cuau0.
dmesg | grep -iE 'cuau|uart'
Код: Выделить всё
pci3: <simple comms, UART> at device 1.0 (no driver attached)
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
uart0: [FILTER]
pci3: <simple comms, UART> at device 1.0 (no driver attached)
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
uart0: [FILTER]
pci3: <simple comms, UART> at device 1.0 (no driver attached)
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
uart0: [FILTER]
Код: Выделить всё
nut not running? (check /var/db/nut/upsd.pid).
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
Unable to open /dev/cuau0: Device busy
Current user id: uucp (66)
Serial port owner: uucp (66)
Serial port group: dialer (68)
Mode of port: 0660
Things to try:
- Use another port (with the right permissions)
- Fix the port owner/group or permissions on this port
- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
See upsdrvctl(8) and ups.conf(5).
Fatal error: unusable configuration
Driver failed to start (exit status=1)
Код: Выделить всё
user=uucp
[IPPON]
driver = megatec
port = /dev/cuau0
desc = "Ippon Smart power 2000"
Код: Выделить всё
crw-rw---- 1 uucp dialer 0, 37 Nov 30 19:41 /dev/cuau0
crw-rw---- 1 uucp dialer 0, 38 Nov 30 19:41 /dev/cuau0.init
crw-rw---- 1 uucp dialer 0, 39 Nov 30 19:41 /dev/cuau0.lock
Код: Выделить всё
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
debug level is '3'
Unable to open /dev/cuau0: Device busy
Current user id: uucp (66)
Serial port owner: uucp (66)
Serial port group: dialer (68)
Mode of port: 0660
Things to try:
- Use another port (with the right permissions)
- Fix the port owner/group or permissions on this port
- Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
See upsdrvctl(8) and ups.conf(5).
Fatal error: unusable configuration