Greetings,

I've installed cdrtools-1.10 on my Linux box. Something must be wrong, 
because I can't write a CD.

First, I'm going to describe what I did to install cdrtools...

tar xzf cdrtools-1.10.tar.gz
cd cdrtools-1.10
./Gmake.linux

Everything went fine, except for some files not found, which I don't if it's 
ok.

./Gmake.linux install
cd /opt/schily
cp -R * /usr

Then I ran "scgcheck", and the output was:

Scgcheck 1.10 (i686-pc-linux-gnu) SCSI user level transport library ABI 
checker.
Copyright (C) 1998,2001 J�rg Schilling
Checking if your implementation supports to scan the SCSI bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.5'
Using libscg transport code version 'schily-scsi-linux-sg.c-1.66'
Using kernel transport code version '3.1.19'
Using remote transport code version '<data unavaiable>-<data unavaiable>'
Max DMA buffer size: 32768
scsibus0:
        0,0,0     0) 'WDIGTL  ' 'WDE18310 ULTRA2 ' '1.30' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) 'PLEXTOR ' 'CD-R   PX-W1210S' '1.01' Removable CD-ROM
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'CREATIVE' 'CD5230E         ' '1.01' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
----------> SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
Trying to open device: '0,4,0'.
Using libscg version 'schily-0.5'
Using libscg transport code version 'schily-scsi-linux-sg.c-1.66'
Using kernel transport code version '3.1.19'
Using remote transport code version '<data unavaiable>-<data unavaiable>'
Max DMA buffer size: 4194304
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC LINKED
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W1210S'
Revision       : '1.01'

Executing 'inquiry' command on Bus 0 Target 4, Lun 0 timeout 40s
CDB:  12 00 00 00 24 00
cmd finished after 0.000s timeout 40s
----------> SCSI succeeded command test PASSED
**********> Testing for failed SCSI command.
scgcheck: Input/output error. inquiry: scsi sendcmd: no error
CDB:  12 00 00 FF 24 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)
resid: 36
cmd finished after 0.001s timeout 40s
scgcheck: Input/output error. inquiry: scsi sendcmd: no error
CDB:  12 00 00 FF 24 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)
resid: 36
cmd finished after 0.001s timeout 40s
----------> SCSI failed command test PASSED
**********> Testing for SCSI sense data count.
**********> Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00
Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 FF FF
---------->     Minimum standard (CCS) sense length failed
---------->     Wanted 18 sense bytes got (16)
**********> Testing for 32 bytes of sense data...
Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00 00 00 00 
00 00
00 00 00 00 00 00 00 00 00
Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 FF FF FF FF FF 
FF FF
FF FF FF FF FF FF FF FF FF
---------->     Wanted 32 sense bytes got (16)
----------> Got a maximum of 16 sense bytes
----------> SCSI sense count test FAILED
----------> SCSI status byte test NOT YET READY
**********> Testing for working DMA residual count.
**********> Testing for working DMA residual count == 0.
---------->     Wanted 36 sensebytes got it.
----------> SCSI DMA residual count == 0 test PASSED
**********> Testing for working DMA residual count == DMA count.
---------->     Wanted 0 bytes got (36)
---------->     Libscg says 0 bytes but got (36)
----------> SCSI DMA residual count == DMA count test FAILED
**********> Testing for working DMA residual count == 1.
---------->     Wanted 36 bytes got (37)
---------->     Libscg says 36 bytes but got (37)
----------> SCSI DMA residual count == 1 test FAILED
**********> Testing for working DMA overrun test.

it hangs here for sometime and displays the following, which is not included 
in "check.log":

scgcheck: Input/output error. inquiry: scsi sendcmd: retryable error
CDB:  12 00 00 00 24 00
status: 0x0 (GOOD STATUS)
cmd finished after 207.263s timeout 40s
cnt: 36 got: 35 residual cnt: 35
scgcheck: Device not configured. Cannot send SCSI cmd via ioctl



after that, device 0,4,0 dissapeared from the scsi device table,
as it's showed when I ran "scgcheck" once again, but this time to test the 
ATAPI CD-ROM...



