LinuxQuestions.org
Help answer threads with 0 replies.
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 06-02-2005, 01:24 PM   #1
sichen
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
DVD, once written, cannot be read successfully


I just installed an E-IDE/ATAPI DVD writer (IOMAGIC Dual Format, Double Layer 16x16x8) on a Dell PowerEdge 600SC server running Red Hat 9.0. I was able to write to it using

$ growisofs -Z /dev/hde -J -F /dvd/

and write all the contents of the dvd directory.

Later, when I try to copy the files back, however, I get an error:
$ mount /dev/hde /mnt/cdrom
$ cp /mnt/cdrom/<xxx> ./
cp: reading `/mnt/cdrom/<xxx>': Input/output error

I checked and found these error messages:
$ dmesg
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: ATAPI reset complete
end_request: I/O error, dev 21:00 (hde), sector 6542224
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hde: cdrom_decode_status: error=0x40LastFailedSense 0x04
hde: ATAPI reset complete

So what happened here? Did the write fail? Is the reader failing? The DVD has about 3.5 GB of data. Is that too much? Should I use something else to write to the DVD instead of growisofs?
 
Old 06-02-2005, 01:53 PM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Could it be that writing at a lower speed would result in a readable DVD? I have burned ISO images that were unusable because I didn't lower the speed to 4x. Re-burning at 4x resulted in a good CD (I don't write DVD's though I have an IOMagic DVD burner).

Would it help to burn a CD using a graphic interface such as XCDRoast as an experiment? Sometimes XCDRoast catches errors in setup or capabilities of a machine in a way that can be helpful.
 
Old 06-04-2005, 08:59 PM   #3
Marshalle
Member
 
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
Wink

I recently had a lot of problems writing DVD's. I would do things as you are doing them but try burning as root for a test as there are certain permissions needed to burn discs. Also check the quality of your media, (ensure that things will burn in another machine for example if possible). If it works as root, then you will need to check all your permissions. However I wasn't clever enough to get all that right, so I uninstalled everything to do with DVD burning such as mkisofs and growisofs etc etc. Then I reinstalled them with YAST and found the permissions were set up better. But someone else here will probably be able to tell you more and better ways of doing that.

M
 
Old 06-04-2005, 09:00 PM   #4
Marshalle
Member
 
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
also try using the dvd-compat switch.
 
Old 06-04-2005, 09:35 PM   #5
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
If those things don't work, try at least as an experiment using X-CDroast, which you operate the first time as root, then it enables you to change to non-root-user configuration (if you want to, which most people would want to). Even if you don't like GUI front-ends, it would be worth doing for troubleshooting, and you could always un-install it afterwards.
 
Old 06-04-2005, 10:40 PM   #6
Marshalle
Member
 
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
Talking

I didn't realise that ran first time as root, that is good, cause k3b seemed to not like a lot of things once I had upgraded it, even if I ran the setup utility to set the permissions and adjusted the drives etc. That is why I used text mode as root as I didn't know exactly what k3b was doing. I shall try that next time I have a problem (hopefully there isn't a next time)!
 
Old 06-04-2005, 10:56 PM   #7
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
I recently gave up on using k3b after it hopelessly confused me and I couldn't get a simple ISO image CD-ROM created with it. I went back to XCDroast which isn't nearly as pretty to look at, and is a lot more complicated, but gets the job done for me.

The strange thing is, I'm certain I used k3b to make a Knoppix disc a week or two ago, and then the next time I went to do it (so I'd have a second one just in case), I couldn't get it to work no matter what I tried. I spent a good two hours struggling with it.

XCDroast, once set up right again on my new system, did it easily and even wrote it at 16 speed and it works perfectly.

XCDroast requires its first use to be by root, for security reasons. Root has to do the initial setup, and then authorize other users to use the program.

It's easy to overlook "save configuration," in which case all your work is for nothing, so if you decide to experiment with it, remember you have to do that.

Good luck with your further DVD efforts, in any case!
 
Old 06-05-2005, 02:21 AM   #8
Marshalle
Member
 
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
Thumbs up

I'll have a look at it, I wasn't pleased as I killed three Dual Layer Discs which I had to buy from the local Dick Smith for $13 each until I got back to work! Anyway, k3b works now as I upgraded to Suse 9.3. One day I may sit down and figure out what all the permissions are about etc and write something about it and post it, though I would have thought the developers could have done that, maybe they have.

Thanks,

M
 
Old 06-05-2005, 10:01 AM   #9
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Marshalle
[...] I wasn't pleased as I killed three Dual Layer Discs which I had to buy from the local Dick Smith for $13 each until I got back to work!
Ouch! If New Zealand dollars are at the same exchange rate as the Australian Dollar (I'm showing my insular ignorance here, I know), that's about $9.80 US dollars each... Which sounds about right, alas. That is the main, really the compelling, reason I do NOT burn DVD's. I can't afford it, even if the software works perfectly every time.

I do back up to a separate hard drive and hope everything doesn't fail at once.
 
Old 06-06-2005, 02:22 AM   #10
Marshalle
Member
 
Registered: Mar 2005
Location: Auckland, New Zealand
Distribution: OpenSuSE, SLE, Yoper, Sabayon
Posts: 69

Rep: Reputation: 15
Well I can get the standard single layer ones for 50c each and a Verbatim branded one for $1.00 each, that isn't too bad, it's just the dual layers that are ridiculous. ;}
 
Old 06-06-2005, 12:00 PM   #11
sichen
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
I tried doing it again as root and using the dvd-compat tag, but it didn't work-same problem. And the same problem happens whether I try to read it on the original RH9 server that wrote it or a laptop running Suse 9.1.

I am writing to a disk which says "2 hours video, 4.7 GB data", DVD+R RW, 8x compatible. The speed of write was 2.2x. The total amount of data written

The only thing I can think of is should I try to write less data? Can I turn off the "Double Layer" feature of my DVD with growisofs?

Thanks!
 
Old 06-06-2005, 02:25 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It is not growisofs or any dvd writing programs. Using frontend programs will not help too. No, it is not the disc because you can place about 4GB, but I would not push it to 4.25 GB. The problem is DMA. Redhat 9 is old. Upgrade to Fedora or upgrade the kernel to >=2.6.11.
 
Old 06-06-2005, 02:28 PM   #13
sichen
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Hmm...

Can you explain what "DMA" means? Is there a link about it somewhere?

Thanks...
 
Old 06-06-2005, 03:05 PM   #14
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
About a year ago, when I first bought my IOMagic DVD/CD writer, I found out (after buying a box of DVD-RW's for it) that the software I had was incapable of writing to DVD-RW's. I read up on how to get around this and it was WAY too technical for me to understand, let alone implement. So to this day I have a box of unused DVD-RW's sitting nearby.

(Edit: In fact, I'm not sure but what I found out that there WAS no way around it--yet; but that it was being worked on.)

I don't remember if I got a specific error message telling me about the inability to write to DVD-RW's, or if I figured it out by a Google search. Anyway, I wonder if that's what's happening in your case. Can you write to a regular (non-RW) DVD OK? And are you sure your software supports the DVD+ standard and not just the DVD- standard? (Mine is DVD+ and I did burn a regular DVD successfully with the standard xcdroast package.)

That's about all I can think of right now... Wish I could help more.

Last edited by jonr; 06-06-2005 at 03:06 PM.
 
Old 06-06-2005, 03:13 PM   #15
sichen
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Are you able to burn DVD-R successfully with xcdroast?
 
  


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
djgpp c++ cross compiler cannot read library functions written in C back2morrie Linux - General 0 05-31-2005 03:43 AM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 12:25 PM
Can't read CDs written using K3B mabuse Linux - Software 2 08-02-2004 03:25 AM
combo rom won't read/play dvd, no ans from dvd-howto sirpelidor Linux - Hardware 0 12-22-2003 12:20 PM
my dvd is read as hdd and my ide cd-rw is read as scsi??? spyghost Linux - Hardware 11 07-16-2003 05:03 PM

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

All times are GMT -5. The time now is 04:03 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