Author Topic: Input/output error file during RipTask  (Read 2089 times)

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Input/output error file during RipTask
« on: January 03, 2008, 02:36:38 pm »
Hello,

during my journey with LMCE I tried ripping a couple of DVDs. Some work fine, while others cause problems.

Currently I tried to rip a Ghost Rider DVD. The DVD plays fine :), but ripping the DVD causes I/O errors  :'(. Other

Code: [Select]
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:23:56.035           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:07.670           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:18.556           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:29.329           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:39.971           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:50.028           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:59.970           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:25:19.355           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status e message Error reading '/dev/hdc': Input/output error file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>

Ideas anyone?

Any and help is greatly appreciated.

regards
Oliver
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Input/output error file during RipTask
« Reply #1 on: January 03, 2008, 02:58:20 pm »
Some more information. I tried manually copying the DVD to the harddisk. It always stops at the same position. Is it possible, that this is some kind of copy protection coming into play?

Code: [Select]
disk_copy /dev/hdc test.dvd

Disc size: 8539996160
Position: 10485760; Progress: 0.12%
Position: 20971520; Progress: 0.25%
Position: 31457280; Progress: 0.37%
Position: 41943040; Progress: 0.49%
Position: 52428800; Progress: 0.61%
Position: 62914560; Progress: 0.74%
Position: 73400320; Progress: 0.86%
Position: 83886080; Progress: 0.98%
Position: 94371840; Progress: 1.11%
Position: 104857600; Progress: 1.23%
Position: 115343360; Progress: 1.35%
Position: 125829120; Progress: 1.47%
Position: 136314880; Progress: 1.60%
Position: 146800640; Progress: 1.72%
Position: 157286400; Progress: 1.84%
Position: 167772160; Progress: 1.96%
Position: 178257920; Progress: 2.09%
Position: 188743680; Progress: 2.21%
Position: 199229440; Progress: 2.33%
Position: 209715200; Progress: 2.46%
Position: 220200960; Progress: 2.58%
Position: 230686720; Progress: 2.70%
Position: 241172480; Progress: 2.82%
Position: 251658240; Progress: 2.95%
Position: 262144000; Progress: 3.07%
Position: 272629760; Progress: 3.19%
Position: 283115520; Progress: 3.32%
Position: 293601280; Progress: 3.44%
Position: 304087040; Progress: 3.56%
Position: 314572800; Progress: 3.68%
Position: 325058560; Progress: 3.81%
Position: 335544320; Progress: 3.93%
Position: 346030080; Progress: 4.05%
Position: 356515840; Progress: 4.17%
Position: 367001600; Progress: 4.30%
Position: 377487360; Progress: 4.42%
Position: 387973120; Progress: 4.54%
Position: 398458880; Progress: 4.67%
Position: 408944640; Progress: 4.79%
Position: 419430400; Progress: 4.91%
Position: 429916160; Progress: 5.03%
Position: 440401920; Progress: 5.16%
Position: 450887680; Progress: 5.28%
Position: 461373440; Progress: 5.40%
Position: 471859200; Progress: 5.53%
Position: 482344960; Progress: 5.65%
Position: 492830720; Progress: 5.77%
Position: 503316480; Progress: 5.89%
Position: 513802240; Progress: 6.02%
Position: 524288000; Progress: 6.14%
Position: 534773760; Progress: 6.26%
Position: 545259520; Progress: 6.38%
Position: 555745280; Progress: 6.51%
Position: 566231040; Progress: 6.63%
Position: 576716800; Progress: 6.75%
Position: 587202560; Progress: 6.88%
Position: 597688320; Progress: 7.00%
Position: 608174080; Progress: 7.12%
Position: 618659840; Progress: 7.24%
Position: 629145600; Progress: 7.37%
Position: 639631360; Progress: 7.49%
Position: 640942080; Progress: 7.51%
Error reading '/dev/hdc': Input/output error
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Input/output error file during RipTask
« Reply #2 on: January 03, 2008, 03:16:09 pm »
Hello,

during my journey with LMCE I tried ripping a couple of DVDs. Some work fine, while others cause problems.

Currently I tried to rip a Ghost Rider DVD. The DVD plays fine :), but ripping the DVD causes I/O errors  :'(. Other

Code: [Select]
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:23:56.035           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:07.670           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:18.556           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:29.329           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:39.971           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:50.028           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:24:59.970           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status p message  file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>
/var/log/pluto/30_Disk_Drive.log:05     01/03/08 14:25:19.355           RipTask::UpdateProgress id 2 m_eTaskStatus_get 1 status e message Error reading '/dev/hdc': Input/output error file /home/public/data/videos/Ghost Rider  WS   Extended Cut   2 Discs  () <0xb66c0b90>

Ideas anyone?

Any and help is greatly appreciated.

regards
Oliver

Hmmm... I have successfully ripped the UK edition of that DVD without any problems
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Input/output error file during RipTask
« Reply #3 on: January 03, 2008, 03:31:27 pm »
It seems a problem of a read error. I modified the disk_copy.c a bit to change the buffers, it just fails. On a different disc, changing (lowering) the buffers yielded better results.

Anyone know, if there are any parameters to be set during the read function to retry on failure?

rgds
Oliver
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES

Matthew

  • Douchebag
  • Addicted
  • *
  • Posts: 567
    • View Profile
Re: Input/output error file during RipTask
« Reply #4 on: January 03, 2008, 03:45:42 pm »
Which DVD drive (make/model#) are you using?

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Input/output error file during RipTask
« Reply #5 on: January 03, 2008, 03:53:51 pm »
Code: [Select]
dcerouter_51346:/home/linuxmce/lmce/src/Disk_Drive# hdparm -i /dev/hdc
Code: [Select]
/dev/hdc:

 Model=PIONEER DVD-RW DVR-109, FwRev=1.40, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=13395, BuffSize=64kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4
 AdvancedPM=no
 Drive conforms to: Unspecified:  ATA/ATAPI-2,3,4,5

 * signifies the current active mode
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Input/output error file during RipTask
« Reply #6 on: January 07, 2008, 11:15:24 am »
Some more information.

I have tried numerous DVDs. All of them play just fine. BUT, a lot have problems when I try to copy them to the Core.  I have tried various tools available and all exhibit the same kind of problem. After 7-8% of the DVD I get read errors.

Is anyone else experiencing this problem? I will try another drive, but doubt that it will help.

Any and help is greatly appreciated

rgds
Oliver
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3441
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Input/output error file during RipTask
« Reply #7 on: January 08, 2008, 12:48:57 am »
Hello,

some additional information regarding the problem. I have found more DVDs with a problem. There seem to be a fairly new copy protection scheme in place, used by some of the german DVD producers. Details can be found here http://www.x-protect.com/, and search on http://forum.doom9.org for "Das Parfum" or x-protect reveals some more information.

Don't you just love it, if you buy a generic standardized inexpensive product, like a DVD for around 10€, take it home, just to find out, it will not play on your Linux system, nor on your Windows systems with older versions of WinDVD. NOT! >:(

rgds
Oliver
Currently on my way in the North Eastern United States - If I helped you, feel free to buy me a coffee: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES