Error in kernel 2.6.16.28 on PCMCIA card removal

bhuvan.kumarmital at wipro.com bhuvan.kumarmital at wipro.com
Tue Sep 12 05:47:35 EDT 2006



 Hi,
	We've developed a device driver for a PCMCIA multifunction card
with serial and USB functions for kernel 2.6.15.4. Now we're porting
this code to 2.6.16 and 2.6.17 kernel versions. The issue that we're
facing in kernel 2.6.16 is that when we do a hard-eject of the card
(remove the card physically), we get the "hub_port_status failed (err=
-19)" message in /var/log/messages

Please refer the following kernel log:

Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_status_data:
CSC/PESC/PSSC/OCIC/PRSC, port 0, port_status 0xffffffff
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:57 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:57 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:57 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:57 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:57 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 11, wIndex 1, wLength 0
Sep 12 12:14:57 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:57 localhost kernel: usb-hcd: USB_PORT_FEAT_C_ENABLE
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 12, wIndex 1, wLength 0
Sep 12 12:14:57 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:57 localhost kernel: usb-hcd: USB_PORT_FEAT_C_SUSPEND
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 1, wIndex 1, wLength 0
Sep 12 12:14:57 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:57 localhost kernel: usb-hcd: USB_PORT_FEAT_ENABLE
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:57 localhost kernel: hub 4-0:1.0: over-current change on
port 1
Sep 12 12:14:57 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 13, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_OVER_CURRENT
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2303 wValue 8, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: SetPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_POWER
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 14, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_RESET
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_status_data:
CSC/PESC/PSSC/OCIC/PRSC, port 0, port_status 0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:58 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:58 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:58 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:58 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:58 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:58 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_status_data:
CSC/PESC/PSSC/OCIC/PRSC, port 0, port_status 0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:14:59 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_status_data:
CSC/PESC/PSSC/OCIC/PRSC, port 0, port_status 0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
a300 wValue 0, wIndex 1, wLength 4
Sep 12 12:14:59 localhost kernel: usb-hcd: GetPortStatus
Sep 12 12:14:59 localhost kernel: usb-hcd: RhPortStatus=0xffffffff
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: [ENTRY]
Sep 12 12:14:59 localhost kernel: usb-hcd: usb-hcd_hub_control: typeReq
2301 wValue 10, wIndex 1, wLength 0
Sep 12 12:14:59 localhost kernel: usb-hcd: ClearPortFeature
Sep 12 12:14:59 localhost kernel: usb-hcd: USB_PORT_FEAT_C_CONNECTION
Sep 12 12:15:00 localhost kernel: usb-hcd: hub_control: Card EJECTED
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_hub_control returns
0: [EXIT]
Sep 12 12:15:00 localhost kernel: pccard: card ejected from slot 0
Sep 12 12:15:00 localhost kernel: pcmcia_cs:
pcmcia_cs_release(0xc33e54c0)
Sep 12 12:15:00 localhost kernel: pcmcia_cs: pcmcia_cs_release: platform
device unregistering
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_remove: [ENTRY]
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_remove: Card not
present
Sep 12 12:15:00 localhost kernel: Usb-hcd Usb-hcd: remove, state 1
Sep 12 12:15:00 localhost kernel: usb usb4: USB disconnect, address 1
Sep 12 12:15:00 localhost kernel: hub 4-0:1.0: hub_port_status failed
(err = -19)
Sep 12 12:15:00 localhost kernel: hub 4-0:1.0: connect-debounce failed,
port 1 disabled
Sep 12 12:15:00 localhost kernel: hub 4-0:1.0: cannot disable port 1
(err = -19)
Sep 12 12:15:00 localhost kernel: hub 4-0:1.0: hub_hub_status failed
(err = -19)
Sep 12 12:15:00 localhost kernel: hub 4-0:1.0: get_hub_status failed
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd:
usb-hcd_endpoint_disable [ENTRY]
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_endpoint_disable:
Endpoint descriptor not initialised
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd:
usb-hcd_endpoint_disable [ENTRY]
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_endpoint_disable:
Endpoint descriptor not initialised
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd:
usb-hcd_endpoint_disable [ENTRY]
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_endpoint_disable:
Endpoint descriptor not initialised
Sep 12 12:15:00 localhost kernel: usb-hcd: In usb-hcd_stop:[ENTRY]
Sep 12 12:15:00 localhost kernel: usb-hcd: In usb-hcd_stop:[EXIT]
Sep 12 12:15:00 localhost kernel: Usb-hcd Usb-hcd: USB bus 4
deregistered
Sep 12 12:15:00 localhost kernel: usb-hcd: usb-hcd_remove: [EXIT]
Sep 12 12:15:00 localhost kernel: pcmcia_cs: pcmcia_cs_release: release
successful
Sep 12 12:15:00 localhost kernel: pcmcia_cs: pcmcia_cs_detach: detach
routine successful

However on re-insertion the card does get bound to the driver properly
and the configuration is successful. Even the devices connected to the
usb function work fine. But upon the card removal(hard eject),the
same(above mentioned) messages occur. The occurence of these messages is
also not consistent. Sometimes the removal happens gracefully.

These messages do not occur during software removal (pccardctl eject)
and software insertion (pccardctl insert).

They also do not occur in case of kernel 2.6.17 and 2.6.15.

I think that somehow the hub_status_data is getting executed (due to the
invocation of the roothub thread), before the remove(detach) function is
called.What could be the reason for the occurence of these messages? 


Regards,

Bhuvan Mital


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



More information about the linux-pcmcia mailing list