From owner-freebsd-questions Sun Aug 2 22:53:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00905 for freebsd-questions-outgoing; Sun, 2 Aug 1998 22:53:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailgw01.execpc.com (mailgw01.execpc.com [169.207.2.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00899 for ; Sun, 2 Aug 1998 22:53:24 -0700 (PDT) (envelope-from fpawlak@execpc.com) Received: from darkstar.connect.com (harconia-1-168.mdm.mke.execpc.com [169.207.133.170]) by mailgw01.execpc.com (8.9.0) id AAA28346; Mon, 3 Aug 1998 00:53:14 -0500 (CDT) Received: (from fpawlak@localhost) by darkstar.connect.com (8.9.0/8.9.0) id AAA00428; Mon, 3 Aug 1998 00:53:19 -0500 (CDT) From: "Frank Pawlak" Message-Id: <980803055318.ZM427@darkstar.connect.com> Date: Mon, 3 Aug 1998 05:53:18 +0000 In-Reply-To: "Jeff Rogers" "error code 1 after building kernel" (Aug 2, 11:35pm) References: <199808030439.XAA04189@photon.soltec.net> X-Mailer: Z-Mail (5.0.0 30July97) To: "Jeff Rogers" , freebsd-questions@FreeBSD.ORG Subject: Re: error code 1 after building kernel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Aug 2, 11:35pm, Jeff Rogers wrote: > Subject: error code 1 after building kernel > I want to rebuild the Generic kernel to support soundblaster 16 pnp. > > I have first copied the Generic Kernel, created, edited & saved the > new one, used /usr/sbin/config [kernel name] to build it. It builds > successfully. > Do you get any errors after doing this. Just checking. They are generally indicated by a line number in the kernel config file. > This is exactly how I added the section dealing with the sb16: > Is the sb plug and play? > # PNP Driver > conroller pnp0 > > # Sound > > controller snd0 > device sb0 at isa? port 0x220 irq5 drq1 vector sbintr > device sbxvi0 at isa? drq 5 > device sbmidi0 at isa? port 0x330 > This looks OK. > Then, when I do the following: > > # cd ../../compile/[kernel name] > # make If make builds the kernel without falling over, then you must do a make install to install the kernel, and reboot to boot the new kernel. Is it on make install that it errors out? If I am correct the error should occur on the make protion of the process, not on the make install. You may try doing the kernel build with the sound stuff commented out and see if it builds. I don't expect too much from that but it would rule out the sound config. What version of FreeBSD are you running? Frank > > it appears to also be successful. But then when it appears to be > loading the new kernel, I get this output: > > loading kernel > igmp.0: Undefined symbol '_loif' referenced from text segment > ip_output.0: Undefined symbol 'looutput' referenced in text segment > ***Error code 1 > > stop > > I have gone back with "ee" and looked at the kernel, and it appears to > be okay, so far as I know (which is very little :) ). Can anyone point > me in a good direction for tracing my problem? I also did a search > for text that seemed to be highlighted in the error code (e.g. _loif); but > the searches turned up no matches. > > Did I enter the relevant pnp and sb drive info in the wrong location? > > Again, thank you all for your generosity with your expertise. > > Jeff Rogers > jlr@soltec.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >-- End of excerpt from Jeff Rogers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message