On 30 October 2010 09:37, Rahul Ruikar <rahul.ruikar@xxxxxxxxx> wrote: > On 30 October 2010 02:58, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: >> On Sat, 30 Oct 2010, Rahul Ruikar wrote: >> >>> Hi, >>> >>> I am using kernel 2.6.36, >>> I connected USB pen drive... any idea what's this garbage print in 5th line >>> Oct 30 00:33:22 ganesha kernel: [ 1599.244381] ehci_hcd 0000:00:1d.7: >>> RÃiÄÃ|ÃÃ^GÄEÄ >>> >>> >>> >>> Oct 30 00:33:22 ganesha kernel: [ 1599.193139] hub 1-0:1.0: >>> __pm_runtime_resume()! >>> Oct 30 00:33:22 ganesha kernel: [ 1599.193145] hub 1-0:1.0: >>> __pm_runtime_resume() returns 1! >>> Oct 30 00:33:22 ganesha kernel: [ 1599.193168] hub 1-0:1.0: port 1, >>> status 0501, change 0000, 480 Mb/s >>> Oct 30 00:33:22 ganesha kernel: [ 1599.244374] ehci_hcd 0000:00:1d.7: >>> port 1 high speed >>> Oct 30 00:33:22 ganesha kernel: [ 1599.244381] ehci_hcd 0000:00:1d.7: >>> RÃiÄÃ|ÃÃ^GÄEÄ >>> Oct 30 00:33:22 ganesha kernel: [ 1599.295104] usb 1-1: new high speed >>> USB device using ehci_hcd and address 8 >>> Oct 30 00:33:22 ganesha kernel: [ 1599.346377] ehci_hcd 0000:00:1d.7: >>> port 1 high speed >>> Oct 30 00:33:22 ganesha kernel: [ 1599.346384] ehci_hcd 0000:00:1d.7: >>> RÃiÄÃ|ÃÃ^GÄEÄ >>> Oct 30 00:33:22 ganesha kernel: [ 1599.409686] usb 1-1: __pm_runtime_resume()! >>> Oct 30 00:33:22 ganesha kernel: [ 1599.409693] usb 1-1: >>> __pm_runtime_resume() returns -11! >>> Oct 30 00:33:22 ganesha kernel: [ 1599.411687] usb 1-1: default language 0x0409 >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413562] usb 1-1: udev 8, busnum >>> 1, minor = 7 >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413569] usb 1-1: New USB device >>> found, idVendor=05dc, idProduct=a731 >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413576] usb 1-1: New USB device >>> strings: Mfr=1, Product=2, SerialNumber=3 >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413583] usb 1-1: Product: JD FireFly >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413589] usb 1-1: Manufacturer: Lexar >>> Oct 30 00:33:22 ganesha kernel: [ 1599.413594] usb 1-1: SerialNumber: >>> AA04019000011161 >> >> I have no idea why your messages are getting scrambled. ÂHave you tried >> looking at the dmesg log rather than the system log file? >> >> Here's what happens on my machine: >> >> [ Â 54.348292] ehci_hcd 0000:00:1d.7: port 8 high speed >> [ Â 54.348441] ehci_hcd 0000:00:1d.7: GetStatus port:8 status 001005 0 ÂACK POWER sig=se0 PE CONNECT >> [ Â 54.404052] usb 4-8: new high speed USB device using ehci_hcd and address 2 >> [ Â 54.460256] ehci_hcd 0000:00:1d.7: port 8 high speed >> [ Â 54.460405] ehci_hcd 0000:00:1d.7: GetStatus port:8 status 001005 0 ÂACK POWER sig=se0 PE CONNECT >> [ Â 54.536757] usb 4-8: default language 0x0409 >> [ Â 54.537630] usb 4-8: udev 2, busnum 4, minor = 385 >> [ Â 54.537773] usb 4-8: New USB device found, idVendor=1307, idProduct=0165 >> [ Â 54.537917] usb 4-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 >> [ Â 54.538060] usb 4-8: Product: USB Mass Storage Device >> [ Â 54.538199] usb 4-8: Manufacturer: USBest Technology >> [ Â 54.538338] usb 4-8: SerialNumber: 00000000000126 >> >> Alan Stern >> >> > > > Log messages are getting printed as you mentioned, they were just > wrapped up in mail editor. > anyways here is output of dmesg. I was concerned about following print > in this log file. > > [ Â696.476147] ehci_hcd 0000:00:1d.7: Rïiïï\ ïïE > > I could not locate source of this log statement in code. > > > [ Â696.435344] usb usb1: usb wakeup-resume > [ Â696.435352] usb usb1: __pm_runtime_resume()! > [ Â696.435359] ehci_hcd 0000:00:1d.7: __pm_runtime_resume()! > [ Â696.435366] ehci_hcd 0000:00:1d.7: __pm_runtime_resume() returns 1! > [ Â696.435375] usb usb1: usb auto-resume > [ Â696.435382] ehci_hcd 0000:00:1d.7: resume root hub > [ Â696.476109] hub 1-0:1.0: hub_resume > [ Â696.476147] ehci_hcd 0000:00:1d.7: Rïiïï\ ïïE > [ Â696.476158] hub 1-0:1.0: port 3: status 0501 change 0001 > [ Â696.577120] usb usb1: __pm_runtime_resume() returns 0! > [ Â696.577150] hub 1-0:1.0: state 7 ports 8 chg 0008 evt 0000 > [ Â696.577159] hub 1-0:1.0: __pm_runtime_resume()! > [ Â696.577165] usb usb1: __pm_runtime_resume()! > [ Â696.577171] usb usb1: __pm_runtime_resume() returns 1! > [ Â696.577180] hub 1-0:1.0: __pm_runtime_resume() returns 0! > [ Â696.577203] hub 1-0:1.0: port 3, status 0501, change 0000, 480 Mb/s > [ Â696.628296] ehci_hcd 0000:00:1d.7: port 3 high speed > [ Â696.628302] ehci_hcd 0000:00:1d.7: Rïiïï|ïïïE > [ Â696.679122] usb 1-3: new high speed USB device using ehci_hcd and address 5 > [ Â697.060306] ehci_hcd 0000:00:1d.7: port 3 high speed > [ Â697.060314] ehci_hcd 0000:00:1d.7: Rïiïï|ïïïE > [ Â697.123737] usb 1-3: __pm_runtime_resume()! > [ Â697.123744] usb 1-3: __pm_runtime_resume() returns -11! > [ Â697.125609] usb 1-3: default language 0x0409 > [ Â697.127616] usb 1-3: udev 5, busnum 1, minor = 4 > [ Â697.127623] usb 1-3: New USB device found, idVendor=05dc, idProduct=a731 > [ Â697.127630] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > [ Â697.127636] usb 1-3: Product: JD FireFly > [ Â697.127642] usb 1-3: Manufacturer: Lexar > [ Â697.127647] usb 1-3: SerialNumber: AA04019000011161 > > Thanks > - Rahul > will try to print/debug contents of dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status) which actually print that string. - Rahul -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html