Thanks for the response Alan. I downloaded/compiled 2.6.15 with appropriate Debug Info, as you suggested. I am running a minimal linux system and do not have dmesg output setup. However, I do have the Debug info provided below. Again, here is the situation:

1) cold boot with USB key connected
2) after boot, cannot mount USB key partition sda1 (bash-prompt hangs if I try)
3) remove the USB key, and then reconnect
4) now sda1 is mountable

------------------------------------------
DEBUG MESSAGES AFTER BOOT, WITHOUT ME DOING ANYTHING:

input: DualPoint Stick as /class/input/input1
input: AlpsPS/2 ALPS DualPoint TouchPad as /class/input/input2
  Vendor: SanDissk   Model: Cruzer    Rev: 0.2
  Type: Direct-Access       ANSI SCSI revision: 02
SCSI device sda: 2001888 512-byte hdwr sectors (1025MB)
sda: Write Protect is off
sa: asuming drive cache: write through
sda:<7>usb-storage: queuecommand called

--------------------------------------------
AGAIN I HAVEN"T DONE ANYTHING, THIS BELOW MESSAGE IS OUTPUT APPROX. ONCE PER MINUTE
usb 1-3: reset high speed USB device using ehci_hcd and address 2


------------------------------------------------------------------------------------
I REMOVE THE USB KEY FROM COMPUTER
usb 1-3: USB disconnect, address 2
sd 0:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 0:0:0:0: SCSI error: return code = 0x10000
end_request: I/O erro, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
unable to read partition table
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0


-------------------------------------------------------------
INSERT USB KEY BACK INTO COMPUTER
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb 1-3: Product: Cruzer Mini
usb 1-3: Manufacturer: SanDisk Corporation
usb 1-3: Serial Number: 200432348293e323dc
scsi1: SCSI emulation for USB Mass Storage devices
   Vendor: SanDisk   Model: Cruzer Mini   Rev: 0.2
   Type: Direct-Access    ANSI SCSI revision: 02
SCSI device sda: 2001888 512-byte hdwr sectors (1025MB)
sda: Write Proctect is off
sda: assuming drive cache: write through
SCSI device sda: 2001888 512-byte hdwr sectors (1025MB)
sda: Write Proctect is off
sda: assuming drive cache: write through
 sda:<7>usb-storage: queuecommand called
sda1 sda2
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0

I can now mount the partition.

Thanks again Alan.




From: Alan Stern <[EMAIL PROTECTED]>
To: M Dolan <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Linux-usb-users] Forcing USB Disconnects
Date: Tue, 17 Jan 2006 10:27:16 -0500 (EST)

On Mon, 16 Jan 2006, M Dolan wrote:

> Hello,
>
> I've been trying to figure this problem out for a while, with no success.
> I'm hoping someone here could help.
>
> Basically I am booting linux with a USB key connected to the USB port.
> After the system is booted, the USB key is not recognized (maybe it is, but > the system just hangs when I try to mount a partition on the key or examine > the key). However, if I simply remove the key from the computer and then > re-insert it (after boot completes), it is then recognized properly and I
> can mount.  For our application, however, we need the key recognized and
> usable on boot, without having to remove/re-insert.
>
> I have taken a look at dmesg, but this shows little. Is there a simple way
> to solve this?  I would think it boils down to a forced (emulated)
> disconnect/reconnect. Any help would be appreciated. Some of my specs are
> below.  Thank you.
> Mark
>
> computer: tried with many, IBM laptops, Dell, same problem
> kernel: linux 2.6.9

To start with, you should upgrade to 2.6.15.

More information is needed.  Turn on the CONFIG_USB_DEBUG and
CONFIG_USB_STORAGE_DEBUG settings in the configuration and post the output
from dmesg.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

_________________________________________________________________
MSNĀ® Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSNĀ® Premium right now and get the first two months FREE*.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to