Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fehler beim kopieren von Dateien auf mp3-player
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
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Wed Oct 05, 2005 4:15 pm    Post subject: Fehler beim kopieren von Dateien auf mp3-player Reply with quote

Hallo zusammen,

sorry, dass ich schon wieder einen neuen Thread anfangen muss aber nun hab ich probleme mit meinem mp3-player (THOMSON Lyra PDP2448).
Ich habe den Player nun schon über ein Jahr und wollte ihn wieder mal mit neuer Musik bestücken. Der Player wird als USB Mass-storage device erkannt.

Ich hab also angefangen die Dateien zu kopieren. Die erste Datei ging problemlos (aber etwas langsam, so ca. 40 sek für 3MB). Bei der zweiten Datei bricht konqueror auf einmal mittendrin das Kopieren ab und behauptet er könne die Datei nicht schreiben.
dmesg zeigt folgendes:
Code:

usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: device not accepting address 4, error -110
usb 2-1: reset full speed USB device using ohci_hcd and address 4
usb 2-1: device not accepting address 4, error -110
usb 2-1: USB disconnect, address 4
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lu
n 0
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00
sdc : sense not available.
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
SCSI error : <2 0 0 0> return code = 0x10000
end_request: I/O error, dev sdb, sector 307
Buffer I/O error on device sdb1, logical block 262
lost page write due to I/O error on sdb1
scsi2 (0:0): rejecting I/O to device being removed
Buffer I/O error on device sdb1, logical block 12727
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12728
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12729
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12730
lost page write due to I/O error on sdb1
scsi2 (0:0): rejecting I/O to device being removed
Buffer I/O error on device sdb1, logical block 12735
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12736
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12737
lost page write due to I/O error on sdb1
Buffer I/O error on device sdb1, logical block 12738
lost page write due to I/O error on sdb1
scsi2 (0:0): rejecting I/O to device being removed
Buffer I/O error on device sdb1, logical block 12743
lost page write due to I/O error on sdb1
scsi2 (0:0): rejecting I/O to device being removed
scsi2 (0:0): rejecting I/O to device being removed
scsi2 (0:0): rejecting I/O to device being removed
scsi2 (0:0): rejecting I/O to device being removed
scsi2 (0:0): rejecting I/O to device being removed
scsi2 (0:0): rejecting I/O to device being removed
SCSI error : <2 0 0 0> return code = 0x10000
end_request: I/O error, dev sdb, sector 58
scsi2 (0:0): rejecting I/O to device being removed
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00
sdc : sense not available.
scsi2 (0:1): rejecting I/O to dead device
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
 sdc:<3>scsi2 (0:1): rejecting I/O to dead device
scsi2 (0:1): rejecting I/O to dead device
 unable to read partition table
scsi2 (0:1): rejecting I/O to dead device
scsi2 (0:0): rejecting I/O to dead device
scsi2 (0:0): rejecting I/O to dead device
FAT: FAT read failed (blocknr 13)
scsi2 (0:0): rejecting I/O to dead device
FAT: FAT read failed (blocknr 12)
usb 2-1: new full speed USB device using ohci_hcd and address 5
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: new full speed USB device using ohci_hcd and address 6
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: new full speed USB device using ohci_hcd and address 7
usb 2-1: device not accepting address 7, error -110
usb 2-1: new full speed USB device using ohci_hcd and address 8
usb 2-1: device not accepting address 8, error -110

Am mp3-player blinkt munter weiter "Transfer..." obwohl gar kein Transfer mehr läuft.

Ich hab daraufhin den player aus- und neu eingesteckt und wollte es nochmal probieren. Diesmal brach er aber direkt bei der ersten Datei nach ca. 60% den Kopiervorgang ab. dmesg zeigt das Gleiche wie oben.

Ist der player nun schrott, oder liegt es evtl. an einem Treiber?
Ich habe gerade coldplug verbannt und meine /etc/modules.autoload.d/kernel-2.6 von Hand geschrieben. Sieht so aus:
Code:

# network
sk98lin
forcedeth

# parport
parport
parport_pc

# usb firewire
usbcore
# uhci_hcd
ohci_hcd
# ehci_hcd
ieee1394
ohci1394
usbhid

# nvidia driver
nvidia

Und der output von lsmod:
Code:

Module                  Size  Used by
usb_storage            30852  2
snd_seq_midi            6816  0
snd_emu10k1_synth       7040  0
snd_emux_synth         35328  1 snd_emu10k1_synth
snd_seq_virmidi         6016  1 snd_emux_synth
snd_seq_midi_emul       6784  1 snd_emux_synth
snd_pcm_oss            47648  0
snd_mixer_oss          17152  1 snd_pcm_oss
snd_seq_dummy           2820  0
snd_seq_oss            32256  0
snd_seq_midi_event      6016  3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq                49680  9 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_intel8x0           29248  0
snd_emu10k1           116900  2 snd_emu10k1_synth
snd_rawmidi            20640  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_device          7180  8 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         81788  2 snd_intel8x0,snd_emu10k1
snd_pcm                81544  5 snd_pcm_oss,snd_intel8x0,snd_emu10k1,snd_ac97_codec
snd_timer              21508  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          8584  3 snd_intel8x0,snd_emu10k1,snd_pcm
snd_util_mem            3456  2 snd_emux_synth,snd_emu10k1
snd_hwdep               7200  2 snd_emux_synth,snd_emu10k1
snd                    46564  15 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_intel8x0,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
soundcore               7520  1 snd
nvidia               3707784  12
agpgart                29512  1 nvidia
usbhid                 32096  0
ohci1394               32436  0
ieee1394               89268  1 ohci1394
ohci_hcd               19204  0
usbcore               108924  4 usb_storage,usbhid,ohci_hcd
parport_pc             30404  0
parport                32456  1 parport_pc
forcedeth              17024  0
sk98lin               172000  0


Meines Wissens sollte alles in Ordnung sein.

Was ist eigentlich der Unterschied zwischen uhci_hcd ohci_hcd und ehci_hcd? Ich habe gelesen man sollte sie besser nicht zusammen benutzen drum hab ich alle außer ohci_hcd deaktiviert.

Sollte ich sie lieber wieder anschalten/einen anderen Treiber als ohci_hcd verwenden oder was soll ich nun tun?

Ich schätze es ist schwer zu beurteilen, aber denkt ihr es ist eher ein Hardware defekt oder es stimmt doch etwas an meiner configuration nicht?

Danke im Voraus für jegliche Hilfe :D

EDIT: Titel geändert, sollte jetzt das Problem besser beschreiben :wink:
Back to top
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Wed Oct 05, 2005 4:22 pm    Post subject: Reply with quote

Errm mit der neuen version vom kernel >= 2.6.12 ist standardmässig die sync option bei usb zeugs gesetzt. Schalt das mal ab, das bremst nämlich auch die Transfers aus. Such mal im Forum, du musst dazu glaub ne udev rule machen/ändern.
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Wed Oct 05, 2005 4:32 pm    Post subject: Reply with quote

Danke, ich habs grad unter XP versucht und da gehts natürlich ohne Probleme. Und schnell. :cry:

Ohje, udev rules, wo kann man da nachlesen wie das geht? :roll:

EDIT: Ah, ich sehe gerade, dass hald bei seinem automatischen fstab Eintrag bei den Optionen auch ein "sync" hinhängt.

Lassen sich Regeln für hald (oder ivman?) definieren?

EDIT2: omg heute ist kein guter Tag. Ich wollte in der wiki suchen wie man Regeln für hald definiert und jetzt kommt das:
Quote:
Fatal error: Only variables can be passed by reference in /var/www/de.gentoo-wiki.com/htdocs/includes/SearchEngine.php on line 36
:evil:
Back to top
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Wed Oct 05, 2005 5:51 pm    Post subject: Reply with quote

http://www.reactivated.net/writing_udev_rules.html
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Wed Oct 05, 2005 6:23 pm    Post subject: Reply with quote

Hmm ok mit udev rules scheint sich das nicht beheben zu lassen. Mit udev rules lassen sich zwar die Berechtigungen etc. festlegen aber nicht die mount optionen.

Wenn ich das device von Hand ohne die sync option mounte klappt alles wunderbar. Es liegt also an den Einstellungen für hald oder ivman. Der mp3-player wird immer automatisch mit der sync option gemountet.

Ich hab zwar schon nach Gegoogelt wie man regeln für ivman festlegt und hab auch was gefunden, aber nichts was mir weiterhilft. Für hald scheint es nicht mal eine Dokumentation zu geben.

Wie mountet ihr denn eure usb-Massenspeichergeräte, ohne sie jedes mal von Hand mounten zu müssen?
Back to top
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Wed Oct 05, 2005 6:34 pm    Post subject: Reply with quote

Ok dann ists wohl hal. Sorry hab da was verwechselt ;)
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