version 5, including all changes.
.
Rev |
Author |
# |
Line |
2 |
JohnMcPherson |
1 |
scsi-ide is an kernel driver that provides a [SCSI] interface to [IDE] HardDisk / CD / DVD Drives. |
1 |
MattBrown |
2 |
It is most commonly used for CD Burning as all burning apparently needs to be done over a SCSI interface. |
|
|
3 |
|
4 |
JohnMcPherson |
4 |
|
|
|
5 |
!! [Kernel] support |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
To enable this in your kernel you must select the following options: |
1 |
MattBrown |
9 |
ATA/IDE/MFM/RLL support |
|
|
10 |
IDE, ATA and ATAPI Block devices |
|
|
11 |
SCSI emulation support |
|
|
12 |
|
|
|
13 |
You also need to enable generic SCSI support in your kernel. |
4 |
JohnMcPherson |
14 |
|
|
|
15 |
|
|
|
16 |
You need the following [Kernel] modules, listed with their corresponding options: |
|
|
17 |
|
|
|
18 |
; SCSI generic support : __sg.o__, CONFIG_CHR_DEV_SG |
|
|
19 |
; %%% SCSI CD-ROM support : __sr.o__, CONFIG_BLK_DEV_SR |
|
|
20 |
; %%% SCSI support : __scsi_mod.o__, CONFIG_SCSI |
|
|
21 |
; %%% SCSI emulation support : __ide-scsi.o__, CONFIG_BLK_DEV_IDESCSI |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
!! Boot parameters |
|
|
25 |
|
1 |
MattBrown |
26 |
|
|
|
27 |
Then you will need to add a line similar to the following to your lilo/grub configuration (Example is for lilo) |
|
|
28 |
append="ignore=hdc,hde hdc=ide-scsi hde=ide-scsi" |
|
|
29 |
|
|
|
30 |
This tells the kernel not to use the native IDE driver for hdc and hde and instead to use the ide-scsi driver. |
|
|
31 |
This should give you |
|
|
32 |
/dev/scd0 which would be /dev/hdc otherwise |
|
|
33 |
/dev/scd1 which would be /dev/hde otherwise |
3 |
JohnMcPherson |
34 |
|
4 |
JohnMcPherson |
35 |
Say your CDR is be __hdc__ and the [CDROM] is __hdd__, then you need to add this line to your __/etc/lilo.conf__ to boot with the necessary [Kernel] options: |
|
|
36 |
|
|
|
37 |
append="hdc=ide-scsi hdd=cdrom" |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
!! Module loading |
|
|
42 |
|
|
|
43 |
Now you need to load the __ide-scsi__ module to emulate a [SCSI] interface on your existing [IDE] [CDROM] drive. Add the following entries to your __/etc/modules.conf__: |
|
|
44 |
|
|
|
45 |
alias scd0 sr_mod # load sr_mod upon access of scd0 |
|
|
46 |
pre-install sr_mod modprobe -k ide-scsi # load ide-scsi before sr_mod |
|
|
47 |
pre-install sg modprobe -k ide-scsi # load ide-scsi before sg |
|
|
48 |
|
|
|
49 |
In [Debian] [Woody], these go into __/etc/modutils/scsi__. Running __update-modules__ will copy them into __/etc/modules.conf__. |
|
|
50 |
|
|
|
51 |
!! Device files |
|
|
52 |
|
|
|
53 |
__/dev/sr''X''__ is the device generally used for [SCSI] [CDROM] support. On Linux, the device files are normally called __/dev/scd''X''__, and the __sr''X''__ devices are [SymLink]s. To set them all up automatically, do |
|
|
54 |
|
|
|
55 |
# cd /dev && ./MAKEDEV sr |
|
|
56 |
|
|
|
57 |
If you want to always use the __ide-scsi__ emulation, make __/dev/cdrom__ a symlink to __/dev/sr0__ and make sure __/etc/fstab__ uses __/dev/cdrom__ instead of __/dev/hd''X''__. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
If you make ide-cd and ide-scsi both modules, you can change how the CD-ROM drive is accessed without rebooting, depending on which module is currently loaded. |
5 |
PerryLorier |
62 |
|
|
|
63 |
---- |
|
|
64 |
CategoryKernel |