Bon tuyaux Linux / *BSD  -   Lundi 3 Juillet 2006

<Précédent Suivant>

Finaliser une session DVD ROM
Catégorie : FreeBSD
par hika hika AT bsdmon DOT com Homepage : http://www.bsdmon.com

Utilisateur de K3B / Growisofs, s'il vous arrive d'avoir une gravure de DVD qui foire avant ou sur la fermeture d'une session, vous avez peut être une chance de sauver votre galette :)

Vérifier d'abord l'état de votre disque. Dans mon cas :

$ dvd+rw-mediainfo /dev/cd0        
INQUIRY:                [HL-DT-ST][DVDRAM GSA-4081B][A100]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Bh, DVD+R
 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 -> 2295103]
 Speed Descriptor#0:    02/2295103 R@3.3x1385=4584KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    02/2295103 R@3.3x1385=4584KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       A1h, DVD+R book [revision 1]
 Media ID:              IS01/001
 Legacy lead-out at:    2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:           appendable
 Number of Sessions:    1
 State of Last Session: incomplete
 "Next" Track:          1
 Number of Tracks:      1
READ TRACK INFORMATION[#1]:
 Track State:           invisible
 Track Start Address:   0*2KB
 Next Writable Address: 2271744*2KB
 Free Blocks:           23360*2KB
 Track Size:            2295104*2KB
 Last Recorded Address: 2271743*2KB
READ CAPACITY:          0*2048=0

A noter le "appendable" et "incomplete". Je me suis dit que les données y étaient, mais qu'il manquait quelque chose pour rendre le DVD lisible.

Avec la commande suivante, cela m'a permis de forcer une "fausse" gravure sur le media, qui déclenche la finalisation de la session.
$ growisofs -Z /dev/cd0=/dev/zero  
Executing 'builtin_dd if=/dev/zero of=/dev/pass0 obs=32k seek=0'
/dev/pass0: "Current Write Speed" is 4.1x1385KBps.
:-? resuming track#1 from LBA#2271744
1528201216/4700372992 (32.5%) @159.3x, remaining 0:12 RBU 0.0%
2275278848/4700372992 (48.4%) @157.1x, remaining 0:10 RBU 0.0%
3026976768/4700372992 (64.4%) @158.9x, remaining 0:07 RBU 0.0%
3783589888/4700372992 (80.5%) @159.1x, remaining 0:03 RBU 0.0%
4509302784/4700372992 (95.9%) @151.7x, remaining 0:00 RBU 0.0%
4653776896/4700372992 (99.0%) @30.6x, remaining 0:00 RBU 100.0%
4653776896/4700372992 (99.0%) @0.0x, remaining 0:00 RBU 100.0%
4663738368/4700372992 (99.2%) @2.1x, remaining 0:00 RBU 100.0%
4682252288/4700372992 (99.6%) @3.9x, remaining 0:00 RBU 100.0%
4700340224/4700372992 (100.0%) @3.8x, remaining 0:00 RBU 100.0%
:-[ WRITE@LBA=230540h failed with SK=5h/ASC=21h/ACQ=00h]: No space left on device
:-( write failed: No space left on device
/dev/pass0: flushing cache
/dev/pass0: closing track
/dev/pass0: closing session


Un petit coup de vérification.
$ dvd+rw-mediainfo /dev/cd0      
INQUIRY:                [HL-DT-ST][DVDRAM GSA-4081B][A100]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Bh, DVD+R
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:        4.0x1385=5540KB/s
 Write Speed #1:        2.4x1385=3324KB/s
 Speed Descriptor#0:    02/2295103 R@3.3x1385=4584KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    02/2295103 R@3.3x1385=4584KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       A1h, DVD+R book [revision 1]
 Media ID:              IS01/001
 Legacy lead-out at:    2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
READ TRACK INFORMATION[#1]:
 Track State:           invisible
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            2295104*2KB
 Last Recorded Address: 2295103*2KB
FABRICATED TOC:
 Track#1  :             14@0
 Track#AA :             14@2295104
 Multi-session Info:    #1@0
READ CAPACITY:          2295104*2048=4700372992


Au miracle, je vois des "complete " et le DVD se "mount" bien.

<Précédent Suivant>
FreeBSD Mall Smarty Template Engine Page générée le Mercredi 24 Avril 2024 00:31:56 Powered by FreeBSD
POWERED BY FreeBSD, Apache, PHP, PostgreSQL, Code & design by Hika
BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.