View previous topic :: View next topic |
Author |
Message |
rayen99 n00b

Joined: 14 Oct 2005 Posts: 4
|
Posted: Fri Oct 14, 2005 5:28 pm Post subject: CD Burning - cdrecord bombs out, ide-scsi device vanishes |
|
|
I'm new to Linux CD burning, but I'd really like to get this working. Here's my problem, when I try to do a test burn of a CD with cdrecord it looks like it's going to record but instead starts spitting out the following error "cdrecord: No such device or address. Cannot send SCSI cmd via ioctl" over and over again (it scrolls a million times a second off the edge of the screen). At that point if I press ^C it'll quit and say "Segmentation Fault". Below is the output I get from running "cdrecord -dummy dev=1,0,0 /usr/tmp/test.raw"
Code: | cdrecord: Warning: Running on Linux-2.6.11-gentoo-r11
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.32
SCSI buffer size: 64512
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 1 = CD-ROM
Waiting for data on stdin...
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree,noforcespeed'
atapi: 1
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : ' '
Identifikation : 'RW-241040 '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1359872 = 1328 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 230 KB
Total size: 0 MB (00:04.00) = 300 sectors
Lout start: 1 MB (00:06/00) = 300 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: -11635 (97:26/65)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
power mult factor: 4 6
recommended erase/write power: 3
A1 values: 02 4C B0
A2 values: 00 00 00
Disk type: Phase change
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 359549
Forcespeed is OFF.
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Waiting for reader process to fill input buffer ...
input buffer ready.
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 00 00 00 00 00 00 00 00
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 199.970s timeout 200s
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
cdrecord: No such device or address. Cannot send SCSI cmd via ioctl
...
|
I've got SCSI emulation, ATAPI support, and all that compiled in my kernel. Along with an ide-scsi boot option for my CDRW drive. Also before trying to burn, if I do a cdrecord -scanbus the drive shows up fine. But after I try burning there no longer is any cd device. -scanbus will find nothing and the /dev/sg* device that was there before I tried burning is gone. I don't know what to check or do.... So any kind of suggestions will be helpful thanks. |
|
Back to top |
|
 |
dwblas Guru

Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Sat Oct 15, 2005 3:25 am Post subject: |
|
|
I'm not that knowledgeable but the dev changed in the last year. Try dev=ATAPI:1,0,0 i.e. cd drives are no longer SCSI devices unless you are using an old kernel. |
|
Back to top |
|
 |
bollucks l33t

Joined: 27 Oct 2004 Posts: 606
|
Posted: Sat Oct 15, 2005 4:45 am Post subject: |
|
|
Not even that; just plain
cdrecord dev=/dev/hdc
for 2.6 kernels.
Get rid if that scsi emulation in your boot parameters; it has no place on ATAPI devices any more. |
|
Back to top |
|
 |
rayen99 n00b

Joined: 14 Oct 2005 Posts: 4
|
Posted: Tue Oct 18, 2005 7:58 pm Post subject: |
|
|
Thanks for your replies. I tried it with ATAPI and it worked, but was kinda slow. It gave me a warning about DMA being off. So I'm going to mess with hdparm a bit and see if I can figure that one out. Thanks again. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|