Bug 751840

Summary: F16 Alpha: executing lsusb could not initialize libusb
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: usbutilsAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: lnykryn, ovasik, wgomerin
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-20 14:40:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description IBM Bug Proxy 2011-11-07 18:20:16 UTC
While executing lsusb command from terminal ,without any expected output  it generates following error on Fedroa16 alpha PPC64 :

[root@c57f1ju0204 ~]# lsusb
unable to initialize libusb: -99

--- additional info ---

[root@c57f1ju0204 ~]# uname -a
Linux c57f1ju0204.ppd.pok.ibm.com 3.1.0-0.rc9.git0.2.fc16.kh.ppc64 #1 SMP Wed
Oct 12 22:41:01 UTC 2011 ppc64 ppc64 ppc64 GNU/Linux

[root@c57f1ju0204 ~]# rpm -qa | grep -i usb
usb_modeswitch-data-20110714-1.fc16.noarch
usb_modeswitch-1.1.7-1.fc16.ppc64
libusb1-1.0.9-0.3.rc1.fc16.ppc64
libusb-0.1.3-9.fc16.ppc64
rt73usb-firmware-1.8-8.fc15.noarch
usbmuxd-1.0.7-1.fc16.ppc64
usbutils-003-4.fc16.ppc64
xorg-x11-drv-sisusb-0.9.4-7.fc16.ppc64
libertas-usb8388-firmware-5.110.22.p23-5.fc15.noarch

Also seen on a system running 3.1.0-7.fc16.ppc64

Comment 1 Lukáš Nykrýn 2011-11-08 09:14:49 UTC
Has this machine usb bus?

Comment 3 IBM Bug Proxy 2011-11-08 16:10:37 UTC
------- Comment From maknayak.com 2011-11-08 11:07 EDT-------
(In reply to comment #6)
> Has this machine usb bus?

I checked both on system and HMC properties , there is no usb device attached.
[root@c57f1ju0204 ~]# ls -l /sys/bus/pci/devices/
total 0

Thanks...
Manas

Comment 4 Lukáš Nykrýn 2011-11-08 18:57:35 UTC
Well if it does not have usb than I think that there is no problem. Lsusb tries to initialize libusb and it failed because there is no usb, this looks like correct behavior.