Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-04-01 Thread Marc Joliet
Am Tue, 31 Mar 2015 09:54:07 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Tue, 31 Mar 2015, Marc Joliet wrote: Like Matt suggested, the most reasonable possibility is an interaction with the BIOS. Like I said in my replay to Matt, the BIOS doesn't support booting

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-04-01 Thread Alan Stern
On Wed, 1 Apr 2015, Marc Joliet wrote: If it supports a USB keyboard, it might still go through and initialize all the USB devices. Hah! I should have thought of that. Well, I tried the following: unplug the drive before booting, plug it in once GRUB loads, and then boot the kernel.

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-04-01 Thread Marc Joliet
Am Wed, 1 Apr 2015 09:59:04 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Wed, 1 Apr 2015, Marc Joliet wrote: If it supports a USB keyboard, it might still go through and initialize all the USB devices. Hah! I should have thought of that. Well, I tried the

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-31 Thread Marc Joliet
(Sorry for the belated response.) Am Mon, 23 Mar 2015 17:14:27 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Mon, 23 Mar 2015, Marc Joliet wrote: OK, so obviously the drive is doing something wrong. I'm just confused about why one way works and not the other: -

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Marc Joliet wrote: Like Matt suggested, the most reasonable possibility is an interaction with the BIOS. Like I said in my replay to Matt, the BIOS doesn't support booting via USB. The If it supports a USB keyboard, it might still go through and initialize all

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 11:34:59 +0100 schrieb Marc Joliet mar...@gmx.de: [...] Am Mon, 23 Mar 2015 09:45:07 +0100 schrieb Marc Joliet mar...@gmx.de: Am Sun, 22 Mar 2015 15:55:21 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: [...] It does not sound like a driver problem.

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 09:50:32 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Mon, 23 Mar 2015, Marc Joliet wrote: Please capture a couple of usbmon traces showing what happens during a connect when the wrong sector size is detected and a connect when the

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Alan Stern
On Mon, 23 Mar 2015, Marc Joliet wrote: Please capture a couple of usbmon traces showing what happens during a connect when the wrong sector size is detected and a connect when the right sector size is detected. You can post the traces here (if there is a lot of repetitious

Re: Fw: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Alan Stern
On Mon, 23 Mar 2015, Marc Joliet wrote: - If I leave the drive unplugged during boot and plug it in without manually loading any modules, nothing happens. That is, the kernel does not log anything about the device being attached, and neither the uas nor the usb-storage modules are

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Alan Stern
On Mon, 23 Mar 2015, Marc Joliet wrote: OK, I got it down to 763 lines total because of various kernel messages and I was worried that they might provide important context, so it's not quite down to 200 lines, but I hope that's close enough. The logs for the reconnect start after line 323

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 11:39:30 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Mon, 23 Mar 2015, Marc Joliet wrote: OK, I got it down to 763 lines total because of various kernel messages and I was worried that they might provide important context, so it's not quite down

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 11:34:59 +0100 schrieb Marc Joliet mar...@gmx.de: [...] - Same as above, but this time I load the uas module before plugging in the drive (I could have used usb-storage, but didn't out of mental habit). This time the sector size is detected correctly. There are

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 12:07:44 -0700 schrieb Matthew Dharm mdharm-...@one-eyed-alien.net: Marc -- In re: why behavior is different at boot-up vs hotplug -- have you considered the possibility that your BIOS sends a READ_CAPACITY command to the drive during POST? If you BIOS is enabled for

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Matthew Dharm
Marc -- In re: why behavior is different at boot-up vs hotplug -- have you considered the possibility that your BIOS sends a READ_CAPACITY command to the drive during POST? If you BIOS is enabled for boot-from-USB (and most are), then it likely probes the device to compile a list of boot

Fw: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
-usb-ow...@vger.kernel.org Cc: st...@rowland.harvard.edu Betreff: Re: External USB3 HDD: logical sector size incorrectly detected on first connect (CC-ing Alan this time because my original message still hasn't shown up on the list.) Am Mon, 23 Mar 2015 09:45:07 +0100 schrieb Marc Joliet mar

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Alan Stern
On Mon, 23 Mar 2015, Marc Joliet wrote: OK, so obviously the drive is doing something wrong. I'm just confused about why one way works and not the other: - Boot up the computer with the drive attached: failure. - Boot up the computer without the drive attached, load the required kernel

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Alan Stern
On Mon, 23 Mar 2015, Marc Joliet wrote: Am Mon, 23 Mar 2015 11:34:59 +0100 schrieb Marc Joliet mar...@gmx.de: [...] - Same as above, but this time I load the uas module before plugging in the drive (I could have used usb-storage, but didn't out of mental habit). This

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-23 Thread Marc Joliet
Am Mon, 23 Mar 2015 13:29:02 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Mon, 23 Mar 2015, Marc Joliet wrote: Am Mon, 23 Mar 2015 11:34:59 +0100 schrieb Marc Joliet mar...@gmx.de: [...] - Same as above, but this time I load the uas module before plugging in

External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-22 Thread Marc Joliet
Hello First off, I would like to clarify that I was redirected here from gentoo-user (see my thread at http://archives.gentoo.org/gentoo-user/message/5677e2044aba73c5ac046a2a634f801a). If this is the wrong list for issues like this, please direct me to the proper place. Also, while I searched

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-22 Thread Alan Stern
On Sun, 22 Mar 2015, Marc Joliet wrote: Hello First off, I would like to clarify that I was redirected here from gentoo-user (see my thread at http://archives.gentoo.org/gentoo-user/message/5677e2044aba73c5ac046a2a634f801a). If this is the wrong list for issues like this, please direct me