PLease, please!

The problem of disappearing ide-scsi cdrom is totally diferent; see 
another thread today (forgot subject and do not have it anymore). You 
have to add

probeall svsi-hosts scsi_hostadapter scsi_hostapdapter1 ...

for all SCSU hostadapters to modules.conf. That will cause devfsd to 
insmod SCSI modules on access to /dev/scd* and this will also create 
/dev/scd* if it does not exist. See:

{pts/2}% sudo rmmod ide-scsi
{pts/2}% ll /dev/scd*
zsh: no matches found: /dev/scd*
{pts/2}% ll /dev/scd0
lr-xr-xr-x    1 root     root           31 ???  9 00:44 /dev/scd0 -> 
scsi/host1/bus0/target0/lun0/cd
{pts/2}% lsmod | grep ide-scsi
ide-scsi                8096   0 (autoclean)
scsi_mod               91040   4 [sr_mod ide-scsi ppa sd_mod]
{pts/2}% grep hostadapter /etc/modules.conf
alias scsi_hostadapter ppa
alias scsi_hostadapter1 ide-scsi
probeall scsi-hosts scsi_hostadapter scsi_hostadapter1

What you have done is to commet out removing of device entry when module 
is unloaded. While it is possible solution it has drawbacks.

-andrej

guran wrote:
> Hi 
> 
> I had the same 'not found device' so I went to /etc/devfsd.conf and hashed 
> out the two last lines:
> 
> # Enable full compatibility mode for old device names. You may comment these
> # out if you don't use the old device names. Make sure you know what you're
> # doing!
> REGISTER        .*              MKOLDCOMPAT
> UNREGISTER      .*              RMOLDCOMPAT
> 
> # You may comment out the above and uncomment the following if you've
> # configured your system to use the original "new" devfs names or the really
> # new names
> #REGISTER       vc/.*           MKOLDCOMPAT
> #UNREGISTER     vc/.*           RMOLDCOMPAT
> #REGISTER       pty/.*          MKOLDCOMPAT
> #UNREGISTER     pty/.*          RMOLDCOMPAT
> #REGISTER       misc            MKOLDCOMPAT
> #UNREGISTER     misc            RMOLDCOMPAT
> 
> # You may comment these out if you don't use the original "new" names
> REGISTER        .*              MKNEWCOMPAT
> UNREGISTER      .*              RMNEWCOMPAT
> 
> And then all was back.
> guran
> 



Reply via email to