View previous topic :: View next topic |
Author |
Message |
Pegasus87 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Sep 2004 Posts: 373
|
Posted: Thu Jun 02, 2005 4:32 pm Post subject: [SOLVED] USB 2.0 Festplatte lahm... |
|
|
Hallo,
ich habe eine Festplatte mit USB 2.0 Anschluss. Im Kernel (2.6.11.4) benutze ich EHCI damit USB2.0 funktioniert. Das scheint auch zu funktionieren, denn dmesg gibt beim Anschließen folgendes aus: Code: | usb 1-1: new high speed USB device using ehci_hcd and address 2 | Auf jeden fall kann ich das Dateisystem auch mounten (FAT32). Wenn ich nun aber etwas kopiere (z.B. mit Konqueror), dann habe ich ganz miese Geschwindigkeiten von 4 KB/s bis maximal 1 MB/s.
Unte Windows geht das wesentlich schneller. Was mache ich hier falsch? Fehlt noch was anderes im Kernel, damit das schnell geht?
Last edited by Pegasus87 on Thu Jun 02, 2005 5:37 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Thu Jun 02, 2005 4:36 pm Post subject: |
|
|
Was sagt denn
Code: |
hdparm -T -t /dev/sda
|
(falls /dev/sda das korrekte device ist)? _________________ Never argue with an idiot. He brings you down to his level, then beats you with experience.
How-To: Daten verschlüsselt auf DVD speichern. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pegasus87 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Sep 2004 Posts: 373
|
Posted: Thu Jun 02, 2005 5:06 pm Post subject: |
|
|
Folgendes:
Code: |
hdparm -T -t /dev/ub/a/part1
/dev/ub/a/part1:
Timing cached reads: 1396 MB in 2.00 seconds = 697.76 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 6 MB in 3.08 seconds = 1.95 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pegasus87 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Sep 2004 Posts: 373
|
Posted: Thu Jun 02, 2005 5:34 pm Post subject: |
|
|
Aja, hab den Fehler gefunden.
Im Kernel war Device Drivers -> Block Devices -> Low Performance USB Block driver eincompiliert.
Das habe ich rausgenommen. Danach ging gar nichts mehr, das USB-Device wurde nicht mehr in /dev eingebaut. Ich hab dann Device Drivers -> SCSI Device Support -> SCSI disk support im Kernel aktiviert. Danach spuckt dmesg beim Anschließen folgendes aus: Code: |
usb 1-1: new high speed USB device using ehci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Maxtor 4 Model: R120L0 Rev: 0811
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
sda: assuming drive cache: write through
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
|
Und hdparm ergibt: Code: |
hdparm -T -t /dev/sda1
/dev/sda1:
Timing cached reads: 1424 MB in 2.00 seconds = 712.11 MB/sec
Timing buffered disk reads: 64 MB in 3.09 seconds = 20.74 MB/sec |
Was schon viel besser ist ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|