LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-07-2003, 02:46 PM   #1
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
cdrecord - iso won't boot; md5s don't match


I'm on the ropes again. I've about had it with Slack and Linux. I go through these phases where I love Linux and I freaking HATE it. I am *sick* of trying to make *peripherals* work. I do *not* want to be a Guru of All Things. I want to settle down to some nice bash and grep man pages and start scripting text manipulation tools and whatnot. I do *not* want to learn about 'pads' and 'DAO' and 'scsi-emulation' and all this... crap.

Anyway - to the issue: trying to burn a bootable .iso because I was clued in to a Slack live CD and really don't want to reboot into Windows so I can burn it. (Which works flawlessly, btw.)

I should have posted this a long time ago. Now I'm so confused I don't remember what I tried and what the errors were. Long story short, the thing doesn't boot and the md5 doesn't match. At best, there's what looks like a good file system there, but that's it. (The iso md5 and what I downloaded *do* match - just not what I burn.) At worst, it's a coaster.

A couple of the many things I've tried to read is
http://www.troubleshooters.com/linux/cdrw.htm
and
http://www.troubleshooters.com/linux/coasterless.htm
which seem to have screwed me up worse. I've also been reading every cd-related thread here at LQ that's come up for the past few *weeks*.

There's like a '-b' option on cdrecord that I missed somewhere that makes it bootable, right? I just know it's something either impossible or incredibly, mind-blowingly simple. And I was so happy when I got it to burn anything at all and play CDs and let me do so as user and so on. *sigh* - this last step is killing me.

Don't ask me 'What errors were you getting?' because the answer is extremely long. I'm posting some of them anyway. Sorry - but it can be skipped.

The last bit was mostly:

|--digiot@slackath Thu Aug 07 11:57:24
|--bash 2.05b ~ $ cdcheck.sh

|--digiot@slackath Thu Aug 07 11:57:56
|--bash 2.05b ~ $ cdcheck.sh livecd-2.9.0.20.iso
cat: /dev/sr0: Permission denied

|--digiot@slackath Thu Aug 07 11:58:11
|--bash 2.05b ~ $ su
Password:

|--root@slackath Thu Aug 07 11:58:23
|-bash 2.05b /home/digiot $ ./cdcheck.sh livecd-2.9.0.20.iso
cat: /dev/sr0: Input/output error

|--root@slackath Thu Aug 07 11:59:54
|-bash 2.05b /home/digiot $ less test.md5

|--root@slackath Thu Aug 07 12:01:11
|-bash 2.05b /home/digiot $ mount /mnt/cdrw
mount: block device /dev/sr0 is write-protected, mounting read-only

|--root@slackath Thu Aug 07 12:01:22
|-bash 2.05b /home/digiot $ ./cdcheck.sh livecd-2.9.0.20.iso
cat: /dev/sr0: Input/output error

|--root@slackath Thu Aug 07 12:03:29
|-bash 2.05b /home/digiot $ less test.md5

|--root@slackath Thu Aug 07 12:05:30
|-bash 2.05b /home/digiot $ umount /mnt/cdrw

|--root@slackath Thu Aug 07 12:06:50
|-bash 2.05b /home/digiot $ mount /mnt/cdrw
mount: block device /dev/sr0 is write-protected, mounting read-only

|--root@slackath Thu Aug 07 12:06:58
|-bash 2.05b /home/digiot $ ./cdcheck.sh livecd-2.9.0.20.iso
cat: /dev/sr0: Input/output error

|--root@slackath Thu Aug 07 12:08:23
|-bash 2.05b /home/digiot $ less test.md5

|--root@slackath Thu Aug 07 12:10:21
|-bash 2.05b /home/digiot $ locate isoinfo
/usr/bin/isoinfo
/usr/man/man8/isoinfo.8.gz

|--root@slackath Thu Aug 07 12:14:40
|-bash 2.05b /home/digiot $ ./rawread.sh /dev/sr0 | md5sum
dd if=/dev/sr0 bs=2048 count=92112 conv=notrunc,noerror
dd: reading `/dev/sr0': Input/output error
92068+0 records in
92068+0 records out
dd: reading `/dev/sr0': Input/output error
92069+0 records in
92069+0 records out
dd: reading `/dev/sr0': Input/output error
92070+0 records in
92070+0 records out
dd: reading `/dev/sr0': Input/output error
92071+0 records in
92071+0 records out
dd: reading `/dev/sr0': Input/output error
92072+0 records in
92072+0 records out
dd: reading `/dev/sr0': Input/output error
92073+0 records in
92073+0 records out
dd: reading `/dev/sr0': Input/output error
92074+0 records in
92074+0 records out
dd: reading `/dev/sr0': Input/output error
92075+0 records in
92075+0 records out
dd: reading `/dev/sr0': Input/output error
92076+0 records in
92076+0 records out
dd: reading `/dev/sr0': Input/output error
92077+0 records in
92077+0 records out
dd: reading `/dev/sr0': Input/output error
92078+0 records in
92078+0 records out
dd: reading `/dev/sr0': Input/output error
92079+0 records in
92079+0 records out
dd: reading `/dev/sr0': Input/output error
92080+0 records in
92080+0 records out
dd: reading `/dev/sr0': Input/output error
92081+0 records in
92081+0 records out
dd: reading `/dev/sr0': Input/output error
92082+0 records in
92082+0 records out
dd: reading `/dev/sr0': Input/output error
92083+0 records in
92083+0 records out
dd: reading `/dev/sr0': Input/output error
92084+0 records in
92084+0 records out
dd: reading `/dev/sr0': Input/output error
92085+0 records in
92085+0 records out
dd: reading `/dev/sr0': Input/output error
92086+0 records in
92086+0 records out
dd: reading `/dev/sr0': Input/output error
92087+0 records in
92087+0 records out
dd: reading `/dev/sr0': Input/output error
92088+0 records in
92088+0 records out
dd: reading `/dev/sr0': Input/output error
92089+0 records in
92089+0 records out
dd: reading `/dev/sr0': Input/output error
92090+0 records in
92090+0 records out
dd: reading `/dev/sr0': Input/output error
92090+0 records in
92090+0 records out
92090+0 records in
92090+0 records out
2ec353f4af2d0a0c802894d7425c2ef5 -

|--root@slackath Thu Aug 07 12:17:10
|-bash 2.05b /home/digiot $ man isoinfo
Formatting page, please wait...

|--root@slackath Thu Aug 07 12:22:40
|-bash 2.05b /home/digiot $ isoinfo -i livecd-2.9.0.20.iso

|--root@slackath Thu Aug 07 12:22:55
|-bash 2.05b /home/digiot $ man isoinfo

|--root@slackath Thu Aug 07 12:23:26
|-bash 2.05b /home/digiot $ isoinfo -d -i livecd-2.9.0.20.iso
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: Slackware-Live
Volume set id:
Publisher id:
Data preparer id:
Application id: Slackware-Live
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 92112
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found

|--root@slackath Thu Aug 07 12:23:32
|-bash 2.05b /home/digiot $ dd if=/dev/cdrom bs=2048 count= 329989
dd: invalid number `'

|--root@slackath Thu Aug 07 12:24:24
|-bash 2.05b /home/digiot $ dd if=/dev/sr0 bs=2048 count= 92112
dd: invalid number `'

|--root@slackath Thu Aug 07 12:24:50
|-bash 2.05b /home/digiot $ man dd
Formatting page, please wait...

|--root@slackath Thu Aug 07 12:25:43
|-bash 2.05b /home/digiot $ dmesg | grep -i hdd
Kernel command line: BOOT_IMAGE=Slack ro root=341 hdc=ide=scsi hdd=ide-scsi
ide_setup: hdd=ide-scsi
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc: DMA, hdd: DMA
hdd: CD-RW IDE5224, ATAPI CD/DVD-ROM drive

|--root@slackath Thu Aug 07 12:25:50
|-bash 2.05b /home/digiot $ cdrecord dev=0,0,0 blank=fast -v -eject
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'CDWRITER'
Identifikation : 'IDE5224 '
Revision : '001H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1951488 = 1905 KB
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 46.751s

|--root@slackath Thu Aug 07 12:33:22
|-bash 2.05b /home/digiot $ cdrecord dev=0,0,0 -pad -v -eject livecd-2.9.0.20.iso
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'CDWRITER'
Identifikation : 'IDE5224 '
Revision : '001H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1951488 = 1905 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 179 MB padsize: 30 KB
Total size: 206 MB (20:28.38) = 92129 sectors
Lout start: 206 MB (20:30/29) = 92129 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 267720
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01: 2 of 179 MB written (fifo 100%) [buf 96%]
2.1x.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 04 3D 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 71 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.044s timeout 40s

write track data: error after 2222080 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing time: 11.280s
Average write speed 139.0x.
Min drive buffer fill was 96%
Fixating...
Fixating time: 65.080s
cdrecord: fifo had 99 puts and 36 gets.
cdrecord: fifo was 0 times empty and 16 times full, min fill was 81%.

|--root@slackath Thu Aug 07 12:35:18
|-bash 2.05b /home/digiot $ cdrecord dev=0,0,0 speed=4 blank=fast -v -eject
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'CDWRITER'
Identifikation : 'IDE5224 '
Revision : '001H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1951488 = 1905 KB
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 47.371s

|--root@slackath Thu Aug 07 12:36:33
|-bash 2.05b /home/digiot $ cdrecord dev=0,0,0 speed=4 -pad -v -eject livecd-2.9.0.20.iso
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'CDWRITER'
Identifikation : 'IDE5224 '
Revision : '001H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1951488 = 1905 KB
FIFO size : 4194304 = 4096 KB
cdrecord: Drive does not support TAO recording.
cdrecord: Illegal write mode for this drive.

|--root@slackath Thu Aug 07 12:36:54
|-bash 2.05b /home/digiot $ cdrecord dev=0,0,0 speed=4 -v -eject livecd-2.9.0.20.iso
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'CDWRITER'
Identifikation : 'IDE5224 '
Revision : '001H'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1951488 = 1905 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 179 MB
Total size: 206 MB (20:28.18) = 92114 sectors
Lout start: 206 MB (20:30/14) = 92114 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 267735
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01: 179 of 179 MB written (fifo 100%) [buf 96%] 4.0x.
Track 01: Total bytes read/written: 188645376/188645376 (92112 sectors).
Writing time: 312.099s
Average write speed 4.0x.
Min drive buffer fill was 95%
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 72 01 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x72 Qual 0x01 (session fixation error writing lead-in) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 3.049s timeout 480s
cmd finished after 3.049s timeout 480s
Fixating time: 3.052s
cdrecord: fifo had 2972 puts and 2972 gets.
cdrecord: fifo was 0 times empty and 2827 times full, min fill was 81%.

|--root@slackath Thu Aug 07 12:42:47
|-bash 2.05b /home/digiot $ ./cdcheck.sh livecd-2.9.0.20.iso

|--root@slackath Thu Aug 07 12:43:51
|-bash 2.05b /home/digiot $ mount /mnt/cdrw /dev/sr0: Invalid argument
mount: block device /dev/sr0 is write-protected, mounting read-only
/dev/sr0: Invalid argument
mount: /dev/sr0 already mounted or /mnt/cdrw busy
mount: according to mtab, /dev/sr0 is already mounted on /mnt/cdrw

|--root@slackath Thu Aug 07 12:44:14
|-bash 2.05b /home/digiot $ umount /mnt/cdrw

|--root@slackath Thu Aug 07 12:44:23
|-bash 2.05b /home/digiot $ mount /mnt/cdrw
/dev/sr0: Invalid argument
mount: block device /dev/sr0 is write-protected, mounting read-only
/dev/sr0: Invalid argument
mount: you must specify the filesystem type



AAARRRRGGGHHH!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Burning an ISO with cdrecord bmccorm2 Linux - General 10 12-07-2005 11:19 AM
SUSE MD5 checksum for DVD ISO refuses to match tisource SUSE / openSUSE 1 02-07-2005 05:26 PM
Pro ISO MD5s? NeoMagick SUSE / openSUSE 2 01-05-2005 06:32 AM
cdrecord for .iso fails tarheel92x Linux - Software 2 11-08-2004 09:05 PM
Slackware 10 - iso problem w/cdrecord Dark_Helmet Slackware 8 10-03-2004 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration