How can I install a driver?

Chris H. fbsd at 1command.com
Tue Apr 11 02:22:01 UTC 2006


Quoting Daniel O'Connor <doconnor at gsoft.com.au>:

> On Tuesday 11 April 2006 06:07, Chris H. wrote:
>> > but I have no clue how I can bypass the second step, which is installing
>> > the if_myk.ko to /boot/kernel
>> >
>> > I have tried to cp if_yk.ko /boot/kernel/
>>
>> bad idea.
>
> Maybe you should elaborate as to why..

See below...

>
> It shouldn't do any *harm*.
>
> The only downside will be that if you build a new kernel you'll no longer be
> able to load it automatically (because it will be in /boot/kernel.old)
>
> For testing purposed you could just unpack it into, say, /tmp and then do
> kldload ./if_yk.ko
>
> If that works OK then copy it into /boot/modules and add

This is the correct location for modules. Hence my "bad idea" comment.
But if you had sourced: /boot/defaults/loader.conf, man loader.conf
then you already figured this out, and know why I might have said "bad 
idea". :)

--Chris H.

> if_yk_load="YES"
> to /boot/loader.conf
>
> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>  -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
>



-- 
Linux:
As OS for users who think their using UNIX.


-----------------------------------------------------------------
FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
/////////////////////////////////////////////////////////////////

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: PGP Digital Signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060411/a74d6240/attachment.pgp


More information about the freebsd-stable mailing list