Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Marco Hess on January 07, 2012, 07:13:10 AM

Title: usbhid-ups inifite loop on boot
Post by: Marco Hess on January 07, 2012, 07:13:10 AM
I am trying to configure my SME8 to connect properly with my CyberPower UPS. If I connect the UPS with USB after the server is booted, it all works fine and I can communicate with the UPS and everything is OK.

However, when the server (re)boots, it has trouble with the usbhid-ups device during boot and ends up in an infinite loop and the boot never completes.

In /var/log/messages at first the UPS is detected on USB "CPS  Value 2200E"

Code: [Select]
Jan  7 16:18:26 franka kernel: Initializing USB Mass Storage driver...
Jan  7 16:18:26 franka kernel: hiddev96: USB HID v1.10 Device [CPS  Value 2200E] on usb-0000:00:1d.0-2
Jan  7 16:18:26 franka kernel: scsi6 : SCSI emulation for USB Mass Storage devices

then a while later, the loop happens:

Code: [Select]
Jan  7 16:18:27 franka kernel: usb-storage: device scan complete
Jan  7 16:18:27 franka kernel: usb 6-2: USB disconnect, address 2
Jan  7 16:18:27 franka kernel: usb 6-2: new low speed USB device using uhci_hcd and address 3
Jan  7 16:18:27 franka kernel: usb 6-2: configuration #1 chosen from 1 choice
Jan  7 16:18:27 franka kernel: hiddev96: USB HID v1.10 Device [CPS  Value 2200E] on usb-0000:00:1d.0-2
Jan  7 16:18:27 franka kernel: usb 6-2: USB disconnect, address 3
Jan  7 16:18:27 franka kernel: usb 6-2: new low speed USB device using uhci_hcd and address 4
Jan  7 16:18:27 franka kernel: usb 6-2: configuration #1 chosen from 1 choice
Jan  7 16:18:27 franka kernel: hiddev96: USB HID v1.10 Device [CPS  Value 2200E] on usb-0000:00:1d.0-2
Jan  7 16:18:27 franka kernel: usb 6-2: USB disconnect, address 4
Jan  7 16:18:27 franka kernel: usb 6-2: new low speed USB device using uhci_hcd and address 5
Jan  7 16:18:27 franka kernel: usb 6-2: configuration #1 chosen from 1 choice
Jan  7 16:18:27 franka kernel: hiddev96: USB HID v1.10 Device [CPS  Value 2200E] on usb-0000:00:1d.0-2
Jan  7 16:18:27 franka kernel: usb 6-2: USB disconnect, address 5
....

And this repeats until the USB for the UPS is physically disconnected from the server.

I checked all the configurations and looked around the internet for this infinite loop problem, bat can't find any resolution to it.

Marco
Title: Re: usbhid-ups inifite loop on boot
Post by: CharlieBrady on January 07, 2012, 04:37:24 PM
I am trying to configure my SME8 to connect properly with my CyberPower UPS. If I connect the UPS with USB after the server is booted, it all works fine and I can communicate with the UPS and everything is OK.

However, when the server (re)boots, it has trouble with the usbhid-ups device during boot and ends up in an infinite loop and the boot never completes.

Marco, I think you are a slow learner (or are you recalcitrant?).

Don't report problems here - Please report bugs and potential bugs in the bug tracker

Title: Re: usbhid-ups inifite loop on boot
Post by: Marco Hess on January 08, 2012, 12:42:15 AM
http://bugs.contribs.org/show_bug.cgi?id=6826