LINUX.ORG.RU

Запись *.iso на DVD


0

0

Как-то никогда не приходилось писать диски из-под линукса. Теперь пришлось, но не получается:

astahl@localhost:~$ cdrecord -scanbus
scsibus2:
	2,0,0	200) 'HL-DT-ST' 'DVD-RAM GH22NS30' '1.00' Removable CD-ROM

дальше делаю так:

astahl@localhost:~$ cdrecord -v speed=8 dev=2,0,0 ~/torrents/debian-503-amd64-DVD-1.iso 
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD-RAM GH22NS30'
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1409024 = 1376 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 134400 kB/s 763x CD 97x DVD
FIFO size      : 12582912 = 12288 KB
Track 01: data  4479 MB        
Total size:     5144 MB (509:41.01) = 2293576 sectors
Lout start:     5144 MB (509:43/01) = 2293576 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 4920
Speed set to 11080 KB/s
Starting to write CD/DVD at speed   8.0 in real unknown mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01:    0 of 4479 MB written.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 80 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x80 (write error) [No matching qualifier] Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 1.831s timeout 40s

write track data: error after 0 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing  time:   12.245s
Average write speed 111.0x.
Fixating...
Fixating time:    0.002s
wodim: fifo had 191 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.
astahl@localhost:~$ 

И куда копать?

★★☆

Ответ на: комментарий от dexpl
astahl@localhost:~$ growisofs -dvd-compat -Z /dev/scd0=/home/astahl/torrents/debian-503-amd64-DVD-1.iso 
Executing 'builtin_dd if=/home/astahl/torrents/debian-503-amd64-DVD-1.iso of=/dev/scd0 obs=32k seek=0'
/dev/scd0: "Current Write Speed" is 4.1x1352KBps.
:-[ WRITE@LBA=0h failed with SK=3h/NO SEEK COMPLETE]: Input/output error
:-( write failed: Input/output error

хм... что-то тут не то.

Stahl ★★☆
() автор топика
Ответ на: комментарий от Stahl

/dev/scd0 ?

ls -l /dev/dvd* /dev/cd*
lrwxrwxrwx 1 root root 3 2009-10-14 11:53 /dev/cdrom1 -> hda
lrwxrwxrwx 1 root root 3 2009-10-14 11:53 /dev/cdrw1 -> hda
lrwxrwxrwx 1 root root 3 2009-10-14 11:53 /dev/dvd1 -> hda
lrwxrwxrwx 1 root root 3 2009-10-14 11:53 /dev/dvdrw1 -> hda
sdio ★★★★★
()
Ответ на: комментарий от sdio
astahl@localhost:~$ ls -l /dev/dvd* /dev/cd* /dev/scd*
lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/cdrom2 -> sr0
lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/cdrw2 -> sr0
lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/dvd2 -> sr0
lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/dvdrw2 -> sr0
lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/scd0 -> sr0
Stahl ★★☆
() автор топика
Ответ на: комментарий от dexpl

Хмм... На всякий случай, какие права на /dev/scd0, и кто его владелец?

lrwxrwxrwx 1 root root 3 Ноя 17 00:03 /dev/scd0 -> sr0

Ради такого дела разрешил всем и всё:)

Stahl ★★☆
() автор топика
Ответ на: комментарий от Stahl

Так, а что говорят

ls -l /dev/sr0
и
id
?

Ради такого дела разрешил всем и всё:)

Обычно в этом нет необходимости. Например, на Fedora

$ ls -l /dev/sr0 
brw-rw----+ 1 root cdrom 11, 0 Ноя 16 10:45 /dev/sr0
И соответственно,
$ id
uid=500(dexpl) gid=500(dexpl) группы=6(disk),488(mock),500(dexpl),502(vboxusers)

dexpl ★★★★★
()
Ответ на: комментарий от dexpl
ls -l /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Ноя 17 00:03 /dev/sr0

id
uid=1000(astahl) gid=1000(astahl) группы=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),1000(astahl)

И ещё, вдруг важно, дистр — Debian testing

Stahl ★★☆
() автор топика
Ответ на: комментарий от Stahl

ls -l /dev/sr0 brw-rw----+ 1 root cdrom 11, 0 Ноя 17 00:03 /dev/sr0

id uid=1000(astahl) gid=1000(astahl) группы=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),1000(astahl)

Т. о., дело не в правах, получается.

дистр — Debian testing

Вот что нагуглилось по цитате из первого поста "wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '2,0,0'".

BTW, может совсем уж неспортивный вариант — попробовать k3b?

dexpl ★★★★★
()
Ответ на: комментарий от dexpl

может совсем уж неспортивный вариант — попробовать k3b?


Пробовал и консольные вещи и графические. Результат аналогичный, только
проги с граф.интерфейсом обычно более скупо рассказывают о проблемах.

Блин, к чёрту эти диски.
Сделал загрузочную флешку и тащусь.

Stahl ★★☆
() автор топика
Ответ на: комментарий от los_nikos

пробовал из Wiki, переходит на пустой экран, а через поиск находит

los_nikos ★★★★★
()

Странно, у меня всегда в духе

wodim -v -eject speed=4 dev=/dev/dvdrw ./image.iso

работало. Правда сейчас в привод сдох и посмотреть не могу :}

Deleted
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.