Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 1998 05:53:18 +0000
From:      "Frank Pawlak" <fpawlak@execpc.com>
To:        "Jeff Rogers" <jlr@soltec.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: error code 1 after building kernel
Message-ID:  <980803055318.ZM427@darkstar.connect.com>
In-Reply-To: "Jeff Rogers" <jlr@soltec.net> "error code 1 after building kernel" (Aug  2, 11:35pm)
References:  <199808030439.XAA04189@photon.soltec.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?980803055318.ZM427>