platao:~ # scgcheck
Scgcheck 1.10 (i686-pc-linux-gnu) SCSI user level transport library ABI
checker.Copyright (C) 1998,2001 J�rg Schilling
Checking if your implementation supports to scan the SCSI bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.5'
Max DMA buffer size: 32768
scsibus0:
        0,0,0     0) 'WDIGTL  ' 'WDE18310 ULTRA2 ' '1.30' Disk
        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) *
scsibus1:
scgcheck: Warning: controller returns wrong size for CD capabilities page.
        1,0,0   100) 'CREATIVE' 'CD5230E         ' '1.01' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
scgcheck: Warning: controller returns wrong size for CD capabilities page.
----------> SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
Enter SCSI device name [0,6,0]: 1,0,0
Trying to open device: '1,0,0'.
Using libscg version 'schily-0.5'
Max DMA buffer size: 8388608
scgcheck: Warning: controller returns wrong size for CD capabilities page.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'CREATIVE'
Identifikation : 'CD5230E         '
Revision       : '1.01'
Ready to start test for succeeded command? Enter <CR> to conitnue:

Executing 'inquiry' command on Bus 1 Target 0, Lun 0 timeout 40s
CDB:  12 00 00 00 24 00
cmd finished after 0.000s timeout 40s
Inquiry Data   : 05 80 00 21 33 00 00 00 43 52 45 41 54 49 56 45 43 44 35
32 33
30 45 20 20 20 20 20 20 20 20 20 31 2E 30 31
----------> SCSI succeeded command test PASSED
Ready to start test for failing command? Enter <CR> to conitnue:
Inquiry did not fail.
This may be because the firmware in your drive is buggy.
If the current drive is not a CD-ROM drive please restart
the test utility. Otherwise remove any medium from the drive.
Ready to start test for failing command? Enter <CR> to conitnue:
scgcheck: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
----------> SCSI failed command test PASSED
Ready to start test for sense data count? Enter <CR> to continue:
Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
18 16 13
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 FF FF
18 16 16
---------->     Minimum standard (CCS) sense length failed
---------->     Wanted 18 sense bytes got (16)
Testing for 32 bytes of sense data...
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
32 16 13
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF
32 16 16
---------->     Wanted 32 sense bytes got (16)
----------> Got a maximum of 16 sense bytes
----------> SCSI sense count test FAILED
----------> SCSI status byte test NOT YET READY
Ready to start test for working DMA residual count? Enter <CR> to
conitnue:
**********> Testing for working DMA residual count == 0.
cnt: 36 got: 36 residual cnt: 36
cnt: 36 got: 36 residual cnt: 36
---------->     Wanted 36 bytes got it.
----------> SCSI DMA residual count == 0 test PASSED
Ready to start test for working DMA residual count == DMA count? Enter
<CR> to conitnue:
cnt: 0 got: 36 residual cnt: 36
cnt: 0 got: 36 residual cnt: 36
---------->     Wanted 0 bytes got (36)
----------> SCSI DMA residual count == DMA count test FAILED
Ready to start test for working DMA residual count == 1? Enter <CR> to
conitnue:

cnt: 36 got: 36 residual cnt: 37
cnt: 36 got: 37 residual cnt: 37
---------->     Wanted 36 bytes got (37)
----------> SCSI DMA residual count == 1 test FAILED
**********> Testing for working DMA overrun test.
cnt: 36 got: 35 residual cnt: 35
cnt: 36 got: 35 residual cnt: 35
----------> SCSI DMA overrun test FAILED
----------> SCSI transport code test NOT YET READY
platao:~ #



but reading /proc/scsi/scsi the driver is present



Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WDIGTL   Model: WDE18310 ULTRA2  Rev: 1.30
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W1210S Rev: 1.01
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: CREATIVE Model: CD5230E          Rev: 1.01
  Type:   CD-ROM                           ANSI SCSI revision: 02



I tried to patch the kernel with the Linux.scsi-patch, but I didn't find the 
file in the source tree.

After I reboot the machine I tried to test the burn process, and has I 
expected, cdrecord aborted the test, with the following output:


# cdrecord dev=0,4,0 -dummy speed=12 -data install.iso
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
scsidev: '0,4,0'
scsibus: 0 target: 4 lun: 0
Linux sg driver version: 3.1.19
Using libscg version 'schily-0.1'
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC LINKED
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W1210S'
Revision       : '1.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Starting to write CD/DVD at speed 12 in dummy mode for single session.
Last chance to quit, starting dummy write in 9 seconds.8
seconds.7 seconds.6 seconds.5 
seconds.4
seconds.3 seconds.2 seconds.1 
seconds.cdrecord:
Input/output error. write_g1: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)

CDB:  2A 00 00 00 03 45 00 00 1F 00
Sense Bytes: F0 00 03 00 00 03 FA 0A 00 00 00 00 02 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0
Sense flags: Blk 1018 (valid)
write track data: error after 1714176 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00


I don't know what to do, and I hope there is a solution.

Some hopefull, usefull information about the box:


/proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 601.372
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36
mmx fxsr sse
bogomips        : 1199.30

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 601.372
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36
mmx fxsr sse
bogomips        : 1202.58


/proc/pci



PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 
3).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 3).
      Master Capable.  Latency=64.  Min Gnt=136.
  Bus  0, device   7, function  0:
    ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.
      I/O at 0xffa0 [0xffaf].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
      Master Capable.  Latency=64.
      I/O at 0xef80 [0xef9f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device  17, function  0:
    SCSI storage controller: Adaptec AHA-2940U2/W (rev 0).
      IRQ 17.
      Master Capable.  Latency=64.  Min Gnt=39.Max Lat=25.
      I/O at 0xe800 [0xe8ff].
      Non-prefetchable 64 bit memory at 0xffaff000 [0xffafffff].
  Bus  0, device  19, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
      IRQ 19.
      Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
      I/O at 0xe400 [0xe4ff].
      Non-prefetchable 32 bit memory at 0xffafef00 [0xffafefff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc Rage 128 RF (rev 0).
      IRQ 16.
      Master Capable.  Latency=64.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xf0000000 [0xf3ffffff].
      I/O at 0xd800 [0xd8ff].
      Non-prefetchable 32 bit memory at 0xff9fc000 [0xff9fffff].



/proc/scsi/aic7xxx/0



Adaptec AIC7xxx driver version: 6.1.13
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
Channel A Target 0 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
        Goal: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
        Curr: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
        Channel A Target 0 Lun 0 Settings
                Commands Queued 2276
                Commands Active 0
                Command Openings 253
                Max Tagged Openings 253
                Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 2 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 3 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 4 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
        Goal: 20.000MB/s transfers (20.000MHz, offset 16)
        Curr: 3.300MB/s transfers
        Channel A Target 4 Lun 0 Settings
                Commands Queued 3073
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 6 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 7 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 8 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 9 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 10 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 11 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 12 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 13 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 14 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)
Channel A Target 15 Negotiation Settings
        User: 80.000MB/s transfers (40.000MHz, offset 255, 16bit)


/proc/scsi/scsi (has shown before)



Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WDIGTL   Model: WDE18310 ULTRA2  Rev: 1.30
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W1210S Rev: 1.01
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: CREATIVE Model: CD5230E          Rev: 1.01
  Type:   CD-ROM                           ANSI SCSI revision: 02


/proc/scsi/sg/version


30119   Version: 3.1.19 (20010623)


/proc/version


Linux version 2.4.7 (root@platao) (gcc version 2.95.2 19991024 (release)) #3 
SMP


I have a SCSI, adapter with a HDD and a CD-RW atached, and a ATAPI-CDROM.


Well, I hope that's enough, but if anything else is needed tell me.
If there is any way to get around the problem, please tell me.

Thanks in Advance,


|==================================|
|  Ricardo Cordeiro (PT_LAmb)      |
|  [EMAIL PROTECTED]             |
|  [EMAIL PROTECTED] (SMS)  |
|  GSM: +351 917843782             |
|  Linux User: 146806              |
|  UIN: 1340658                    |
|==================================|


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to