LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 10 - iso problem w/cdrecord (https://www.linuxquestions.org/questions/slackware-14/slackware-10-iso-problem-w-cdrecord-238129/)

Dark_Helmet 10-03-2004 01:55 AM

Slackware 10 - iso problem w/cdrecord
 
Ok, somebody tell me what I'm doing wrong here:

1. Download slackware 10 iso images (install discs 1 and 2)
2. Verified md5sums (both checked out ok)
3. issued this command:
Code:

# cdrecord speed=10 dev=1,0,0 slackware-10.0-install-d1.iso
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R  PX-W4012A'
Revision      : '1.02'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags  : SWABAUDIO
cdrecord: WARNING: Data may not fit on current disk.
cdrecord: Notice: Most recorders cannot write CD's >= 90 minutes.
cdrecord: Notice: Use -ignsize option to allow >= 90 minutes.
cdrecord: Cannot write CD's >= 100 minutes.

4. Just for jollies, I issued the command with the -ignsize option and got essentially the same error: Cannot write CD's >= 100 minutes.

I'm using a 700MB CD-RW disc, and this is the output from ls:
Code:

# ls -lh slackware*d[12].iso
-rw-rw-r--    1 helmet  helmet      651M Oct  2 20:46 slackware-10.0-install-d1.iso
-rw-rw-r--    1 helmet  helmet      664M Oct  3 00:11 slackware-10.0-install-d2.iso

I'm really at a loss here. Why is cdrecord refusing to burn the image? Obviously, it thinks the image will take more space on disc that it's taking as an image, and I have no clue why that is. Am I missing an option? I read over the cdrecord man pages and didn't see anything that jumped out at me. Any help would be appreciated.

Shade 10-03-2004 01:59 AM

The command that always works for me is pretty simple as well..

cdrecord -v dev=ATAPI:0,0,0 speed=48 image.iso

The -v switch may tell you more about the problem. I'd try downloading again from another mirror. Since the iso MD5 checks out OK, I'd suspect your IDE controller or the cables.

It's possible that may be causing corruption between the transmit of data and the signal to the CD writer. You must be using a 2.4.x kernel, or you wouldn't be using SCSI emulation. in 2.6 kernels, It's no longer necessary.

--Shade

Dark_Helmet 10-03-2004 02:24 AM

It's actually an external USB drive... I don't know if that would make any difference (I wouldn't think so). And yeah, I'm using a 2.4 series kernel.

I kicked off the command with the verbose option, and it confirmed what I was suspecting: cdrecord is expanding the image size for some reason. The juicy parts of the output are:
Code:

Track 01: data  651 MB
Total size:    747 MB (74:05.46) = 333410 sectors
Lout start:    748 MB (74:07/35) = 333410 sectors

Clearly, it sees the image as 651 MB, but it's gaining 96 more meg when referring to "total size".

I downloaded directly from one of slackware's listed ftp mirrors ( ftp.biochem.uthscsa.edu ). The md5sum provided is:
2464f68acde7b4ad197e2a77a5ac5dc9

That's the same md5sum listed through LQ's iso download. So I'm reasonably confident the image is good, but for a sanity check, I'll try another mirror.

skubee 10-03-2004 08:07 AM

ummm just a shot in the dark. but is the cd-rw blank? :D

Dark_Helmet 10-03-2004 01:31 PM

I wish it were that simple :)

I'm using CD-Rs instead of RWs. So it's definitely blank (took it straight from the spindle).

I went looking for another image, but the slackware maintainers decided not to provide the iso images, and hence, the mirrors don't provide the images. I guess I was "lucky" that the ftp site I tried first had them. They expect you to use bittorrent to download them, and I don't have bittorrent. Trying to install bittorrent ran into errors compiling wxWidgets (an unresolved #define). There were no rpms I could find to install wxWidgets, wxPython, or bittorrent for that matter. So, at this point, I'm going to pass on slackware and try another distribution. I wanted to try something other than Red Hat, Suse, and Mandrake. I guess it'll be Debian now.

I appreciate the help. I'd like to give slack a try, but there are too many hoops to jump through to get my hands on it. It's the only iso I've come across that has this ">= 100 minutes" error with cdrecord. I don't know... maybe as a last shot, I'll mount the CD in loopback, and try to create an iso image from the loopback. Oh well...

gbonvehi 10-03-2004 01:55 PM

Two fast places from slackware.com's list:
http://ftp.scarlet.be/pub/slackware/slackware-10.0-iso/
http://mirror.switch.ch/ftp/mirror/s...ware-10.0-iso/

Also, to use bittorrent you could use Bittorrent.com's client, the one that says curses that doesn't require more than python (if you use the one that says gui you need wxpython) or Azureus (azureus.sourceforge.net) which is written in java so it can run everywhere only needing java :)

Btw, the cdrecord command looks good, I guess it shows another size because that's the physical size of the cd. But the image and data takes only 650.

Tuttle 10-03-2004 02:28 PM

I think the lead in/out is always large (in excess of 50mb) so thats where the extra is, but it should still burn. Have you tried "-overburn" option? this should reduce the extra leadout space i think

Dark_Helmet 10-03-2004 04:14 PM

skubee:
It turns out you weren't far off. The CD-R was unused, but apparently corrupted/scratched/whatever. I decided to burn an iso I know worked, and got a similar error. I took another disc, and cdrecord was perfectly happy. I guess it's bound to happen at least once out of 100.

Thanks for the help everyone.

skubee 10-03-2004 08:48 PM

yay! :)

btw. i found this link usefull for slackware mirrors and such

http://www.abnormalpenguin.com/slackware-mirrors.php


All times are GMT -5. The time now is 05:20 AM.