Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to get ide burner working FIXED!!!
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
chr1z
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 207

PostPosted: Thu Mar 06, 2003 2:25 pm    Post subject: unable to get ide burner working FIXED!!! Reply with quote

ok i followed this guide
https://forums.gentoo.org/viewtopic.php?t=20175

then i do
Code:

root@misanthropia:/home/chr1z% insmod ide-scsi
Using /lib/modules/2.4.20/kernel/drivers/scsi/ide-scsi.o


and then
Code:

root@misanthropia:/home/chr1z% cdrecord -scanbus         
Cdrecord 2.01a02 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.


also i don't know if my writer is hdb or hdc

lsmod output
Code:

root@misanthropia:/home/chr1z% lsmod
Module                  Size  Used by    Tainted: P 
ide-scsi                8912   0
NVdriver             1066976  10  (autoclean)
sg                     29356   0  (autoclean) (unused)
sr_mod                 16088   0  (autoclean) (unused)
sd_mod                 10892   0  (autoclean) (unused)
scsi_mod               89748   4  (autoclean) [ide-scsi sg sr_mod sd_mod]
ide-cd                 30596   0  (autoclean)
cdrom                  29856   0  (autoclean) [sr_mod ide-cd]



It seems that my cdrom is still in IDE mode i don't know why since i never load that mopdule at startup :/


Last edited by chr1z on Thu Mar 06, 2003 8:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Mar 06, 2003 3:11 pm    Post subject: Reply with quote

Well it looks to me like you are missing "generic scsi support" in your kernel and that is why you are getting the error "cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver."

However you do not need to use SCSI-emulation any more since version 2.0 of cdrecord (cdrtools).

try running this

Code:
cdrecord dev=ATAPI -scanbus


and it will likely find your drive as

dev=ATAPI:0,0,0

and you will be able to burn even though you do not have SCSI-emulation working.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Mar 06, 2003 3:16 pm    Post subject: Reply with quote

As reference check out the install guide where it indicates that you will need to . . .

Gentoo Linux 1.4_rc3 Installation Instructions wrote:
. . . enable "SCSI support", "SCSI CD-ROM support" and "SCSI generic support"


Again this is just if you decide to use the SCSI-emulation way of doing things still. If you'd prefer to use the burner as an IDE device you can do that now (again this is only with version 2.0 of cdrtools.)

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
chr1z
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 207

PostPosted: Thu Mar 06, 2003 4:35 pm    Post subject: Reply with quote

i did that but xcdroast was horrible slow and that's because auf atapi support is very alpha
i need something stable
Back to top
View user's profile Send private message
chr1z
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 207

PostPosted: Thu Mar 06, 2003 4:56 pm    Post subject: Reply with quote

Quote:

Code:
cdrecord dev=ATAPI -scanbus


and it will likely find your drive as


thats gives me
scsibus0:
0,0,0 0) *
0,1,0 1) 'CyberDrv' 'CW058D CD-R/RW ' '110D' Removable CD-ROM

. . enable "SCSI support", "SCSI CD-ROM support" and "SCSI generic support"
i have all three!!!
still it does not work


[/quote]
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Mar 06, 2003 6:03 pm    Post subject: Reply with quote

Well it appears to be detecting your drive alright on the scsibus0 at 0,1,0 1 -- I don't recall ever seeing the trailing value after the three comma seperated ones. Maybe I am just loosing my mind though. Now to get this result did you execute

Code:
cdrecord dev=ATAPI -scanbus


or did you instead execute

Code:
cdrecord -scanbus


because the first one only checks the ATAPI devices, which if you have SCSI-emulation working properly none will be detected. The second however will give you results if you DO have SCSI-emulation working properly! So this is a good way at least to know where you stand with SCSI-emulation. According to the kernel help for SCSI-emulation (however there are many instances that have proven this is not strictly true) it indicates that you must EXCLUDE IDE-CDROM support in your kernel for SCSI-emulation to work. Like I said I know this is not always true, however if you can exclude IDE CDROM support in your kernel it will simplify things greatly. One case that you might not want to do this though is if you have an IDE DVD-ROM with which you want to be able to use hdparm to fine tune performance wise.

Anyway the thread you posted originally is very interesting and (for one thing) proves that the kernel help regarding SCSI-emulation is false -- it also provides all kinds of tips and tricks to getting burning working well. Some results vary depending on hardware and kernel options of course!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
chr1z
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 207

PostPosted: Thu Mar 06, 2003 8:09 pm    Post subject: Reply with quote

ok, i excluded IDE Cdrom support
and put the scsi stuff directly into the kernel.
now it works perfectly!
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Mar 06, 2003 10:45 pm    Post subject: Reply with quote

Thats great!!!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Sun Mar 09, 2003 2:19 am    Post subject: Reply with quote

Thanks BonezTheGoon for the ATAPI burning info.
_________________
-Phil Crosby
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Sun Mar 09, 2003 2:31 pm    Post subject: Reply with quote

You're welcome!

Regards,
BonezTheGoon
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