DD USB qui se deconnecte

Post new topic   Reply to topic    DD-WRT Forum Index -> Questions générales
Author Message
zarmabox
DD-WRT Novice


Joined: 03 Sep 2010
Posts: 2

PostPosted: Fri Sep 03, 2010 13:56    Post subject: DD USB qui se deconnecte Reply with quote
Bonjour,

J'ai suivi le tutorial d'Optware pour brancher mon disque dur USB et mettre en place quelques services (Samba notamment). <EDIT> sur un routeur WNR3500L de chez Netgear </EDIT>

Mais j'ai des plantage récurrents. Très souvent, lorsque je navigue dans mes fichiers partagés par Samba, la LED de fonctionnement du disque dur s'éteint et je n'ai plus accès a aucune donnée. Je suis obligé de redémarrer routeur et disque dur pour pouvoir réacceder a mes données.

Ce plantage peut se produire n'importe quand. Que j'utilise un accès disque ou pas.
Une fois le plantage effectif, je ne peux même plus ouvrir une console

Lorsque cela fonctionne les partitions sont bien montées et je peux acceder a mes données et dmesg ne me sort rien d'anormal :

Code:
root@Socrate:~# mount
 ...
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw,noatime,data=ordered)
/dev/sda4 on /mnt type ext3 (rw,noatime,data=ordered)
/dev/sda3 on /tmp/c type ext3 (rw,noatime,data=ordered)

Code:

root@Socrate:~# dmesg | egrep -i "usb|USB|EXT3|fs|sd"
Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
PPP BSD Compression module registered
sflash: Filesystem type: squashfs, size=0x374957
0x0018d000-0x00510000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB20H mdio control register : 0x80000010
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
usb 1-1: new high speed USB device using ehci_hcd and address 2
Initializing USB Mass Storage driver...
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
usb-storage: device scan complete
EXT3 FS on sda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1060280k swap on /dev/sda2.  Priority:-1 extents:1 across:1060280k
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.


Par contre quand cela plante je n'ai plus aucune commande qui fonctionne, je suis obligé d'utiliser les chemins complets et si je n'ai pas déjà un SSH d'ouvert, je ne peux plus en ouvrir d'autre ... a moins biensûr d'éteindre tout et de redémarrer

Code:

root@Socrate:~# mount     
-bash: /opt/bin/mount: No such file or directory
root@Socrate:~# /bin/mount
 ...
devpts on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/part1 on /opt type ext3 (ro,noatime,data=ordered)
/dev/sda4 on /mnt type ext3 (rw,noatime,data=ordered)
/dev/sda3 on /tmp/c type ext3 (rw,noatime,data=ordered)


Et le dmesg a partir de quand ca plante :

Code:

root@Socrate:~# /bin/dmesg
hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
usb 1-1: USB disconnect, address 2
Buffer I/O error on device sda1, logical block 131829
lost page write due to I/O error on sda1
Aborting journal on device sda1.
journal commit I/O error
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 5
usb 1-1: device not accepting address 5, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 6
usb 1-1: device not accepting address 6, error -71
scsi 0:0:0:0: rejecting I/O to dead device
EXT3-fs error (device sda1): ext3_find_entry: reading directory #29506 offset 0
scsi 0:0:0:0: rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 0
lost page write due to I/O error on sda1
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
scsi 0:0:0:0: rejecting I/O to dead device
scsi 0:0:0:0: rejecting I/O to dead device
scsi 0:0:0:0: rejecting I/O to dead device
EXT3-fs error (device sda1): ext3_find_entry: reading directory #44257 offset 0
scsi 0:0:0:0: rejecting I/O to dead device
EXT3-fs error (device sda1): ext3_find_entry: reading directory #2 offset 0
scsi 0:0:0:0: rejecting I/O to dead device
scsi 0:0:0:0: rejecting I/O to dead device
EXT3-fs error (device sda1): ext3_find_entry: reading directory #7403 offset 0
scsi 0:0:0:0: rejecting I/O to dead device
scsi 0:0:0:0: rejecting I/O to dead device


J'ai essayé de voire avec hdparm si par hasard, ce n'etais pas un spindown du disque qui pouvait causer cela ... rien n'y fait meme avec un spindown interdit.

Bref je sèche, et je ne sais pas trop ou chercher.
Si quelqu'un a une piste pour moi, je suis tout à fait preneur.
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Questions générales All times are GMT

Navigation

 
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
You cannot attach files in this forum
You cannot download files in this forum