[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord & cdwriter



On Tue, Nov 02, 2004 at 04:34:42PM +0530, Vijaya S wrote:
>.......
 
> but when i give cdrecord -scanbus dev=ATAPI
>.......
 
>  cdrecord -scanbus dev=ATAPI
> Using libscg version 'schily-0.8'.
> scsibus0:
>         0,0,0     0) 'HL-DT-ST' 'CD-RW GCE-8525B ' '1.03' 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) *
> 
> dmesg | grep ATAPI
> hdc: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive
> hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> 
> cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
>.......
> /dev/scd0       /cdrom          iso9660 ro,user,noauto,exec     0     0
>.......

> and i have added a line in /boot/grub/menu.lst as
> 
> append "/dev/hdc=ide-scsi"
> 
> 
> Wiht all these when i do eject i get the following as root and normal
> user
> #eject
> 
> eject: unable to eject, last error: Inappropriate ioctl for device
> 
> 
> mount /cdrom
> mount: /dev/scd0 is not a valid block device
 
I apply exactly what is said in /usr/share/doc/cdrecord/README.ATAPI.setup 

First I have undone all the things required by the kernel 2.4.x :

- I disabled the module ide-scsi. ( then you must undo : 
  append "/dev/hdc=ide-scsi" in your /boot/grub/menu.lst as )
- in fstab I changed /dev/scd0 in /dev/hdc and /dev/scd1 in /dev/hdd
 
cdrecord -scanbus dev=ATA gave me :

Using libscg version 'schily-0.8'.

scsibus1:
	1,0,0	100) 'SONY    ' 'DVD-ROM DDU1612 ' 'DYS1' Removable CD-ROM
	1,1,0	101) 'LITE-ON ' 'LTR-52327S      ' 'QS09' Removable CD-ROM

then in /etc/default/cdrecord I have put:

# CDR_DEVICE = yamaha ( I commented this line )
CDR_DEVICE = cdrw
cdrw = ATA:1,1,0  ( for you is: cdrw = ATA:0,0,0 )

and  now I do:

cdrecord -dev=1,1,0 -speed=10  -v -eject image.iso 

and all works fine.

hth
-- 
Gerard



Reply to: