LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-31-2004, 09:52 PM   #1
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Rep: Reputation: 15
Can't get DVD to work in Debian 2.6.6


Here is the output of dvdrecord -scanbus:
--------------------------------------------------------------------------------
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SONY ' 'DVD RW DW-U18A ' 'UYS1' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

--------------------------------------------------------------------------------

When I try to blank a DVD, I get this:

--------------------------------------------------------------------------------
debian:~/.scripts# dvdrecord dev=ATAPI:0,0,0 -blank=all
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-U18A '
Revision : 'UYS1'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
dvdrecord: Input/output error. blank unit: scsi sendcmd: no error
CDB: A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 1511.399s timeout 9600s
dvdrecord: Cannot blank disk, aborting.
--------------------------------------------------------------------------------
And then, when I run -scanbus again, I get this:

--------------------------------------------------------------------------------
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.7'
dvdrecord: No target found.
--------------------------------------------------------------------------------

I've tried cdrecord with similar results. the DVD writer is a Sony DW-U18A, OEM'd by LiteOn as SOHW-8125, and I've tried using both CD-RW disks and DVD-RW discs (it should use both, right?). I've also read the DVD how-to and tried all that stuff, but am not sure what parts of that are or are not necessary with the 2.6.6 kernel.

When I boot up, I don't have a /dev/scd0 device. With cdrecord, scanbus can't find a target, but that doesn't seem to bother dvdrecord- the first printout above was from a fresh boot with no /dev/scd0.

Also, the blank command ran for about 15-20 minutes with the DVD light blinking before it got this error.

I've screwed around with this for a week now- any help would be greatly appreciated.

Thanks,
anw
 
Old 08-31-2004, 10:13 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
I also have a Sony DVD-RW drive, and experienced the same problem as you did when I upgraded
from kernel 2.6.7 to kernel 2.6.8.1 (except I was using cdrecord/eroaster) until someone suggested that I run eroaster/cdrecord as root and that it was a kernel bug (see k3b for more info).
 
Old 08-31-2004, 10:15 PM   #3
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
I've been doing all this work as root. Don't think that's the problem.

Thanks,
anw
 
Old 08-31-2004, 10:47 PM   #4
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
Maybe you should try using cdrecord. I bet that version of dvdrecord you're using is really old.
 
Old 09-01-2004, 12:09 PM   #5
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
Out of the past week (or more), I've only been messing with dvdrecord for the past couple of days. I was trying cdrecord before that. I seemed to get a little further with dvdrecord (I couldn't even start a blank with cdrecord), but am willing to try anything.
 
Old 09-01-2004, 05:46 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,622

Rep: Reputation: 105Reputation: 105
It looks like you are using ide-scsi emulation for the disk try dev=0,0,0 for the device.
 
Old 09-01-2004, 05:54 PM   #7
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
As far as I remember, ide-scsi is not needed for ATAPI cd burners starting with kernel 2.6.
 
Old 09-01-2004, 06:14 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,622

Rep: Reputation: 105Reputation: 105
Quote:
Originally posted by bobwall
As far as I remember, ide-scsi is not needed for ATAPI cd burners starting with kernel 2.6.
Yes I know that and it is immaterial to the question as to whether you are using it, your output above is identical (except for burner used) to what I get when I try it and I am using ide-scsi.
Code:
[HappyTux:/home/stephen]# dvdrecord -scanbus
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING.  If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.5.31
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'HL-DT-ST' 'DVDRAM GSA-4040B' 'A104' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

[HappyTux:/home/stephen]# cdrecord -scanbus
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

Linux sg driver version: 3.5.31
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'HL-DT-ST' 'DVDRAM GSA-4040B' 'A104' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
As you can see from the cdrecord output I get no warning about using the inferior ATAPI method. So did you try it with just the dev=0,0,0? If that does not work and you are using the ATAPI then I would try dev=ATA:0,0,0 or dev=/dev/hd? replacing the ? with the actual device in the system.

The warning you get.

Code:
[HappyTux:/home/stephen]# cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
 
Old 09-17-2004, 08:45 PM   #9
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
Sorry it took so long to get back to this, but I'm in Florida, and we've had a
couple of hurricanes come through.

Here is the output with dev=0,0,0 instead of dev=ATAPI:0,0,0. Basically the same
thing.

First, scanbus output:
--------------------------------------------------------------------------------------------
debian:~# dvdrecord -scanbus
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SONY ' 'DVD RW DW-U18A ' 'UYS1' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
--------------------------------------------------------------------------------------------

So far, so good. Now, try to blank the CD:

--------------------------------------------------------------------------------------------
dvdrecord dev=0,0,0 -blank=all
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.30
dvdrtools v0.1.5
Portions (c) 2002-2003 Ark Linux <bero@arklinux.org>
dvdrtools patched by Julien Delange for Debian
Note that you have to reports bug to the debian maintainer
Please ask Debian for support, and not ask the original author
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Based on:
Cdrecord 1.11a15 (i386-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-U18A '
Revision : 'UYS1'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl

<---------------- snip- thousand's of these-------------------->

dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
dvdrecord: No such device or address. Cannot send SCSI cmd via ioctl
Segmentation fault
--------------------------------------------------------------------------------------------

It runs 20 or so minutes with the dvd light blinking before it craps out.
Apparently, The use of the ATAPI:0,0,0 doesn't make any difference.

Any help would be appreciated. This has really been going on a long time,
during which my system isn't being backed up.

Regards,
anw
 
Old 09-17-2004, 09:38 PM   #10
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
Is there anywhere I can go to determine how optical media writers are supposed to work on 2.6.6? I've been through all the HOW-TOs and believe they are oriented toward older kernels. And, it still doesn't work.
 
Old 09-17-2004, 10:24 PM   #11
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
Well, I can burn a DVD with k3b (a KDE front-end) that, like most of these GUI's uses cdrecord and dvd+rw-tools as it's back end. Can anybody tell me how to figure out what command line is is using so I can put the right program with it's parameters in a script? I'm going to try again and see if ps -ef can tell me what's happening.

I can mount and look at the CD using the device /dev/sr0.
 
Old 09-18-2004, 02:57 PM   #12
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i use
growisofs -Z /dev/hdd -R -J /soms/files
for burning dvd's. as you can notice i don't use the scsi emulation for 2.6 kernels. -Z for an inital and -M for multisession. growisofs is only a frontend to mkisofs but usefull for dvd's.
if i burn cdroms i use
cdrecord -v speed=24 -dev=ATA:1,1,0 cdimage.iso

i never had problem with the new ide driver present in the 2.6 kernel, but other experience may vary.

sl mritch.
 
Old 09-20-2004, 09:13 AM   #13
anw
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Debian
Posts: 93

Original Poster
Rep: Reputation: 15
MRitch-

Thanks for the input. I've finally figured out how to make data dvd's anyway. This was most
critical, so I could, first, do a backup, and then automate the backup of my system. What I
finally did was use the k3b front end, and then, while it was writing the DVD, use ps -ef to see
what command it used. It was growisofs, with no scsi emulation (I don't think- /dev/sr0), very
similar to what you recommended. I now have it all put into a cron script that runs at 3 am every
morning, so the critical need is satisfied. When I start trying to burn songs or movies, I may be
back!

Thanks to all who helped,
anw
 
  


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
debian DVD salahuddin_66 Debian 2 07-29-2005 12:45 PM
CD/DVD Drive don't work from File Browser Application in my KDE 3.3 over Debian PinRojas Linux - Newbie 1 06-07-2005 01:31 AM
debian dvd hlinux Debian 5 03-30-2005 06:16 PM
Debian DVD SJogela Debian 4 02-15-2005 01:29 PM
Knoppix and Debian DVD towy71 Debian 9 10-18-2003 07:38 AM

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

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