Помогите заставить работать DVD привод

Автор: bsm Дата: 03.05.2007 17:41 Имею- ASPLinux-11, kernel-2.6.14-1.1653, SONY NEC Optiarc DVD RW AD-7173A.
(До этого был AOpen CD-RW)

Могу читать/записать CD-R/RW.
При попытке чтения DVD получаю ошибку монтирования устройства- плохой суперблок/файлвая система,..
Отформатировать/записать DVD-болванку нет возможности (пробовал ручками и из k3b).

В конфигурации ядра имеем, касательно DVD -

#
# Parallel IDE protocol modules
#
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y
CONFIG_CDFS_FS=m

Установлены пакеты
[root@maestro tmp]# rpm -qa *dvd* -
dvd+rw-tools-5.21.4.10.8-6
libdvdcss-1.2.9-1.2.fc4
libdvdcss-devel-1.2.9-1.2.fc4
libdvdnav-0.1.10-2.2.fc4
libdvdnav-devel-0.1.10-2.2.fc4
libdvdplay-1.0.1-4.2.fc4
libdvdplay-devel-1.0.1-4.2.fc4
libdvdread-0.9.4-8cvs.2.fc4
libdvdread-devel-0.9.4-8cvs.2.fc4
radvd-0.8-2.FC4

[root@maestro tmp]# cat /etc/fstab | grep dvd
/dev/hdc /media/dvdrecorder auto pamconsole,exec,noauto,managed,iocharset=koi8-r 0 0

[root@maestro tmp]# ls -l -1 /dev
..
lrwxrwxrwx 1 root root 3 Апр 28 2007 cdrom -> hdc
lrwxrwxrwx 1 root root 3 Апр 28 2007 cdwriter -> hdc
..
lrwxrwxrwx 1 root root 3 Апр 28 2007 dvd -> hdc
lrwxrwxrwx 1 root root 3 Апр 28 2007 dvdwriter -> hdc
..
brw------- 1 bsm disk 22, 0 Апр 28 2007 hdc
..

[root@maestro tmp]# cdrecord --scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-01' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

[root@maestro tmp]# dvdrecord --scanbus
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-01' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

Как же заставить устройство работать в режиме DVD?
Спасибо.
Re: Помогите заставить работать DVD привод 04.05.2007 02:29Bircoph Параметр ядру:
hdc=ide-cd
Re: Помогите заставить работать DVD привод 04.05.2007 12:46bsm Сейчас в /etc/lilo.conf имею-

..
image=/boot/vmlinuz-2.6.14-1.1653.1asp
initrd=/boot/initrd-2.6.14-1.1653.1asp.img
label=Linux-2.6.14
root=/dev/hda3
read-only
# append=" reboot=b pci=noacpi pci=usepirqmask quiet rhgb"
# for DVD+R/RW
append=" reboot=b pci=noacpi pci=usepirqmask quiet rhgb hdc=ide-cd"

Результат тот же- не только записать, но и отформатировать DVD-диск не удаётся.

Прилагаю отчёт из xcdroast-0.98-

[bsm@maestro ~]$ cat Templates/cdrecord.out
Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORDPRODVD dev= "/dev/hdc" gracetime=10 fs=4096k -v driveropts=burnfree speed=48 -eject -multi -pad -waiti tsize=585404s -

execv error while calling /usr/bin/cdrecord.prodvd (No such file or directory)

Что ещё посоветуете?
Re: Помогите заставить работать DVD привод 04.05.2007 13:07peter_ir Попробовать исключить параметры
pci=usepirqmask quiet rhgb
Кроме того, однажды для включения dma для HDD мне потребовалось добавить
ide0=dma
Re: Помогите заставить работать DVD привод 04.05.2007 13:40bsm Сейчас в /etc/lilo.conf имею-

..
image=/boot/vmlinuz-2.6.14-1.1653.1asp
initrd=/boot/initrd-2.6.14-1.1653.1asp.img
label=Linux-2.6.14
root=/dev/hda3
read-only
# append=" reboot=b pci=noacpi pci=usepirqmask quiet rhgb"
# for DVD+R/RW
append=" reboot=b pci=noacpi hdc=ide-cd"

Результат тот же.
Какие будут советы?
Re: Помогите заставить работать DVD привод 04.05.2007 14:28peter_ir Попробовать установить последнее ядро из updates для ASP11, 2.6.17-2146, кажется.
Если материнская плата новая, может помочь.
Re: Помогите заставить работать DVD привод 04.05.2007 15:00bsm Материтнская плата- 2001 г.
Обновление ядра потребует обновления "связанных" с ним пакетов, а это всё на сервере, если что-то не сложится, то..

[root@maestro i686]# rpm --test -Uhv kernel*
ошибка: Неудовлетворенные зависимости:
/boot/vmlinuz-2.6.14-1.1653.1aspsmp нужен для (установлен)kernel-module-nvidia-2.6.14-1.1653.1aspsmp-1.0.8178-0.3.110asp.i686
/boot/vmlinuz-2.6.14-1.1653.1aspsmp нужен для (установлен)kernel-module-fglrx-2.6.14-1.1653.1aspsmp-8.21.7.1-0.1.110asp.i686
/boot/vmlinuz-2.6.14-1.1653.1aspsmp нужен для (установлен)kernel-module-slamr-2.6.14-1.1653.1aspsmp-2.9.11-1.20051101.110asp.i686
/boot/vmlinuz-2.6.14-1.1653.1asp нужен для (установлен)kernel-module-nvidia-2.6.14-1.1653.1asp-1.0.8178-0.3.110asp.i686
/boot/vmlinuz-2.6.14-1.1653.1asp нужен для (установлен)kernel-module-slamr-2.6.14-1.1653.1asp-2.9.11-1.20051101.110asp.i686
/boot/vmlinuz-2.6.14-1.1653.1asp нужен для (установлен)kernel-module-fglrx-2.6.14-1.1653.1asp-8.21.7.1-0.1.110asp.i686
[root@maestro i686]#

Буду думать.
Re: Помогите заставить работать DVD привод 04.05.2007 20:52Bircoph Вставьте dvd-rw или dvd+rw и приведите полный вывод
этих команд:
---
dvd+rw-mediainfo /dev/dvd
dvdrecord dev=1,0,0 -v -v -v blank=fast
---
Выполните их от рута, по крайней мере вторую.
Re: Помогите заставить работать DVD привод 04.05.2007 21:19peter_ir У cdrecord тоже много информационных опций. Может быть, сам привод слишком новый для ядра
и в более новом есть драйвер, лучше его поддерживающий?
Насчёт ядра я имелл в виду его компилирование из исходных текстов.
Конечно, потом и fglrx-пакеты надо будет компилировать, но я так и
делаю при переустановке ядра.
Re: Помогите заставить работать DVD привод 04.05.2007 22:19Bircoph > У cdrecord тоже много информационных опций.
---
$ ll /usr/bin/dvdrecord
lrwxrwxrwx 1 root root 8 Фев 20 18:56 /usr/bin/dvdrecord -> cdrecord
---
Мы об одном и том же ;-)).
Re: Помогите заставить работать DVD привод 07.05.2007 10:00bsm [root@maestro ~]# dvd+rw-mediainfo /dev/dvd
INQUIRY: [Optiarc ][DVD RW AD-7173A ][1-01]
GET [CURRENT] CONFIGURATION:
Грустный no media mounted, exiting...
[root@maestro ~]# dvdrecord dev=1,0,0 -v -v -v blank=fast
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
[root@maestro ~]#
Re: Помогите заставить работать DVD привод 08.05.2007 02:09Bircoph > Грустный no media mounted, exiting...

Привод не видит диск. Он точно вставлен?
Re: Помогите заставить работать DVD привод 08.05.2007 10:03bsm НИже приведены данные при наличии болванки в устройстве.

[bsm@maestro CD-RW]$ ./working-in-dvd.sh test

dvdrecord -scanbus..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-O3' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

dvd+rw-mediainfo /dev/dvd..
INQUIRY: [Optiarc ][DVD RW AD-7173A ][1-O3]
GET [CURRENT] CONFIGURATION:
Mounted Media: 1Ah, DVD+RW
Media ID: MBIPG101/W04
Current Write Speed: 4.0x1385=5540KB/s
Write Speed #0: 4.0x1385=5540KB/s
Write Speed #1: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 4.0x1385=5540KB/s@[0 -> 2295104]
Speed Descriptor#0: 00/2295104 =6925KB/s =5540KB/s
Speed Descriptor#1: 00/2295104 =6925KB/s =3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 92h, DVD+RW book [revision 2]
Legacy lead-out at: 2295104*2KB=4700372992
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2295104*2KB
Track Size: 2295104*2KB
READ CAPACITY: 1*2048=2048

dvdrecord dev=1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Permission denied. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
[bsm@maestro CD-RW]$
Re: Помогите заставить работать DVD привод 08.05.2007 21:55peter_ir Я бы ещё в строку в /etc/fstab для /dev/hdc добавил опцию user или users.
Re: Помогите заставить работать DVD привод 08.05.2007 22:37Bircoph > Permission denied. Cannot open SCSI driver.

SUID на cdrecord или от рута запускать.
Re: Помогите заставить работать DVD привод 10.05.2007 09:54bsm Пользователь, не root, имеет возможность работать с CD дисками. Так что в SUID и дополнения к fstab директивы user нет необходимости.

Обновлять ядро не имею возможности, т.к. это всё выполняется на сервере и простой в нестолько часов мне недадут.
Re: Помогите заставить работать DVD привод 10.05.2007 17:19Bircoph > имеет возможность работать с CD дисками

> Permission denied. Cannot open SCSI driver.

Имхо, но достаточно очевидно, что в вашей системе у
пользователя определённо нет права **записи** на cd/dvd.
Re: Помогите заставить работать DVD привод 10.05.2007 18:11bsm Даже при нижеприведенных условиях пользователь, не root, пишет на CD, но не DVD

[root@maestro tmp]# cat /etc/fstab | grep dvd
/dev/hdc /media/dvdrecorder auto pamconsole,exec,noauto,managed,iocharset=koi8-r 0 0

После добавления директивы user d /etc/fstab

[root@maestro tmp]# cat /etc/fstab | grep dvd
/dev/hdc /media/dvdrecorder auto pamconsole,exec,noauto,managed,iocharset=koi8-r,user 0 0

Ситуация не улучшилась. Логи получен от root-

[root@maestro ~]# /root/working/CD-RW/working-in-dvd.sh test
dvdrecord -scanbus..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-O3' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

dvd+rw-mediainfo /dev/dvd..
INQUIRY: [Optiarc ][DVD RW AD-7173A ][1-O3]
GET [CURRENT] CONFIGURATION:
Грустный no media mounted, exiting...

dvdrecord dev=1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
[root@maestro ~]#
Re: Помогите заставить работать DVD привод 10.05.2007 18:54Bircoph > cdrecord: Invalid or incomplete multibyte or wide character. Cannot open SCSI driver.

Вот оно что, системная ошибка #84 ;-).
А если так:
---
dvdrecord dev=ATA:1,0,0 -v -v -v blank=fast
---
?

Так же можно dev=/dev/hdc
Re: Помогите заставить работать DVD привод 11.05.2007 11:26bsm Без болванки в устройстве-

[root@maestro CD-RW]# ./working-in-dvd.sh test
dvdrecord -scanbus..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-O3' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

dvd+rw-mediainfo /dev/dvd..
INQUIRY: [Optiarc ][DVD RW AD-7173A ][1-O3]
GET [CURRENT] CONFIGURATION:
Грустный no media mounted, exiting...

dvdrecord dev=1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

dvdrecord dev=ATA:1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily - Red Hat-scsi-linux-sg.c-1.83-RH'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identifikation : 'DVD RW AD-7173A '
Revision : '1-O3'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0000
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
Drive current speed: 48
Drive default speed: 48
Drive max speed : 48
Selected speed : 48
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
01 00 00 01 00 00 00 00
01 AA 01 01 00 00 00 00
Track 1 start -150
01 00 A0 00 00 00 00 01 00 00 00 00
01 00 A1 00 00 00 00 00 00 00 00 00
01 00 A2 00 00 00 00 00 00 00 00 00
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!

dvdrecord dev=/dev/dvd:1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '/dev/dvd:1,0,0'
devname: '/dev/dvd'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily - Red Hat-scsi-linux-sg.c-1.83-RH'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identifikation : 'DVD RW AD-7173A '
Revision : '1-O3'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0000
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
Drive current speed: 48
Drive default speed: 48
Drive max speed : 48
Selected speed : 48
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
01 00 00 01 00 00 00 00
01 AA 01 01 00 00 00 00
Track 1 start -150
01 00 A0 00 00 00 00 01 00 00 00 00
01 00 A1 00 00 00 00 00 00 00 00 00
01 00 A2 00 00 00 00 00 00 00 00 00
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!
[root@maestro CD-RW]#

При наличии DVD-болванки в устройстве-

[root@maestro CD-RW]# ./working-in-dvd.sh test
dvdrecord -scanbus..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'Optiarc ' 'DVD RW AD-7173A ' '1-O3' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

dvd+rw-mediainfo /dev/dvd..
INQUIRY: [Optiarc ][DVD RW AD-7173A ][1-O3]
GET [CURRENT] CONFIGURATION:
Mounted Media: 1Ah, DVD+RW
Media ID: OPTODISC/OP4
Current Write Speed: 4.0x1385=5540KB/s
Write Speed #0: 4.0x1385=5540KB/s
Write Speed #1: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 4.0x1385=5540KB/s@[0 -> 2295104]
Speed Descriptor#0: 00/2295104 =6925KB/s =5540KB/s
Speed Descriptor#1: 00/2295104 =6925KB/s =3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 92h, DVD+RW book [revision 2]
Legacy lead-out at: 2295104*2KB=4700372992
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2295104*2KB
Track Size: 2295104*2KB
READ CAPACITY: 1*2048=2048

dvdrecord dev=1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
cdrecord: Invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

dvdrecord dev=ATA:1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily - Red Hat-scsi-linux-sg.c-1.83-RH'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identifikation : 'DVD RW AD-7173A '
Revision : '1-O3'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A (current)
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
cdrecord: Found DVD media: using cdr_mdvd.
Drive current speed: 0
Drive default speed: 370
Drive max speed : 370
Selected speed : 370
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1015808 = 992 KB
Track 1 start -150
01 00 A0 00 00 00 00 01 00 00 00 00
01 00 A1 00 00 00 00 00 00 00 00 00
01 00 A2 00 00 00 00 00 00 00 00 00
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
scsi_set_streaming
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Performing OPC...
Error: this media does not support blanking, ignoring.
This drive or media does not support the 'BLANK media' command
cdrecord: Cannot blank disk, aborting.
cdrecord: Some drives do not support all blank types.
cdrecord: Try again with cdrecord blank=all.

dvdrecord dev=/dev/dvd:1,0,0 -v -v -v blank=fast..
INFO: dvdrecord's functionality is now replaced by cdrecord
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jц?rg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to [bugzilla.redhat.com]
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '/dev/dvd:1,0,0'
devname: '/dev/dvd'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily - Red Hat-scsi-linux-sg.c-1.83-RH'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identifikation : 'DVD RW AD-7173A '
Revision : '1-O3'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A (current)
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
cdrecord: Found DVD media: using cdr_mdvd.
Drive current speed: 0
Drive default speed: 370
Drive max speed : 370
Selected speed : 370
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1015808 = 992 KB
Track 1 start -150
01 00 A0 00 00 00 00 01 00 00 00 00
01 00 A1 00 00 00 00 00 00 00 00 00
01 00 A2 00 00 00 00 00 00 00 00 00
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
scsi_set_streaming
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Performing OPC...
Error: this media does not support blanking, ignoring.
This drive or media does not support the 'BLANK media' command
cdrecord: Cannot blank disk, aborting.
cdrecord: Some drives do not support all blank types.
cdrecord: Try again with cdrecord blank=all.
[root@maestro CD-RW]#
RSS-материал