le mer 03-10-2001 at 07:30 Borsenkow Andrej a écrit :
> 
> > > > My scsi card is a Adaptec 7850, and so I use aic7xxx module
> (loaded)
> > > >
> > > > What should I do ?
> > > > Thanks in advance
> > >
> > > try to modprobe sg module and see if this change things.
> > >
> > > --
> > > Warly
> > >
> > 
> > Yes, it works, thanks!
> > But.. why? :)
> > And why it is not loaded automatically?
> > 
> 
> It is loaded when I do cdrecord -scanbus (it does not find any devices
> but it is different matter).
> 
> Please
> 
> rpm -q devfsd
> /etc/mosules
> /etc/modules.conf
> /etc/modules.devfs
> 
> -andrej
> 

[katios@katios katios]$ rpm -q devfsd
devfsd-1.3.18-16mdk


[katios@katios katios]$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.

scsi_hostadapter
i2c-viapro
w83781d



[katios@katios katios]$ cat /etc/modules.conf

pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
alias sound-slot-0 emu10k1
probeall scsi_hostadapter aic7xxx
alias eth0 natsemi
probeall aic7xxx aic7xxx




[katios@katios katios]$ cat /etc/modules.devfs
# /etc/modules.devfs
# Richard Gooch  <[EMAIL PROTECTED]>         16-JUL-2001
#
# THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT EDIT!!!
# THIS FILE WILL BE OVERWRITTEN EACH TIME YOU INSTALL DEVFSD!!!
# Modify /etc/modules.conf instead.
# This file comes with devfsd-vDEVFSD-VERSION which is available from:
# http://www.atnf.csiro.au/~rgooch/linux/
# or directly from:
#
ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd-vDEVFSD-VERSION.tar.gz

############################################################################### #   
Sample configurations that you may want to place in /etc/modules.conf
#
alias           /dev/sound              sound-slot-0
#alias          /dev/v4l                bttv
#alias          /dev/misc/watchdog      pcwd
#alias          gen-md                  raid0
#alias          /dev/joysticks          joystick
#probeall       scsi_hostadapter        sym53c8xx

############################################################################### #      
             Generic section: do not change or copy
#
# All HDDs
probeall  /dev/discs            scsi_hostadapter sd_mod ide-probe-mod
ide-disk DAC960
alias     /dev/discs/*          /dev/discs

# All CD-ROMs
probeall  /dev/cdroms           scsi_hostadapter sr_mod ide-probe-mod
ide-cd cdrom
alias     /dev/cdroms/*         /dev/cdroms

# All tapes
probeall  /dev/tapes            scsi_hostadapter st ide-probe-mod
ide-tape
alias     /dev/tapes/*          /dev/tapes

# All SCSI devices
probeall  /dev/scsi             scsi_hostadapter sd_mod sr_mod st sg

# All IDE devices
probeall  /dev/ide              ide-probe-mod ide-disk ide-cd ide-tape
ide-floppy

# IDE CD-ROMs
alias     /dev/ide/*/cd         ide-cd

# SCSI HDDs
probeall  /dev/sd               scsi_hostadapter sd_mod
alias     /dev/sd*              /dev/sd

# SCSI CD-ROMs
probeall  /dev/scd              scsi_hostadapter sr_mod
alias     /dev/scd*             /dev/scd
alias     /dev/scsi/*/cd        sr_mod

# SCSI tapes
probeall  /dev/st               scsi_hostadapter st
alias     /dev/st*              /dev/st
alias     /dev/nst*             /dev/st

# SCSI generic
probeall  /dev/sg               scsi_hostadapter sg
alias     /dev/sg*              /dev/sg
alias     /dev/scsi/*/generic   /dev/sg

# Floppies
alias     /dev/floppy           floppy
alias     /dev/fd*              floppy

# RAMDISCs
alias     /dev/rd               rd
alias     /dev/ram*             rd

# Loop devices
alias     /dev/loop*            loop

# Meta devices
alias     /dev/md*              gen-md

# Parallel port printers
alias     /dev/printers*        lp
alias     /dev/lp*              /dev/printers

# Soundcard
alias     /dev/audio            /dev/sound
alias     /dev/mixer            /dev/sound
alias     /dev/dsp              /dev/sound
alias     /dev/dspW             /dev/sound
alias     /dev/midi             /dev/sound

# Joysticks
alias     /dev/js*              /dev/joysticks

# Serial ports
alias     /dev/tts*             serial
alias     /dev/ttyS*            /dev/tts
alias     /dev/cua*             /dev/tts

# Miscellaneous devices
alias     /dev/misc/atibm       atixlmouse
alias     /dev/misc/inportbm    msbusmouse
alias     /dev/misc/logibm      busmouse
alias     /dev/misc/rtc         rtc
alias     /dev/rtc              /dev/misc/rtc

# PPP devices
alias     /dev/ppp*             ppp_generic

# Video capture devices
alias     /dev/video*           /dev/v4l
alias     /dev/vbi*             /dev/v4l

# Pull in the configuration file. Do this last because modprobe(8)
processes in
# per^H^H^Hreverse order and the sysadmin may want to over-ride what is
in the
# generic file
include /etc/modules.conf



Thanks

-- 

Sylvain OBEGI 
Email : [EMAIL PROTECTED]
ICQ : 661913 



Reply via email to