From owner-freebsd-questions Sat May 29 0:44:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id F2EB31537F for ; Sat, 29 May 1999 00:44:44 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id JAA03110; Sat, 29 May 1999 09:44:40 +0200 (MET DST) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.7.5/8.7.3) with ESMTP id JAA09160; Sat, 29 May 1999 09:44:39 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.9.2/8.9.1) id JAA02372; Sat, 29 May 1999 09:44:39 +0200 (CEST) (envelope-from gunnar) Date: Sat, 29 May 1999 09:44:39 +0200 From: Gunnar Flygt To: Ghostbaer Cc: FreeBSD Questions Subject: Re: Kernel Config Question Message-ID: <19990529094439.A2322@sr.se> Reply-To: flygt@sr.se References: <19990528184557.0456414DC5@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990528184557.0456414DC5@hub.freebsd.org>; from Ghostbaer on Fri, May 28, 1999 at 08:46:20PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 28, 1999 at 08:46:20PM +0200, Ghostbaer wrote: > On Fri, 28 May 1999 09:55:11 -0700, Alex Nygren wrote: > > > > >I am a FreeBSD newbie, and am having some trouble making my driver > >changes stick. FreeBSD seems to recognize my NE2000 card on irq 10, > >port 0x280. However the card is at irq 11, port 0x280. > > Hi, Alex! > > I had the same problem (i'm still a newbie). You need to compile your own Kernel. > I'll just give you a nice walk-thru, on how doing that. I hope you installed > the sources for Kernel and all that stuff... > > 1. Login as user "ROOT" > 2. cd /usr/src/sys/i386/conf <- That where the Kernelsource is located > 3. cp GENERIC MyOwnKernel <- Make a copy of your generic Kernel (GENERIC is all uppercase) > 4. ee MyOwnKernel [or] vi MyOwnKernel <- depends on what is your favorite editor > 5. search for "ie0" and set irq 10 to 11 > and change 0xMyPort you to your required settings > 6. /usr/sbin/config MyOwnKernel <- Setup your Kernel > 7. make depend <- the regular make-stuff > 8. make > 9. make install > 10. reboot your system > > If everything goes correct, you'll experience the joy of the net. In the case > you actually FORGOT to install sources, when installing from a FTP-server, > you got a serious problem. I had to completly reinstall FreeBSD =( Then it would be better to get the src directory from the ftp-site and run `sh install.sh sys` to install the kernel sources. You NEVER have to reinstall FreeBSD (if you didn't screw upo the disk layout)!! Reinstalling is a M$ invention. It has it's saying "Never find out what's wrong, reinstall instead!" ;-) -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message