Project

General

Profile

Bug #14581

UPS monitoring fails after upgrade from 9.3 to 9.10

Added by Bastian Weber over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
Alexander Motin
Category:
OS
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

[root@freenas] ~# /usr/local/libexec/nut/genericups -DDDDD -a ups
Network UPS Tools - Generic contact-closure UPS driver 1.36 (2.7.3)
0.000000 send_to_all: SETINFO driver.parameter.upstype "2"
0.000021 send_to_all: SETINFO driver.parameter.port "/dev/ugen2.2"
0.000037 debug level is '5'
0.002196 UPS type: APC Back-UPS (940-0020B/C cable)

0.002431     tcgetattr: Inappropriate ioctl for device

History

#1 Updated by Bastian Weber over 4 years ago

  • File debug-freenas-20160411215035.txz added

#2 Updated by Bastian Weber over 4 years ago

  • File deleted (debug-freenas-20160411215035.txz)

#3 Updated by Alexander Motin over 4 years ago

  • Status changed from Unscreened to Screened

Are you sure that this combination of genericups driver and USB device name is viable? In my understanding, this driver should work with serial port, rather then with some generic USB device.

By the way, what is your FreeNAS version? There was a bug that could prevent USB serial ports from operation (if you are really using USB serial port).

#4 Updated by Alexander Motin over 4 years ago

And deleting of debug information is not a good idea idea. If you are so paranoid, you may go even further -- not trust us and fix the problem yourself.

#5 Updated by Bastian Weber over 4 years ago

  • Seen in changed from Unspecified to 9.10-STABLE-201603252134

[root@freenas] ~# dmesg | grep Prolific
ugen2.2: <Prolific Technology Inc.> at usbus2

#6 Updated by Alexander Motin over 4 years ago

Bug I am talking about was fixed later then that. Please update your FreeNAS. New version was cooked just today.

#7 Updated by Bastian Weber over 4 years ago

I think you are right, I need to use a "/dev/cuaUX" but there is none in /dev

#8 Updated by Alexander Motin over 4 years ago

Update your FreeNAS and it should re-appear.

#9 Updated by Bastian Weber over 4 years ago

You are right, now with 9.10-STABLE-201604111739 the /dev/cuaU0 is back.
Now it works again. Thanks

#10 Updated by Jordan Hubbard over 4 years ago

  • Status changed from Screened to Closed: Behaves correctly

#11 Updated by Alexander Motin over 4 years ago

  • Status changed from Closed: Behaves correctly to Resolved

#12 Updated by Dru Lavigne about 3 years ago

  • Target version set to N/A
  • Private changed from Yes to No

Also available in: Atom PDF