LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CDRecord - Misc. Issues # Would like to burn an ISO (https://www.linuxquestions.org/questions/slackware-14/cdrecord-misc-issues-would-like-to-burn-an-iso-540222/)

BlueSpirit 03-24-2007 12:55 PM

CDRecord - Misc. Issues # Would like to burn an ISO
 
Hello,

I would like to burn a CD-ROM on Slackware.
I have found "cdrecord" command line CD Burner.


########################################################
#######################|||||||||||||||||||||||#######################
#######################|| My Questions ||#######################
#######################|||||||||||||||||||||||#######################
########################################################

# header [start]

1 -. cdrecord -version returns on my slack v11 :

Quote:

Originally Posted by cdrecord
cdrecord: Warning: Running on Linux-2.6.19
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling

I would like to know : Is it the REAL ORIGINAL cdrecord?
What are these issues on newer kernels?

To resume : WTF is that?


2 -. Does cdrecord sucks on new kernels? Should I download a new cd burning sorftware?

3 -. My CD-RECORDER is an LG ATA device. "man cdrecord" returns that I have to specify the ATA device with dev=ATA:####
How can I know which ATA number to take?

# !eof [end]



Thank you!,

BlueSpirit

*Note : When you answer me, plz put the number of question.

e.g. 2 -. Answer

H_TeXMeX_H 03-24-2007 01:07 PM

I recommend you use k3b to avoid coasters :D Using cdrecord from the command line is often a bad idea and will more often than not result in a nice coaster for your beer or soda. Use k3b, it has never failed me.

erklaerbaer 03-24-2007 01:18 PM

Joerg Schilling can be difficult. Read this and this.

you can specify the device in the normal format (/dev/hdc,..). the program will complain, but will work anyway.

k3b is nice too.

Quote:

*Note : When you answer me, plz put the number of question.

e.g. 2 -. Answer
no.

BlueSpirit 03-24-2007 01:38 PM

Yes but...

k3b is in KDE...
I don't have KDE b/c it sucks...

Will try a search...

Any other ideas?

Know that Jorg is hard, in fact he thinks hes a kind of over intelligent & superior guy. Hes not...




But does the cdrecord-clone is original.

B/c original has bug fixes for 2.6 kernels.

urka58 03-24-2007 01:41 PM

As said by _erklaerbaer_ use the conventional /dev naming.In case

cdrecord dev=ATAPI -scanbus

will oputput something like this

Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.20.3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-ROM
0,1,0 1) 'HL-DT-ST' 'DVDRAM GSA-4165B' 'DL03' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

***'HL-DT-ST' 'DVDRAM GSA-4165B' 'DL03' Removable CD-ROM *** is my DVD writer
So I'd use
cdrecord dev=ATAPI:0,1,0 bla bla bla...
Hope this helps
Ciao

BlueSpirit 03-24-2007 01:45 PM

Yep. Real thank you.

3rd question solved.


Now, last thing I would like to know :

Quote:

Originally Posted by bluespirit
Does the version of cdrecord included in Slackware 11 is the original by Joerg?


H_TeXMeX_H 03-24-2007 02:03 PM

If you don't want to use k3b, the best cd-burning application available for the *nix platform. Try bashburn.

BlueSpirit 03-24-2007 04:51 PM

ThanXxX. Gonna go to their site... To see what it is.

;)


Edit : ROFL. Bashburn uses CDRECORD. As said on their site :

CDRTOOLS - Burning engine.

LoL.

I don't like using Winblows, but I think Alcohol will be the best solution. Since I know now that Cdrecord burns bad.

BAshburn is like a sort of GUI for cdrecord. Well, as I see.

Correct me if im wrong.

xflow7 03-24-2007 04:55 PM

Quote:

Originally Posted by urka58
As said by _erklaerbaer_ use the conventional /dev naming.In case

cdrecord dev=ATAPI -scanbus

will oputput something like this

<snip>

Hope this helps
Ciao

Thank you for posting that. I've tried to use the -scanbus option numerous times in the past with no joy and in spite of many attempts at reading the man page I'd never understood to use dev=ATAPI with it.

Dave

urka58 03-24-2007 05:41 PM

Quote:

Originally Posted by BlueSpirit
ThanXxX. Gonna go to their site... To see what it is.

;)


Edit : ROFL. Bashburn uses CDRECORD. As said on their site :

CDRTOOLS - Burning engine.

LoL.

I don't like using Winblows, but I think Alcohol will be the best solution. Since I know now that Cdrecord burns bad.

BAshburn is like a sort of GUI for cdrecord. Well, as I see.

Correct me if im wrong.

Sorry, but I disagree, cdrecord is an excellent program
Ciao

BlueSpirit 03-24-2007 05:47 PM

Well, its probably nonfounded remarks I heard then.

Thank you

H_TeXMeX_H 03-24-2007 06:16 PM

Whatever ... again, I would not use cdrecord from the command line unless you know very well what options you need. A frontend (yes cdrecord is still used by these) like k3b or bashburn is highly recommended unless you ran out of coasters for your drinks.

acummings 03-24-2007 11:05 PM

Here's for cd's (cdrecordeasy). And, recently, for dvd (dvdb).

The for cd's uses same cdrecord or whatever as yours (Slack 11 default) works fine. Had no probs. No coasters. cdrecordeasy holds my most common options -- so, all I need do is run it on an iso file.

Had no probs with command line when doing it with these. (bashburn had too many menus levels for me though some would want this).

Never got around to setting up K3b -- and haven't found the need to.

Code:

al@p3srv:~$ cat ~/bin/cdrecordeasy
#!/usr/bin/perl -w
# vim: set sw=4 ts=4 si et:
# Written by Katja and Guido Socher
# run this file with chmod 6755 to allow the normal user
# to burn a CD without beeing root.
#
# cdrecord -dummy -v -eject speed=8 dev=ATA:1,1,0 some_file_to_burn.iso
# bash IDE device dummy/test run (scanbus 1st then test run)
#
# cdrecord -dummy -v -eject speed=4 dev=0,3,0 some_file_to_burn.iso
# bash scsi device dummy/test run (scanbus 1st then test run)
# accepts either 2 or 3 part commandline -- speed is optional
# cdr filename [speed] # ex: cdr filename 10
my $spd;
# burn speed next
unless ( $ARGV[1] ) { # default speeds for: cdr filename
$spd='24'; # BTC IDE5232
# $spd='12'; # BTC IDE5232 networked burn
# $spd='10';
# $spd='4'; # R55S
}
if ( $ARGV[1] ) {
  if ( $ARGV[1] =~ /^\d+$/ ) {
  $spd = pop;
}
}
print "$spd\n";
#
# adapt the next line to the device number that you
# get from the command cdrecord -scanbus
# if not scsi burner use: cdrecord -dev=ATA -scanbus
# my $dev="0,3,0"; # R55S
# my $dev="ATA:2,0,0"; # BTC IDE5232
my $dev="ATA:1,1,0"; # BTC IDE5232
# my $dev="2,0,0"; # rek IDE CD-RW 1610
# useage # useage ###############
# cd to dir where filename.iso then su then
# cdrecordeasy filename.iso
%ENV=();
$ENV{'PATH'}='/bin:/usr/bin:/usr/local/bin';
sub help(){
    print "cdrecordeasy -- record a normal data CD from an image file

USAGE: cdrecordeasy image.file

EXAMPLE: cdrecordeasy image.file
Explanation: The image.file will written to cdrom.

You can preview your CD before burning with the following command:
mount -o loop -t iso9660 image.file /some/directory
";
    exit 0;
}
# run a command and use unbuffered IO to display the
# output while the command is still running.
sub runcmd($){
    my $cmd=shift;
    $|=1;
    my $buff;
    open(PP,"$cmd 2>&1 |")||die;
    while(sysread(PP,$buff,8)>0){
        print "$buff";
    }
    close PP;
}
if ($ARGV[0] && $ARGV[0] eq "-h"){
    help();
}
help() if (scalar @ARGV !=1 );
$<=$>;
my $file="";
# untaint it:
if ($ARGV[0] =~/([#-~]+)/){
    $file=$1;
}else{
    die "ERROR: invalid file name $ARGV[0]\n";
}
die "ERROR: can not read image file: $file\n" unless( -r "$file");
#print `id`;
# runcmd("cdrecord -v dev=$dev speed=4 $file"); # R55S
runcmd("cdrecord -v dev=$dev speed=$spd $file"); # BTC IDE5232
__END__


al@p3srv:~$ cat ~/bin/dvdb
#!/bin/sh
# file to dvd command
# growisofs -dvd-compat -Z /dev/dvd -r -J /path/to/files
# this script burn a .iso to dvd
growisofs -dvd-compat -Z /dev/dvd=$1;
# end

--
Alan.

BlueSpirit 03-24-2007 11:28 PM

Ahhhhhh LoL.

Seriously, I know what I'm doing.

I know all options. All I need is my concentration now.

[Off-Topic]
B/c I have to take Aderall when It becomes harder, like when I real my C book.
[/Off-Topic]

W/e.

I just have to chose the right speed, take care of all options, choose the right burning method and it'll work fine. If it doesn't work, ill complain and then use bashburn/cdrecordeasy (yes im stupid, but it's b/c im sure it'll work fine).


///////\\\\\\\
BlueSpirit
\\\\\\\///////

pdw_hu 03-25-2007 03:38 AM

1) It is the original, there are no issues
2) no
3) cdrecord -scanbus or if that doesn't show anything -dev=/dev/hdx (where is x is the cd rw drive)


All times are GMT -5. The time now is 05:10 PM.