Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-12-27 21:42:16

  dave88 - Użytkownik

dave88
Użytkownik
Zarejestrowany: 2012-01-19

Zwisy dysku USB

Witam,
Od dłuższego czasu walczę z dyskiem USB, aby zmusić go do współpracy z moim serwerem  z Debianem na pokładzie. Niestety nieskutecznie... Otóż po kilku minutach od zamontowania dysk przestaje być widoczny w systemie, przy próbie dostępu do zamontowanej partycji pojawiają się błędy i/o. Przez pierwsze kilka minut mam dostęp do danych na dysku, potem przestaje być widoczny.
Partycję NTFS montuję za pomocą ntfs-3g:

Kod:

sudo ntfs-3g /dev/sdb5 /mnt/hdd

Dodam że dysk na laptopie z Win 7 śmiga wyśmienicie, mało tego pamięci typu flash na serwerze nie sprawiają problemów.

Czy miał ktoś podobne problemy z dyskami USB na Debianie? Poniżej szczegóły:

/var/log/syslog

Kod:

Dec 27 20:24:53 debian kernel: [288248.723292] usb 4-2: new full-speed USB device number 2 using uhci_hcd
Dec 27 20:24:53 debian kernel: [288248.867288] usb 4-2: not running at top speed; connect to a high speed hub
Dec 27 20:24:53 debian kernel: [288248.891300] usb 4-2: New USB device found, idVendor=05e3, idProduct=0718
Dec 27 20:24:53 debian kernel: [288248.891316] usb 4-2: New USB device strings: Mfr=0, Product=1, SerialNumber=2
Dec 27 20:24:53 debian kernel: [288248.891327] usb 4-2: Product: USB Storage
Dec 27 20:24:53 debian kernel: [288248.891336] usb 4-2: SerialNumber: 000000000033
Dec 27 20:24:53 debian kernel: [288248.899410] scsi4 : usb-storage 4-2:1.0
Dec 27 20:24:54 debian kernel: [288249.904226] scsi 4:0:0:0: Direct-Access     ST912082 2AS              0041 PQ: 0 ANSI: 0
Dec 27 20:24:54 debian kernel: [288249.913223] sd 4:0:0:0: [sdb] 234439535 512-byte logical blocks: (120 GB/111 GiB)
Dec 27 20:24:54 debian kernel: [288249.919318] sd 4:0:0:0: [sdb] Write Protect is off
Dec 27 20:24:54 debian kernel: [288249.919336] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
Dec 27 20:24:54 debian kernel: [288249.924211] sd 4:0:0:0: [sdb] No Caching mode page present
Dec 27 20:24:54 debian kernel: [288249.924257] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Dec 27 20:24:55 debian kernel: [288249.940152] sd 4:0:0:0: [sdb] No Caching mode page present
Dec 27 20:24:55 debian kernel: [288249.940200] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Dec 27 20:24:55 debian kernel: [288249.990211]  sdb: sdb1 < sdb5 >
Dec 27 20:24:55 debian kernel: [288250.009214] sd 4:0:0:0: [sdb] No Caching mode page present
Dec 27 20:24:55 debian kernel: [288250.009258] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Dec 27 20:24:55 debian kernel: [288250.009296] sd 4:0:0:0: [sdb] Attached SCSI disk
Dec 27 20:27:57 debian kernel: [288432.882174] fuse init (API version 7.17)
Dec 27 20:28:55 debian kernel: [288490.755593] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:29:29 debian kernel: [288524.720813] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:30:22 debian ntfs-3g[18395]: Version 2010.3.6 integrated FUSE 27
Dec 27 20:30:22 debian ntfs-3g[18395]: Mounted /dev/sdb5 (Read-Write, label "FILMY", NTFS 3.1)
Dec 27 20:30:22 debian ntfs-3g[18395]: Cmdline options: 
Dec 27 20:30:22 debian ntfs-3g[18395]: Mount options: silent,allow_other,nonempty,relatime,fsname=/dev/sdb5,blkdev,blksize=4096
Dec 27 20:30:22 debian ntfs-3g[18395]: Ownership and permissions disabled, configuration type 1
Dec 27 20:30:22 debian ntfs-3g[18395]: Version 2010.3.6 integrated FUSE 27
Dec 27 20:30:22 debian ntfs-3g[18395]: Mounted /dev/sdb5 (Read-Write, label "FILMY", NTFS 3.1)
Dec 27 20:30:22 debian ntfs-3g[18395]: Cmdline options: 
Dec 27 20:30:22 debian ntfs-3g[18395]: Mount options: silent,allow_other,nonempty,relatime,fsname=/dev/sdb5,blkdev,blksize=4096
Dec 27 20:30:22 debian ntfs-3g[18395]: Ownership and permissions disabled, configuration type 1
Dec 27 20:35:16 debian kernel: [288871.716521] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:35:37 debian kernel: [288892.706808] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:35:37 debian kernel: [288892.855133] program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 27 20:36:38 debian kernel: [288953.821820] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:37:39 debian kernel: [289014.744846] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:38:40 debian kernel: [289075.795867] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:39:41 debian kernel: [289136.846884] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:40:21 debian kernel: [289176.767746] INFO: task fdisk:18647 blocked for more than 120 seconds.
Dec 27 20:40:21 debian kernel: [289176.767789] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 27 20:40:21 debian kernel: [289176.767833] fdisk           D 00000001     0 18647  18636 0x00000004
Dec 27 20:40:21 debian kernel: [289176.767852]  de8da900 00000086 deba6ac0 00000001 00000000 00000000 0000007b 35d6a000
Dec 27 20:40:21 debian kernel: [289176.767875]  000000e0 c1496b00 de8daab0 c1496b00 de8da900 c1496b00 c1496b00 f7200b00
Dec 27 20:40:21 debian kernel: [289176.767897]  deba6ac0 c12d7415 f20e0200 000106dc f7200b00 00000000 000106dc cbcd60c0
Dec 27 20:40:21 debian kernel: [289176.767920] Call Trace:
Dec 27 20:40:21 debian kernel: [289176.767950]  [<c12d7415>] ? __schedule+0x5cb/0x5f2
Dec 27 20:40:21 debian kernel: [289176.767967]  [<c12d7864>] ? schedule_timeout+0x20/0xac
Dec 27 20:40:21 debian kernel: [289176.767987]  [<c102d596>] ? set_next_buddy+0xe/0x28
Dec 27 20:40:21 debian kernel: [289176.768005]  [<c1037993>] ? check_preempt_wakeup+0xf3/0x14f
Dec 27 20:40:21 debian kernel: [289176.768020]  [<c12d758a>] ? wait_for_common+0xb7/0x114
Dec 27 20:40:21 debian kernel: [289176.768034]  [<c10389e9>] ? try_to_wake_up+0x14d/0x14d
Dec 27 20:40:21 debian kernel: [289176.768049]  [<c104d800>] ? wait_on_work+0xae/0xdd
Dec 27 20:40:21 debian kernel: [289176.768069]  [<c104cfc5>] ? wq_clamp_max_active+0x5d/0x5d
Dec 27 20:40:21 debian kernel: [289176.768086]  [<c1160101>] ? blk_execute_rq_nowait+0xa/0xa1
Dec 27 20:40:21 debian kernel: [289176.768099]  [<c104e591>] ? __cancel_work_timer+0xaf/0xe5
Dec 27 20:40:21 debian kernel: [289176.768115]  [<c116266e>] ? disk_block_events+0x54/0x66
Dec 27 20:40:21 debian kernel: [289176.768131]  [<c10fae50>] ? __blkdev_get+0x95/0x330
Dec 27 20:40:21 debian kernel: [289176.768184]  [<c10fb28a>] ? blkdev_get+0x19f/0x28d
Dec 27 20:40:21 debian kernel: [289176.768205]  [<c112f62a>] ? fsnotify_perm+0x4f/0x5a
Dec 27 20:40:21 debian kernel: [289176.768217]  [<c10fa73f>] ? bd_acquire+0x20/0x89
Dec 27 20:40:21 debian kernel: [289176.768238]  [<c10d7247>] ? __dentry_open+0x19c/0x274
Dec 27 20:40:21 debian kernel: [289176.768252]  [<c10d73a2>] ? nameidata_to_filp+0x3a/0x45
Dec 27 20:40:21 debian kernel: [289176.768264]  [<c10fb378>] ? blkdev_get+0x28d/0x28d
Dec 27 20:40:21 debian kernel: [289176.768283]  [<c10e0e17>] ? do_last+0x43e/0x53d
Dec 27 20:40:21 debian kernel: [289176.768297]  [<c112ead7>] ? security_file_alloc+0xc/0xd
Dec 27 20:40:21 debian kernel: [289176.768309]  [<c10e21d8>] ? path_openat+0x9f/0x29a
Dec 27 20:40:21 debian kernel: [289176.768322]  [<c10e2477>] ? do_filp_open+0x21/0x5e
Dec 27 20:40:21 debian kernel: [289176.768338]  [<c10d64e5>] ? do_sys_open+0x58/0xd1
Dec 27 20:40:21 debian kernel: [289176.768352]  [<c10d65a2>] ? sys_open+0x1e/0x23
Dec 27 20:40:21 debian kernel: [289176.768371]  [<c12dd19f>] ? sysenter_do_call+0x12/0x28
Dec 27 20:40:42 debian kernel: [289197.770055] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:41:43 debian kernel: [289258.692926] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:42:14 debian kernel: [289289.666394] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:42:29 debian kernel: [289304.777155] usb 4-2: device descriptor read/64, error -110
Dec 27 20:42:45 debian kernel: [289319.991925] usb 4-2: device descriptor read/64, error -110
Dec 27 20:42:45 debian kernel: [289320.207908] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:43:00 debian kernel: [289335.318664] usb 4-2: device descriptor read/64, error -110
Dec 27 20:43:15 debian kernel: [289350.533446] usb 4-2: device descriptor read/64, error -110
Dec 27 20:43:15 debian kernel: [289350.749404] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:43:26 debian kernel: [289361.156548] usb 4-2: device not accepting address 2, error -110
Dec 27 20:43:26 debian kernel: [289361.268543] usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Dec 27 20:43:36 debian kernel: [289371.675911] usb 4-2: device not accepting address 2, error -110
Dec 27 20:43:36 debian kernel: [289371.676097] usb 4-2: USB disconnect, device number 2
Dec 27 20:43:36 debian kernel: [289371.676332] sd 4:0:0:0: Device offlined - not ready after error recovery
Dec 27 20:43:36 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:36 debian ntfs-3g[18395]: Failed to read $MFT bitmap: Błąd wejścia/wyjścia
Dec 27 20:43:36 debian kernel: [289371.680809] sd 4:0:0:0: [sdb] Unhandled error code
Dec 27 20:43:36 debian kernel: [289371.680823] sd 4:0:0:0: [sdb]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Dec 27 20:43:36 debian kernel: [289371.680838] sd 4:0:0:0: [sdb] CDB: Read(10): 28 00 00 60 3e f8 00 00 08 00
Dec 27 20:43:36 debian kernel: [289371.680868] end_request: I/O error, dev sdb, sector 6307576
Dec 27 20:43:36 debian kernel: [289371.680909] quiet_error: 22 callbacks suppressed
Dec 27 20:43:36 debian kernel: [289371.680920] Buffer I/O error on device sdb5, logical block 786431
Dec 27 20:43:36 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:36 debian ntfs-3g[18395]: Failed to read $MFT bitmap: Błąd wejścia/wyjścia
Dec 27 20:43:36 debian kernel: [289371.815689] usb 4-2: new full-speed USB device number 3 using uhci_hcd
Dec 27 20:43:51 debian kernel: [289386.926450] usb 4-2: device descriptor read/64, error -110
Dec 27 20:43:54 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:54 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:43:54 debian kernel: [289389.713629] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:43:54 debian kernel: [289389.713680] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:43:56 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian kernel: [289391.441626] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:43:56 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: Failed to read $MFT bitmap: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian ntfs-3g[18395]: Failed to read $MFT bitmap: Błąd wejścia/wyjścia
Dec 27 20:43:56 debian kernel: [289391.442767] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:43:56 debian kernel: [289391.443463] Buffer I/O error on device sdb5, logical block 786431
Dec 27 20:43:56 debian kernel: [289391.444142] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:43:56 debian kernel: [289391.444760] Buffer I/O error on device sdb5, logical block 786431
Dec 27 20:44:07 debian kernel: [289402.141213] usb 4-2: device descriptor read/64, error -110
Dec 27 20:44:07 debian kernel: [289402.357178] usb 4-2: new full-speed USB device number 4 using uhci_hcd
Dec 27 20:44:14 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:44:14 debian ntfs-3g[18395]: Failed to read index block: Błąd wejścia/wyjścia
Dec 27 20:44:14 debian kernel: [289409.721213] Buffer I/O error on device sdb5, logical block 14651286
Dec 27 20:44:17 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:44:17 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:44:17 debian kernel: [289412.731819] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:44:22 debian kernel: [289417.467950] usb 4-2: device descriptor read/64, error -110
Dec 27 20:44:24 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:44:24 debian ntfs-3g[18395]: Failed to read vcn 0x4: Błąd wejścia/wyjścia
Dec 27 20:44:24 debian ntfs-3g[18395]: ntfs_attr_pread_i: ntfs_pread failed: Błąd wejścia/wyjścia
Dec 27 20:44:24 debian ntfs-3g[18395]: Failed to read index block: Błąd wejścia/wyjścia
Dec 27 20:44:24 debian kernel: [289419.073191] Buffer I/O error on device sdb5, logical block 718571
Dec 27 20:44:24 debian kernel: [289419.074451] Buffer I/O error on device sdb5, logical block 14651286
Dec 27 20:44:37 debian kernel: [289432.682705] usb 4-2: device descriptor read/64, error -110
Dec 27 20:44:37 debian kernel: [289432.898696] usb 4-2: new full-speed USB device number 5 using uhci_hcd
Dec 27 20:44:48 debian kernel: [289443.305971] usb 4-2: device not accepting address 5, error -110
Dec 27 20:44:48 debian kernel: [289443.417834] usb 4-2: new full-speed USB device number 6 using uhci_hcd
Dec 27 20:44:58 debian kernel: [289453.824978] usb 4-2: device not accepting address 6, error -110
Dec 27 20:44:58 debian kernel: [289453.825056] hub 4-0:1.0: unable to enumerate USB device on port 2
Dec 27 20:45:10 debian kernel: [289465.152461] spurious 8259A interrupt: IRQ7.

uname -a

Kod:

Linux debian 3.2.0-0.bpo.4-686-pae #1 SMP Debian 3.2.51-1~bpo60+1 i686 GNU/Linux

Dysk marki Seagate model ST9120822AS 120GB.

Ostatnio edytowany przez dave88 (2013-12-27 21:53:14)

Offline

 

#2  2013-12-27 22:36:40

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: Zwisy dysku USB

Nie miał żadnych problemów.
Czy na jakimś innym systemie ten dysk chodzi prawidłowo?

Ja bym radził na tym Debianie dać inne (świeże) jajo, np z Aptosida, i na nim spróbować.


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#3  2013-12-27 22:40:09

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Re: Zwisy dysku USB

A spróbuj z polecenia [b]mount[/b]. I może coś za pomocą [b]hdparm[/b]a uda Ci się coś wykombinować - przejrzyj manuala.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00092 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.135.184.195' WHERE u.id=1
0.00100 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.135.184.195', 1732382822)
0.00045 SELECT * FROM punbb_online WHERE logged<1732382522
0.00058 SELECT topic_id FROM punbb_posts WHERE id=249655
0.00005 SELECT id FROM punbb_posts WHERE topic_id=24900 ORDER BY posted
0.00061 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=24900 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00117 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=24900 ORDER BY p.id LIMIT 0,25
0.00097 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=24900
Total query time: 0.00596 s