Re: [gentoo-user] Re: DVD-cd usage

2005-07-22 Thread Walter Dnes
On Fri, Jul 22, 2005 at 06:13:46PM +, James wrote

> I need to learn how to use any simple cdrecording commands (syntax
> challeged user here) first. Then I can worry about all sorts of fancy
> file types/formats. I'd be better off downloading a know file to
> write to the device (ascii text?)  or something on the gentoo system,
> just to build a little confidence. I need a newbie 'how to cd burn'
> before I worry about the intricacies of audio recording files on CDs.
> 
> > 3) (Thanks for the idea, Dave Nebinger) Have you tried making an ISO
> > of all the audio files (unaltered) that you want to burn to CD, using
> > mkisofs, and then burning the ISO instead of the files?
> 
> 
> I'm going to read the cdrecord man pages. simple syntax examples
> or a link to a document to any cd burning software is what
> I need.

  A quick rundown...

  - audio CDs are generated by writing WAV files directly to CD.  The
player reads them directly from the CD.  You do not mount audio CDs.

  - to get regular files onto CDs in a readable form, you first need to
create an ISO9660 filesystem image file, using mkisofs (man mkisofs).
Then burn the image file to a CD.  You can usually get away with
piping output from mkisofs stdout to cdrecord stdin.

  - you need root privileges to properly use cdrecord; deal with it.  If
you're scared of logging in as root, you can use sudoers.conf to give
a regular user permission to run specific command and parameters.  I
need root-level access in order to read system files for my bi-weekly
backups, so cdrecord's need to be root was never an issue for me.

  Note; The following is all done as root (or root equivalent).

  The first thing you have to do is figure out your device numbers.
*YOUR SYSTEM CAN BE DIFFERENT FROM MINE*, so read the instructions
carefully.  Execute the command "cdrecord dev=ATAPI: -scanbus".  It can
take a few seconds to scan the system.  Ignore the warnings/disclaimers
The important part is at the end.  Here's that output for my system...

0,0,0 0) 'SONY' 'CD-RW  CRX195E1 ' 'ZYS5' Removable CD-ROM
0,1,0 1) 'SONY' 'DVD-ROM DDU1621 ' 'S1.5' 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) *

  This indicates that my CD-RW is device 0,0,0.  mkisofs creates an
image of a specified directory, including subdirectories.  Soft links do
*NOT* work.  To save time, and avoid cluttering up my drive with temp
files, I pipe directly from mkisofs to cdrecord.  I make a tar.bz2 of
the files I want backed up, and move the file to directory "xfer".  The
following script does it all-in-one... 

#!/bin/sh
mkisofs -R -J xfer | cdrecord speed=8 -tao -v fs=8m -data dev=ATAPI:0,0,0 -

  The "-R -J" parameters should result in mkisofs output that's readable
by all linux and Windows machines.  The cdrecord parameters are...

speed=8 ...the burner on this machine can go up to 48x. But my emergency
backup system is a 6-year-old Dell that can only read up to 12x.
Oops.  This parameter slows down the burner so that the older
machine can read its output.

-tao"track at once".  This allows you to do multi-session CDs.

-v  I prefer some verbosity in the output.

fs=8m   The fifo buffer size.  The default is 4 megabytes, but I specify
8 megabytes to play safe against under-runs.

-data   Straight out of the man page...
-data  is  the default, if no other flag is present and the file
does not appear to be of one of the well known audio file types.

If  neither  -data  nor  -audio  have  been  specified, cdrecord
defaults to -audio for all filenames that end in .au or .wav and
to -data for all other files.

dev=ATAPI:0,0,0  This specifies the device.  The 3 numbers can be found
by running "cdrecord dev=ATAPI: -scanbus"

-   The hyphen at the end specifies to use stdin as the source file.
You will get a standard warning from cdrecord, because it can't
know ahead of time whether the piped input will fit onto the CD.

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-22 Thread Bob Sanders
On Fri, 22 Jul 2005 17:50:05 + (UTC)
James <[EMAIL PROTECTED]> wrote:


> So, pretty lame, but that's why I missed the cdrecord man page. I did not 
> think there was one...
> i

The cdrecord man page is part of - app-cdr/cdrtools

Perhaps it needs to be re-emerged?

> Any ideas how to get ALL of the man pages possible to all of the installed
> software on a gentoo system? 
> 

They should be emerged as part of the installed software.  Perhaps there
are some issues with the manpath on your system?

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: DVD-cd usage

2005-07-22 Thread Dave Nebinger
> Well, sarcasm is fine (I deserve it). However, you have helped me uncover
> a simple but profound problem.

Sorry, James, that was my fault.  I had jumped in mid-stream and hadn't
realized it was an ongoing thread...  Trust me there was no sarcasm
intended.

As far as the man page for cdrecord, it comes in as part of
app-cdr/cdrtools.  I don't know why you wouldn't have it if you emerged it.
I don't have a doc or man use flag, it just came in...

Dave


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-22 Thread James
Holly Bostick  planet.nl> writes:

> > cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README


> > TOC Type: 1 = CD-ROM
> > scsidev: 'ATAPI:0,0,0'
> > devname: 'ATAPI'
> > scsibus: 0 target: 0 lun: 0
> > 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'.
> > SCSI buffer size: 64512
> > atapi: 1
> > Device type: Removable CD-ROM
> > Version: 0
> > Response Format: 2
> > Capabilities   :
> > Vendor_info: 'TOSHIBA '
> > Identifikation : 'DVD-ROM SD-R2412'
> > Revision   : '1015'
> > Device seems to be: Generic mmc2 DVD-ROM.
> > Current: 0x0009
> > Profile: 0x0010
> > Profile: 0x0008
> > Profile: 0x0009 (current)
> > Profile: 0x000A
> > Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> > Driver flags   : MMC-3 SWABAUDIO BURNFREE
> > Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
> > Drive buf size : 1791936 = 1749 KB
> > FIFO size  : 4194304 = 4096 KB
> > Track 01: data 0 MB padsize:  596 KB
> > Total size:0 MB (00:04.00) = 300 sectors
> > Lout start:1 MB (00:06/00) = 300 sectors
> > Current Secsize: 2048
> > ATIP info from disk:
> >   Indicated writing power: 4
> >   Is not unrestricted
> >   Is not erasable
> >   Disk sub type: Medium Type A, low Beta category (A-) (2)
> >   ATIP start of lead in:  -12508 (97:15/17)
> >   ATIP start of lead out: 359845 (79:59/70)
> > Disk type:Short strategy type (Phthalocyanine or similar)
> > Manuf. index: 22
> > Manufacturer: Ritek Co.
> > Blocks total: 359845 Blocks current: 359845 Blocks remaining: 359545
> > Starting to write CD/DVD at speed 4 in real SAO mode for single session.
> > Last chance to quit, starting real write2 seconds.
> > cdrecord: fifo had 1 puts and 0 gets.
> > cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.

> Which seems to bring us back to where I at least was a bit ago---

> 1. There's nothing wrong with the device *per se*, or with cdrecord,
> having now proved that it is capable of burning a file to CD (I assume
> the file was correctly burned, but with a file as small as a README,
> you're not going to get any noticeable buffer use)

> 2. The error that cdrecord was previously giving is to greater or lesser
> degree accurate--

> *there's something wonky about the files you're trying to burn*

> I don't know what that might be, but it seems to me that one possible
> chain of logic is:

> a) no matter whether you use --audio or --data (or rename the file with
> a new extension), cdrecord detects the file as audio and automatically
> uses the --audio switch;

> b) cdrecord has requirements for the encoding of a file using --audio
> (as specified in man cdrecord, earlier quoted)

> c) your file, which must be burned with the --audio switch, does not
> meet the specifications that the --audio switch requires (as shown when
> you posted the file specs gleaned from mPlayer).

> The problem might be something else entirely, of course; this is just a
> theory. But since we don't know what the problem actually is (and I
> don't so much have the time atm to specify how to make sure all the
> components from the kernel to cdrecord to your file are all in proper
> working order), it's worth further investigation.

> On that note, three questions:

> 1) the USE flags for cdrtools are:
> 
> on-the-fly-crypt -
> unicode - Adds support for Unicode
> crypt - Add support for encryption -- using mcrypt or gpg where
> applicable
> dvdr - Adds support for DVD writer hardware (e.g. in xcdroast)

Dunno. I just discovered that there is a cdrecord man page (see last
response to Dave). I need to read up on cdrecord and learn the basics
of using a/the cdwrite features...

> Which ones did you use? Maybe you have a functionality needed that you
> don't have enabled?
Where are these flags set?
/etc/make.conf has these USE flags:
"-gtk -gnome java qt kde dvd cdr sse mmx 3dnow alsa 
apache2 calendar cups divx4linux encode ethereal acc 
jack perl php postgres spell ssl tiff xv java ffmpeg
mplayer v4l dvdr jpeg lm_sensors quicktime xmms xvid 
mozilla mpeg scanner doc xine theora"

> 2) Have you tried re-encoding the audio file to the cdrecord
> specifications, and *then* burning it?

I need to learn how to use any simple cdrecording commands
(syntax challeged user here) first. Then I can worry about
all sorts of fancy file types/formats. I'd be better off
downloading a know file to write to the device (ascii text?)
or something on the gentoo system, just to build a little 
confidence. I need a newbie 'how to cd burn' before I worry
about the intricacies of audio recording files on CDs.

> 3) (Thanks for the idea, Dave Nebinger) Have you tried making an ISO of
> all the audio files (unaltered) that you want to burn to CD, using
> mkisofs, and then burning the ISO instead of the files?

[gentoo-user] Re: DVD-cd usage

2005-07-22 Thread James
Dave Nebinger  joat.com> writes:


> > cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README


> Success, at least for what you were asking it to do, and that is to write a
> file named README onto a disk.  Never mind that the disk doesn't have a
> filesystem and the README file is just a file and not a filesystem, just
> write it to the disk.

> Which it looks like it did just that.

> You've now got yourself a perfectly usable dring coaster to place beside
> your monitor as that's all it's really good for at this point.

> Sarcasm aside, you really should have built an iso-based filesystem with
> README on it, then burn the resulting file to the disk.  The man page for
> cdrecord has the details from building mkisofs followed by cdrecord.


Well, sarcasm is fine (I deserve it). However, you have helped me uncover
a simple but profound problem. The system where I'm working on the cd-rw,
does not have a man page for cdrecord. It has the exact same USE flags
as that another system (including 'doc') has that does have the man page for
cdrecord. I thought that if the USE flag 'doc' was in /etc/make.conf, then
all man pages get installed

So, pretty lame, but that's why I missed the cdrecord man page. I did not 
think there was one...

Any ideas how to get ALL of the man pages possible to all of the installed
software on a gentoo system? 


James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-21 Thread Holly Bostick
James schreef:
> Success?
> 
> cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README
> 
> 
> 
> Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg 
> Schilling
> on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian 
> Decker
> 
> 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 .
>   For more information please see 
> http://burbon04.gmxhome.de/linux/CDREncrypt
> ion.html.
>   The original author should not be bothered with problems of this 
> version.
> 
> cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
> TOC Type: 1 = CD-ROM
> scsidev: 'ATAPI:0,0,0'
> devname: 'ATAPI'
> scsibus: 0 target: 0 lun: 0
> 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'.
> SCSI buffer size: 64512
> atapi: 1
> Device type: Removable CD-ROM
> Version: 0
> Response Format: 2
> Capabilities   :
> Vendor_info: 'TOSHIBA '
> Identifikation : 'DVD-ROM SD-R2412'
> Revision   : '1015'
> Device seems to be: Generic mmc2 DVD-ROM.
> Current: 0x0009
> Profile: 0x0010
> Profile: 0x0008
> Profile: 0x0009 (current)
> Profile: 0x000A
> Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
> Drive buf size : 1791936 = 1749 KB
> FIFO size  : 4194304 = 4096 KB
> Track 01: data 0 MB padsize:  596 KB
> Total size:0 MB (00:04.00) = 300 sectors
> Lout start:1 MB (00:06/00) = 300 sectors
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 4
>   Is not unrestricted
>   Is not erasable
>   Disk sub type: Medium Type A, low Beta category (A-) (2)
>   ATIP start of lead in:  -12508 (97:15/17)
>   ATIP start of lead out: 359845 (79:59/70)
> Disk type:Short strategy type (Phthalocyanine or similar)
> Manuf. index: 22
> Manufacturer: Ritek Co.
> Blocks total: 359845 Blocks current: 359845 Blocks remaining: 359545
> Starting to write CD/DVD at speed 4 in real SAO mode for single session.
> Last chance to quit, starting real write2 seconds.
> cdrecord: fifo had 1 puts and 0 gets.
> cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.
> 
> 
> ???
> 
> James
> 

Which seems to bring us back to where I at least was a bit ago---

1. There's nothing wrong with the device *per se*, or with cdrecord,
having now proved that it is capable of burning a file to CD (I assume
the file was correctly burned, but with a file as small as a README,
you're not going to get any noticeable buffer use)

2. The error that cdrecord was previously giving is to greater or lesser
degree accurate--

*there's something wonky about the files you're trying to burn*

I don't know what that might be, but it seems to me that one possible
chain of logic is:

a) no matter whether you use --audio or --data (or rename the file with
a new extension), cdrecord detects the file as audio and automatically
uses the --audio switch;

b) cdrecord has requirements for the encoding of a file using --audio
(as specified in man cdrecord, earlier quoted)

c) your file, which must be burned with the --audio switch, does not
meet the specifications that the --audio switch requires (as shown when
you posted the file specs gleaned from mPlayer).

The problem might be something else entirely, of course; this is just a
theory. But since we don't know what the problem actually is (and I
don't so much have the time atm to specify how to make sure all the
components from the kernel to cdrecord to your file are all in proper
working order), it's worth further investigation.

On that note, three questions:

1) the USE flags for cdrtools are:

on-the-fly-crypt -
unicode - Adds support for Unicode
crypt - Add support for encryption -- using mcrypt or gpg where
applicable
dvdr - Adds support for DVD writer hardware (e.g. in xcdroast)

Which ones did you use? Maybe you have a functionality needed that you
don't have enabled?

2) Have you tried re-encoding the audio file to the cdrecord
specifications, and *then* burning it?

3) (Thanks for the idea, Dave Nebinger) Have you tried making an ISO of
all the audio files (unaltered) that you want to burn to CD, using
mkisofs, and then burning the ISO instead of the files?

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-21 Thread Rumen Yotov

James wrote:


James Hiscock  gmail.com> writes:


 


Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
 



 


This seems suspect to me... it looks like cdrecord is detecting your
burner as a CD/DVD-ROM, not a burner. I had a similar problem with an
external USB 2.0 DVD+-RW drive that would get misdetected. Took a
while to figure out what the heck was going on...
   



 


Is it possible that that's what you're running into?
   



Quite probable.
It could even be something stupid I did in building the kernel

I can mount and copy files off the cd, only.

I've never been able to get a cd burner working on linux
I have no idea what to try/do.gui or command line

If you suggest something, tell me where a simple file is to use
and suggest exact syntax

I'd just like to see a simple ascii text file burned to either
the rw media or the oneshot cd media.

Ideas are most welcome.

Jamess





 


Hi James,
Googling for "DVD-ROM SD-R2412+linux" showed me that it's a combo - 
DVD-ROM&CD-RW.
Now looking at some page from Norway with some CLI scripts, can't get 
the language tough ;)

...BEGIN...
Når det er gjort kan du i mitt tilfelle kjøre følgende kommando for å 
brenne image’et over på CD:


cdrecord -v speed=24 dev=ATAPI:/dev/cdrom filnavn.iso
...SKIP...
Dermed har du en fil ved navn track1.wav som er klar for brenning. 
Sannsynligvis vil du ha mer enn et spor på audio-CD’en, så det er bare å 
gjenta prosessen med andre filnavn (f.eks. track2.wav, track3.wav, 
etc.), og f.eks. kopier dem til en mappe ved navn ~/audiocd. Deretter 
kan du, mens du er i mappen ~/audiocd/, kjøre:


cdrecord -v speed=24 dev=ATAPI:/dev/cdrom -pad -audio track*.wav
...END...
Choose not to remove the comments, there are more pages and it seems to 
be working.
Sorry no experience with combos (only with pure CD-RW and DVD-RW) but 
used all kind of tools:
command-line (cdrecord, but not with DVD-RW to write CDR), k3b and 
nautilus-cd-burner.

HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


RE: [gentoo-user] Re: DVD-cd usage

2005-07-21 Thread Dave Nebinger
> Success?
> 
> cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README
> 
> 
> 
> Starting to write CD/DVD at speed 4 in real SAO mode for single session.
> Last chance to quit, starting real write2 seconds.
> cdrecord: fifo had 1 puts and 0 gets.
> cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.

Success, at least for what you were asking it to do, and that is to write a
file named README onto a disk.  Never mind that the disk doesn't have a
filesystem and the README file is just a file and not a filesystem, just
write it to the disk.

Which it looks like it did just that.

You've now got yourself a perfectly usable dring coaster to place beside
your monitor as that's all it's really good for at this point.

Sarcasm aside, you really should have built an iso-based filesystem with
README on it, then burn the resulting file to the disk.  The man page for
cdrecord has the details from building mkisofs followed by cdrecord.

Dave


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-21 Thread James
Success?

cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README



Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jrg 
Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian 
Decker

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 .
  For more information please see 
http://burbon04.gmxhome.de/linux/CDREncrypt
ion.html.
  The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1791936 = 1749 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data 0 MB padsize:  596 KB
Total size:0 MB (00:04.00) = 300 sectors
Lout start:1 MB (00:06/00) = 300 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -12508 (97:15/17)
  ATIP start of lead out: 359845 (79:59/70)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 359845 Blocks current: 359845 Blocks remaining: 359545
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write2 seconds.
cdrecord: fifo had 1 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%.


???

James

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-21 Thread James
James Hiscock  gmail.com> writes:


> > Warning: There is absolutely NO DMA, operations thus are slow.
> > Using libscg version 'schily-0.8'.
> > Device type: Removable CD-ROM
> > Version: 0
> > Response Format: 2
> > Capabilities   :
> > Vendor_info: 'TOSHIBA '
> > Identifikation : 'DVD-ROM SD-R2412'
> > Revision   : '1015'
> > Device seems to be: Generic mmc2 DVD-ROM.

> This seems suspect to me... it looks like cdrecord is detecting your
> burner as a CD/DVD-ROM, not a burner. I had a similar problem with an
> external USB 2.0 DVD+-RW drive that would get misdetected. Took a
> while to figure out what the heck was going on...

> Is it possible that that's what you're running into?

Quite probable.
It could even be something stupid I did in building the kernel

I can mount and copy files off the cd, only.

I've never been able to get a cd burner working on linux
I have no idea what to try/do.gui or command line

If you suggest something, tell me where a simple file is to use
and suggest exact syntax

I'd just like to see a simple ascii text file burned to either
the rw media or the oneshot cd media.

Ideas are most welcome.

Jamess





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-21 Thread James
Zac Medico  gmail.com> writes:


> > So I changed the file to 'close.txt' and ran
> > cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data  close.txt
> 
> Last time I checked, the ATAPI:0,0,0 device syntax requires root privileges. 
> > You can use /dev/hdx instead

Well, you are right, it does not like the user, and insist on root.
Issuing this command as root:
cdrecord dev=/dev/hdx -eject speed=2 -pad -data  close.txt
did not work.

> > > Supported modes:
> > cdrecord: Drive does not support TAO recording.
> > cdrecord: Illegal write mode for this drive.

> Try -dao instead, or try cdrdao instead of cdrecord.

cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v startup.wav
resulted in:
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 
Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 
Maximilian Decker

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 
.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems 
of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try 
Linux-2.4 or Solaris.
TOC Type: 0 = CD-DA
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1791936 = 1749 KB
FIFO size  : 4194304 = 4096 KB
cdrecord: Inappropriate audio coding in 'startup.wav'.



Maybe I need a simple test file of a know good file(audio or whatever).
Also, It'd help is the exact syntax is suggested, as I've
never been able to get a cd burner working on any from of linux.

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-21 Thread James Hiscock
> Warning: There is absolutely NO DMA, operations thus are slow.
> Using libscg version 'schily-0.8'.
> Device type: Removable CD-ROM
> Version: 0
> Response Format: 2
> Capabilities   :
> Vendor_info: 'TOSHIBA '
> Identifikation : 'DVD-ROM SD-R2412'
> Revision   : '1015'
> Device seems to be: Generic mmc2 DVD-ROM.

This seems suspect to me... it looks like cdrecord is detecting your
burner as a CD/DVD-ROM, not a burner. I had a similar problem with an
external USB 2.0 DVD+-RW drive that would get misdetected. Took a
while to figure out what the heck was going on...

Is it possible that that's what you're running into?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-20 Thread Zac Medico

James wrote:

So I changed the file to 'close.txt' and ran
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data  close.txt


Last time I checked, the ATAPI:0,0,0 device syntax requires root privileges.  
You can use /dev/hdx instead so that the kernel can figure out the permissions.


> Supported modes:
cdrecord: Drive does not support TAO recording.
cdrecord: Illegal write mode for this drive.


Try -dao instead, or try cdrdao instead of cdrecord.

Zac
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-20 Thread James
Holly Bostick  planet.nl> writes:


> > so I tried:
> > cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v *.wav

> > cdrecord: Inappropriate audio coding in
> > '18133194218-14129220407-05-18-2005-11-42-.wav'.

> OK, two things occuring to me (though I can't say I know anything about 
> this):
> 
> 1) I was asking originally what the coding of the audio file actually 
> was (meaning check it in mPlayer or some other audio player that will 
> give you the details of the file itself)-- is it stereo, is it 44100 or 
> whatever cdrecord wants, etc? It might also be useful to verify that it 
> is in fact a .wav file and not some other kind of audio encoding that's 
> just *named* with a .wav extension.

OK, tried these commands on differernt audio files, one of which
is called 'close.wav':
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v close.wav
and
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data  close.wav

Both give the exact same error messages, as do using these commands
with lots of different files.

also, file close.wav says:
file close.wav
close.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 
16 bit, mono
22050 Hz

So I changed the file to 'close.txt' and ran
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data  close.txt

Interesting results:
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different
 drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 
1995-2004 Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 
2004,2005 Maximilian Decker

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 
.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with 
problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
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: Cannot allocate memory. WARNING: Cannot do 
mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer 
underruns.
cdrecord: Operation not permitted. WARNING: Cannot set 
RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority 
using setpriority().
cdrecord: WARNING: This causes a high risk for buffer 
underruns.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes:
cdrecord: Drive does not support TAO recording.
cdrecord: Illegal write mode for this drive.




> 2) But now that I've seen that filename, I'm wondering, "What happens if 
> you rename that file?" to either a) something shorter (maybe there are 
> too many characters in the filename, if you don't have Joliet and/or 
> other special options allowed that would let you use such a long 
> filename), or b) to a filename that doesn't have a - directly before the 
> .wav (I've seen it happen that applications of various types, K3b among 
> them, choke on filenames with "weird" characters in unusual places, or 
> c) both a) and b) .


Maybe you can tell me to download a specific file that you know
should write to the cd-rw and I'll try a (short) file that should 
write. The exact command line syntax to see of this drive will
work with the linux drivers would be a good idea, as I have not 
found detailed  documentation on cdrecord..

Other ideas???

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-19 Thread Rumen Yotov

Holly Bostick wrote:


James schreef:


Holly Bostick  planet.nl> writes:




Possibly your .wav file is in fact 'inappropriately encoded'? Does it
burn if you use -data instead of -audio?




Hello Holly,
If you read the threads, I start out trying to k3b working. I have 
not used
cdrecord, so it's quite possible (statistically probable) that I'm 
doing something way stupid here


so I tried:
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v *.wav





cdrecord: Inappropriate audio coding in
'18133194218-14129220407-05-18-2005-11-42-.wav'.



OK, two things occuring to me (though I can't say I know anything 
about this):


1) I was asking originally what the coding of the audio file actually 
was (meaning check it in mPlayer or some other audio player that will 
give you the details of the file itself)-- is it stereo, is it 44100 
or whatever cdrecord wants, etc? It might also be useful to verify 
that it is in fact a .wav file and not some other kind of audio 
encoding that's just *named* with a .wav extension.


2) But now that I've seen that filename, I'm wondering, "What happens 
if you rename that file?" to either a) something shorter (maybe there 
are too many characters in the filename, if you don't have Joliet 
and/or other special options allowed that would let you use such a 
long filename), or b) to a filename that doesn't have a - directly 
before the .wav (I've seen it happen that applications of various 
types, K3b among them, choke on filenames with "weird" characters in 
unusual places, or c) both a) and b) .


HTH,
Holly


Hi,
Just my experience here. Recently changed my CD-RW with a DVD-RW drive.
Had some old cdrecord-scripts with worked with former but now doesn't 
work with the DVD-RW.
All (CD. DVD) work with k3b though. Could try "growisofs" in 
command-line mode.

HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Re: DVD-cd usage

2005-07-19 Thread Holly Bostick

James schreef:

Holly Bostick  planet.nl> writes:




Possibly your .wav file is in fact 'inappropriately encoded'? Does it
burn if you use -data instead of -audio?



Hello Holly, 

If you read the threads, I start out trying to k3b working. I have 
not used
cdrecord, so it's quite possible (statistically probable) that 
I'm doing 
something way stupid here


so I tried:
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v *.wav




cdrecord: Inappropriate audio coding in
'18133194218-14129220407-05-18-2005-11-42-.wav'.



OK, two things occuring to me (though I can't say I know anything about 
this):


1) I was asking originally what the coding of the audio file actually 
was (meaning check it in mPlayer or some other audio player that will 
give you the details of the file itself)-- is it stereo, is it 44100 or 
whatever cdrecord wants, etc? It might also be useful to verify that it 
is in fact a .wav file and not some other kind of audio encoding that's 
just *named* with a .wav extension.


2) But now that I've seen that filename, I'm wondering, "What happens if 
you rename that file?" to either a) something shorter (maybe there are 
too many characters in the filename, if you don't have Joliet and/or 
other special options allowed that would let you use such a long 
filename), or b) to a filename that doesn't have a - directly before the 
.wav (I've seen it happen that applications of various types, K3b among 
them, choke on filenames with "weird" characters in unusual places, or 
c) both a) and b) .


HTH,
Holly
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-19 Thread James
Holly Bostick  planet.nl> writes:


> Possibly your .wav file is in fact 'inappropriately encoded'? Does it
> burn if you use -data instead of -audio?

Hello Holly, 

If you read the threads, I start out trying to k3b working. I have 
not used
cdrecord, so it's quite possible (statistically probable) that 
I'm doing 
something way stupid here

so I tried:
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v *.wav

results:
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive 
dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 
Maximilian Decker

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 
.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems 
of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 
or Solaris.
TOC Type: 0 = CD-DA
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1791936 = 1749 KB
FIFO size  : 4194304 = 4096 KB
cdrecord: Inappropriate audio coding in
'18133194218-14129220407-05-18-2005-11-42-.wav'.


James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Holly Bostick
James schreef:
> Nick Rout  rout.co.nz> writes:
> 
> 
> 
>>OK time to play "spot the obvious error" - your command line
> 
>  has ATAPI:1,1,0,
> whereas the device is at ATAPI:0,0,0
> 
>>try the command line again with the correct device 
> 
> 
> 
> OK, I've tried a variesty of wav files, including some 
> saved .wav files from my
> vonage system that plays just fine. Always I get the same 
> closing error:
> 
> 
> cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v 
> startup.wav
> 
> 
> cdrecord: Inappropriate audio coding in 'startup.wav'.
> 

>From man cdrecord:

-audio If this flag is present, all subsequent tracks are written in
CD-DA (similar to Red Book) audio format.  _The file with data for this
tracks should contain stereo, 16-bit digital audio with 44100
samples/s._  The byte order should be the following: MSB left, LSB left,
 MSB  right, LSB  right,  MSB left and so on. The track should be a
multiple of 2352 bytes. It is not possible to put the master image of an
audio track on a raw disk because data will be read in multiple of 2352
bytes during the recording process.

If a filename ends in .au or .wav the file is considered to be a
structured audio data file.  Cdrecord assumes that the file in  this
case is  a Sun audio file or a Microsoft .WAV file and extracts the
audio data from the files by skipping over the non-audio header information.

In all other cases, cdrecord will only work correctly if the audio data
stream does not have any header.   Because  many  structured  audio
files  do  not  have  an  integral  number  of  blocks (1/75th second)
in length, it is often necessary to specify the -pad option as well.
cdrecord recognizes that audio data in a .WAV file is stored in Intel
(little-endian) byte order, and will automatically byte-swap the data
if  the  CD recorder requires big-endian data.  _Cdrecord will reject
any audio file that does not match the Red Book requirements of 16-bit
stereo samples in PCM coding at 44100 samples/second._

Possibly your .wav file is in fact 'inappropriately encoded'? Does it
burn if you use -data instead of -audio?

Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout  rout.co.nz> writes:


> OK time to play "spot the obvious error" - your command line
 has ATAPI:1,1,0,
whereas the device is at ATAPI:0,0,0
> 
> try the command line again with the correct device 


OK, I've tried a variesty of wav files, including some 
saved .wav files from my
vonage system that plays just fine. Always I get the same 
closing error:


cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v 
startup.wav


cdrecord: Inappropriate audio coding in 'startup.wav'.

Ideas? Is the above syntax correct? The device seems to be 
correct now:

.
# cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v 
startup.wav
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different 
drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 
1995-2004 Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 
2004,2005 Maximilian Decker

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 
.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with 
problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try 
Linux-2.4 or Solaris.
TOC Type: 0 = CD-DA
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x000A
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1791936 = 1749 KB
FIFO size  : 4194304 = 4096 KB
cdrecord: Inappropriate audio coding in 'startup.wav'.



James

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout  rout.co.nz> writes:

> 
> 
> On Mon, 18 Jul 2005 23:03:57 + (UTC)
> James wrote:
> 
> > Well looking at that I used:
> > cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav
> 
> are you sure you have the right device? What is the output of 
> 
> cdrecord --scanbus dev=ATAPI

Ok I tried this:

cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v *.wav 

in a dir with multiple .wav files. Here's the result:



cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v *.wav
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive
 dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 
Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 
Maximilian Decker

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
 .
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems 
of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try 
Linux-2.4 or Solaris.
TOC Type: 0 = CD-DA
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
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'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision   : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
Current: 0x0009
Profile: 0x0010
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1791936 = 1749 KB
FIFO size  : 4194304 = 4096 KB
cdrecord: Inappropriate audio coding in
'18133194218-14129220407-05-18-2005-11-42-.wav'.


James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout

On Mon, 18 Jul 2005 23:54:50 + (UTC)
James wrote:

> Nick Rout  rout.co.nz> writes:
> 
> > 
> > 
> > On Mon, 18 Jul 2005 23:03:57 + (UTC)
> > James wrote:
> > 
> > > Well looking at that I used:
> > > cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav
> > 
> > are you sure you have the right device? What is the output of 
> 0,0,0 0) 'TOSHIBA ' 'DVD-ROM SD-R2412' '1015' Removable CD-ROM

OK time to play "spot the obvious error" - your command line has ATAPI:1,1,0, 
whereas the device is at ATAPI:0,0,0

try the command line again with the correct device :-)

> 
> 
> James
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout  rout.co.nz> writes:

> 
> 
> On Mon, 18 Jul 2005 23:03:57 + (UTC)
> James wrote:
> 
> > Well looking at that I used:
> > cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav
> 
> are you sure you have the right device? What is the output of 
> 
> cdrecord --scanbus dev=ATAPI




Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian 
Decker

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 .
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
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) 'TOSHIBA ' 'DVD-ROM SD-R2412' '1015' 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) *


James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout

On Mon, 18 Jul 2005 23:03:57 + (UTC)
James wrote:

> Well looking at that I used:
> cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav

are you sure you have the right device? What is the output of 

cdrecord --scanbus dev=ATAPI

for reference mine is:

[EMAIL PROTECTED] ~ $ cdrecord --scanbus dev=ATAPI
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.11-gentoo-r2
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' 'DVDRAM GSA-4163B' 'A103' Removable CD-ROM
0,1,0 1) 'ATAPI   ' 'CD-R/RW 20X10   ' 'H.BK' 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) *


-- 
Nick Rout


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout  rout.co.nz> writes:

> 
> yes i think you should try cdrecord from the command line with the
> verbose option turned on and see what happens. ( the option is -V).
> 
> If you need the basics of how to use cdrecord see the cd writing
 howto
> at http://tldp.org
> 

Well looking at that I used:
cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav

Here are the results:

cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 

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 
.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems 
of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or 
Solaris.
TOC Type: 0 = CD-DA
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using 
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'ATAPI:1,1,0'
devname: 'ATAPI'
scsibus: 1 target: 1 lun: 0
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'.
SCSI buffer size: 64512
atapi: -1
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd:
 fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s

