Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    70

    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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,574
    I have seen this sort of thing happen when your data sink (the video player) causes data overruns on the device (it is not fast enough for the stream). There are two solutions:

    1. Copy the data to the hard drive first.
    2. Use faster USB devices.

    FWIW, when I want to do this sort of thing, I use a class 10 SD card in a USB 2.0 (or later) reader. They can handle the throughput requirements for HD video rendering. Most SD cards can't deal with that, and a lot of USB thumb drives cannot either.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •