autoloading sg driver during boot

Alexander Dalloz ad+lists at uni-x.org
Wed Apr 13 21:23:59 UTC 2005


Am Mi, den 13.04.2005 schrieb Aleksandar Milivojevic um 22:48:

> Probably something trivial, but can't seem to find solution (other than 
> placing "modprobe sg" in /etc/rc.local).
> 
> I attempted something like this in modprobe.conf:
> 
> alias char-major-21 sg
> 
> (and also char-major-21-* variant)
> 
> The problem is, there are no /dev/sg* entries in /dev when machine 
> boots.  They are created by udev when "sg" driver loads.  Chicken and 
> egg problem.  Kind of.  So the above lien in modprobe.conf does not 
> really work.
> 
> So....  the question is, is there any way to instruct udev to create 
> /dev/sg* nodes (so that applications can access it and trigger auto 
> loading of sg driver)?  Or instruct system to autoload sg module during 
> boot if there are any SCSI devices, which would trigger udev to create 
> /dev/sg* nodes?  Other than placing "modprobe sg" in /etc/rc.local.

Isn't the module (and all other SCSI modules you need) included in the
initial ramdisk image?
 
> Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 23:22:52 up 1 day, 20:03, load average: 0.85, 0.99, 0.91 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050413/3715448e/attachment-0002.bin 


More information about the users mailing list