> There is some weird crap with cdrecord and various kernel versions.
> what versions of cdrecrod and kernel are you running?
2.6.12-gentoo-r4 (standard with no patches)

I kept these old kernel, which I can reboot and test?
2.6.11-gentoo-r11
2.6.11-gentoo-r10
> 
> also I note that i am in the cdrecording group in /etc/group - 
I am not
> sure if this is important or a hangover from some earlier setup.

I added root and myself to this line in /etc/group
cdrw::80:root,james

I was already in this line:
cdrom::19:root,james

Maybe a better command line to test with cdrecord?

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout
yes i think you should try cdrecord from the command line with the
verbose option turned on and see what happens. ( the option is -V).

If you need the basics of how to use cdrecord see the cd writing howto
at http://tldp.org

There is some weird crap with cdrecord and various kernel versions.
what versions of cdrecrod and kernel are you running?

also I note that i am in the cdrecording group in /etc/group - I am not
sure if this is important or a hangover from some earlier setup.


On Mon, 18 Jul 2005 22:01:12 + (UTC)
James wrote:

> Nick Rout  rout.co.nz> writes:
> 
> > 
> > have you tried using k3bsetup?
> 
> Ah, this may be the problem.
> 
> IN the k3b gui, I went under settings, but did not see anything
> critical.
> 
> The only documents I have found are in /usr/share/doc/k3b-0.11.24.
> 
> Running k3bsetup as root fired up the gui. All of the selections
> look fine. I hit the 'apply button' anbd it popped up
> 'Successfully updated all permissions.'
> 
> It wrote out this file:
> /root/.kde3.3/share/config/k3bsetup2rc
> 
> Which is:
> [Devices]
> TOSHIBA DVD-ROM SD-R2412=4234,4200,auto,auto
> device_search_path=/dev/ide/host0/bus1/target0/lun0/cd
> 
> [External Programs]
> cdrdao default=/usr/bin/cdrdao
> cdrdao user parameters=
> cdrecord default=/usr/bin/cdrecord
> cdrecord user parameters=
> search
> path=/usr/bin/,/usr/local/bin/,/usr/sbin/,/usr/local/sbin/,/opt/schily/bin/,/sbin
> 
> [General Settings]
> burning group=burning
> use burning group=false
> 
> This look OK?
> 
> I get the same results trying to burn 2 .wav files to the cd-rw...
> 
> It runs but no progress with preparing write process (0%)
> or Overall progress (0%).
> 
> It just hangs. I let it go a while but nothing happens.
> Then I quite and mount the cd manually as root... empty...
> 
> ideas?
> 
> James
> 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout  rout.co.nz> writes:

> 
> have you tried using k3bsetup?

Ah, this may be the problem.

IN the k3b gui, I went under settings, but did not see anything
critical.

The only documents I have found are in /usr/share/doc/k3b-0.11.24.

Running k3bsetup as root fired up the gui. All of the selections
look fine. I hit the 'apply button' anbd it popped up
'Successfully updated all permissions.'

It wrote out this file:
/root/.kde3.3/share/config/k3bsetup2rc

Which is:
[Devices]
TOSHIBA DVD-ROM SD-R2412=4234,4200,auto,auto
device_search_path=/dev/ide/host0/bus1/target0/lun0/cd

[External Programs]
cdrdao default=/usr/bin/cdrdao
cdrdao user parameters=
cdrecord default=/usr/bin/cdrecord
cdrecord user parameters=
search
path=/usr/bin/,/usr/local/bin/,/usr/sbin/,/usr/local/sbin/,/opt/schily/bin/,/sbin

[General Settings]
burning group=burning
use burning group=false

This look OK?

I get the same results trying to burn 2 .wav files to the cd-rw...

It runs but no progress with preparing write process (0%)
or Overall progress (0%).

It just hangs. I let it go a while but nothing happens.
Then I quite and mount the cd manually as root... empty...

ideas?

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga  gmail.com> writes:


> cdr and cdrw?

We'll 'lshw' shows:
product: TOSHIBA DVD-ROM SD-R2412
capabilities: packet atapi cdrom removable nonmagnetic dma 
lba iordy audio cd-r cd-rw dvd 

so I'd assume cd-rw means read write:

Also the Toshiba web page:

http://www.toshiba-europe.com/storage/
Index.asp?page=PCI&nav=ISH_PRS&model=SDR2412


SD-R2412
Slim-Line Combo CD-RW/DVD-ROM Drive (24x CD-R Write/8x DVD-ROM Read)
Show all Combo (Slim Line)
With the introduction of SD-R2412 into the market, Toshiba has suceeded in
leading the optical drive standards for the notebook market. This slim
combination drive boasts read speeds of 8x DVD, 24x CD and write speeds of 24x
CD-R, 10x CD-RW making it one of the most ideal drives for mobile multimedia and
storage use. 


I guess it's possible it's not support to be a cd rw, but that
is not likely?

Maybe it's crippled in firmware, because I do not run winblows on the
portable?

Dunno...
I'm going to test writing to a one-shot disk now...

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout
have you tried using k3bsetup?


On Mon, 18 Jul 2005 20:36:44 + (UTC)
James wrote:

> Daniel da Veiga  gmail.com> writes:
> 
> 
> > Ok, you're right, it really does burn cds.
> Well googling produces lots of complaints about trouble. But
> it looks mostly like old windows stuff...
> 
> > So, you're still not able to burn them? Try erasing an RW or writting
> > an RW (so you don't spent cds). You should be able to do that with
> > k3b, unless you already have mounted the cd (the erase and burn
> > operations don't need the drive mounted) but I suppose that would echo
> > an error.
> 
> I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
> Here's the messages echoed to the K3b screen:
>  Using cdrecored 2.1
>   Starting dao writing at 24x speed...
> Medium  or burner do not support writing at 24x speed
> Switching down burn speed to 4x
> Starting in 2 seconds
> Starting in 1 second
> Writing canceled. 
> Removing buffer files
> Unlocking drive...
> Could not unlock CD drive.
> 
> > You don't need anything special on your kernel to burn cds. At least I
> > have nothing special on mine. K3b does it all for me.
> 
> OK, Maybe my use parameters are missing something?
> 
> emerge -Nvp k3b  
> ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
> -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
> 
> 
> ideas?
> 
> James
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga  gmail.com> writes:


> Ok, you're right, it really does burn cds.
Well googling produces lots of complaints about trouble. But
it looks mostly like old windows stuff...

> So, you're still not able to burn them? Try erasing an RW or writting
> an RW (so you don't spent cds). You should be able to do that with
> k3b, unless you already have mounted the cd (the erase and burn
> operations don't need the drive mounted) but I suppose that would echo
> an error.

I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
Here's the messages echoed to the K3b screen:
 Using cdrecored 2.1
  Starting dao writing at 24x speed...
Medium  or burner do not support writing at 24x speed
Switching down burn speed to 4x
Starting in 2 seconds
Starting in 1 second
Writing canceled. 
Removing buffer files
Unlocking drive...
Could not unlock CD drive.

> You don't need anything special on your kernel to burn cds. At least I
> have nothing special on mine. K3b does it all for me.

OK, Maybe my use parameters are missing something?

emerge -Nvp k3b  
ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
-kdeenablefinal +mad +oggvorbis -xinerama 0 kB


ideas?

James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Daniel da Veiga
Ok, you're right, it really does burn cds.

So, you're still not able to burn them? Try erasing an RW or writting
an RW (so you don't spent cds). You should be able to do that with
k3b, unless you already have mounted the cd (the erase and burn
operations don't need the drive mounted) but I suppose that would echo
an error.

You don't need anything special on your kernel to burn cds. At least I
have nothing special on mine. K3b does it all for me.

On 7/18/05, James <[EMAIL PROTECTED]> wrote:
> Daniel da Veiga  gmail.com> writes:
> 
> > > I have a Toshiba DVD-ROM SD-R2412 in my portable.
> > > #lshw :
> > > *-cdrom
> > >description: DVD reader
> > >product: TOSHIBA DVD-ROM SD-R2412
> > >vendor: Toshiba
> > >capabilities: packet atapi cdrom
> > > removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd
> 
> 
> 
> 
> > /dev/cdroms/cdrom0   /mnt/cdrom   iso9660  user,noauto,ro 0 0
> OK this got rid of the error in K3b.
> 
> > You should be able to do all you can do with your drive, in your case,
> > I believe you can read cds and read dvds, but as far as I know, you
> > can't burn cds, its a dvd drive, not a cdrw or a combo. (at least
> > considering the name, I may be wrong)
> 
> Well, the last line from 'lshw' says it is a cd-rw
> 
> That implies I should be able to write to the CD?
> 
> The page:http://www.toshiba-europe.com/storage/
> Index.asp?page=PCI&nav=ISH_PRS&model=SDR2412
> 
> tells me the drive has CD rw capabilities. Maybe I missed the correct
> driver in the kernel?
> 
> James
> 
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Daniel da Veiga
cdr and cdrw?

On 7/18/05, James <[EMAIL PROTECTED]> wrote:
> Daniel da Veiga  gmail.com> writes:
> 
> 
> > Ok, you're right, it really does burn cds.
> Well googling produces lots of complaints about trouble. But
> it looks mostly like old windows stuff...
> 
> > So, you're still not able to burn them? Try erasing an RW or writting
> > an RW (so you don't spent cds). You should be able to do that with
> > k3b, unless you already have mounted the cd (the erase and burn
> > operations don't need the drive mounted) but I suppose that would echo
> > an error.
> 
> I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
> Here's the messages echoed to the K3b screen:
>  Using cdrecored 2.1
>   Starting dao writing at 24x speed...
> Medium  or burner do not support writing at 24x speed
> Switching down burn speed to 4x
> Starting in 2 seconds
> Starting in 1 second
> Writing canceled. 
> Removing buffer files
> Unlocking drive...
> Could not unlock CD drive.
> 
> > You don't need anything special on your kernel to burn cds. At least I
> > have nothing special on mine. K3b does it all for me.
> 
> OK, Maybe my use parameters are missing something?
> 
> emerge -Nvp k3b  
> ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
> -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
> 
> 
> ideas?
> 
> James
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga  gmail.com> writes:

> > I have a Toshiba DVD-ROM SD-R2412 in my portable.
> > #lshw :
> > *-cdrom
> >description: DVD reader
> >product: TOSHIBA DVD-ROM SD-R2412
> >vendor: Toshiba
> >capabilities: packet atapi cdrom
> > removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd




> /dev/cdroms/cdrom0   /mnt/cdrom   iso9660  user,noauto,ro 0 0
OK this got rid of the error in K3b.

> You should be able to do all you can do with your drive, in your case,
> I believe you can read cds and read dvds, but as far as I know, you
> can't burn cds, its a dvd drive, not a cdrw or a combo. (at least
> considering the name, I may be wrong)

Well, the last line from 'lshw' says it is a cd-rw

That implies I should be able to write to the CD?

The page:http://www.toshiba-europe.com/storage/
Index.asp?page=PCI&nav=ISH_PRS&model=SDR2412

tells me the drive has CD rw capabilities. Maybe I missed the correct
driver in the kernel?

James



-- 
gentoo-user@gentoo.org mailing list