a qualche mese di distanza dall'acquisto delmio bel TS-410 ho deciso di mettergli un UPS per evitare sbalzi di corrente o blackout...
Leggendo questo http://wiki.qnap.com/wiki/Compatible/Incompatible_UPS ho visto che l'ups APC BK650EI è compatibile e l'ho aquistato.
Dopo una bella carica per tutta la notte, lo attacco al qnap e sorpresa, non compare nella pagina di amministrazione... possibile?
lsusb
Codice: Seleziona tutto
[admin@QNAP4NAS ~]# lsusb
Bus 001 Device 005: ID 04e8:3292 Samsung Electronics Co., Ltd
Bus 001 Device 004: ID 03f0:2a12 Hewlett-Packard
Bus 001 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
cat /proc/bus/usb/devices
Codice: Seleziona tutto
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=051d ProdID=0002 Rev= 0.06
S: Manufacturer=American Power Conversion
S: Product=Back-UPS CS 650 FW:817.v7 .I USB FW:v7
S: SerialNumber=5B1043T34925
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=100ms
Codice: Seleziona tutto
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 129 rq 6 len 9 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 129 rq 6 len 1217 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 4 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 4 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 5 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 2 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 161 rq 1 len 3 ret -110
Codice: Seleziona tutto
*** glibc detected *** apcupsd: double free or corruption (top): 0x000359e8 ***
======= Backtrace: =========
/lib/libc.so.6[0x400b4000]
/lib/libc.so.6[0x400b50ac]
/lib/libc.so.6(cfree+0x164)[0x400b5758]
/lib/libc.so.6(fclose+0x36c)[0x400a178c]
apcupsd[0x142b8]
apcupsd(vfprintf+0x37e8)[0xd108]
apcupsd(vfprintf+0x77c)[0xa09c]
/lib/libc.so.6(__libc_start_main+0x1bc)[0x4005a924]
apcupsd(fputs+0x34)[0x9a08]
======= Memory map: ========
00008000-00022000 r-xp 00000000 01:00 1993 /sbin/apcupsd
0002a000-0002b000 rwxp 0001a000 01:00 1993 /sbin/apcupsd
0002b000-00056000 rwxp 00000000 00:00 0 [heap]
40000000-4001d000 r-xp 00000000 01:00 111 /lib/ld-2.5.so
4001d000-4001e000 rwxp 00000000 00:00 0
40023000-40024000 rwxp 00000000 00:00 0
40024000-40026000 rwxp 0001c000 01:00 111 /lib/ld-2.5.so
40026000-4003b000 r-xp 00000000 01:00 37 /lib/libpthread-2.5.so
4003b000-40042000 ---p 00015000 01:00 37 /lib/libpthread-2.5.so
40042000-40043000 r-xp 00014000 01:00 37 /lib/libpthread-2.5.so
40043000-40044000 rwxp 00015000 01:00 37 /lib/libpthread-2.5.so
40044000-40046000 rwxp 00000000 00:00 0
40046000-4016d000 r-xp 00000000 01:00 110 /lib/libc-2.5.so
4016d000-40174000 ---p 00127000 01:00 110 /lib/libc-2.5.so
40174000-40175000 r-xp 00126000 01:00 110 /lib/libc-2.5.so
40175000-40177000 rwxp 00127000 01:00 110 /lib/libc-2.5.so
40177000-4017a000 rwxp 00000000 00:00 0
be9dd000-be9f2000 rw-p 00000000 00:00 0
Ciao ciao