Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB 2.0 Festplatte wird immer resettet !?!
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
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Sun Dec 31, 2006 4:58 pm    Post subject: USB 2.0 Festplatte wird immer resettet !?! Reply with quote

hallo,

ich versuche gerade meine neue USB 2.0 Platte ans laufen zu bekommen über ehci. Über uhci (also usb 1.1) läuft sie schon ohne probleme, das ist mir aber zu langsam. Wenn ich das ehci modul lade, wird das auch erkannt und versucht, die platte über dieses Modul zu laden. Ich bekomme dann aber immer die meldung, dass das device resettet wird. man hört auch, dass die festplatte immer neu (ich sag mal) initialisiert. hat da jemand einen tip für mich?

gruß,
henrik

hier die ausgaben:

dmesg wrote:
usb 5-1: new high speed USB device using ehci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: DCB Model: HS-HD Rev: 2.23
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 5-1: reset high speed USB device using ehci_hcd and address 2
usb 5-1: reset high speed USB device using ehci_hcd and address 2
usb 5-1: USB disconnect, address 2
0:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 4606871
Buffer I/O error on device sda1, logical block 575851
0:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 575852
Buffer I/O error on device sda1, logical block 575853
Buffer I/O error on device sda1, logical block 575854
Buffer I/O error on device sda1, logical block 575855
Buffer I/O error on device sda1, logical block 575856
Buffer I/O error on device sda1, logical block 575857
Buffer I/O error on device sda1, logical block 575858
Buffer I/O error on device sda1, logical block 575859
0:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 575851



/var/log/messages wrote:

Dec 31 17:49:29 henni kernel: usb 5-1: new high speed USB device using ehci_hcd and address 2
Dec 31 17:49:29 henni kernel: usb 5-1: configuration #1 chosen from 1 choice
Dec 31 17:49:29 henni kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Dec 31 17:49:34 henni kernel: Vendor: DCB Model: HS-HD Rev: 2.23
Dec 31 17:49:34 henni kernel: Type: Direct-Access ANSI SCSI revision: 00
Dec 31 17:49:35 henni kernel: SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
Dec 31 17:49:35 henni kernel: sda: Write Protect is off
Dec 31 17:49:35 henni kernel: SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
Dec 31 17:49:35 henni kernel: sda: Write Protect is off
Dec 31 17:49:36 henni kernel: sda: sda1
Dec 31 17:49:36 henni kernel: sd 0:0:0:0: Attached scsi disk sda
Dec 31 17:49:36 henni kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Dec 31 17:49:36 henni scsi.agent[10637]: disk at /devices/pci0000:00/0000:00:10.4/usb5/5-1/5-1:1.0/host0/target0:0:0/0:0:0:0
Dec 31 17:49:37 henni kernel: usb 5-1: reset high speed USB device using ehci_hcd and address 2
Dec 31 17:49:41 henni kernel: usb 5-1: reset high speed USB device using ehci_hcd and address 2
Dec 31 17:49:48 henni kernel: usb 5-1: USB disconnect, address 2
Dec 31 17:49:48 henni kernel: 0:0:0:0: SCSI error: return code = 0x10000
Dec 31 17:49:48 henni kernel: end_request: I/O error, dev sda, sector 4606871


emerge --info wrote:
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(TM) XP
Gentoo Base System version 1.12.6
Last Sync: Sat, 23 Dec 2006 12:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aiglx alsa alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts asf berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd dvdr dvdread elibc_glibc emboss encode foomaticdb fortran gd gdbm gif hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdehiddenvisibility kernel_linux libg++ libwww linguas_de lirc lm_sensors mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre perl php png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs x86 xml xml2 xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Sun Dec 31, 2006 5:27 pm    Post subject: Reply with quote

hab die platte gerade mal noch unter windows getestet. da schafft sie zw. 3 und 4 MB/s, was nicht gerade der Brüller ist, aber immerhin wird sie über USB 2.0 angesprochen.
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Mon Jan 01, 2007 1:21 pm    Post subject: Reply with quote

Das schaut für mich sehr nach einem schlechten USB-Kabel aus. Nimm mal testweise ein anderes.
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Mon Jan 01, 2007 1:35 pm    Post subject: Reply with quote

Leider lag es daran auch nicht. unter Windows funktioniert es auch genau in dieser Konstellation, also kann man einen Hardwaredefekt eigentlich ausschließen. Trotzdem ein guter Tipp, daran hatte ich nicht gedacht.

Hat sonst noch jemand eine Idee? Ich werde mal eine aktuelle Knoppix probieren. Mal schauen, was die so sagt.

Danke
Henrik
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Mon Jan 01, 2007 2:40 pm    Post subject: Reply with quote

hab gerade knoppix probiert. das anstöpseln hat da schonmal geklappt, aber beim cp gabs dann wieder diesen reset :-(
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Mon Jan 01, 2007 3:32 pm    Post subject: Reply with quote

Welcher USB-Chipsatz ist installiert? Gibt lspci Meldungen über eine "unbekannte Revision" aus? Manche sind leider kompatibler als andere, hat mich auch zwei Anläufe beim Aufrüsten gekostet?

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Mon Jan 01, 2007 3:35 pm    Post subject: Reply with quote

Es ist ein VIA 8237 chipsatz auf dem board.

Code:
henni log # lspci | grep USB
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
henni log # lsusb
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
henni log #
Back to top
View user's profile Send private message
monophase
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2005
Posts: 108
Location: Radebeul (Germany)

PostPosted: Mon Jan 01, 2007 8:05 pm    Post subject: Reply with quote

grüße,

ich hatte gleiche probleme mit einem nforce2 mainboard und sämtlichen usb 2.0 massenspeicher. bei mir gibt es im bios die option "usb perf mode", die war auf höchste performance eingestellt. hab sie auf optimal zurück gestellt und schon lief alles. vielleicht gibt es bei dir auch sowas ähnliches im bios.
_________________
GA-K8NS-Ultra-939, Athlon64 X2 3800, ATI Radeon X1650 Pro, 3GB RAM
-----
Thinkpad T23, P3-M 1,13GHz, 512MB RAM
Thinkpad T60, Core2 Duo T5600@1,83GHz, 2GB RAM, Radeon X1400 mit 512MB
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Tue Jan 02, 2007 7:54 pm    Post subject: Reply with quote

ne, leider hab ich im bios keine konfigurationsmöglichkeit für usb. nur an oder aus. aber auch das war kein schlechter tipp. daran hatte ich auch nicht gedacht.

danke
henrik
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Tue Jan 02, 2007 7:58 pm    Post subject: Reply with quote

vll fällt jemanden noch was bei meiner kernel conf auf:

confcat /usr/src/linux/.config | grep -i usb wrote:

CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_ZD1201=m
CONFIG_USB_MON=y
Back to top
View user's profile Send private message
monophase
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2005
Posts: 108
Location: Radebeul (Germany)

PostPosted: Tue Jan 02, 2007 9:20 pm    Post subject: Reply with quote

glaube nicht, dass das nen kernel problem ist, tippe eher auf nen hardware problem
_________________
GA-K8NS-Ultra-939, Athlon64 X2 3800, ATI Radeon X1650 Pro, 3GB RAM
-----
Thinkpad T23, P3-M 1,13GHz, 512MB RAM
Thinkpad T60, Core2 Duo T5600@1,83GHz, 2GB RAM, Radeon X1400 mit 512MB
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5205

PostPosted: Tue Jan 02, 2007 9:23 pm    Post subject: Reply with quote

hampelratte wrote:
vll fällt jemanden noch was bei meiner kernel conf auf:

confcat /usr/src/linux/.config | grep -i usb wrote:

CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_ZD1201=m
CONFIG_USB_MON=y


lädst du beide module? also ohci_hcd und uhci_hcd? denn du brauchst nur einen von beiden
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Tue Jan 02, 2007 9:54 pm    Post subject: Reply with quote

im grunde bräuchte ich nur ehci, denn ich möchte ja über usb 2.0 zugreifen. ohci und uhci können ja nur usb 1.1, oder hab ich da was falsch verstanden und die module kommen sich in die quere? ohci und uhci hab ich auch geladen, weil ich alle möglichen usb geräte betreiben können möchte.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Jan 02, 2007 10:23 pm    Post subject: Reply with quote

versucht mal den kernel mit "pci=noirq" oder "pci=noacpi" zu starten, ich glaub eines davon hat mir mal mit den problemen geholfen (kopiere gerade nicht sooo viel auf usb-platten)

viel glück :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5205

PostPosted: Wed Jan 03, 2007 8:18 am    Post subject: Reply with quote

hampelratte wrote:
im grunde bräuchte ich nur ehci, denn ich möchte ja über usb 2.0 zugreifen. ohci und uhci können ja nur usb 1.1, oder hab ich da was falsch verstanden und die module kommen sich in die quere? ohci und uhci hab ich auch geladen, weil ich alle möglichen usb geräte betreiben können möchte.


Also wenn gleichzeitig uhci und ohci geladen sind, kann es zu problemen führen.

Das ehci modul bietet, meines wissen nach, nur die USB2.0-Erweiterung. Damit USB überhaupt funktioniert, brauchst du auch OHCI oder UHCI (abhängig vom USB-Host-Controller Chip).

was sagt
Code:
lspci -v
für die USB-Host-Controller?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Wed Jan 03, 2007 6:15 pm    Post subject: Reply with quote

lspci -v wrote:
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
Flags: bus master, medium devsel, latency 32, IRQ 3
I/O ports at a400 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
Flags: bus master, medium devsel, latency 32, IRQ 3
I/O ports at a000 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 9800 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 9400 [size=32]
Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at dc800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2


damit ist die sache klar. ich hab also ohci mal aus dem autoload rausgenommen und entladen (rmmod), so dass nur noch uhci und ehci geladen sind/werden. leider hat auch das keine änderung gebracht.
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Wed Jan 03, 2007 6:37 pm    Post subject: Reply with quote

kernelOfTruth wrote:
versucht mal den kernel mit "pci=noirq" oder "pci=noacpi" zu starten


auch das hat leider nichts gebracht.
Back to top
View user's profile Send private message
hampelratte
Apprentice
Apprentice


Joined: 29 Jul 2005
Posts: 155

PostPosted: Fri Jan 12, 2007 6:39 pm    Post subject: Reply with quote

hallo leute,

heute hatte ich unter windows auf einmal auch probleme die platte einzubinden. da hab ich mir gedacht, ich formatier das ding einfach mal.
also flux dosfstools emerged und ein

Code:
mkfs.vfat /dev/usbplatte

und siehe da, schon läuft die platte auch mit usb 2.0.
17 MB/s schafft sie jetzt, was für die größe (müsste ne 2,5" platte sein) ganz gut ist, denke ich.

wollte das nur noch als lösung hier anhängen, falls mal jemand ein ähnliches problem hat.

gruß
henrik
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