How can I install a driver?
I'm having an issue as I'm a newbie in installing/configuring the marvell driver for FreeBSD. A quick search in the mailing lists shows: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2601224+2604070 +/usr/local/www/db/text/2006/freebsd-questions/20060402.freebsd-questions 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/ but that didn't bring anything new in ifconfing! Can someone shed some light here please? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I install a driver?
Yousef Raffah [EMAIL PROTECTED] wrote: I'm having an issue as I'm a newbie in installing/configuring the marvell driver for FreeBSD. A quick search in the mailing lists shows: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2601224+2604070 +/usr/local/www/db/text/2006/freebsd-questions/20060402.freebsd-questions 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/ but that didn't bring anything new in ifconfing! Try: kldxref /boot/kernel kldload if_yk Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: How can I install a driver?
Hello, Have a look at /boot/defaults/loader.conf for your desired driver. Then copy it to your /boot/loader.conf file (the desired line). Also have a look at the command: man loader.conf Quoting Yousef Raffah [EMAIL PROTECTED]: I'm having an issue as I'm a newbie in installing/configuring the marvell driver for FreeBSD. A quick search in the mailing lists shows: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2601224+2604070 +/usr/local/www/db/text/2006/freebsd-questions/20060402.freebsd-questions 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. but that didn't bring anything new in ifconfing! Can someone shed some light here please? --Chris H. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- Linux: An OS for users who think their using UNIX. - FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006 / ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I install a driver?
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.. 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 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 pgpVRJnqQwnpU.pgp Description: PGP signature
Re: How can I install a driver?
Quoting Daniel O'Connor [EMAIL PROTECTED]: 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 / pgpRc5SjGhIk5.pgp Description: PGP Digital Signature
Re: How can I install a driver?
On Tuesday 11 April 2006 11:51, Chris H. wrote: 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. :) Yes, *I* already know that but the guy asking probably didn't, and your message isn't very helpful if it doesn't say why.. -- 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 pgpfw2QEGi1ME.pgp Description: PGP signature