Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] USB 2.0 Festplatte lahm...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Thu Jun 02, 2005 4:32 pm    Post subject: [SOLVED] USB 2.0 Festplatte lahm... Reply with quote

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
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Thu Jun 02, 2005 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Thu Jun 02, 2005 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Thu Jun 02, 2005 5:34 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum