Re: cdrecord-2.01.01a21 refuses work on Linux 2.4 if non-ide-scsi DVD-ROM is present
scdbackup@gmx.net wrote:
> Hi,
>
> > 1000,1,0 100001) 'MATSHITA' 'UJ-840D ' '1.03' Removable CD-ROM
>
> Just for the curiosity of an emulator:
> Is this /dev/hdb ? (resp. dev=ATAPI:0,1,0 ?)
>
>
> Update on 2.01.01a21 testing:
>
> This time with a SuSE 9.3 system. Kernel 2.6.11.4. No ide-scsi.
>
> The binary from the SuSE 9.0 system goes on strike because of
> /dev/hda which is a hard disk. Run as superuser it reports:
> /usr/bin/cdrecord-2.01.01a21-hz100: Permission denied. Cannot open '/dev/hda'. Cannot open SCSI driver.
This looks to be impossible: If you run cdrecord with the apropriate rights
(root) you should be able to open /dev/hda.
> The same source (*) cdrtools-2.01.01a21.tar.gz compiled on this
> newer system works better, though.
> cdrecord -scanbus (without any dev=) detects all three devices:
>
> Classical SCSI controller attached antique CD-ROM:
> 0,3,0 3) 'TEAC ' 'CD-ROM CD-532S ' '1.0A' Removable CD-ROM
> /dev/hdc DVD-ROM:
> 1001,0,0 100100) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0015' Removable CD-ROM
> /dev/hdd CD-RW burner:
> 1001,1,0 100101) 'LITE-ON ' 'LTR-48125S ' '1S05' Removable CD-ROM
>
> (*) a difference might be that the #define HZ 100 does not
> get into effect on the newer SuSE system.
>
>
> Strange observation: dev=ATAPI -scanbus shows single digit bus numbers
> with the IDE drives together with the real SCSI controller's bus.
>
> $ cdrecord dev=ATAPI -scanbus
> Cdrecord-ProDVD-Clone 2.01.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
> ...
> scsibus0:
> ...
> 0,3,0 3) 'TEAC ' 'CD-ROM CD-532S ' '1.0A' Removable CD-ROM
> ...
> scsibus1:
> 1,0,0 100) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0015' Removable CD-ROM
> 1,1,0 101) 'LITE-ON ' 'LTR-48125S ' '1S05' Removable CD-ROM
This is a result from the strange non-orthogonal Linux kernel
> What would happen if there was a CD device at /dev/hdb ?
> Would it be reported as 0,1,0 ?
>
> cdrecord dev=ATAPI:1,1,0 -atip needs about 30 seconds before the
> tray gets loaded and another minute to obtain the info.
> dev=ATAPI:1,0,0 -eject needs more than one minute.
dev=ATAPI != dev=ATA
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
Reply to: