LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-24-2007, 12:55 PM   #1
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Rep: Reputation: 15
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

Last edited by BlueSpirit; 03-24-2007 at 12:59 PM.
 
Old 03-24-2007, 01:07 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
I recommend you use k3b to avoid coasters 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.
 
Old 03-24-2007, 01:18 PM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
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.
 
Old 03-24-2007, 01:38 PM   #4
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 15
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.
 
Old 03-24-2007, 01:41 PM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
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
 
Old 03-24-2007, 01:45 PM   #6
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 15
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?

Last edited by BlueSpirit; 03-24-2007 at 01:47 PM.
 
Old 03-24-2007, 02:03 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
If you don't want to use k3b, the best cd-burning application available for the *nix platform. Try bashburn.
 
Old 03-24-2007, 04:51 PM   #8
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 15
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.

Last edited by BlueSpirit; 03-24-2007 at 04:57 PM.
 
Old 03-24-2007, 04:55 PM   #9
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
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
 
Old 03-24-2007, 05:41 PM   #10
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
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
 
Old 03-24-2007, 05:47 PM   #11
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 15
Well, its probably nonfounded remarks I heard then.

Thank you
 
Old 03-24-2007, 06:16 PM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
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.
 
Old 03-24-2007, 11:05 PM   #13
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
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.
 
Old 03-24-2007, 11:28 PM   #14
BlueSpirit
Member
 
Registered: Jun 2006
Distribution: Slackware
Posts: 144

Original Poster
Rep: Reputation: 15
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
\\\\\\\///////

Last edited by BlueSpirit; 03-24-2007 at 11:29 PM.
 
Old 03-25-2007, 03:38 AM   #15
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
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)
 
  


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
How to burn DVD iso using cdrecord slacknewbie2 Slackware 5 05-21-2009 04:12 PM
Nero Burn Process Failed[Trying to burn ISo of PCliveilnux Os] Chaosbringer Linux - Software 3 02-02-2006 06:09 AM
Trying to burn BeOS ISO Using CDRecord in Linux linux-rulz Linux - General 4 09-10-2005 04:02 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
using cdrecord to burn an .iso and regular files ibm5_25 Linux - General 3 01-28-2004 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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