Quote:
Originally Posted by bryansmith If the drive doesn't work and another does (the cruzer), it sounds like a problem with the USB drive.
Can you not even copy a small text file?
Bryan |
Small text files I can copy; it's the big'ns that give trouble.
I should've mentioned the dmesg output; I think it may give a clue as to what may be wrong....
I'll make what I think are insightful comments after the dmesg output.
Following is the last message concerning the mouse, then messages pertaining to the successful mounting of the Cruzer USB key.
psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes
away.
usb 1-2: USB disconnect, address 21
usb 1-2: new high speed USB device using ehci_hcd and address 22
usb 1-2: configuration #1 chosen from 1 choice
scsi21 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 22
usb-storage: waiting for device to settle before scanning
scsi 21:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 2.18 PQ: 0 ANSI: 2
SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 21:0:0:0: Attached scsi removable disk sda
sd 21:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 1-2: USB disconnect, address 22
Now we try to mount a 60 GB Toshiba drive.
usb 1-2: new high speed USB device using ehci_hcd and address 23
usb 1-2: configuration #1 chosen from 1 choice
scsi22 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 23
usb-storage: waiting for device to settle before scanning
scsi 22:0:0:0: Direct-Access TOSHIBA MK6025GAS 0811 PQ: 0 ANSI: 0
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: sda1
sd 22:0:0:0: Attached scsi disk sda
sd 22:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
FAT: Filesystem panic (dev sda1)
fat_free_clusters: deleting FAT entry beyond EOF
File system has been set read-only
usb 1-2: USB disconnect, address 23
Well, that didn't work, so let's try the 120 GB Iomega drive.
usb 1-2: new high speed USB device using ehci_hcd and address 24
usb 1-2: configuration #1 chosen from 1 choice
scsi23 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 24
usb-storage: waiting for device to settle before scanning
scsi 23:0:0:0: Direct-Access Ext Hard Disk PQ: 0 ANSI: 4
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 10 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
sda: Write Protect is off
sda: Mode Sense: 10 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 23:0:0:0: Attached scsi disk sda
sd 23:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
sd 23:0:0:0: SCSI error: return code = 0x00050000
end_request: I/O error, dev sda, sector 20130325
printk: 62 messages suppressed.
Buffer I/O error on device sda1, logical block 20130262
lost page write due to I/O error on sda1
9 similar messages (different logical blocks)
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
usb 1-2: reset high speed USB device using ehci_hcd and address 24
etc....
When I get the resets from the attempted Iomega copy, the blue light on the drive (indicating some sort of action) goes off and stays off (i.e. doesn't blink). I have a couple of questions:
I notice that for both the successful mount and copy of the Cruzer USB key, and the unsuccessful mount and copy of the Iomega and Toshiba drives, there is the message:
sda: assuming drive cache: write through
Is it safe to assume a sufficiently large drive cache? I would also assume a drive cache, but are there any drives that don't have one? I should note that I did not buy either drive, and when I went to the Iomega website to look at the spec sheet, it mentioned that the drive was for Windows and Macs, but did not mention Linux. I'm wondering whether Iomega might be relying on Microsoft's and Apple's software to buffer and control the copying, rather than hardware (this is just a stray thought; I think it's unlikely).
Can I infer from the successful Cruzer mount and copy, the set of messages I would receive for a successful mount and copy of a hard drive?
Is there a step-by-step procedure for mounting and copying an external USB hard drive to Linux? I'm wondering whether there is some driver initialization parameter that is wrong or not there, or some step I'm missing.
By the way, thank you very much for your time and work! It's very helpful.