Gentoo Archives: gentoo-user

From: Frank Scheiner <frank.scheiner@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Booting minimal installer ISO on rx4640 and rx2660 fails
Date: Thu, 17 Aug 2017 12:24:50
Message-Id: aa469eaa-8636-fe80-7358-4a18540f1f52@web.de
In Reply to: Re: [gentoo-user] Booting minimal installer ISO on rx4640 and rx2660 fails by mad.scientist.at.large@tutanota.com
1 Mick and mad.scientist.at.large - thanks for your suggestions so far.
2
3 On 08/17/2017 12:14 PM, mad.scientist.at.large@××××××××.com wrote:
4 > Last time i used it, Brasero didn't have an option to verify the just
5 > burned disk, you likely have a bad burn.
6
7 The Brasero version as used by me has an option to verify the burned
8 disk, which was active and succeeded for the first one burned with the
9 DVDRW drive (the minimal installer from 20170810) in my docking station.
10
11 But now checking the contents by using dd and sha512sum (`dd if=/dev/sr0
12 bs=2048 count=$(( $ISO_FILE_SIZE_IN_BYTES / 2048)) | sha512sum`) indeed
13 showed differences and dd complained about not being able to copy the
14 last block. I then also checked the burned CDROMs with the cdck tool and
15 this also complained about unreadable blocks at the end of the CDROMs.
16
17 Checking one of my older CDROMs, the last blocks seem to be foobar
18 there, too. :-(
19
20 Very strange, as I didn't have problems in the past with CDROMs burned
21 on this DVDRW drive or with an external USB-DVDRW.
22
23 I now changed to another machine with a "non-laptop" DVDRW drive (an HP
24 DVD-RAM GH40L) and burned the older ISO to a CDROM with the wodim tool
25 and using DAO/SAO mode:
26
27 ```
28 # time wodim -dao -v dev=/dev/sg0 -eject
29 iso/gentoo/ia64/install-ia64-minimal-20170627.iso
30 TOC Type: 1 = CD-ROM
31 scsidev: '/dev/sg0'
32 devname: '/dev/sg0'
33 scsibus: -2 target: -2 lun: -2
34 Linux sg driver version: 3.5.34
35 Wodim version: 1.1.11
36 SCSI buffer size: 64512
37 Device type : Removable CD-ROM
38 Version : 5
39 Response Format: 2
40 Capabilities :
41 Vendor_info : 'hp '
42 Identification : 'DVD-RAM GH40L '
43 Revision : 'RB12'
44 Device seems to be: Generic mmc2 DVD-R/DVD-RW.
45 Current: 0x0009 (CD-R)
46 Profile: 0x0012 (DVD-RAM)
47 Profile: 0x0011 (DVD-R sequential recording)
48 Profile: 0x0015 (DVD-R/DL sequential recording)
49 Profile: 0x0016 (DVD-R/DL layer jump recording)
50 Profile: 0x0014 (DVD-RW sequential recording)
51 Profile: 0x0013 (DVD-RW restricted overwrite)
52 Profile: 0x001A (DVD+RW)
53 Profile: 0x001B (DVD+R)
54 Profile: 0x002B (DVD+R/DL)
55 Profile: 0x0010 (DVD-ROM)
56 Profile: 0x0009 (CD-R) (current)
57 Profile: 0x000A (CD-RW)
58 Profile: 0x0008 (CD-ROM)
59 Profile: 0x0002 (Removable disk)
60 Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
61 Driver flags : MMC-3 SWABAUDIO BURNFREE
62 Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
63 Drive buf size : 1016064 = 992 KB
64 Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
65 communication breaks or freezes immediately after that.
66 Drive DMA Speed: 16047 kB/s 91x CD 11x DVD
67 FIFO size : 12582912 = 12288 KB
68 Track 01: data 168 MB
69 Total size: 193 MB (19:10.54) = 86291 sectors
70 Lout start: 193 MB (19:12/41) = 86291 sectors
71 Current Secsize: 2048
72 ATIP info from disk:
73 Indicated writing power: 5
74 Is not unrestricted
75 Is not erasable
76 Disk sub type: Medium Type B, low Beta category (B-) (4)
77 ATIP start of lead in: -12369 (97:17/06)
78 ATIP start of lead out: 359849 (79:59/74)
79 Disk type: Short strategy type (Phthalocyanine or similar)
80 Manuf. index: 69
81 Manufacturer: Moser Baer India Limited
82 Manufacturer is guessed because of the orange forum embargo.
83 The orange forum likes to get money for recent information.
84 The information for this media may not be correct.
85 Blocks total: 359849 Blocks current: 359849 Blocks remaining: 273558
86 Speed set to 7057 KB/s
87 Starting to write CD/DVD at speed 40.0 in real SAO mode for single session.
88 Last chance to quit, starting real write in 1 seconds.
89 0 seconds. Operation starts.
90 Waiting for reader process to fill input buffer ... input buffer ready.
91 Performing OPC...
92 Sending CUE sheet...
93 Writing pregap for track 1 at -150
94 Starting new track at sector: 0
95 Track 01: 168 of 168 MB written (fifo 100%) [buf 96%] 27.0x.
96 Track 01: Total bytes read/written: 176723968/176723968 (86291 sectors).
97 Writing time: 68.732s
98 Average write speed 16.8x.
99 Min drive buffer fill was 92%
100 Fixating...
101 Fixating time: 3.865s
102 wodim: fifo had 2784 puts and 2784 gets.
103 wodim: fifo was 0 times empty and 2361 times full, min fill was 95%.
104
105 real 1m24.320s
106 user 0m0.044s
107 sys 0m0.596s
108
109 # cdck -t -d /dev/sr0
110
111 NB! For disks written with some burners cdck might
112 report about unreadable sectors at the end of the disk.
113 In such cases you can just ignore those warnings.
114
115 Reading sectors 1-86291
116 86288 ok
117
118 CD overall:
119 Sectors total: 86291:
120 Good sectors: 86291:
121 Bad sectors (incl. with poor timing): 0
122 CD timings:
123 Minimal = 1 usec (0.000001s)
124 Maximal = 49935 usec (0.049935s)
125 Average = 614 usec (0.000614s)
126
127 Conclusion:
128 Excellent disc!
129
130 # dd if=/dev/sr0 bs=2048 count=86291 of=file.iso
131 86291+0 records in
132 86291+0 records out
133 176723968 bytes (177 MB) copied, 54.9074 s, 3.2 MB/s
134
135 # sha512sum file.iso install-ia64-minimal-20170627.iso
136 7e21de1c31fd633466f9ffac54f9a01e64cd6cb461ef691a110453e1ecfba06fa6d736189594ffeb0a41b29d8297d869f4e440e6b75287311d0b36f9d9f92e40
137 file.iso
138 7e21de1c31fd633466f9ffac54f9a01e64cd6cb461ef691a110453e1ecfba06fa6d736189594ffeb0a41b29d8297d869f4e440e6b75287311d0b36f9d9f92e40
139 install-ia64-minimal-20170627.iso
140 ```
141
142 This time the burned CDROM seems to be fully OK (including the last
143 blocks), but...
144
145 ...it still doesn't work and gives the same symptoms I already described
146 (just tested in my rx4640).
147
148 > Dvd burns frequently go wrong, with my current media/burner they fail
149 > 5-10% of the time so far and that's typical in my experiance (though the
150 > age of my hardware is doubtless also part of such issues).
151
152 I can confirm these high error rates for DVDROMs from my past
153 experience, but I burned CDROMs and hence assumed none of these
154 problems. But apparently that was wrong to assume. :-/