LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CDRW+DVD combo drive problem (https://www.linuxquestions.org/questions/linux-hardware-18/cdrw-dvd-combo-drive-problem-369297/)

igorc 10-03-2005 05:12 AM

CDRW+DVD combo drive problem
 
Hi all,

I have problem with my QSI CDRW/DVD combo drive on kernel 2.6.11.9. It's recognized as CDROM only and I can't burn any cd's with k3b or cdrecord. The "# cdrecord -scanbus" command findes the drive on the scsi bus (scsi0) and it's reported as CDRW/DVD drive and the device is /dev/scd0 with 666 permitions.
When I boot in the old 2.6.6 kernel everithing works fine and I can't figure why because I can't find any differences in the drive configurations (it is the same config in the both kernels). Both kernels have SCSI emulation of IDE ATAPI drives enabled and all messages for the drive on booting (in dmesg) are the same.

This is what I get when I try co burn cd's:


root@linux:/home/igorc# cdrecord -checkdrive
Cdrecord-Clone 2.01a27 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.32
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'QSI '
Identifikation : 'CDRW/DVD SBW242U'
Revision : 'UX33'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
root@linux:/home/igorc# cdrecord -dummy dev=0,0,0
cdrecord: No tracks specified. Need at least one.
Usage: cdrecord [options] track1...trackn

Use cdrecord -help
to get a list of valid options.

Use cdrecord blank=help
to get a list of valid blanking options.

Use cdrecord dev=b,t,l driveropts=help -checkdrive
to get a list of drive specific options.

Use cdrecord dev=help
to get a list of possible SCSI transport specifiers.

root@linux:/home/igorc# cdrecord -dummy dev=0,0,0 /home/igorc/zzz.pl
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a27 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.32
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'QSI '
Identifikation : 'CDRW/DVD SBW242U'
Revision : 'UX33'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 24 in dummy TAO mode for single session.
Last chance to quit, starting dummy write 0 seconds. Operation starts.

WARNING: padding up to secsize.
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 05 77 54 00 00 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 08 03 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 35.147s timeout 40s
write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
root@linux:/home/igorc#



Also I get error: Cannot send SCSI cmd via ioctl, when I try to burn empty disc.


Any ideas?

Half_Elf 10-04-2005 07:15 AM

Scsi emulation is old and not recommended to burn with 2.6 kernel... you better use ide-cd instead.
Do you have a line like "hdX=ide-cd" in your boot option of your boot loader? That would tell the kernel hdX (hda, hdb, hdc...) is actually an ATAPI burner.

igorc 10-07-2005 04:40 AM

Re:
 
Hi,

First I would like to thank you for replaying. I have "hdc=scsi" in the lilo.conf file for the cdrw/dvd device. I may try your suggestion to see how it will work without scsi emulation. But I'm very confused because in the old kernel 2.6.6 everything was working fine.

simcox1 10-07-2005 07:11 AM

As far as I know, you only need to append hdc=ide-scsi to lilo.conf if you're using a 2.4 kernel. 2.6 versions don't require it, and it's probably causing problems to have it there.


All times are GMT -5. The time now is 08:24 PM.