LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-31-2007, 11:15 PM   #1
haruki
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 11.0
Posts: 14

Rep: Reputation: 0
Why is my dvd burner not working correctly?


Hello out there

My problem is that I cannot burn dvds with my dvd burner. Before reinstalling Slackware 11.0 this past weekend my burner worked fine, in fact I had burned and tested a few dvds last week.

As I said I am using Slackware 11.0, with the bare.i 2.4 kernel. I have enabled scsi emulation (e.g. in lilo.conf, append="hdc=ide-scsi"). I have added a symlink from /dev/scd0 -> /dev/dvd, and the filesystem I am using is ext3.

I mention my filesystem because Andy Polyakov (the guy behind dvd+rw tools) in this thread: http://permalink.gmane.org/gmane.com...cd-record/6538 says that ext3 causes problems with burning dvds. So I have also installed (via a self compiled and built slackware-styled package) dvd+rw-tools-7.0 (Slackware currently ships with 6.1). Having said that I should note, even though it might be irrelevant, that I was previously using reiserfs.

Running rescan-scsi-bus gives this output:
Host adapter 0 (ide-scsi) found.
Scanning hosts 0 channels 0 for
SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PLEXTOR Model: DVDR PX-716A Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02
0 new device(s) found.
0 device(s) removed.
I have been able to burn an initial session with growisofs but the program always runs into some sort of error, here is an example:
growisofs -dvd-compat -overburn -Z /dev/scd0 dvd.iso
WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs dvd.iso | builtin_dd of=/dev/scd0 obs=32k seek=0'
mkisofs: Value too large for defined data type. File dvd.iso is too large - ignoring
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21124
174 extents written (0 MB)
/dev/scd0: "Current Write Speed" is 16.4x1385KBps.
:-[ WRITE@LBA=0h failed with SK=5h/ASC=27h/ACQ=00h]: Input/output error
:-( write failed: Input/output error
I have tried to set the recommended settings with hdparm (such as those mentioned at http://linux.togaware.com/survivor/CD_DVD_Drives.html) but it did not seem to help. The exact command I issued was:

# hdparm -d1 -a8 -u1 /dev/hdc
/dev/hdc:
setting fs readahead to 8
BLKRASET failed: Invalid argument
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
unmaskirq = 1 (on)
using_dma = 1 (on)
BLKRAGET failed: Invalid argument
/dev/hdc is the actual location of my dvd-burner (which is also at /dev/scd0). However after running that, I also get this:
# hdparm -v /dev/dvd

/dev/dvd:
readonly = 0 (off)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
I do not know if this is related to my burner problem. I know the burner works, because today (as you can see above) it has burned initial sessions to dvd+rs (the same ones I've always used - which have always worked). But, there is some hardware configuration problem or something. And yes, I even tried the slackware k3b package - but as it's using growisofs and so on, it of course had the same trouble. (I was just hoping for a lazy miracle )

I have another cd-rom device (a cd-burner at /dev/hdd), and I am able to read from both it and the dvd drive in question.

Any help, pointers, or advice would be highly appreciated! I have searched linuxquestions, and newsgroups, and other forums for help, but nothing has worked so far. I really would love to have my burner up and working again and it's driving me crazy not being able to figure out a solution and use it

Thanks in advance,
haruki
 
Old 01-31-2007, 11:24 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Hmmmm ... any way you could try it with reiserfs ?
 
Old 02-01-2007, 12:16 AM   #3
haruki
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 11.0
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H
Hmmmm ... any way you could try it with reiserfs ?
I was thinking the same thing But nope, no way to do it at the moment.

If necessary I plan on reformatting with reiserfs (i.e., if I can't find a solution within the next few days ).

Seems like there would be another answer. I mean somebody else must use ext3 and burn dvds. I mean, if that is the real issue.

Thank you for you question/suggestion.
 
Old 02-01-2007, 01:49 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well I was using ext3 for a while and maybe that was why my DVD burner never burned anything right ? Not sure about the reason, but I wouldn't exclude it.

In the mean time try removing that 'append="hdc=ide-scsi"'.
 
Old 02-01-2007, 01:56 AM   #5
haruki
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 11.0
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H
Well I was using ext3 for a while and maybe that was why my DVD burner never burned anything right ? Not sure about the reason, but I wouldn't exclude it.

In the mean time try removing that 'append="hdc=ide-scsi"'.
Very interesting. I am definitely leaning towards reformating with reiserfs asap.

What do you think removing that line from lilo.conf will do? I am thinking that will put me back at square one. But no harm in trying it, what should I report back?
 
Old 02-01-2007, 02:25 AM   #6
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
"growisofs -dvd-compat -overburn -Z /dev/scd0 dvd.iso"

You need to use -Z /dev/scd0=dvd.iso. Tho this might've nothing to do with the I/O error
 
Old 02-01-2007, 02:30 AM   #7
haruki
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 11.0
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pdw_hu
"growisofs -dvd-compat -overburn -Z /dev/scd0 dvd.iso"

You need to use -Z /dev/scd0=dvd.iso. Tho this might've nothing to do with the I/O error
Yes, thank you I did know that and tried that - should have mentioned that in my original post. I recall reading the command both ways on the dvd+rw tools homepage (or maybe one was from the mkisofs man). And yes, both did begin to work once but then failed. Weird, and well, lame!
 
Old 02-01-2007, 08:04 AM   #8
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
What do you think removing that line from lilo.conf will do?
if i remember correctly from 2.4.31(or 29) onwards, we dont need scsi emulation for 2.4 kernels!!
Quote:
I have added a symlink from /dev/scd0 -> /dev/dvd
i was also curious about your simlink

hi anyway it got worked .. happy slacking
 
Old 02-04-2007, 04:15 PM   #9
haruki
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 11.0
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your replies. I eventually ended up trying the 2.6 kernel in /extra and was able to burn dvd+r's but at > 1x. So I compiled my own 2.6.19.2 kernel, and that worked about the same, but with other major slowdown issues as well (which was odd since I went out of my way to tailor it to my system, and everything looked great in the logs). I tried to configure my drive with hdparm but that didn't seem to help.

Long story short, since I had already chased down every path I could think of, my answer seemed to be that there was some problem with the implementation I had of ext3, my hardware, and possibly growisofs and linux - and that there was not going to be a solution with my current system any time soon.

As I had everything working just a week before with bare.i, and no real tweaking, I decided that my answer layed there.

Yep, I reformatted with reiserfs and did a vanilla Slackware 11 install. And in my first post-install boot I was able to burn a dvd iso in under five minutes as opposed to two hours.

So yeah, seems I'm not the only one who had this problem - strange as it is - with ext3. Not that have anything against that filesystem, in fact I wanted to use it because of reiserfs's rebuild tree.

But reformatting with reiserfs was my solution and it absolutely removed the problem. Hope it helps someone else out there who is dragging their head through clouds like I was last week.

As a poster on a.o.l.slackware told me, sometimes the magic works - sometimes it doesn't. And now, the magic works
 
Old 02-04-2007, 05:05 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Thumbs up

Quote:
Originally Posted by haruki
Yep, I reformatted with reiserfs and did a vanilla Slackware 11 install. And in my first post-install boot I was able to burn a dvd iso in under five minutes as opposed to two hours.

So yeah, seems I'm not the only one who had this problem - strange as it is - with ext3. Not that have anything against that filesystem, in fact I wanted to use it because of reiserfs's rebuild tree.

But reformatting with reiserfs was my solution and it absolutely removed the problem. Hope it helps someone else out there who is dragging their head through clouds like I was last week.

As a poster on a.o.l.slackware told me, sometimes the magic works - sometimes it doesn't. And now, the magic works
Well, this is both very interesting and very important. It was ext3 after all ! I personally use JFS (cuz I deal with large files on regular basis ... XFS would work too, but JFS has less CPU usage), and it works fine. Not so with ext3 ... except I never found out ext3 was the cause until now !

Great to know tho.
 
Old 04-10-2007, 07:53 AM   #11
grungefuttock
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Haruki

I had a problem very similar to yours, I could on very, very rare occassions burn completely but 99.99% of the time the burn would fail. I was using an NEC DVD burner which worked perfectly using Windows XP (I dual booted) but failed to burn a DVD almost all the time under PCLinuxOS. I could burn a CD though no problem. I trolled through the web for an answer but it just wasn't out there.

Eventually I added another DVD Burner, this time an LG and bingo it has worked perfectly every time since. The moral of this tale seems to be that all burners are just not quite the same. It may be worth your while (as they are so cheap now) to buy an LG and try it. It worked for me.

Regards

Grungefuttock

Last edited by grungefuttock; 04-10-2007 at 10:46 AM.
 
Old 04-10-2007, 02:07 PM   #12
SpelledJ
Member
 
Registered: Jun 2006
Location: Birmingham, AL
Distribution: Slackware64-13.1, 12.1
Posts: 119

Rep: Reputation: 20
I bought a Lite-on DVD burner last year, and I couldn't get it to burn DVDs under Slackware 10.2 with a 2.4 kernel. I could burn CDs just fine with k3b, but with DVDs it would start the burn, ruin the disk, and exit with an error. I hadn't needed a 2.6 kernel on that machine up to that point, but I went ahead and compiled and installed one. I was using reiserfs, so I don't know about any ext3 issues. Upgrading the kernel to 2.6 solved my problem, but I was never sure if it was just due to newer software or something different in how I configured my 2.4 kernel versus 2.6.
 
  


Reply

Tags
burner, config, dvd+r, ext3, growisofs, hardware, iso, slackware


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
DVD burner stopped working idk666 Linux - Hardware 4 08-18-2006 12:13 PM
DVD burner - not burning correctly? supertoad Linux - Hardware 0 07-26-2005 08:38 AM
DVD-Burner not working Snump Mandriva 4 07-08-2005 07:34 AM
DVD burner stopped working tutwabee Linux - Hardware 5 09-13-2004 12:47 AM
How to get DVD Burner working in Knoppix? Mujju Linux - Newbie 1 09-03-2004 10:07 PM


All times are GMT -5. The time now is 12:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration