I wrote a driver xxx, I want it to be loaded when i start the computer
  so i put xxx into /kernel/drv/sparcv9/xxx
  but after i reboot the solaris10, i check  the /var/adm/messages
  i found just after driver "attach", it "detach" ...
  then i 
  "add_drv xxx" failed , instructions "Driver (xxx) is already installed."
  "modinfo | grep xxx" show noting...
  "rem_drv xxx" success.
  "add_drv xxx" success...

  so i do things as follows:
  vi /etc/init.d/add_drv.sh
   wrote"add_drv xxx" into add_drv.sh
chmod u+x /etc/init.d/add_drv.sh
ln -s  /etc/init.d/add_drv.sh /etc/rc2.d/S99add_drv

then reboot again . but i found problem just like before: it attach then detach。

why?
why??
why???
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to