Random usb failure at bootup

2017-03-29 Thread solitone
Hi,

this morning I experienced a bad issue that worried me for a while, but 
happily it ended well with no consequences.

After resuming from suspend, the monitor was black, and I had to press the 
power button to hard shutdown the computer.

On reboot, the monitor still didn't switch on. I tried several times. In the 
last tries the monitor switched on, but the keybord still didn't work. This 
affected the boot loader as well. The system booted up, and I got the login 
screen, however no key worked (apart from the power button, it's a MacBookPro 
12,1).

I brutally switched off the laptop, and leaved off for some time (1 hour). 
When I tried and rebooted it, everything worked well again.

I inspected the kernel messages, and found the following usb errors (keyboard 
and monitor are USB devices on the MacBookPro 12,1):


Mar 29 09:06:25 alan kernel: usb 2-3: device not accepting address 2, error 
-62
Mar 29 09:06:36 alan kernel: usb 2-3: device not accepting address 3, error 
-62
Mar 29 09:06:55 alan kernel: xhci_hcd :00:14.0: Stopped the command ring 
failed, maybe the host is dead
Mar 29 09:06:55 alan kernel: xhci_hcd :00:14.0: Abort command ring failed
Mar 29 09:06:55 alan kernel: xhci_hcd :00:14.0: HC died; cleaning up
Mar 29 09:06:55 alan kernel: xhci_hcd :00:14.0: HC died; cleaning up
Mar 29 09:06:55 alan kernel: xhci_hcd :00:14.0: HC died; cleaning up
Mar 29 09:06:56 alan kernel: usb 2-3: device not accepting address 4, error 
-108
Mar 29 09:06:56 alan kernel: usb usb2-port3: couldn't allocate usb_device


It seems that some rest is sometimes needed ;-)



Re: usb failure

2011-09-12 Thread Gareth de Vaux
On Sun 2011-09-11 (08:26), Simon Brandmair wrote:
 Maybe related to: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634023

I don't think so? Nothing happens when I plug a stick in - the subsystem
is 'dead'.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110912174056.ga63...@lordcow.org



Re: usb failure

2011-09-11 Thread Simon Brandmair
On 10/9/2011 17:30 Gareth de Vaux wrote:

 Hi guys, I've been having usb issues on and off for about 2 years with
 my SUN W1100z workstation. The keyboard, mouse, flash stick etc. are all
 currently unresponsive. (The machine only has usb ports, all of which I've
 tried).

Maybe related to: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634023

Cheers,
Simon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j4hrb5$dpc$1...@news.albasani.net



usb failure

2011-09-10 Thread Gareth de Vaux
Hi guys, I've been having usb issues on and off for about 2 years with
my SUN W1100z workstation. The keyboard, mouse, flash stick etc. are all
currently unresponsive. (The machine only has usb ports, all of which I've
tried).

I'm guessing the current state is due to the latest upgrade which included:

[UPGRADE] libusb-0.1-4 2:0.1.12-18 - 2:0.1.12-19
[UPGRADE] libusb-1.0-0 2:1.0.8-4 - 2:1.0.8-5
[UPGRADE] linux-image-3.0.0-1-amd64 3.0.0-1 - 3.0.0-3
[UPGRADE] usbutils 1:003-1 - 1:004-2

and typically an upgrade down the line will resolve the issue, but a further
upgrade will make it reappear. Does anyone have any idea what's going on?


Some info after a reboot:

$ cat /etc/issue
Debian GNU/Linux wheezy/sid \n \l

$ uname -a
Linux fire 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux

$ grep -i usb /var/log/kern.log | grep Sep 10
Sep 10 15:39:55 fire kernel: [0.925358] usbcore: registered new interface 
driver usbfs
Sep 10 15:39:55 fire kernel: [0.925394] usbcore: registered new interface 
driver hub
Sep 10 15:39:55 fire kernel: [0.942267] usbcore: registered new device 
driver usb
Sep 10 15:39:55 fire kernel: [0.943043] ehci_hcd: USB 2.0 'Enhanced' Host 
Controller (EHCI) Driver
Sep 10 15:39:55 fire kernel: [0.943516] ohci_hcd: USB 1.1 'Open' Host 
Controller (OHCI) Driver
Sep 10 15:39:55 fire kernel: [0.963136] ohci_hcd :01:00.0: new USB bus 
registered, assigned bus number 1
Sep 10 15:39:55 fire kernel: [1.031744] usb usb1: New USB device found, 
idVendor=1d6b, idProduct=0001
Sep 10 15:39:55 fire kernel: [1.031750] usb usb1: New USB device strings: 
Mfr=3, Product=2, SerialNumber=1
Sep 10 15:39:55 fire kernel: [1.031753] usb usb1: Product: OHCI Host 
Controller
Sep 10 15:39:55 fire kernel: [1.031756] usb usb1: Manufacturer: Linux 
3.0.0-1-amd64 ohci_hcd
Sep 10 15:39:55 fire kernel: [1.031759] usb usb1: SerialNumber: :01:00.0
Sep 10 15:39:55 fire kernel: [1.031912] hub 1-0:1.0: USB hub found
Sep 10 15:39:55 fire kernel: [1.147657] ohci_hcd :01:00.1: new USB bus 
registered, assigned bus number 2
Sep 10 15:39:55 fire kernel: [1.202050] usb usb2: New USB device found, 
idVendor=1d6b, idProduct=0001
Sep 10 15:39:55 fire kernel: [1.202054] usb usb2: New USB device strings: 
Mfr=3, Product=2, SerialNumber=1
Sep 10 15:39:55 fire kernel: [1.202057] usb usb2: Product: OHCI Host 
Controller
Sep 10 15:39:55 fire kernel: [1.202060] usb usb2: Manufacturer: Linux 
3.0.0-1-amd64 ohci_hcd
Sep 10 15:39:55 fire kernel: [1.202063] usb usb2: SerialNumber: :01:00.1
Sep 10 15:39:55 fire kernel: [1.202282] hub 2-0:1.0: USB hub found

$ lsmod | egrep hcd|evdev
evdev  17558  4 
ohci_hcd   26576  0 
ehci_hcd   40090  0 
usbcore   128338  3 ohci_hcd,ehci_hcd

$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

$ ls -l /dev/input
total 0
drwxr-xr-x 2 root root 60 Sep 10 15:39 by-path
crw--- 1 root root 13, 64 Sep 10 15:39 event0
crw--- 1 root root 13, 65 Sep 10 15:39 event1
crw--- 1 root root 13, 66 Sep 10 15:39 event2
crw--- 1 root root 13, 63 Sep 10 15:39 mice



Corresponding kern.log output from when it was last working:

Aug 29 20:07:17 fire kernel: [1.431907] usbcore: registered new interface 
driver usbfs
Aug 29 20:07:17 fire kernel: [1.431946] usbcore: registered new interface 
driver hub  
Aug 29 20:07:17 fire kernel: [1.475085] usbcore: registered new device 
driver usb 
Aug 29 20:07:17 fire kernel: [1.475851] ehci_hcd: USB 2.0 'Enhanced' Host 
Controller (EHCI) Driver
Aug 29 20:07:17 fire kernel: [1.608606] ehci_hcd :01:03.2: new USB bus 
registered, assigned bus number 1
Aug 29 20:07:17 fire kernel: [1.644171] ehci_hcd :01:03.2: USB 2.0 
started, EHCI 1.00
Aug 29 20:07:17 fire kernel: [1.644205] usb usb1: New USB device found, 
idVendor=1d6b, idProduct=0002
Aug 29 20:07:17 fire kernel: [1.644210] usb usb1: New USB device strings: 
Mfr=3, Product=2, SerialNumber=1
Aug 29 20:07:17 fire kernel: [1.644213] usb usb1: Product: EHCI Host 
Controller
Aug 29 20:07:17 fire kernel: [1.644216] usb usb1: Manufacturer: Linux 
3.0.0-1-amd64 ehci_hcd
Aug 29 20:07:17 fire kernel: [1.644219] usb usb1: SerialNumber: :01:03.2
Aug 29 20:07:17 fire kernel: [1.644372] hub 1-0:1.0: USB hub found
Aug 29 20:07:17 fire kernel: [1.703189] ohci_hcd: USB 1.1 'Open' Host 
Controller (OHCI) Driver
Aug 29 20:07:17 fire kernel: [1.703861] ohci_hcd :01:00.0: new USB bus 
registered, assigned bus number 2
Aug 29 20:07:17 fire kernel: [1.758039] usb usb2: New USB device found, 
idVendor=1d6b, idProduct=0001
Aug 29 20:07:17 fire kernel: [1.758044] usb usb2: New USB device strings: 
Mfr=3, Product=2, SerialNumber=1
Aug 29 20:07:17 fire kernel: [1.758047] usb usb2: Product: OHCI Host 
Controller
Aug 29 20:07:17