From owner-freebsd-questions Mon Aug 3 16:28:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29627 for freebsd-questions-outgoing; Mon, 3 Aug 1998 16:28:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from photon.soltec.net (photon.soltec.net [206.148.208.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29583 for ; Mon, 3 Aug 1998 16:27:59 -0700 (PDT) (envelope-from jlr@soltec.net) Received: from jeff (ppp23.cu.soltec.net [206.148.209.23]) by photon.soltec.net (8.8.8/8.8.9) with SMTP id SAA24505; Mon, 3 Aug 1998 18:27:14 -0500 (CDT) Message-Id: <199808032327.SAA24505@photon.soltec.net> From: "Jeff Rogers" To: "Frank Pawlak" Date: Mon, 3 Aug 1998 18:23:36 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: error code 1 after building kernel CC: freebsd-questions@FreeBSD.ORG In-reply-to: <980803055318.ZM427@darkstar.connect.com> References: "Jeff Rogers" "error code 1 after building kernel" (Aug 2, 11:35pm) X-mailer: Pegasus Mail for Win32 (v3.01b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Frank, Listen, I have a question. First, I've tried to rebuild this kernel a number of times and the same error @ time. I've checked & re-checked the syntax, doing altF2, F3, etc., logging on as root, opening the good kernel there, going back & forth and comparing and comparing to make doubly sure. I just don't know what I'm doing wrong. The version I'm running is 2.2.6. Now the question: Could you mail me an attachment or something with the wording, layout of your working kernel that you'd be comfortable with? At least that way, I'd see another one created from scratch. I don't really know what else to do. Thank you so much. Jeff Rogers, jlr@soltec.net > 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