Hi Casper,

I placed the files in the directories according to your instructions.

I got the following messages in /var/adm/messages when I try to do

#add_drv dummy

--------------------------------------------------------------------------------------------------------------
Jan  4 20:58:39 opensolaris genunix: [ID 720415 kern.notice] file
/usr/kernel/drv/amd64/dummy:
Jan  4 20:58:39 opensolaris genunix: [ID 370954 kern.notice] symbol
dummy_dip:
Jan  4 20:58:39 opensolaris genunix: [ID 780480 kern.notice] value
0xffffffffc02e1ff0 does not fit
Jan  4 20:58:39 opensolaris genunix: [ID 399259 kern.notice] do_relocations:
/usr/kernel/drv/amd64/dummy do_relocate failed
Jan  4 20:58:39 opensolaris genunix: [ID 603676 kern.notice] dummy error
doing relocations
----------------------------------------------------------------------------------------------------------------------


On Mon, Jan 4, 2010 at 8:33 PM, <[email protected]> wrote:

>
>
> >Hi Brian,
> >
> >I tried as you said, I placed the actual file 'dummy' in /usr/kernel/dummy
> >and the conf file 'dummy.conf' also in the same folder.
> >
> >But then also its not working.
> >It asks me to place the driver file (dummy) in correct directory. and to
> >reboot.
> >
>
> The device driver must be in /usr/kernel/drv; not directly under /usr/
> kernel.
>
> You should install the files as follows:
>
>        /usr/kernel/drv/dummy           - the binary device driver (32 bit)
>        /usr/kernel/drv/amd64/dummy     - the binary device driver (64 bit)
>        /usr/kernel/drv/dummy.conf
>
> Assuming x86; with SPARC you'd only create a 64 bit driver in
> /usr/kernel/drv/sparcv9/dummy
>
>
> Casper
>
>


-- 
Regards,
Samir
http://samiruce273.blogspot.com
http://samirkumarmishra.blogspot.com
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to