======================================================
samiel@darkstar:~$ isoimage=/home/samiel/debian-11.1.0-amd64-netinst.iso
samiel@darkstar:~$ xorriso -as cdrecord -v dev=/dev/sr0 blank=as_needed $isoimage
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: CD-RW
Media status : is written , is closed
Media summary: 1 session, 193536 data blocks,  378m data,     0 free
Beginning to blank medium in mode 'fast'.
xorriso : UPDATE : Blanking  ( 1.0% done in 1 seconds )
...
xorriso : UPDATE : Blanking  ( 97.8% done in 53 seconds )
Blanking done
xorriso : NOTE : Re-assessing -outdev '/dev/sr0'
Drive current: -outdev '/dev/sr0'
Media current: CD-RW
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data,  703m free
Beginning to write data track.
xorriso : UPDATE : Thank you for being patient. Working since 0 seconds.
...
xorriso : UPDATE : Thank you for being patient. Working since 43 seconds.
xorriso : UPDATE :    0 of  378 MB written (fifo 99%) [buf 100%] 3.8x.
...
xorriso : UPDATE :  378 of  378 MB written (fifo  0%) [buf 100%] 0.0x.
xorriso : UPDATE : Thank you for being patient. Working since 728 seconds.
Writing to '/dev/sr0' completed successfully.

xorriso : NOTE : Re-assessing -outdev '/dev/sr0'
xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: CD-RW
Media status : is written , is closed
Media summary: 1 session, 193686 data blocks,  378m data,     0 free
======================================================
It's all ok!
Than I try to burn the ISO woth Brasero launching it by console:
======================================================
samiel@darkstar:~$ brasero

** (brasero:2837): WARNING **: 01:07:35.934: Could not establish a connection to Tracker: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Tracker3.Miner.Files was not provided by any .service files

(brasero:2837): Gtk-WARNING **: 01:08:01.131: Failed to fetch network locations: È stato raggiunto il timeout Sense key: 0x70 0x00 0x05 0x00 0x00 0x00 0x00 0x0a 0x00 0x40 0xa0 0x03 0x21 0x04 0x00 0x00 0x00 0x00 0x00
Segmentazion fault
======================================================
and Brasero crashes
dmesg:
======================================================
[ 1657.332142] sr 5:0:0:0: [sr0] tag#10 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK cmd_age=0s [ 1657.332151] sr 5:0:0:0: [sr0] tag#10 CDB: Prevent/Allow Medium Removal 1e 00 00 00 01 00 [ 1657.332231] brasero[2837]: segfault at 2f400 ip 00007fc57b9e0231 sp 00007ffecc8f6368 error 4 in libc-2.32.so[7fc57b8a7000+149000] [ 1657.332268] Code: 84 00 00 00 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 1f <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 20 83 e1
======================================================
I eject the CD-RW, inser it again and try to mount it:
======================================================
root@darkstar:~# mount /home/samiel/debian-11.1.0-amd64-netinst.iso /media/cdrom
mount: /media/cdrom0: WARNING: source write-protected, mounted read-only.
======================================================
In Nemo -- Devices now I see twice the CD-RW, the old one (not inspectable) and the new one (inspectable). But If I try to mount it not by console, but from Nemo (when there is only an occurence of the device) I receive:
======================================================
Impossible to mount debiam-11....iso
Error mounting /dev/sr0 at /media/samiel7Debian...: no medium found on /dev/sro
After this:
======================================================
samiel@darkstar:~$ isoimage=/home/samiel/debian-11.1.0-amd64-netinst.iso
samiel@darkstar:~$ xorriso -as cdrecord -v dev=/dev/sr0 blank=as_needed $isoimage
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.

libburn : FAILURE : SCSI command 12h yielded host problem: 0x4 SG_ERR_DID_BAD_TARGET (Bad target, device not responding ?)
libburn : FAILURE : Command: INQUIRY : 12 00 00 00 24 00  : dxfer_len= 36
libburn : FATAL : Lost connection to drive
xorriso : FAILURE : Cannot acquire drive '/dev/sr0'
xorriso : FAILURE : -as cdrecord: Job could not be performed properly.
xorriso : aborting : -abort_on 'FAILURE' encountered 'FATAL'
======================================================


Il 07/11/21 22:34, Thomas Schmitt ha scritto:
Did you already try what happens if you eject the CD and insert it again after spoiling the drive state with Brasero and before using the drive for mounting or for xorriso -toc ?

Reply via email to