lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080627091717.GA4998@ics.muni.cz>
Date:	Fri, 27 Jun 2008 11:17:17 +0200
From:	Lukas Hejtmanek <xhejtman@....muni.cz>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	Greg KH <greg@...ah.com>,
	Kernel development list <linux-kernel@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>
Subject: Re: 2.6.26-rc1 regression since 2.6.25 - problem in 2.6.26-rc8
	again

On Thu, Jun 26, 2008 at 11:52:25AM -0400, Alan Stern wrote:
> What happens if instead of reloading ehci-hcd, you unplug and replug
> the disk?

nothing, disk is not discovered.

> What happens if you undock with the disk plugged in, then unplug the 
> disk, then dock the laptop, and then plug in the disk?

in such a case the disk is discovered.

If I keep the disk in while unplugging, the dmesg says:
[  294.164161] ACPI: \_SB_.GDCK - undocking
[  294.201826] usb 3-4: USB disconnect, address 3
[  294.201838] usb 3-4.3: USB disconnect, address 4
[  296.043225] eth0: Link is Down
[  304.910671] ACPI: \_SB_.GDCK - docking
[  305.421422] usb 3-4: new high speed USB device using ehci_hcd and address 5
[  305.544580] usb 3-4: configuration #1 chosen from 1 choice
[  305.544650] hub 3-4:1.0: USB hub found
[  305.544796] hub 3-4:1.0: 4 ports detected
[  305.649110] usb 3-4: New USB device found, idVendor=04b3, idProduct=4485
[  305.649124] usb 3-4: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[  307.185419] eth0: Link is Up 1000 Mbps Full Duplex, Flow Control: None

here I plugged the disk back.

[  337.620406] usb 3-4.3: new high speed USB device using ehci_hcd and address
6
[  337.717179] usb 3-4.3: configuration #1 chosen from 1 choice
[  337.727173] scsi6 : SCSI emulation for USB Mass Storage devices
[  337.740353] usb-storage: device found at 6
[  337.740353] usb-storage: waiting for device to settle before scanning
[  337.740353] usb 3-4.3: New USB device found, idVendor=152d, idProduct=2338
[  337.740353] usb 3-4.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=5
[  337.740377] usb 3-4.3: Product: USB to ATA/ATAPI Bridge
[  337.740380] usb 3-4.3: Manufacturer: JMicron
[  337.740384] usb 3-4.3: SerialNumber: 222291142391


If I unplug the disk first, there are no messages about USB hub just after
ACPI docking message.
 
> What does usbmon reveal when you dock the laptop again and then plug in
> the disk (see Documentation/usb/usbmon.txt)?

attached as 1-26.mon.out (2.6.26-rc8)
 
> Can you provide a comparable usbmon log for 2.6.25?

attached as 1-25.mon.out

> Did the problem go away at any time between 2.6.26-rc1 and -rc8?

If I remember correctly, in 2.6.26-rc2 you fixed it as I reported the problem.
2.6.26-rc5 does not work (behaviour is the same as rc8). The others, I do not
know. If it is really useful, I could try it but I do not have those kernels.

-- 
Lukáš Hejtmánek

View attachment "1-25.mon.out" of type "text/plain" (27700 bytes)

View attachment "1-26.mon.out" of type "text/plain" (3646 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