SnapafunFrank wrote:
> Mikkel L. Ellertson wrote:
> 
>> Rodolfo Medina wrote:
>>  
>>
>>> Rodolfo wrote:
>>>
>>>
>>>   
>>>
>>>> How do I copy the file `/home/rodolfo/myfile' onto CD
>>>> using cdrecord?
>>>>     
>>>
>>> Thanks to Miark and Mikkel who kindly replied.
>>> I managed to copy the file `/home/rodolfo/myfile' onto CD
>>> using cdrecord, with Mandrakelinux 9.1, this way:
>>>
>>> # cdrecord -scanbus
>>>
>>> , and got the following output:
>>>
>>>
>>> ----------------------------------------------------------------------------
>>>
>>> -
>>> Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 J�rg
>>> Schilling
>>> Linux sg driver version: 3.1.24
>>> Using libscg version 'schily-0.7'
>>> scsibus0:
>>>        0,0,0     0) 'HL-DT-ST' 'CD-RW GCE-8160B ' '2.01' 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) *
>>> ----------------------------------------------------------------------------
>>>
>>> -
>>>
>>>
>>> . Then I put an empty CD-RW into the cdrom2 drive and did:
>>>
>>> # mkisofs -r -o cd_image myfile
>>> # cdrecord -v speed=2 dev=0,0,0 -data cd_image
>>>
>>> . After this, I blanked the CD-RW:
>>>
>>> # cdrecord -v speed=2 dev=0,0,0 -blank=fast
>>>
>>> Everything seems o.k. Instead, with Mandrake 10.1 I had problems:
>>> I tried the same procedure as above, with different versions
>>> of cdrecord, but always when trying to burn the CD I got
>>> the same error message:
>>>
>>> cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open
>>> SCSI driver.
>>>
>>> I'm lost here.
>>> Please, any hint?
>>> Rodolfo
>>>
>>>
>>>   
>>
>> With 10.1, the use of SCSI emulation for IDE burners isn't used any
>> more. Instead, you specify the device the same way you would for the
>> mount command. SO, if you are using an IDE burner, you would use
>> something like:
>>
>> cdrecord -v speed=2 dev=/dev/hdc -data cd_image
>>
>> Now, if you are using the same append line in the boot loader for 10.1
>> as you used for 9.2, you will need to remove the ide-scsi option.
>>
>> Now, if you have a SCSI burner, then this does not apply. I have not
>> used a SCSI burner with 10.1 yet.
>>
>> Mikkel
>>  
>>
> I must have missed something on the previous replies to this thread but
> what about the following::::
> 
> Why are you using cdrom2 and dev=0,0,0 when in my experience if I was
> using cdrom2 ( assuming it was a writable unit ) I would be using
> dev=0,1,0 as your -scanbus reports.
> 
> Then of course, your -scanbus does not recognize any drive at " bay two
> " so to speak. Your dev=0,0,0 would suggest to me, that if you have two
> cdroms installed, that -scanbus is not seeing one of them. Hence nothing
> is getting done physically.
> 
> Then of course I'm still a learning newbie myself, so treat my remarks
> as more akin to being a query rather than helpful advise.
> 
What you are missing is that cdrecord -scanbus only scans the SCSI
devices. Because he was using IDE-SCSI for the burner in 9.2, it showed
up as the only SCSI device on SCSI bus 0. A CD-ROM that is not using
IDE-SCSI emulation will not show up in the scan.

With the 10.1, you no longer need to use IDE-SCSI emulation to use an
IDE burner. You ude the IDE device in the dev= option of cdrecord
instead. You can also use the scsibus-targer-lun format, but you need to
use the correct bus. You would run "cdrecord -scanbus dev=ATA" instead
of "cerecord -scanbus" to get the numbers for IDE devices.

On my system, I can use "dev=/dev/hdc" or "dev=ATA:1,0,0".

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to