LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2005, 06:30 PM   #1
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
mkisofs i/o error


OK, here's the situation:

Code:
root@scorp:/usr/src/linux# mount -t udf /dev/hdc /mnt/dvd
mount: block device /dev/hdc is write-protected, mounting read-only
root@scorp:/usr/src/linux# ls /mnt/dvd/
AUDIO_TS     VIDEO_TS     autorun.dat  autorun.exe  autorun.inf  
root@scorp:/usr/src/linux# exit
aborted@scorp:~$ cd /videos/
aborted@scorp:/videos$ mkisofs -dvd-video -o SAW.ISO /mnt/dvd/
mkisofs: Input/output error. cannot read from '/mnt/dvd/VIDEO_TS/VTS_01_0.VOB'
Anyone know what's up?

EDIT: Found a solution, and I'm angry about it. The drive I had it reading from was the brand new AOpen burner that I JUST got from newegg.com. It better be just a cable that isn't seated right...

EDIT: The cable is connected properly, so I'm still confused. dmesg gives me LOTS of errors like this:

Code:
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
end_request: I/O error, dev hdc, sector 1596
Buffer I/O error on device hdc, logical block 399
Looked around and found that lots of other people have gotten similar errors...haven't found a solution though. I upgraded to kernel 2.6.11.2, but it was no use.

Last edited by voyciz; 03-09-2005 at 11:39 PM.
 
Old 03-10-2005, 03:42 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I've seen the 'DriveReady SeekComplete Error' before and there is a kernel setting concerning this:

Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
Use multi-mode by default


Although I'm not 100% sure, I do think this could be the base of your problem.

Hope this helps.
 
Old 03-10-2005, 08:45 AM   #3
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
I thought this would surely fix it....but I get the same thing. Thanks though, druuna, I appreciate it.
 
Old 03-10-2005, 09:21 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Maybe to obvious, but you don't mention anything about it:

You mount the dvd as root and try using mkisofs as normal user. Is /mnt/dvd (and its files) readable by normal users (=world readable)?

Another thing that came to mind: Is the VOB file encrypted/corrupt??
Try playing it with one of your (linux) video players (sorry, only way I know of to check for encryption).

Not much to go on, but I hope this helps.

PS: Just looked at Saw yesterday: Great movie!
 
Old 03-10-2005, 09:43 AM   #5
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Yes, I have checked that everything in /mnt/dvd is readable. And neither that nor encryption can really be the problem here, because I put the DVD in my other drive and ran mkisofs the exact same way as a normal user and it went fine. Heh, I've never even seen the entire movie, went to a theater to watch it, but I was having problems...

EDIT: The drive rips and burns audio CD's perfectly. I'm pretty sure there's nothing wrong with the drive now. I found something that might help:

Before you do anything else think about the region code. All drives shipped today have RPC mode 2 protection - that means that you can only switch your region code five times before it is locked. You can get information about how to remove the region code from your drive over at Digital Digest. So why am I mentioning this? The ripping methods mentioned below rely on the drive to have the correct region code (read: the same as the DVD that's inserted) or no region code at all. All error messages are kind of cryptic and it's often not very clear that you have a region code related problem when ripping fails. So keep that in mind.

Guess I'll try removing this region code and see how it goes.

EDIT: I used regionset and found out that no region code had been set on the drive. According to its documentation, drives won't play DVD's without the code being set. So, I set it to region 1 (U.S. and Canada) and tried again...STILL no luck!

Last edited by voyciz; 03-10-2005 at 03:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mkisofs: Error - boot image './isolinux/isolinux.bin' has not an allowable size. ogross74 Red Hat 3 05-05-2016 03:22 AM
mkisofs guldo Linux - Software 14 08-10-2004 02:58 PM
where is my mkisofs? slack66 Linux - Newbie 2 07-14-2004 03:27 AM
mkisofs Pedroski Linux - Software 1 11-09-2003 01:59 PM
mkisofs error exodist Linux - Software 0 09-05-2003 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 PM.

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