Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do you need to use SCSI for CDRW?
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
butters
Guru
Guru


Joined: 13 May 2002
Posts: 427
Location: Poughkeepsie, NY

PostPosted: Sat Jul 27, 2002 8:21 pm    Post subject: Do you need to use SCSI for CDRW? Reply with quote

I have a CDRW drive on hdd (and a DVD drive on hdc). Do I need to enable SCSI support in the kernel to get the CDRW drive to work? What else do I need to do?
_________________
If tugboats were bigger, they'd be the ones getting tugged.
Back to top
View user's profile Send private message
syme
n00b
n00b


Joined: 09 Apr 2002
Posts: 6

PostPosted: Sat Jul 27, 2002 8:32 pm    Post subject: Here it is as I understand it Reply with quote

I assume the DVD drive uses IDE. In that case, add the following to your grub menu.lst file entry after kernel=(I think): hdd=ide-scsi hdc=ide-scsi

Disable IDE CD-ROM support in the kernel, enable general SCSI, SCSI CD-ROM support, and SCSI emulation, and you should be set. Then just run cdrecord -scanbus after the reboot to see what SCSI bus the computer put the CD writer on.
_________________
---
"Don't try. Trying is the first step toward failure" - Homer Simpson
Back to top
View user's profile Send private message
akhkharu99
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162
Location: Gainesville, FL

PostPosted: Sat Jul 27, 2002 9:06 pm    Post subject: Reply with quote

yeah, i think syme is correct here. i know that i could not get my cdrw working unless i had scsi emulation on. although, i did not need to put anything into my menu.lst file.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Sat Jul 27, 2002 9:23 pm    Post subject: Reply with quote

there's a section in the installation guide, in the kernel compile section, that tells you exactly what you need to do to enable support. In addition to enabling support, be sure you add the lisnes it tells you to to your /etc/modules.autoload file (assuming you compile them as modules).

And by the way, disabling IDE support isn't necessary. I have a very similar setup to yours (DVD on hdc and CD-RW on hdd), and I'll I do is pass hdd=ide-scsi to the kernel; I let my DVD-ROM drive be detected and used and regular IDE. Hope this helps.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Jul 28, 2002 7:39 am    Post subject: Reply with quote

It's the norm for an OS to use a scsi layer when dealing with an ide cd burner, that's what aspi drivers are for in windows for example.

If you remove ide cdrom support from the kernel then you don't need to use this stuff - hdd=ide-scsi. Otherwise it defaults to using ide cdrom support insted of scsi emulation.
Back to top
View user's profile Send private message
unexist
n00b
n00b


Joined: 19 Jul 2002
Posts: 65
Location: Germany

PostPosted: Sun Jul 28, 2002 12:23 pm    Post subject: Reply with quote

of course it's the norm, because ide is a smaller version, with fewer features, of the original scsi.
actually i wonder how many threads with this topic are created.
i always remove the ide support from my kernel. i have two ide devices, 1x dvd and 1x cdrw, bot work fine with the scsi emulation and i've never added anything (hd*=ide-scsi) to the config of my bootloader.
sometimes you have to edit the config of your devfs.
_________________
subtle window manager | dotfiles
Back to top
View user's profile Send private message
eric.cheminot
n00b
n00b


Joined: 03 Jul 2002
Posts: 47

PostPosted: Sun Jul 28, 2002 3:10 pm    Post subject: Reply with quote

Quote:
i always remove the ide support from my kernel. i have two ide devices, 1x dvd and 1x cdrw, bot work fine with the scsi emulation and i've never added anything (hd*=ide-scsi) to the config of my bootloader.


And how do you enable DMA for your DVD? (that is without hdparm)

-ec
Back to top
View user's profile Send private message
LibraMark
n00b
n00b


Joined: 25 Apr 2002
Posts: 27
Location: Pullman, Washington; USA

PostPosted: Mon Jul 29, 2002 5:32 am    Post subject: Reply with quote

If I remember correctly...

You can still use hdparm with scsi emulation. Remember the drive is still being run by the udma chipset, even with scsi emulation. Just do the normal #hdparm -d1 /dev/hdx (x being a for primary master, b primary slave, c secondary master, d secondary slave.)

Good luck!

Mark.
Back to top
View user's profile Send private message
eric.cheminot
n00b
n00b


Joined: 03 Jul 2002
Posts: 47

PostPosted: Mon Jul 29, 2002 11:25 am    Post subject: Reply with quote

OK. But the problem is that /dev/hdx no longer exists when device is used by ide-scsi module... And hdparm refuses to work when i pass the scsi device. Do you know how to have the ide /dev/hdx entry (i'm using devfs)?

Thanks,

-ec
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Mon Jul 29, 2002 12:20 pm    Post subject: Reply with quote

eric.cheminot wrote:
OK. But the problem is that /dev/hdx no longer exists when device is used by ide-scsi module... And hdparm refuses to work when i pass the scsi device. Do you know how to have the ide /dev/hdx entry (i'm using devfs)?

Do the /dev/ide/hostW/busX/targetY/lunZ/disc entries still work when using ide-scsi?

Assuming the mobo's built-in IDE controller is host0, then hdc would be /dev/ide/host0/bus1/target0/lun0/disc.
bus0 is the primary, bus1 is the secondary, target0 is the master and target1 is the slave.
_________________
Ebichu wa chiizu ga daisuki dechu!
Back to top
View user's profile Send private message
True
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 125
Location: Vancouver

PostPosted: Mon Jul 29, 2002 12:23 pm    Post subject: Reply with quote

I think the best solution is to use scsi emulation for the cdrw by passing the ide-scsi parameter via lilo. If you compile in ide-cdrom support as well then you can still enable dma for the dvd (otherwise dvd playback becomes awful). From what I see devfs wont create /dev/hd* entries for the cd/dvd without ide-cdrom support sompiled into the kernel. I beleive it is possible to do a mknod and create entries that you can hdparm. You then need to save the changes to devfs (not sure how that's done yet).

So I think you should compile in scsi support AND ide-cdrom support.
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