Find the answer to your Linux question:
Results 1 to 10 of 10
Dear friends, I'm linux newbie. I installed Red Hat Linux 9. I know only ms window. When I burn cd, it does nothing. How should I do? When I use ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2004
    Location
    India
    Posts
    6

    How to make the system to know my cd writer


    Dear friends,
    I'm linux newbie. I installed Red Hat Linux 9. I know only ms window. When I burn cd, it does nothing. How should I do?
    When I use cdrecord, this information shows.

    drecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
    TOC Type: 1 = CD-ROM
    scsidev: '0,0,0'
    scsibus: 0 target: 0 lun: 0
    Linux sg driver version: 3.1.24
    Using libscg version 'schily-0.7'
    cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
    atapi: 1
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 2
    Capabilities :
    Vendor_info : 'SONY '
    Identifikation : 'CD-RW CRX230E '
    Revision : 'QYS1'
    Device seems to be: Generic mmc CD-RW.
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Drive buf size : 1422080 = 1388 KB
    FIFO size : 4194304 = 4096 KB
    Track 01: data 3 MB
    cdrecord: Input/output error. read track info: scsi sendcmd: no error
    CDB: 52 01 00 00 00 FF 00 00 1C 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 06 00 00
    Sense Key: 0x5 Illegal Request, Segment 0
    Sense Code: 0x30 Qual 0x06 (cannot format medium - incompatible medium) Fru 0x0
    Sense flags: Blk 0 (not valid)
    cmd finished after 0.000s timeout 240s
    Writing time: 0.050s
    Average write speed 999.0x.
    Fixating...
    Fixating time: 0.003s
    cdrecord: fifo had 64 puts and 0 gets.
    cdrecord: fifo was 0 times empty and 0 times full, min fill was 10


    1.5.2004
    no, I try with this command, cdrecord --scanbusat that time, my cdwrite is 0,0,0. I forgot how to call. It starts with sci something like that.
    Then I try with this command
    cdrecord /home/mythein/*.mp3 when I try this command, it shows above message
    If you know how to do, tell me exactly what should I do. When I read in linux bible, it tells many steps to do. I tried already. But I can't.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    What command did you use to generate that output? Also, post the output of cdrecord -scanbus
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    don
    don is offline
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    101
    just a hunch.. but is the CD ur trying to write writeable.. from the error messages i see an incompatible device. try replacing the media. Aslo just to check try writing a CD as the root. Maybe there are some permission errors.
    I\'m just a simple fisherman blessed with a lot of friends

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2004
    Location
    India
    Posts
    6
    Quote Originally Posted by don
    just a hunch.. but is the CD ur trying to write writeable.. from the error messages i see an incompatible device. try replacing the media. Aslo just to check try writing a CD as the root. Maybe there are some permission errors.
    Hi Thank you. I already tried as a root. I have two os. I can use in window xp. But I can't in Linux.

  6. #5
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    130
    I got a feeling, looking at you log there, that you might be specifiyng WHAT to write in the wrong way.

    Firstly of all, you have a line that says "Input/Output Error", which indicates something like that. But what I find most interesting is the three lines below, which clearly indicate ( since no cd-writer of date can write in 999x) that the writer never actually writes anything.

    "cmd finished after 0.000s timeout 240s
    Writing time: 0.050s
    Average write speed 999.0x. "


    What options are you using when trying to write the cd. Post those and everything will be much easier.

    /ooop

  7. #6
    Just Joined!
    Join Date
    Apr 2004
    Location
    India
    Posts
    6
    Quote Originally Posted by ooop
    I got a feeling, looking at you log there, that you might be specifiyng WHAT to write in the wrong way.

    Firstly of all, you have a line that says "Input/Output Error", which indicates something like that. But what I find most interesting is the three lines below, which clearly indicate ( since no cd-writer of date can write in 999x) that the writer never actually writes anything.

    "cmd finished after 0.000s timeout 240s
    Writing time: 0.050s
    Average write speed 999.0x. "


    What options are you using when trying to write the cd. Post those and everything will be much easier.

    /ooop
    Thanks. I want to give you. But It will be a little longer.
    Starts from here.
    [root@localhost Songs]# cdrecord -v dev=0,0,0 *.mp3
    Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
    TOC Type: 1 = CD-ROM
    scsidev: '0,0,0'
    scsibus: 0 target: 0 lun: 0
    Linux sg driver version: 3.1.24
    Using libscg version 'schily-0.7'
    cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
    atapi: 1
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 2
    Capabilities :
    Vendor_info : 'SONY '
    Identifikation : 'CD-RW CRX230E '
    Revision : 'QYS1'
    Device seems to be: Generic mmc CD-RW.
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Drive buf size : 1422080 = 1388 KB
    FIFO size : 4194304 = 4096 KB
    Track 01: data 3 MB
    Track 02: data 3 MB
    Track 03: data 3 MB
    Track 04: data 4 MB
    Track 05: data 2 MB
    Track 06: data 3 MB
    Track 07: data 5 MB
    Track 08: data 3 MB
    Track 09: data 3 MB
    Track 10: data 4 MB
    Track 11: data 2 MB
    Track 12: data 3 MB
    Track 13: data 3 MB
    Track 14: data 2 MB
    Track 15: data 3 MB
    Track 16: data 4 MB
    Track 17: data 3 MB
    Track 18: data 3 MB
    Track 19: data 4 MB
    Track 20: data 3 MB
    Track 21: data 2 MB
    Total size: 93 MB (09:16.62) = 41747 sectors
    Lout start: 93 MB (09:18/47) = 41747 sectors
    Current Secsize: 2048
    ATIP info from disk:
    Indicated writing power: 3
    Reference speed: 6
    Is not unrestricted
    Is erasable
    Disk sub type: High speed Rewritable (CAV) media (1)
    ATIP start of lead in: -11240 (97:32/10)
    ATIP start of lead out: 359849 (79:59/74)
    1T speed low: 4 1T speed high: 10
    2T speed low: 4 2T speed high: 0 (reserved val 6)
    power mult factor: 1 5
    recommended erase/write power: 5
    A1 values: 24 1A D8
    A2 values: 26 B2 4A
    Disk type: Phase change
    Manuf. index: 27
    Manufacturer: Prodisc Technology Inc.
    Trying to clear drive status.
    Forcespeed is OFF.
    cdrecord: Drive needs to reload the media to return to proper status.
    Forcespeed is OFF.
    Starting to write CD/DVD at speed 12 in real TAO mode for single session.
    Last chance to quit, starting real write 0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    BURN-Free is OFF.
    Performing OPC...
    cdrecord: Input/output error. read track info: scsi sendcmd: no error
    CDB: 52 01 00 00 00 FF 00 00 1C 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 06 00 00
    Sense Key: 0x5 Illegal Request, Segment 0
    Sense Code: 0x30 Qual 0x06 (cannot format medium - incompatible medium) Fru 0x0
    Sense flags: Blk 0 (not valid)
    cmd finished after 0.000s timeout 240s
    Writing time: 0.050s
    Average write speed 999.0x.
    Fixating...
    Fixating time: 0.003s
    cdrecord: fifo had 64 puts and 0 gets.
    cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

  8. #7
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    130

    hm?

    I can't really say that I fully understand what you are trying to do...

    just writing *.mp3 at the end will make it write those files as tracks on the disc....which will NOT make them playable...

    My tips of the day:

    1) If you want to make an mp3 disc, with a filesystem, do :
    mkisofs -o Songs.iso Songs
    cdrecord -v dev=0,0,0 Songs.iso

    This will put all the files in the directory Songs into an .iso file, which you then burn onto your disc, resulting in the disc looking exactly like the Songs directory.

    2) If you want to burn the music tracks directly to the disc, like a normal audio-cd do ;
    [ Create .wav files out of the mp3:s with some nice tool (don't know one myself) ]
    cdrecord -v dev=0,0,0 *.wav


    Hopefully this will be helpful,
    good luck

    //ooop

  9. #8
    Linux Newbie
    Join Date
    Apr 2004
    Location
    Stockholm, Sweden
    Posts
    130
    Forgot one thing :

    try -dev=ATAPI:0,0,0 if you have an ATAPI cd-rom, and not a SCSI

  10. #9
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    And the -audio switch.

    When I did this, I used lame to decode to wav and normalize to normalize (imagine that ) the tracks. Do this all in it's own dir. then run the cdrecord command to burn the disc.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  11. #10
    Just Joined!
    Join Date
    Apr 2004
    Location
    India
    Posts
    6

    Re: hm?

    Quote Originally Posted by ooop
    I can't really say that I fully understand what you are trying to do...

    just writing *.mp3 at the end will make it write those files as tracks on the disc....which will NOT make them playable...

    My tips of the day:

    1) If you want to make an mp3 disc, with a filesystem, do :
    mkisofs -o Songs.iso Songs
    cdrecord -v dev=0,0,0 Songs.iso

    This will put all the files in the directory Songs into an .iso file, which you then burn onto your disc, resulting in the disc looking exactly like the Songs directory.

    2) If you want to burn the music tracks directly to the disc, like a normal audio-cd do ;
    [ Create .wav files out of the mp3:s with some nice tool (don't know one myself) ]
    cdrecord -v dev=0,0,0 *.wav


    Hopefully this will be helpful,
    good luck

    //ooop
    Hi
    This is the first time to burn cd. The most important thing is I want to burn data file to cd.


    before I am doing this , I prepare in /etc/modules.conf

    options ide-cd ignore=hdb # tell the ide-cd module to ignore hdb
    alias scd0 sr_mod # load sr_mod upon access of scd0
    #pre-install ide-scsi modprobe imm # uncomment for some ZIP drives only
    pre-install sg modprobe ide-scsi # load ide-scsi before sg
    pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
    pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi



    then As I have only one CD-RW drive

    cd /dev && rm cdrom && ln -s scd0 cdrom

    when it asked me that to remove link, I said yes.

    then I burn CD using this
    cdrecord speed=2 dev=0,0,0 perl.pl
    like this
    but still I can't .
    I really want to know.

    [/b]

Posting Permissions

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