Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
So I just went to try to burn an iso image to CD, and I always run "cdrecord --scanbus" before just to make sure my CD-R drive is still there ...
  1. #1
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602

    What's up with cdrecord and 2.6.x kernel?

    So I just went to try to burn an iso image to CD, and I always run "cdrecord --scanbus" before just to make sure my CD-R drive is still there (yeah, I'm a bit weird). But this time, instead of getting the list of available drives and their nubmers, I got this:
    Code:
    Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schi lling
    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.
    
    cdrecord&#58; Warning&#58; Running on Linux-2.6.8-2-686
    cdrecord&#58; There are unsettled issues with Linux-2.5 and newer.
    cdrecord&#58; If you have unexpected problems, please try Linux-2.4 or Solaris.
    cdrecord&#58; Warning&#58; Linux-2.6.8 introduced incompatible interface changes.
    cdrecord&#58; Warning&#58; SCSI transport does no longer work for suid root programs.
    cdrecord&#58; Warning&#58; if cdrecord fails, try to run it from a root account.
    cdrecord&#58; No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI dr iver.
    cdrecord&#58; For possible targets try 'cdrecord -scanbus'.
    cdrecord&#58; For possible transport specifiers try 'cdrecord dev=help'.
    cdrecord&#58;
    cdrecord&#58; For more information, install the cdrtools-doc
    cdrecord&#58; package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
    So is cdrecord incompatible with the 2.6.x kernel? I know the 2.6.x versions on longer need to do the whole "ide-scsi" thing at boot up, but does it completely screws with cdrecord?

  2. #2
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,121
    Nha...
    Cdrecord works better for me in 2.6 than in 2.4(no emulation needed).
    Just give it a try and if it works, ignore all the rest.

    PS: I never really liked cdrecord though...

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Went to try it out and got the same thing:
    Code:
    bidi@DebLinux&#58;~$ cdrecord -dev=0,0,0 slackware-10.2-install-dl.iso
    cdrecord&#58; No write mode specified.
    cdrecord&#58; Asuming -tao mode.
    cdrecord&#58; Future versions of cdrecord may have different drive dependent defaults.
    cdrecord&#58; Continuing in 5 seconds...
    Cdrecord-Clone 2.01.01a01 &#40;i686-pc-linux-gnu&#41; Copyright &#40;C&#41; 1995-2004 Joerg Schilling
    NOTE&#58; this version of cdrecord is an inofficial &#40;modified&#41; 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.
    
    cdrecord&#58; Warning&#58; Running on Linux-2.6.8-2-686
    cdrecord&#58; There are unsettled issues with Linux-2.5 and newer.
    cdrecord&#58; If you have unexpected problems, please try Linux-2.4 or Solaris.
    cdrecord&#58; Warning&#58; Linux-2.6.8 introduced incompatible interface changes.
    cdrecord&#58; Warning&#58; SCSI transport does no longer work for suid root programs.
    cdrecord&#58; Warning&#58; if cdrecord fails, try to run it from a root account.
    cdrecord&#58; Operation not permitted. WARNING&#58; Cannot do mlockall&#40;2&#41;.
    cdrecord&#58; WARNING&#58; This causes a high risk for buffer underruns.
    cdrecord&#58; Operation not permitted. WARNING&#58; Cannot set RR-scheduler
    cdrecord&#58; Permission denied. WARNING&#58; Cannot set priority using setpriority&#40;&#41;.
    cdrecord&#58; WARNING&#58; This causes a high risk for buffer underruns.
    scsidev&#58; '0,0,0'
    scsibus&#58; 0 target&#58; 0 lun&#58; 0
    cdrecord&#58; No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
    cdrecord&#58; For possible targets try 'cdrecord -scanbus'. Make sure you are root.
    cdrecord&#58; For possible transport specifiers try 'cdrecord dev=help'.
    cdrecord&#58;
    cdrecord&#58; For more information, install the cdrtools-doc
    cdrecord&#58; package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
    As you can see it's almost the exact same error. I looked that the README file and tried doing what they say in it but I get another set of errors.

  4. #4
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,121
    bidi@DebLinux:~$ cdrecord -dev=0,0,0 slackware-10.2-install-dl.iso
    Don't use a "-" before "dev=".
    Are you doing this as root or as user?

  5. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    I'm trying both as a regular user and root... I keep getting the same error, doesn't matter what I do! I've even reinstalled it, but still get the same thing.

  6. #6
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,121
    What does it tell if you do:
    Code:
    cdrecord -v speed=4 dev=0,0,0 slackware-10.2-install-dl.iso
    It's "dev=" and not "-dev=".
    The "-v"(verbose) option could tell you more...

  7. #7
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Same exact set of errors...
    Code:
    cdrecord&#58; Warning&#58; Running on Linux-2.6.8-2-686
    cdrecord&#58; There are unsettled issues with Linux-2.5 and newer.
    cdrecord&#58; If you have unexpected problems, please try Linux-2.4 or Solaris.
    cdrecord&#58; Warning&#58; Linux-2.6.8 introduced incompatible interface changes.
    cdrecord&#58; Warning&#58; SCSI transport does no longer work for suid root programs.
    cdrecord&#58; Warning&#58; if cdrecord fails, try to run it from a root account.
    TOC Type&#58; 1 = CD-ROM
    scsidev&#58; '0,0,0'
    scsibus&#58; 0 target&#58; 0 lun&#58; 0
    cdrecord&#58; No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
    cdrecord&#58; For possible targets try 'cdrecord -scanbus'.
    cdrecord&#58; For possible transport specifiers try 'cdrecord dev=help'.
    cdrecord&#58;
    cdrecord&#58; For more information, install the cdrtools-doc
    cdrecord&#58; package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
    Oh, and I'm not using the "-".

  8. #8
    Banned
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    1,121
    Strange, I've only seen this in 2.4 myself:
    cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.
    I think it had someting to do with the boot loader... (but I don't see how this would make sense in 2.6).

    I have it working at work, but can't access that system before next week(I'm sick).

    You could try k3b, it usually gives better error messages than just cdrecord...

  9. #9
    Linux Newbie
    Join Date
    Jul 2005
    Location
    ~/home
    Posts
    105
    Try using cdrecord as root,
    there are some issues with 2.6.* and rights.

    Do you have a 'normal' IDE cdburning device, or do you have a scsi device?
    In case you have a IDE device, you can use ATAPI in you cdrecord command.
    cdrecord dev=ATAPI:0,0,0 <more options>
    Help me getting a Opera licence
    Beginning with debian? -> read THIS!

  10. #10
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    I still got nothing. The same error.
    Code:
    DebLinux&#58;/home/bidi# cdrecord dev=ATAPI&#58;0,0,0 slackware-10.2-install-d1.iso
    cdrecord&#58; No write mode specified.
    cdrecord&#58; Asuming -tao mode.
    cdrecord&#58; Future versions of cdrecord may have different drive dependent defaults.
    cdrecord&#58; Continuing in 5 seconds...
    Cdrecord-Clone 2.01.01a01 &#40;i686-pc-linux-gnu&#41; Copyright &#40;C&#41; 1995-2004 Joerg Schilling
    NOTE&#58; this version of cdrecord is an inofficial &#40;modified&#41; 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.
    
    cdrecord&#58; Warning&#58; Running on Linux-2.6.8-2-686
    cdrecord&#58; There are unsettled issues with Linux-2.5 and newer.
    cdrecord&#58; If you have unexpected problems, please try Linux-2.4 or Solaris.
    cdrecord&#58; Warning&#58; Linux-2.6.8 introduced incompatible interface changes.
    cdrecord&#58; Warning&#58; SCSI transport does no longer work for suid root programs.
    cdrecord&#58; Warning&#58; if cdrecord fails, try to run it from a root account.
    scsidev&#58; 'ATAPI&#58;0,0,0'
    devname&#58; 'ATAPI'
    scsibus&#58; 0 target&#58; 0 lun&#58; 0
    Warning&#58; Using ATA Packet interface.
    Warning&#58; The related Linux kernel interface code seems to be unmaintained.
    Warning&#58; There is absolutely NO DMA, operations thus are slow.
    cdrecord&#58; No such file or directory. Cannot open SCSI driver.
    cdrecord&#58; For possible targets try 'cdrecord -scanbus'.
    cdrecord&#58; For possible transport specifiers try 'cdrecord dev=help'.
    cdrecord&#58;
    cdrecord&#58; For more information, install the cdrtools-doc
    cdrecord&#58; package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
    I think the important line is the one that says "No such file or directory. Cannot open SCSI driver". Seems like I need a file /dev/pg* and it obviously doesn't exist.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •