среда, 19 августа 2009 г.

FreeBSD: Как записать CD?

CD должен записываться при помощи команды burncd - но не записывается

Чтобы писать CD нужно собрать ядро (или чтобы уже было в вашем ядре) следующие параметры

device atapicam
device scbus
device cd
device pass

Так же надо устновитьиз портов
/usr/ports/sysutils/cdrtools
/usr/ports/sysutils/dvd+rw-tools

Добавляем в /boot/loader.conf

atapicam_load="YES"

Перезагружаемся

Появляется скази сидиром
#dmesg | grep cd0
cd0 at ata0 bus 0 target 1 lun 0
cd0: Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not pr

Находим параметры устройства
#cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.1) Copyright (C) 1995-2004 JЖrg Schilling
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) 'PIONEER ' 'DVD-RW DVR-115D' '1.22' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Устройство расположено по адресу 0,1,0

Проверяем
#cdrecord dev=0,1,0 -checkdrive
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.1) Copyright (C) 1995-2004 JЖrg Schilling
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-115D'
Revision : '1.22'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord- ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp:// ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Как видно dvd писать оно не хочет
Далее можно приступать к записи iso образа
# cdrecord -eject speed=10 dev=0,1,0 7.2-RELEASE-i386-disc3.iso

Далее следуют старнные сообщения но через какое товремя cd всё таки записывается успешно
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.1) Copyright (C) 1995-2004 JЖrg Schilling
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-115D'
Revision : '1.22'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 10 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Turning BURN-Free off
Track 01: Total bytes read/written: 587503616/587503616 (286867 sectors).

__________________________________

Ну если у вас оказаласб удачная конфигурация до должно работаь и вот это для записи болванки
burncd -f /dev/acd0 data 7.2-RELEASE-i386-disc3.iso fixate

Запись на перезаписываем сначала стираем
burncd -f /dev/acd0 blank
burncd -f /dev/acd0 data 7.2-RELEASE-i386-disc3.iso fixate

Комментариев нет: