LinuxQuestions.org
Register a domain and help support LQ
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 03-25-2006, 08:30 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 465

Rep: Reputation: 30
How to find the mount point for my cd-rw in cdrecord


I am setting up cdrecord using gnome toaster as the front end. While trying to set up the cd rom and cdrw info, I was unable to locate the mount point and scsi id for the cdrw to plug into the gnome toaster software. I tried the scan bus button, but it did not autodetect the device. My box is using an atapi ide cd rom and a cd burner. Would also like to know what the command line syntax would be to use cdrecord in a terminal to copy files to the burner and to duplicate a cdrom.

Last edited by sirius57; 03-25-2006 at 08:34 PM.
 
Old 03-25-2006, 11:30 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
If you're using an ATAPI CD, have you tried using cdrecord dev=ATA -scanbus to find your device? On my system I use the following to burn an iso:
Code:
cdrecord dev=ATA:1,1,0 padsize=63s -pad -dao -v -eject /tmp/cd-contents.iso
Also, I use the following from http://www.troubleshooters.com/linux/coasterless.htm as a shell script to create an iso from a CD:
Code:
#!/bin/bash
#
# See <http://www.troubleshooters.com/linux/coasterless.htm>
# Reads directly from the CD or DVD device specified on the command line amd dumps it to STDOUT
#
# Typical usage:
#                copy-raw-cd.sh /dev/dvd > /tmp/dvd-contents.iso
#
# To use this script to check the md5sum of the CD, do the following:
#                copy-raw-cd.sh /dev/cdrom | md5sum
#   compare the result with:
#                md5sum /tmp/dvd-contents.iso
#

device=$1

blocksize=`/usr/bin/isoinfo -d -i $device | grep "^Logical block size is:" | cut -d " " -f 5`
if test "$blocksize" = ""; then
	echo catdevice FATAL ERROR: Blank blocksize >&2
	exit
fi

blockcount=`/usr/bin/isoinfo -d -i $device | grep "^Volume size is:" | cut -d " " -f 4`
if test "$blockcount" = ""; then
	echo catdevice FATAL ERROR: Blank blockcount >&2
	exit
fi

command="/bin/dd if=$device bs=$blocksize count=$blockcount conv=notrunc,noerror"
echo "$command" >&2
$command
Hope it helps...
 
Old 03-26-2006, 11:30 AM   #3
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 465

Original Poster
Rep: Reputation: 30
In terminal, I entered the cdrecord dev=ata -scanbus. I am pasting the results. It looks like some issues were noted by the scan and I am not sure how serious they are and if they need to be resolved. I am assuming the scsi address for the cendyne cdrw is 0,1,0? If the unit is atapi, why does gnome toaster need a scsi address?

cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01 (i686-suse-linux) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://www.suse.de/feedback
Note: The author of cdrecord should not be bothered with problems in this versio n.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (okir@suse.de- scsi-linux-sg.c-1.83-resmgr-patch '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) *
0,1,0 1) 'CENDYNE_' '481648AX ' '150F' 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) *
scsibus1:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
1,0,0 100) ' ATAPI ' '50X CDROM ' '1.30' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
 
Old 03-26-2006, 02:32 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
That's correct, you'd refer to the Cendyne with:
Code:
cdrecord dev=ATA:0,1,0 blah blah
Whether the message for the other one needs investigation... I'd say try it and see - it may just be that with no CD in the drive it couldn't probe it properly, or that since it couldn't retrieve a brand name it tried its generic specs.

Although I haven't used gnome toaster, it's not unusual for applications to want to use SCSI for CD recording. CD recording with ATAPI drives was usually done with SCSI emulation under 2.4 kernels. With 2.6 series kernels it seems to be the preferred way is to use the device as ATAPI. Some apps like xcdroast will complain in ATAPI mode but still use it.
 
Old 03-27-2006, 09:40 PM   #5
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 465

Original Poster
Rep: Reputation: 30
I am making progress. So far, I managed to drag and drop files, but could not make a recording. The top line says something like gnome filesystem. A right click on it opens a file dialog box. I point to the cdwriter, but nothing happens. In short, I do not know how to set up gnome toaster to record. I did a google search for gnome toaster docs, but what I found was scant help. I noticed in the terminal window when I closed gnome toaster, a bunch of repeated errors, something about not being able to set up the file system and filesystem does not exist.
 
Old 03-27-2006, 10:23 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
You can get the user guide from http://gnometoaster.rulez.org/docume...s_guide.pdf.gz. Hopefully it'll have the info you need.
 
Old 03-28-2006, 08:24 PM   #7
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks alot! That was the reference I was looking for. I had to configure the cdrom as atapi and the cdwriter as scsi. The cd rom reads and when I put a data cd in the writer, it listed the disk fill state. I am going to read the rest of the pdf file before I try to make a data cd and will post my results.
 
Old 04-04-2006, 07:17 PM   #8
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 465

Original Poster
Rep: Reputation: 30
I read the docs and have the following errors:
In terminal window: 'couldn't create symlink'
and when I tried to burn a cd-r of mp3 files:
'The filter program for the suffix 'mp3' couldn't be found on your system.'

I have not tried pure data file yet, so I am not sure if this is just an mp3
issue or not. I am able to read the cd-rom and cd-rw drives, but unable to burn.
 
  


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 give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 11:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
Where to find mount point for USB Removable device bobbelfield Mandriva 3 02-17-2006 11:37 PM
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 07:21 AM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 08:18 PM


All times are GMT -5. The time now is 12:33 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