1 |
On Tuesday 03 September 2002 19:57, Martin Schlemmer wrote: |
2 |
> > I really don't think so (everything's wrapped): |
3 |
> |
4 |
> I tend to disagree. At least if not as module: |
5 |
|
6 |
Of course, if "scsi generic suport" is compiled in the kernel, and not as a |
7 |
module, everything works perfectly. No problems at all. But if it's |
8 |
compiled as a module (sg), the default devfsd.conf doesn't work...you |
9 |
either have to killall -HUP devfsd AFTER the sg module is loaded, or change |
10 |
permissions on /dev/scsi/..../generic and NOT on /dev/sg*. |
11 |
|
12 |
> Also, I think you are going about this the wrong way. devfsd acts on |
13 |
> triggers. The default of cdrecord is to probe /dev/sg*, and not |
14 |
> /dev/scsi/host.*/bus.*/target.*/lun.*/generic. Thus rmmod sg, change to |
15 |
> the "Default Gentoo style" devfsd.conf, killall -HUP devfsd, and then |
16 |
> do: ls /dev/sg0. After this check the permissions on |
17 |
> /dev/scsi/host0/bus0/target0/lun0/generic. |
18 |
|
19 |
Been there, done that: wrong permissions: |
20 |
|
21 |
bauniga linux # rmmod sg |
22 |
bauniga linux # killall -HUP devfsd |
23 |
bauniga linux # ll /dev/sg0 |
24 |
lr-xr-xr-x 1 root root 36 Sep 3 20:29 /dev/sg0 -> |
25 |
scsi/host0/bus0/target0/lun0/generic |
26 |
bauniga linux # ll /dev/scsi/host0/bus0/target0/lun0/generic |
27 |
crw-r----- 1 root root 21, 0 Jan 1 1970 |
28 |
/dev/scsi/host0/bus0/target0/lun0/generic |
29 |
|
30 |
|
31 |
Sorry, but I think I'm right :) : if sg is compiled as module, you either |
32 |
killall -HUP devfsd *after* sg is loaded, or change the default devfsd.conf |
33 |
as I described in a previous e-mail. |
34 |
|
35 |
|
36 |
-- |
37 |
Bauno - Eurydices, oro, properata retexite fata! |
38 |
"Even now I can feel it. Buried somewhere deep inside. Watching me... |
39 |
waiting. But you know what scares me the most. When I can't fight it |
40 |
anymore. When it takes over. When I totally lose control. I like it." |