Re: cdrecord-2.01.01a21 refuses work on Linux 2.4 if non-ide-scsi DVD-ROM is present
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.
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
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.
In AN-2.01.01a20 i read:
"- Warn Linux users to prefer dev=ATAPI: over dev=ATA:"
But cdrecord-2.01.01a21 issues this text:
"Warning: dev=ATA: is preferred over dev=ATAPI:."
With dev=ATA i get the IDE part of the -scanbus list:
$ cdrecord dev=ATA -scanbus
...
scsibus1001:
1001,0,0 100100) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0015' Removable CD-ROM
1001,1,0 100101) 'LITE-ON ' 'LTR-48125S ' '1S05' Removable CD-ROM
On these addresses, -atip and -eject do work with usual speed.
(dev=1001,1,0 or dev=ATA:1001,1,0 seems to make no difference.)
Have a nice day :)
Thomas
Reply to: