Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recognizing cd writer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kallee
n00b
n00b


Joined: 07 Sep 2004
Posts: 13

PostPosted: Tue Sep 07, 2004 3:59 pm    Post subject: Recognizing cd writer Reply with quote

Hi,

I cannot use my cdwriter because cdrecord does not recognize it. Here is the output from cdrecord:

Code:

tux root # cdrecord dev=ATAPI:0,0,0 -checkdrive
Cdrecord-Clone 2.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.8-gentoo-r3
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: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX320E  '
Revision       : 'NYK2'
Device seems to be: Generic CD-ROM.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.


I have the modules ide_cd and cdrom loaded, and my kernel recognizes the drive correctly:

Code:

hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive


So what can I do?

Thanks,
Kalle
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Tue Sep 07, 2004 11:57 pm    Post subject: Reply with quote

Quote:

Warning: Running on Linux-2.6.8-gentoo-r3
There are unsettled issues with Linux-2.5 and newer

there are plenty threads about this. downgrade your kernel, or patch it at your own risk:
Code:

--- linux-2.6.8/drivers/block/scsi_ioctl.c~2004-08-16 14:16:57.000000000 +0200
+++ linux-2.6.8/drivers/block/scsi_ioctl.c2004-08-16 14:36:22.562908552 +0200
@@ -196 +196 @@
-if (verify_command(file, cmd))
+/*if (verify_command(file, cmd))
@@ -198 +198 @@
-
+*/

btw.. this is at least the 3rd time i post this.
Back to top
View user's profile Send private message
kallee
n00b
n00b


Joined: 07 Sep 2004
Posts: 13

PostPosted: Wed Sep 08, 2004 1:50 am    Post subject: Reply with quote

Thanks for the suggestions. The patching didn't help. I think the patch is actually included in the 2.6.8-gentoo-r3 sources. I also tried nitro sources, but I still get (running as root):

cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.

The nitro sources seem to be a step forward because now my dmesg contains:

hdc: ATAPI 12X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

Well, I'll try to downgrade the kernel, or perhaps play around with scsi emulation in the new kernel.

Kalle
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Wed Sep 08, 2004 7:30 am    Post subject: Reply with quote

the patch works for me using 2.6.8.1 from kernel.org.

however, maybe you run a recend version of cdrecord - dunno what the latest in portage is. Joerg Schilling, the cdrecord author, is an a WarTrip currently against SuSE and whomever, he is even in Alan Coxs killfile <g>. i stopped reading the kernel newsgroup infact of this.
maybe you should use an older version of cdrecord? i am using:
Cdrecord-Clone 2.01a28 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling

//edit: i just realize 28a is not in portage anymore :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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