Configure System to Automatically Load the Driver - fun - fun

Configure System to Automatically Load the Driver

abelard posted @ 2011年6月19日 15:58 in linux内核 , 2331 阅读

如题,以添加rocketRaid 2340的驱动为例:

 

# cp rr2340.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi.
# depmod
# echo “modprobe rr2340” > /etc/init.d/hptdriver
# chmod 755 /etc/init.d/hptdriver
# ln -sf /etc/init.d/hptdriver /etc/rc.d/rc3.d/S01hptdriver
# ln -sf /etc/init.d/hptdriver /etc/rc.d/rc4.d/S01hptdriver
# ln -sf /etc/init.d/hptdriver /etc/rc.d/rc5.d/S01hptdriver
这样做了以后,系统启动时,就会自动加载该驱动。
注:摘自<<RocketRAID 2340 SATAII Host Adapter User’s Guide>>

 


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee