#738122 nut: riello_usb fills up /var/log filesystem

Package:
nut
Source:
nut
Submitter:
Noel David Torres Taño
Date:
2014-12-24 02:33:05 UTC
Severity:
important
#738122#5
Date:
2014-02-07 21:33:30 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
I installed nut and run the riello_usb driver for my Riello UPS

/var/log filesystem get filled very fastly with multi-gig syslog, messages and kern files with lines like these:

(NOTE these lines are just some milliseconds of /var/log/syslog which reached size 665607778 in 2 minutes)

Feb  7 21:29:32 host kernel: [284642.328156] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328160] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328163] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328166] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328169] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328172] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328175] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328177] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.328180] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [28464llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 bllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befllo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before ullo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 befollo
 _usb) did not claim interfa
Feb  7 21:29:32 host kernel: ce 0 before llo_usb) did not claimllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 bello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb
 ) did not claim interface 0 be
Feb  7 21:29:32 host kernel: forello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interllo_usb) did not claim interface 0 befllo_usb) did not claim interfallo_usb) did not claim interface 0 bello_usb) did not claim interface 0 bello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not cllo_usb) did not claim interface 0llo_usb) did not claim interface 0 before ullo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb)
  did not claim interface 0 bef
Feb  7 21:29:32 host kernel: orello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claillo_usb) did not claim interface 0 before llo_usb) did not claim interfacllo_usb) did not claim interface 0 beforello_usb) did not claim interllo_usb) did not claim interface 0 before llo_usb) did not claim interllo_usb) did not claim interface 0 befor
 e llo_usb) did not claim inter
Feb  7 21:29:32 host kernel: face 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_u
 sb) did not claim interface 0
Feb  7 21:29:32 host kernel: beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not cla
 im interface 0 befllo_usb) did
Feb  7 21:29:32 host kernel: not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before ullo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llllo_ullo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforllo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befllo_usb) did not claim i
 nterface 0 before llo_usb)
Feb  7 21:29:32 host kernel: did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim illo_usb) did not claim interface 0 before llo_usb) did not claim interfacllo_usb) did not claim interface 0 before llo_usb) did not claim interface llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [2llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before llo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 befollo_usb) did not claim interface 0 before llo_usb) did not claim interface 0 beforello_usb) did not claim interface 0 beforello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329317] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329321] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329325] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329329] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329333] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329338] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329342] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329346] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329350] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329355] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329359] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use
Feb  7 21:29:32 host kernel: [284642.329363] usb 7-1: usbfs: process 4196 (riello_usb) did not claim interface 0 before use

#738122#12
Date:
2014-07-19 12:39:44 UTC
From:
To:
Hello all,

Noel, are you still able to reproduce this? Do you have the same issue
with the version currently in testing (2.6.5-4)? Could you please
attach here the ups.conf file. What kernel version are you running?

@Arnaud: This bug prevents the latest version of the package from
migrating to testing and I can reproduce it myself and as you said on
the upstream bug the code should be used by all the other drivers as
well. So I'm thinking about reducing the severity of the bug to
important.

Any thoughts?

Laurent Bigonville

#738122#17
Date:
2014-07-21 12:12:13 UTC
From:
To:
El sáb, 19-07-2014 a las 14:39 +0200, Laurent Bigonville escribió:

Hello all there
Linux host 3.14-1-amd64 #1 SMP Debian 3.14.10-1 (2014-07-07) x86_64
GNU/Linux
root@host:~# cat /etc/nut/ups.conf | grep -v ^#


[riello]
           driver = riello_usb
             port = auto
         #vendorid = 04b4
        #productid = 5500
             desc = "Riello iDialog IDG1200"
root@host:~# lsusb |grep 04b4
Bus 005 Device 005: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM
RS232 Adapter

The UPS is a Riello IDG1200. NUT's page indicates that the driver is
riello_usb

This driver is not available in Wheezy's nut-server 2.6.4-2.3+deb7u1
This driver is not available in Jessie's nut-server 2.6.5-4
This driver is available only in Sid's nut-server 2.7.2-1

Using 2.7.2-1 /var/log/syslog grow 368MiB in the 20 seconds between
these:

root@host:/etc/rc2.d# service nut-server restart
[ ok ] Restarting NUT - power devices information server and drivers:
upsd driver(s)  driver(s). upsd.
root@host:/etc/rc2.d# service nut-server stop
[ ok ] Stopping NUT - power devices information server and drivers: upsd
driver(s).
root@host:/etc/rc2.d#

Thanks for getting in touch about this. The resume of the above is that
yes, the issue is reproducible for me using nut-server 2.7.2-1 and I can
not use the driver in other versions because it is not there.

Many thanks

Noel
er Envite

#738122#22
Date:
2014-07-19 22:56:13 UTC
From:
To:
El sáb, 19-07-2014 a las 14:39 +0200, Laurent Bigonville escribió:

Hello all there
Linux host 3.14-1-amd64 #1 SMP Debian 3.14.10-1 (2014-07-07) x86_64
GNU/Linux
root@host:~# cat /etc/nut/ups.conf | grep -v ^#


[riello]
           driver = riello_usb
             port = auto
         #vendorid = 04b4
        #productid = 5500
             desc = "Riello iDialog IDG1200"
root@host:~# lsusb |grep 04b4
Bus 005 Device 005: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM
RS232 Adapter

The UPS is a Riello IDG1200. NUT's page indicates that the driver is
riello_usb

This driver is not available in Wheezy's nut-server 2.6.4-2.3+deb7u1
This driver is not available in Jessie's nut-server 2.6.5-4
This driver is available only in Sid's nut-server 2.7.2-1

Using 2.7.2-1 /var/log/syslog grow 368MiB in the 20 seconds between
these:

root@host:/etc/rc2.d# service nut-server restart
[ ok ] Restarting NUT - power devices information server and drivers:
upsd driver(s)  driver(s). upsd.
root@host:/etc/rc2.d# service nut-server stop
[ ok ] Stopping NUT - power devices information server and drivers: upsd
driver(s).
root@host:/etc/rc2.d#

Thanks for getting in touch about this. The resume of the above is that
yes, the issue is reproducible for me using nut-server 2.7.2-1 and I can
not use the driver in other versions because it is not there.

Many thanks

Noel
er Envite

#738122#27
Date:
2014-09-08 19:51:12 UTC
From:
To:
Hi,

I downgraded the bug to allow nut to migrate to testing. As this is a new
driver, it isn't a regression.

Cheers,

Ivo

#738122#34
Date:
2014-10-28 23:59:00 UTC
From:
To:
Forwarded from Elio Parisi at Riello UPS:
#738122#39
Date:
2014-12-24 02:22:51 UTC
From:
To:
I have just upgraded my system, and the error continues there. 40GiB in just some seconds, disk full and the update itslef stuck.

Is it possible to add the patch provided by upstream to the package? Maybe just as an out-of-the-archive test?

Thanks