Heya, everyone..
I've run into a bit of trouble, trying to burn a CD, using my CDRW,
and devfs. I've tried using 3 different versions of cdrecord (1.8, 1.9, and
1.10a4), with all of them giving me the same error. All the proper modules are
loaded, devfs is compiled into my kernel, and I have followed all the
documentation I could find. the CD-Writing HOWTO barely mentions DevFS, and
hasn't been updated since July 23rd, so I'm kinda stumped. Here's what I have:
First, my modules:
Module Size Used by
ppp_deflate 40864 0 (autoclean)
bsd_comp 3888 0 (autoclean)
ppp 20240 2 (autoclean) [ppp_deflate bsd_comp]
slhc 4544 1 (autoclean) [ppp]
ide-scsi 7360 0
sg 12288 0
softdog 1296 1 (autoclean)
ip_masq_user 2672 0 (unused)
ip_masq_raudio 3008 0 (unused)
ip_masq_ftp 2656 0 (unused)
ne 6736 1 (autoclean)
8390 6432 0 (autoclean) [ne]
sr_mod 17264 0 (autoclean) (unused)
scsi_mod 52480 3 (autoclean) [ide-scsi sg sr_mod]
cdrom 27616 0 (autoclean) [sr_mod]
isofs 17840 0 (autoclean) (unused)
serial 18752 1
unix 10416 10 (autoclean)
dmesg shows what devices I have:
scsi : 1 host.
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 0, lun 1
Detected scsi CD-ROM sr2 at scsi0, channel 0, id 0, lun 2
Detected scsi CD-ROM sr3 at scsi0, channel 0, id 0, lun 3
Detected scsi CD-ROM sr4 at scsi0, channel 0, id 0, lun 4
Detected scsi CD-ROM sr5 at scsi0, channel 0, id 0, lun 5
Detected scsi CD-ROM sr6 at scsi0, channel 0, id 0, lun 6
Detected scsi CD-ROM sr7 at scsi0, channel 0, id 0, lun 7
sr0: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr2: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr3: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr4: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr5: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr6: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
sr7: scsi3-mmc drive: 10x/10x writer cd/rw xa/form2 cdda tray
With the sg module loaded, according to the CD-Writing HOWTO, I am
supposed to write to /dev/sg0, which I have linked /dev/cdrom (note: not
cdroms) to.
cdrecord -scanbus give me:
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Using libscg version 'schily-0.1'
scsibus0:
0,0,0 0) 'TEAC ' 'CD-W54E ' '1.1B' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
So, I have my CDRW seen.
cdrecord -v dev=0,0,0 speed=2 -data cdr.image blank=fast (for my CDRW disk)
gives me:
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.1'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'TEAC '
Identifikation : 'CD-W54E '
Revision : '1.1B'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1300480 = 1270 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 616 MB
Total size: 708 MB (70:11.82) = 315887 sectors
Lout start: 708 MB (70:13/62) = 315887 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11078 (97:34/22)
ATIP start of lead out: 336075 (74:43/00)
speed low: 0 speed high: 4
power mult factor: 3 5
recommended erase/write power: 3
A2 values: 00 00 00
Disk type: phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Trying to clear drive status.
cdrecord: Drive needs to reload the media to return to proper status.
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
cdrecord: Input/output error. read track info: scsi sendcmd: retryable error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 240s
Writing time: 4.454s
Fixating...
Fixating time: 0.002s
cdrecord: fifo had 128 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
This DOES WORK, when I do not use DevFS. I would rather try to get
this to work, rather than mount devpts, disable devfsd, and reboot, so I can
burn a CD. Has anyone tried doing this, or have had any similar problems? I am
doing this on kernel 2.2.17, with devfsd-1.3.10 and devfs-0.99.18.
BL.
--
Brad Littlejohn | Email: tyketto@xxxxxxxxxx
Unix Systems Administrator, | tyketto@xxxxxxxxxxxxxx
Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto
PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF
|