LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-10-2012, 04:56 PM   #1
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 141

Rep: Reputation: 16
Flapping (reconnecting) external USB drive


Hi gurus, during playing movie via VLC or SMPlayer I get several time the error that file cannot be read. File was stored on external USB disk. During this error I get another dialogue message that says the new removable disk was connected..., just as if power goes off and on again or if I power on external disk. But I grep the logs and found some weird mesages (dmesg and /var/log/messages truncated outputs):


SMART returned this (tried options -d [ata|scsi|auto], but finally -d sat worked (because of issue with external disk or something simmilar)):

Code:
[pista@HP-PC ~]$ sudo smartctl -a -d sat /dev/sdc > /tmp/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.6.5-2.fc16.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda LP
Device Model:     ST31500541AS
Serial Number:    6XW0QTZP
LU WWN Device Id: 5 000c50 01b8ed731
Firmware Version: CC34
User Capacity:    1,500,301,910,016 bytes [1.50 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Sat Nov 10 23:26:01 2012 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  643) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 369) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x103f)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   106   099   006    Pre-fail  Always       -       10814541
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       482
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   067   060   030    Pre-fail  Always       -       6021470
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       805
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       138
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   001   000    Old_age   Always       -       1099532469790
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   062   046   045    Old_age   Always       -       38 (Min/Max 32/38)
194 Temperature_Celsius     0x0022   038   054   000    Old_age   Always       -       38 (0 18 0 0 0)
195 Hardware_ECC_Recovered  0x001a   051   048   000    Old_age   Always       -       10814541
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       49636937040786
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1096814074
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       700284568

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

dmesg
Code:
[  232.010380] usb 1-4.4.4: new high-speed USB device number 6 using ehci_hcd
[  232.096381] usb 1-4.4.4: New USB device found, idVendor=0930, idProduct=0b0d
[  232.096388] usb 1-4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  232.096393] usb 1-4.4.4: Product: External HDD    
[  232.096398] usb 1-4.4.4: Manufacturer: TOSHIBA 
[  232.096402] usb 1-4.4.4: SerialNumber: 3658573051545A5020202020
[  232.096744] scsi3 : usb-storage 1-4.4.4:1.0
[  233.098691] scsi 3:0:0:0: Direct-Access     TOSHIBA  External HDD     1.04 PQ: 0 ANSI: 4
[  233.099486] sd 3:0:0:0: Attached scsi generic sg3 type 0
[  233.101163] sd 3:0:0:0: [sdc] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[  233.101646] sd 3:0:0:0: [sdc] Write Protect is off
[  233.101650] sd 3:0:0:0: [sdc] Mode Sense: 23 00 00 00
[  233.102161] sd 3:0:0:0: [sdc] No Caching mode page present
[  233.102166] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  233.103896] sd 3:0:0:0: [sdc] No Caching mode page present
[  233.103900] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  233.115071]  sdc: sdc1 sdc2
[  233.118397] sd 3:0:0:0: [sdc] No Caching mode page present
[  233.118402] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  233.118405] sd 3:0:0:0: [sdc] Attached SCSI disk
[ 5633.491311] Buffer I/O error on device sdc1, logical block 111199025
[ 7042.230654] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.234749] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.238888] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.243001] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.247134] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.247143] hub 1-4.4:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[ 7042.251275] hub 1-4.4:1.0: cannot disable port 4 (err = -71)
[ 7042.255394] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.271914] hub 1-4.4:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[ 7042.276023] hub 1-4.4:1.0: cannot disable port 4 (err = -71)
[ 7042.280148] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.296652] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.296661] hub 1-4.4:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[ 7042.300758] hub 1-4.4:1.0: cannot disable port 4 (err = -71)
[ 7042.304897] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.309003] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.313131] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.317273] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.321397] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
[ 7042.321405] hub 1-4.4:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[ 7042.359179] end_request: I/O error, dev sdd, sector 1015133831
[ 7042.359188] Buffer I/O error on device sdd1, logical block 126891721
[ 7042.359198] Buffer I/O error on device sdd1, logical block 126891722
[ 7042.359238] Buffer I/O error on device sdd1, logical block 126891729
[ 7042.359132] sd 4:0:0:0: [sdd] Unhandled error code
[ 7042.359142] sd 4:0:0:0: [sdd]  
[ 7042.359147] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 7042.359153] sd 4:0:0:0: [sdd] CDB:
/var/log/messages
Code:
Nov 10 14:40:34 HP-PC kernel: [  232.010380] usb 1-4.4.4: new high-speed USB device number 6 using ehci_hcd
Nov 10 14:40:34 HP-PC kernel: [  232.096381] usb 1-4.4.4: New USB device found, idVendor=0930, idProduct=0b0d
Nov 10 14:40:34 HP-PC kernel: [  232.096388] usb 1-4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 10 14:40:34 HP-PC kernel: [  232.096393] usb 1-4.4.4: Product: External HDD    
Nov 10 14:40:34 HP-PC kernel: [  232.096398] usb 1-4.4.4: Manufacturer: TOSHIBA 
Nov 10 14:40:34 HP-PC kernel: [  232.096402] usb 1-4.4.4: SerialNumber: 3658573051545A5020202020
Nov 10 14:40:34 HP-PC kernel: [  232.096744] scsi3 : usb-storage 1-4.4.4:1.0
Nov 10 14:40:34 HP-PC mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.4/1-4.4.4"
Nov 10 14:40:34 HP-PC mtp-probe: bus: 1, device: 6 was not an MTP device
Nov 10 14:40:35 HP-PC kernel: [  233.098691] scsi 3:0:0:0: Direct-Access     TOSHIBA  External HDD     1.04 PQ: 0 ANSI: 4
Nov 10 14:40:35 HP-PC kernel: [  233.099486] sd 3:0:0:0: Attached scsi generic sg3 type 0
Nov 10 14:40:35 HP-PC kernel: [  233.101163] sd 3:0:0:0: [sdc] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
Nov 10 14:40:35 HP-PC kernel: [  233.101646] sd 3:0:0:0: [sdc] Write Protect is off
Nov 10 14:40:35 HP-PC kernel: [  233.102161] sd 3:0:0:0: [sdc] No Caching mode page present
Nov 10 14:40:35 HP-PC kernel: [  233.102166] sd 3:0:0:0: [sdc] Assuming drive cache: write through
Nov 10 14:40:35 HP-PC kernel: [  233.103896] sd 3:0:0:0: [sdc] No Caching mode page present
Nov 10 14:40:35 HP-PC kernel: [  233.103900] sd 3:0:0:0: [sdc] Assuming drive cache: write through
Nov 10 14:40:35 HP-PC kernel: [  233.115071]  sdc: sdc1 sdc2
Nov 10 14:40:35 HP-PC kernel: [  233.118397] sd 3:0:0:0: [sdc] No Caching mode page present
Nov 10 14:40:35 HP-PC kernel: [  233.118402] sd 3:0:0:0: [sdc] Assuming drive cache: write through
Nov 10 14:40:35 HP-PC kernel: [  233.118405] sd 3:0:0:0: [sdc] Attached SCSI disk
Nov 10 14:40:38 HP-PC ntfs-3g[2323]: Version 2011.4.12 integrated FUSE 27
Nov 10 14:40:38 HP-PC ntfs-3g[2323]: Mounted /dev/sdc2 (Read-Write, label "1TB_02", NTFS 3.1)
Nov 10 14:40:38 HP-PC ntfs-3g[2323]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
Nov 10 14:40:38 HP-PC ntfs-3g[2323]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime,fsname=/dev/sdc2,blkdev,blksize=4096,default_permissions
Nov 10 14:40:38 HP-PC ntfs-3g[2323]: Global ownership and permissions enforced, configuration type 1
Nov 10 14:40:38 HP-PC ntfs-3g[2328]: Version 2011.4.12 integrated FUSE 27
Nov 10 14:40:38 HP-PC ntfs-3g[2328]: Mounted /dev/sdc1 (Read-Write, label "1TB_01", NTFS 3.1)
Nov 10 14:40:38 HP-PC ntfs-3g[2328]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
Nov 10 14:40:38 HP-PC ntfs-3g[2328]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,atime,fsname=/dev/sdc1,blkdev,blksize=4096,default_permissions
Nov 10 14:40:38 HP-PC ntfs-3g[2328]: Global ownership and permissions enforced, configuration type 1
Nov 10 14:40:40 HP-PC yum[2283]: Installed: smplayer-0.8.1-1.fc16.x86_64
Nov 10 14:40:40 HP-PC dbus[1004]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Nov 10 14:40:40 HP-PC dbus-daemon[1004]: dbus[1004]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Nov 10 14:40:41 HP-PC dbus[1004]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 10 14:40:41 HP-PC dbus-daemon[1004]: dbus[1004]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 10 14:49:01 HP-PC chronyd[1000]: Selected source 193.87.160.18
Nov 10 15:12:45 HP-PC chronyd[1000]: Selected source 158.195.19.4
Nov 10 15:34:40 HP-PC kernel: [ 3477.504136] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
Nov 10 15:34:40 HP-PC kernel: [ 3477.508233] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
Nov 10 15:34:40 HP-PC kernel: [ 3477.512355] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
Nov 10 15:34:40 HP-PC kernel: [ 3477.516486] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
Nov 10 15:34:40 HP-PC kernel: [ 3477.519806] hub 1-4:1.0: port 4 disabled by hub (EMI?), re-enabling...
Nov 10 15:34:40 HP-PC kernel: [ 3477.519971] usb 1-4.4: USB disconnect, device number 5
Nov 10 15:34:40 HP-PC kernel: [ 3477.519977] usb 1-4.4.4: USB disconnect, device number 6
Nov 10 15:34:40 HP-PC kernel: [ 3477.520596] hub 1-4.4:1.0: cannot reset port 4 (err = -71)
Nov 10 15:34:40 HP-PC kernel: [ 3477.520602] hub 1-4.4:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
Nov 10 15:34:40 HP-PC kernel: [ 3477.520607] hub 1-4.4:1.0: cannot disable port 4 (err = -19)
Nov 10 15:34:40 HP-PC kernel: [ 3477.520614] hub 1-4.4:1.0: cannot reset port 4 (err = -19)
Nov 10 15:34:40 HP-PC kernel: [ 3477.520619] hub 1-4.4:1.0: cannot disable port 4 (err = -19)
Nov 10 15:34:40 HP-PC kernel: [ 3477.520624] hub 1-4.4:1.0: cannot disable port 4 (err = -19)
Nov 10 15:34:40 HP-PC kernel: [ 3477.521478] sd 3:0:0:0: [sdc] Unhandled error code
Nov 10 15:34:40 HP-PC kernel: [ 3477.521481] sd 3:0:0:0: [sdc]  
Nov 10 15:34:40 HP-PC kernel: [ 3477.521484] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Nov 10 15:34:40 HP-PC kernel: [ 3477.521486] sd 3:0:0:0: [sdc] CDB: 
Nov 10 15:34:40 HP-PC kernel: [ 3477.521487] Read(10): 28 00 34 a9 df 47 00 00 f0 00
Nov 10 15:34:40 HP-PC kernel: [ 3477.521496] end_request: I/O error, dev sdc, sector 883547975
Nov 10 15:34:40 HP-PC kernel: [ 3477.521499] Buffer I/O error on device sdc1, logical block 110443489
Nov 10 15:34:40 HP-PC kernel: [ 3477.521502] Buffer I/O error on device sdc1, logical block 110443490
Nov 10 15:34:40 HP-PC kernel: [ 3477.521543] sd 3:0:0:0: [sdc] Unhandled error code
Nov 10 15:34:40 HP-PC kernel: [ 3477.521545] sd 3:0:0:0: [sdc]  
Nov 10 15:34:40 HP-PC kernel: [ 3477.521546] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Nov 10 15:34:40 HP-PC kernel: [ 3477.521548] sd 3:0:0:0: [sdc] CDB: 
Nov 10 15:34:40 HP-PC kernel: [ 3477.521549] Read(10): 28 00 34 a9 e0 37 00 00 10 00
Nov 10 15:34:40 HP-PC kernel: [ 3477.521556] end_request: I/O error, dev sdc, sector 883548215
Nov 10 15:34:40 HP-PC kernel: [ 3477.734242] usb 1-4.4: new high-speed USB device number 7 using ehci_hcd
Nov 10 15:34:40 HP-PC kernel: [ 3477.809490] usb 1-4.4: New USB device found, idVendor=05e3, idProduct=0608
Nov 10 15:34:40 HP-PC kernel: [ 3477.809495] usb 1-4.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Nov 10 15:34:40 HP-PC kernel: [ 3477.809498] usb 1-4.4: Product: USB2.0 Hub
Nov 10 15:34:40 HP-PC kernel: [ 3477.810057] hub 1-4.4:1.0: USB hub found
Nov 10 15:34:40 HP-PC kernel: [ 3477.810344] hub 1-4.4:1.0: 4 ports detected
Nov 10 15:34:40 HP-PC ntfs-3g[2323]: Unmounting /dev/sdc2 (1TB_02)
Nov 10 15:34:40 HP-PC kernel: [ 3478.077385] usb 1-4.4.4: new high-speed USB device number 8 using ehci_hcd
Nov 10 15:34:40 HP-PC kernel: [ 3478.163377] usb 1-4.4.4: New USB device found, idVendor=0930, idProduct=0b0d
Nov 10 15:34:40 HP-PC kernel: [ 3478.163382] usb 1-4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 10 15:34:40 HP-PC kernel: [ 3478.163385] usb 1-4.4.4: Product: External HDD    
Nov 10 15:34:40 HP-PC kernel: [ 3478.163387] usb 1-4.4.4: Manufacturer: TOSHIBA 
Nov 10 15:34:40 HP-PC kernel: [ 3478.163390] usb 1-4.4.4: SerialNumber: 3658573051545A5020202020
Nov 10 15:34:40 HP-PC kernel: [ 3478.164980] scsi4 : usb-storage 1-4.4.4:1.0
Nov 10 15:34:40 HP-PC mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.4/1-4.4.4"
Nov 10 15:34:40 HP-PC mtp-probe: bus: 1, device: 8 was not an MTP device
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104722432: 131072 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104853504: 131072 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104722432: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104722432: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104722432: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104738816: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104738816: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104738816: 4096 <> -1: Input/output error
Nov 10 15:34:41 HP-PC kernel: [ 3479.170484] scsi 4:0:0:0: Direct-Access     TOSHIBA  External HDD     1.04 PQ: 0 ANSI: 4
Nov 10 15:34:41 HP-PC kernel: [ 3479.171962] sd 4:0:0:0: Attached scsi generic sg3 type 0
Nov 10 15:34:41 HP-PC kernel: [ 3479.172585] sd 4:0:0:0: [sdd] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
Nov 10 15:34:41 HP-PC kernel: [ 3479.173177] sd 4:0:0:0: [sdd] Write Protect is off
Nov 10 15:34:41 HP-PC kernel: [ 3479.173698] sd 4:0:0:0: [sdd] No Caching mode page present
Nov 10 15:34:41 HP-PC kernel: [ 3479.173707] sd 4:0:0:0: [sdd] Assuming drive cache: write through
Nov 10 15:34:41 HP-PC kernel: [ 3479.175545] sd 4:0:0:0: [sdd] No Caching mode page present
Nov 10 15:34:41 HP-PC kernel: [ 3479.175549] sd 4:0:0:0: [sdd] Assuming drive cache: write through
Nov 10 15:34:41 HP-PC kernel: [ 3479.185833]  sdd: sdd1 sdd2
Nov 10 15:34:41 HP-PC kernel: [ 3479.187920] sd 4:0:0:0: [sdd] No Caching mode page present
Nov 10 15:34:41 HP-PC kernel: [ 3479.187926] sd 4:0:0:0: [sdd] Assuming drive cache: write through
Nov 10 15:34:41 HP-PC kernel: [ 3479.187931] sd 4:0:0:0: [sdd] Attached SCSI disk
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Nov 10 15:34:41 HP-PC ntfs-3g[2328]: ntfs_attr_pread error reading '/MULTIMEDIA/!!! videa/Serialy/Mentalista/Mentalista 03-09 Rudý měsíc.avi' at offset 104738816:


CONFIGURATION
Code:
[pista@HP-PC vpn_tuke]$ sudo cat /var/log/messages | grep smart
[pista@HP-PC vpn_tuke]$ sudo dmesg | grep -i smart
[pista@HP-PC vpn_tuke]$ uname -a && cat /proc/version && cat /etc/issue
Linux HP-PC 3.6.5-2.fc16.x86_64 #1 SMP Thu Nov 1 03:49:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Linux version 3.6.5-2.fc16.x86_64 (mockbuild@bkernel02) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #1 SMP Thu Nov 1 03:49:27 UTC 2012
Fedora release 16 (Verne)
Kernel \r on an \m (\l)

[pista@HP-PC vpn_tuke]$ cat /proc/cpuinfo | grep "model name"
model name	: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
model name	: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
What could be wrong ? Is it only power supply issue that hard disk is flapping or NTFS error or the wors case the damege of hard disk blocks ? Thank you very much
 
Old 11-11-2012, 09:06 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
I had this problem when using automount on some usb hdd, so I mounted it manually, & I could use it OK. Might work for you.
 
Old 11-12-2012, 04:09 AM   #3
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 141

Original Poster
Rep: Reputation: 16
Thank you very much for reply. I am not aware of any automounter, as I said when I plug usb disk it mounts automatically, if you mean that. Now I am running the same external disk on another machine with some outdates patches and updates. No troubles appears so far. However this machine also has this "automounter" capability. Bellow is configuration of this "outdatet" machine.

Code:
root@cepi ~]# sudo cat /var/log/messages | grep smart
[root@cepi ~]# uname -a && cat /proc/version && cat /etc/issue
Linux cepi.intrak.tuke.sk 2.6.35.14-97.fc14.i686 #1 SMP Sat Sep 17 00:34:02 UTC 2011 i686 i686 i386 GNU/Linux
Linux version 2.6.35.14-97.fc14.i686 (mockbuild@x86-16.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Sat Sep 17 00:34:02 UTC 2011
Fedora release 14 (Laughlin)
Kernel \r on an \m (\l)

[root@cepi ~]# cat /proc/cpuinfo | grep "model name"
model name	: Intel(R) Pentium(R) M processor 1.70GHz
[root@cepi ~]# lsmod 
Module                  Size  Used by
usb_storage            35815  2 
cpufreq_ondemand        7262  1 
acpi_cpufreq            6285  0 
mperf                   1141  1 acpi_cpufreq
ip6t_REJECT             3470  2 
nf_conntrack_ipv6      14441  2 
ip6table_filter         1207  1 
ip6_tables              9937  1 ip6table_filter
ipv6                  229731  56 ip6t_REJECT,nf_conntrack_ipv6
fuse                   51887  11 
uinput                  5228  0 
snd_hda_codec_si3054     2988  1 
snd_hda_codec_analog    53890  1 
ppdev                   6808  0 
snd_hda_intel          20163  3 
snd_hda_codec          71701  3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel
snd_hwdep               4795  1 snd_hda_codec
snd_seq                43435  0 
snd_seq_device          5056  1 snd_seq
parport_pc             17897  0 
tifm_7xx1               4585  0 
snd_pcm                61769  4 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
ipw2200               116478  0 
tifm_core               4953  1 tifm_7xx1
parport                26215  2 ppdev,parport_pc
libipw                 21037  1 ipw2200
cfg80211              110999  2 ipw2200,libipw
rfkill                 13652  2 cfg80211
lib80211                4107  2 ipw2200,libipw
r8169                  31837  0 
snd_timer              15435  2 snd_seq,snd_pcm
mii                     3578  1 r8169
iTCO_wdt                8960  0 
iTCO_vendor_support     2070  1 iTCO_wdt
snd                    47397  14 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
i2c_i801                9016  0 
serio_raw               3589  0 
soundcore               5088  1 snd
snd_page_alloc          6180  2 snd_hda_intel,snd_pcm
joydev                  7306  0 
microcode              11149  0 
sdhci_pci               6254  0 
sdhci                  15709  1 sdhci_pci
firewire_ohci          17801  0 
mmc_core               53226  1 sdhci
firewire_core          37909  1 firewire_ohci
yenta_socket           20882  0 
crc_itu_t               1235  1 firewire_core
i915                  242784  3 
drm_kms_helper         22278  1 i915
drm                   139248  3 i915,drm_kms_helper
i2c_algo_bit            4197  1 i915
i2c_core               21552  5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                  17730  1 i915
output                  1625  1 video
[root@cepi ~]# chkconfig --list
NetworkManager 	0:off	1:off	2:on	3:on	4:on	5:on	6:off
abrtd          	0:off	1:off	2:off	3:on	4:off	5:on	6:off
atd            	0:off	1:off	2:off	3:on	4:on	5:on	6:off
auditd         	0:off	1:off	2:on	3:on	4:on	5:off	6:off
avahi-daemon   	0:off	1:off	2:off	3:on	4:on	5:on	6:off
bluetooth      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
cgconfig       	0:off	1:off	2:off	3:off	4:off	5:off	6:off
cgred          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
cpuspeed       	0:off	1:on	2:on	3:on	4:on	5:on	6:off
crond          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
cups           	0:off	1:off	2:on	3:on	4:on	5:off	6:off
dnsmasq        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
fcoe           	0:off	1:off	2:off	3:off	4:off	5:off	6:off
firstboot      	0:off	1:off	2:off	3:off	4:off	5:off	6:off
haldaemon      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:off	6:off
ip6tables      	0:off	1:off	2:on	3:on	4:on	5:on	6:off
iptables       	0:off	1:off	2:on	3:on	4:on	5:on	6:off
irda           	0:off	1:off	2:off	3:off	4:off	5:off	6:off
irqbalance     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
iscsi          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
iscsid         	0:off	1:off	2:off	3:on	4:on	5:on	6:off
jexec          	0:on	1:on	2:on	3:on	4:on	5:on	6:on
livesys        	0:off	1:off	2:off	3:on	4:on	5:on	6:off
livesys-late   	0:off	1:off	2:off	3:on	4:on	5:on	6:off
lldpad         	0:off	1:off	2:off	3:off	4:off	5:off	6:off
lvm2-monitor   	0:off	1:on	2:on	3:on	4:on	5:on	6:off
mdmonitor      	0:off	1:off	2:on	3:on	4:on	5:on	6:off
messagebus     	0:off	1:off	2:on	3:on	4:on	5:on	6:off
multipathd     	0:off	1:off	2:off	3:off	4:off	5:off	6:off
mysqld         	0:off	1:off	2:on	3:on	4:off	5:off	6:off
netconsole     	0:off	1:off	2:off	3:off	4:off	5:off	6:off
netfs          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
network        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
ntpd           	0:off	1:off	2:off	3:off	4:off	5:off	6:off
ntpdate        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
openvpn        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
portreserve    	0:off	1:off	2:on	3:on	4:on	5:on	6:off
psacct         	0:off	1:off	2:off	3:off	4:off	5:off	6:off
rdisc          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
restorecond    	0:off	1:off	2:off	3:off	4:off	5:off	6:off
rsyslog        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
saslauthd      	0:off	1:off	2:off	3:off	4:off	5:off	6:off
sendmail       	0:off	1:off	2:on	3:on	4:on	5:off	6:off
smolt          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
snmpd          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
snmptrapd      	0:off	1:off	2:off	3:off	4:off	5:off	6:off
sshd           	0:off	1:off	2:off	3:off	4:off	5:on	6:off
sssd           	0:off	1:off	2:off	3:off	4:off	5:off	6:off
udev-post      	0:off	1:on	2:on	3:on	4:on	5:on	6:off
vncserver      	0:off	1:off	2:off	3:off	4:off	5:off	6:off
wine           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
wpa_supplicant 	0:off	1:off	2:off	3:off	4:off	5:off	6:off
zvbid          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
 
Old 11-12-2012, 04:34 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
I don't see anything in your listing to that effect, but the behaviour of your drive was the same as mine with it constantly renewing the drive designation, that was why I suggested to manually mount it.
(Sorry I can't help any further.)
 
Old 11-12-2012, 05:44 AM   #5
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 141

Original Poster
Rep: Reputation: 16
Thank you very much, just two last questions
1. what did you mean by automounter ? I is feature that mount something automatically when you plug USB disk. Or it is feature that will mount some directory after ucess will access it http://tldp.org/HOWTO/Automount-4.html ?

2. If I may ask, how did you observe that manual mounting will help ? It was trial-and-error method or you have some debugger or how ?

Thank you very much.
 
Old 11-12-2012, 06:28 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
Looking at http://tldp.org/HOWTO/Automount-4.html brings me to suspect this may be your trouble :-

Quote:
There are two files in /etc, one called auto.master and one called auto.misc. A sample auto.master looks like this:

/auto /etc/auto.misc --timeout=60

The first entry is not the mount point. It's where the set of mount points (found in the second entry) are going to be. The third option says that the mounted filesystems can try to unmount themselves 60 seconds after use. You will have to stop using the disk before unmounting it.
The above says that it will be unmounted if unused for 60 seconds; that would be the reason that it unmounts & remounts onto a different drive designation. Try commenting out --timeout=60, or increase it to something like an hour.

As to how I determined a manual mount might cure the problem was down to experience of using Linux for several years. :-)
(It's a long time since I've used RPMs; I'm a Debian user.)

HTH
 
Old 11-12-2012, 01:26 PM   #7
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 141

Original Poster
Rep: Reputation: 16
Hello, there is no such /etc/auto.* files on my distro. However I will try to remount the external harddrive (in spite of it is mounted out of the box) as you suggested ASAP. If you could write post about your problem determination techniques it would be worth reading not only for me
 
Old 11-12-2012, 02:48 PM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
Most of my experiences were because I started using the command line & reading man pages.

Take a look here if you want some help getting started :-
http://linux.2038bug.com/rute-home.html

(That is a very useful book you can download for free.)
 
Old 11-14-2012, 05:19 AM   #9
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 141

Original Poster
Rep: Reputation: 16
Thank you, never heard of that book.
 
Old 11-14-2012, 06:19 AM   #10
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
Quote:
Originally Posted by wakatana View Post
Thank you, never heard of that book.
You're welcome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use desktop with usb-usb cable as external bootable optical drive for netbook seancarver Linux - Laptop and Netbook 3 11-02-2009 09:38 PM
*** USB external hard drive and USB memory stick linux_2007_ Linux - General 1 07-17-2007 04:20 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration