1 |
Thanks for the detailed answer.I recompiled the kernel tonight, and compiled |
2 |
sr_mod in, now I can access my cdrom as |
3 |
/dev/sr0 (symlink to /dev/scsi....) |
4 |
|
5 |
Everything is working now. Thanks again. |
6 |
|
7 |
Viktor |
8 |
|
9 |
|
10 |
Hendrik Visage <hvisage@×××××××××××.za> wrote: |
11 |
> On Mon, Oct 22, 2001 at 12:36:04PM +0100, Viktor Lakics wrote: |
12 |
> > Dear Hendrik, |
13 |
> > |
14 |
> > NOw I am confused. Do I need to have SCSI cdrom support in the kernel? I |
15 |
only |
16 |
> > have ide-scsi, scsi generic and ide-cd compiled as modules. I thought I |
17 |
only |
18 |
> > need SCSI cdrom support if I have a REAL scsi device... |
19 |
> > |
20 |
> > What is EXACTLY the minimum set of IDE and scsi option then what I need |
21 |
> > in the kernel in ordrt to use my cdrw to write and to use it as a cdrom |
22 |
as |
23 |
> > well (meaning mounting CDs and reading them)?! |
24 |
> |
25 |
> For CD-RW usage (With stuff like cdrecord and friends), and accessing the |
26 |
> CDROM, you'll need |
27 |
> 1) sg or pg (sg for SCSI, and pg for parallel port) for the raw |
28 |
communication |
29 |
> to the CD-RW that cdrecord needs. These are the "Generic" devices. |
30 |
> 2) sr_mod or pcd (sr_mod for SCSI, pcd for parallel port) |
31 |
> as well as the "standard" cdrom etc. for acessing it as a CDROM device. |
32 |
> |
33 |
> sr_mod & sg is under the SCSI config in the kernel, while pg & pcd are |
34 |
> somewhere under the parallel port stuff. |
35 |
> |
36 |
> However, you have a IDE CD-RW: |
37 |
> Now the IDE (Actually ATAPI) CD-RWs are making use of a SCSI-over-IDE |
38 |
> encapsulation. Thus the need for ide-scsi. You'll notice that when you |
39 |
> install the Adaptec/Nero etc. software on Windows, that they also installs |
40 |
a |
41 |
> SCSI (aspi I think) layer for comms to the CDRW. |
42 |
> |
43 |
> Now the config at boot time: |
44 |
> hdc=ide-scsi (I guess, machine @home :() |
45 |
> |
46 |
> This tells the IDE/ATAPI layer to NOT initialize this drive in the IDE |
47 |
> chain for things, but that it'll be handled as a SCSI device. |
48 |
> |
49 |
> Thus the need for modprobe ide-scsi to load the SCSI-over-IDE modules. |
50 |
> Then you'll have to modprobe sg for cdrecord to work, and lastly |
51 |
> modprobe sr_mod for this faked-SCSI CDROM (on the IDE/ATAPI bus). |
52 |
> |
53 |
> Hope this clears it, as I just wished the ATAPI/IDE/ATA standards died a |
54 |
> silent/quiet/quick/horrific/long-forgotten death ages ago, so that we could |
55 |
> all be using SCSI with it zillions of NICE(tm) features like |
56 |
tag-command-queues |
57 |
> etc. etc. etc. |
58 |
> |
59 |
> GReetz |
60 |
> HEndrik |
61 |
> |
62 |
> |
63 |
> > |
64 |
> > |
65 |
> > Appreciate you answer... |
66 |
> > |
67 |
> > Viktor |
68 |
> > |
69 |
> > Hendrik Visage <hvisage@×××××××××××.za> wrote: |
70 |
> > > On Mon, Oct 22, 2001 at 07:04:32AM +0100, Viktor Lakics wrote: |
71 |
> > > > Hi All, |
72 |
> > > > |
73 |
> > > > This is probably a user list question, I fighted it but I am running |
74 |
out |
75 |
> > of |
76 |
> > > > ideas. I |
77 |
> > > > compiled IDE cdrom support as module, and ide-scsi as module in the |
78 |
> > kernel. I |
79 |
> > > > |
80 |
> > > > have hdb=ide-scsi with grub. |
81 |
> > > > |
82 |
> > > > My modules are not loaded automatically, devfs is not generating |
83 |
cdroms |
84 |
> > nor |
85 |
> > > > scsi |
86 |
> > > > device (scsi dir is there, but empty). |
87 |
> > > > |
88 |
> > > > 1. How can I get module autoloading? (module.autoload does NOT work : |
89 |
no |
90 |
> > > > matter what I put there. modules are not loaded). I do not have for |
91 |
some |
92 |
> > > > reason |
93 |
> > > > modeles.conf in etc as well) |
94 |
> > > > |
95 |
> > > > 2. Even if I do modprobe ide-scsi, ide-cd, cdrom, although the |
96 |
respective |
97 |
> > > |
98 |
> > > The order should be modprobe ide-scsi, sr_mod |
99 |
> > > YOu HAVE compiled in SCSI CDROM support??? |
100 |
> > > |
101 |
> > > > modules |
102 |
> > > > are there, inserted, I cannot mount my cdrom. I could burn a CD, |
103 |
because |
104 |
> > the |
105 |
> > > > scsi |
106 |
> > > > generic driver is there (cdroms still not gnerated though), but when I |
107 |
try |
108 |
> > to |
109 |
> > > > mount |
110 |
> > > > a cd like: |
111 |
> > > > |
112 |
> > > > mount -t iso9660 /dev/sg0 /mnt/cdrom |
113 |
> > > > |
114 |
> > > > I get sg0 is not a block device. Now /dev/scd0 is not there in devfs, |
115 |
I |
116 |
> > tried |
117 |
> > > > |
118 |
> > > > symlink as well, no success at all... |
119 |
> > > > |
120 |
> > > > Fresh rc6-9 tbz2 install... |
121 |
> > > > |
122 |
> > > > |
123 |
> > > > Thanks for any ideas... |
124 |
> > > > |
125 |
> > > > Viktor |
126 |
> > > > |
127 |
> > > > |
128 |
> > > > |
129 |
> > > > |
130 |
> > > > ----Viktor Lakics---- |
131 |
> > > > |
132 |
> > > > Through the Internet: |
133 |
> > > > |
134 |
> > > > lakicsv@×××.net |
135 |
> > > > |
136 |
> > > > |
137 |
> > > > ____________________________________________________________________ |
138 |
> > > > Get free e-mail and a permanent address at |
139 |
http://www.amexmail.com/?A=1 |
140 |
> > > > |
141 |
> > > > _______________________________________________ |
142 |
> > > > gentoo-dev mailing list |
143 |
> > > > gentoo-dev@××××××××××.org |
144 |
> > > > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
145 |
> > > |
146 |
> > > -- |
147 |
> > > ------------------------ |
148 |
> > > Hendrik Visage |
149 |
> > > hvisage@×××××××××××.za |
150 |
> > > |
151 |
> > > _______________________________________________ |
152 |
> > > gentoo-dev mailing list |
153 |
> > > gentoo-dev@××××××××××.org |
154 |
> > > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
155 |
> > |
156 |
> > |
157 |
> > ----Viktor Lakics---- |
158 |
> > |
159 |
> > Through the Internet: |
160 |
> > |
161 |
> > lakicsv@×××.net |
162 |
> > |
163 |
> > |
164 |
> > ____________________________________________________________________ |
165 |
> > Get free e-mail and a permanent address at http://www.amexmail.com/?A=1 |
166 |
> > |
167 |
> > _______________________________________________ |
168 |
> > gentoo-dev mailing list |
169 |
> > gentoo-dev@××××××××××.org |
170 |
> > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
171 |
> |
172 |
> -- |
173 |
> ------------------------ |
174 |
> Hendrik Visage |
175 |
> hvisage@×××××××××××.za |
176 |
> |
177 |
> _______________________________________________ |
178 |
> gentoo-dev mailing list |
179 |
> gentoo-dev@××××××××××.org |
180 |
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
181 |
|
182 |
|
183 |
----Viktor Lakics---- |
184 |
|
185 |
Through the Internet: |
186 |
|
187 |
lakicsv@×××.net |
188 |
|
189 |
|
190 |
____________________________________________________________________ |
191 |
Get free e-mail and a permanent address at http://www.amexmail.com/?A=1 |