Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-03-2005, 05:12 AM
|
#1
|
Member
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74
Rep:
|
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?
|
|
|
10-04-2005, 07:15 AM
|
#2
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
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.
|
|
|
10-07-2005, 04:40 AM
|
#3
|
Member
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74
Original Poster
Rep:
|
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.
|
|
|
10-07-2005, 07:11 AM
|
#4
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
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 12:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|