Re: kernel compilation failure, ack!

2002-09-21 Thread twig les

Yes I'd like to announce my idiocy to the
world...sigh.  I cvs'd to stable today (during Mystery
Science Theater 3000 as promised) and built everything
just fine.  My kernel built in a few easy steps like
before, and now I am proud to say I have nice, tinny
sound coming from my laptop (crappy speakers-whole
'nother problem).

The one thing I noticed is that after CVSing to stable
I did another diff on my FW kernel against GENERIC and
FW had a bunch of stuff that GENERIC didn't.  So it
seems that 4.6Release (what I was initially running)
and had some stuff in its GENERIC that wasn't in
Stable's GENERIC.  I'm not sure, hectic week.

Again, thnx for the steady stream of common sense.


--- Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 20, 2002 at 06:59:59PM -0700, twig les
> wrote:
> > I did that, it just found another line to error on
> > until I did the cp GENERIC FW and manually added
> the
> > lines I wanted.  I must have corrupted the file
> > somehow (it didn't screw itself up).  Now the new
> > error is something odd.  I think I'm going to
> remake
> > world in case I screwed something up.
> 
> Are you really trying to upgrade to 5.0-CURRENT? 
> You've got at least
> part of a 5.0-CURRENT source tree.
> 
> Kris
> 

> ATTACHMENT part 2 application/pgp-signature 



=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-21 Thread Kris Kennaway

On Fri, Sep 20, 2002 at 06:59:59PM -0700, twig les wrote:
> I did that, it just found another line to error on
> until I did the cp GENERIC FW and manually added the
> lines I wanted.  I must have corrupted the file
> somehow (it didn't screw itself up).  Now the new
> error is something odd.  I think I'm going to remake
> world in case I screwed something up.

Are you really trying to upgrade to 5.0-CURRENT?  You've got at least
part of a 5.0-CURRENT source tree.

Kris



msg02444/pgp0.pgp
Description: PGP signature


Re: kernel compilation failure, ack!

2002-09-21 Thread Giorgos Keramidas

On 2002-09-20 18:00, twig les <[EMAIL PROTECTED]> wrote:
> L# cd /usr/src
> L# make buildkernel KERNCONF=FW
> make: no target to make.
> "/usr/src/Makefile.inc1", line 140: warning: "make -f
> /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> CPUTYPE" returned non-zero status

Hmmm, it looks like you are trying to build -current on a 4.x system.
Is that so?  That would explain the following error:

> --
> ===> FW
> mkdir -p /usr/obj/usr/src/sys
> cd /usr/src/sys/i386/conf; 
> 
>PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  config  -d /usr/obj/usr/src/sys/FW 
> /usr/src/sys/i386/conf/FW
> /usr/src/sys/i386/conf/FW:256: option
> "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
> ../../conf/files: coda/coda_fbsd.c must be optional,
> mandatory or standard
> Your version of config(8) is out of sync with your
> kernel source.
> *** Error code 1

You have to complete successfully a "make buildworld" before using
"make buildkernel".  Or update config(8) before trying to buildkernel.

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread twig les

I would like to say yes because I know that that is
the correct procedure, but right now I'm on the 6th
straight hour of a retarded phone call and I can't
remember.  I'll remake world tomorrow during Mystery
Science Theater 3000.  At least then if the problem
persists I'll be in a good mood.  Thanks again, if I
find an answer I'll post it.

--- Dru <[EMAIL PROTECTED]> wrote:
> 
> 
> On Fri, 20 Sep 2002, twig les wrote:
> 
> > Well you caught me.  I had a bunch of garbage in
> my FW
> > file that I never put there (not intentionally).
> So I
> > did a quick cp GENERIC FW, added my lines and
> redid
> > the diff.  This is what I got:
> >
> >
> > L# pwd
> > /usr/src/sys/i386/conf
> > L# diff GENERIC FW
> > 251a252,261
> > >
> > > #To enable IPFW with default deny all packets
> > > options IPFIREWALL
> > > options IPFIREWALL_VERBOSE
> > > options IPFIREWALL_VERBOSE_LIMIT=10
> > > options TCP_DROP_SYNFIN #drop
> TCP
> > packets with SYN+FIN
> > > options IPFIREWALL_VERBOSE_LIMIT=100
> > #limit verbosity
> > >
> > > #device pcm0 at isa? irq5 drq 1 flags
> 0x0
> > >
> > L#
> >
> >
> > So I gained heart and pushed onward, only to see
> this
> > error:
> >
> > L# cd /usr/src
> > L# make buildkernel KERNCONF=FW
> > make: no target to make.
> > "/usr/src/Makefile.inc1", line 140: warning: "make
> -f
> > /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> > CPUTYPE" returned non-zero status
> >
> >
>
--
> > >>> Kernel build for FW started on Fri Sep 20
> 17:55:43
> > PDT 2002
> >
>
--
> > ===> FW
> > mkdir -p /usr/obj/usr/src/sys
> > cd /usr/src/sys/i386/conf;
> >
>
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> >  config  -d /usr/obj/usr/src/sys/FW
> > /usr/src/sys/i386/conf/FW
> > /usr/src/sys/i386/conf/FW:256: option
> > "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to
> 10
> > ../../conf/files: coda/coda_fbsd.c must be
> optional,
> > mandatory or standard
> > Your version of config(8) is out of sync with your
> > kernel source.
> > *** Error code 1
> 
> 
> OK, how exactly did you do your cvsup and rebuild?
> e.g., did you:
> 
> cvsup
> make -j4 buildworld
> make buildkernel  (where this was GENERIC)
> make installkernel
> make installworld
> reboot
> 
> then try your own kernel?
> 
> Dru
> 


=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread twig les

I did that, it just found another line to error on
until I did the cp GENERIC FW and manually added the
lines I wanted.  I must have corrupted the file
somehow (it didn't screw itself up).  Now the new
error is something odd.  I think I'm going to remake
world in case I screwed something up.

--- Giorgos Keramidas <[EMAIL PROTECTED]>
wrote:
> On 2002-09-20 20:42, Dru <[EMAIL PROTECTED]>
> wrote:
> > On Fri, 20 Sep 2002, twig les wrote:
> > >
> > > The error I get is thus:
> > >
> > > L# make buildkernel KERNCONF=FW
> > > make: no target to make.
> > > "/usr/src/Makefile.inc1", line 140: warning:
> "make -f
> > > /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> > > CPUTYPE" returned non-zero status
> > >
> > >
>
--
> > > >>> Kernel build for FW started on Fri Sep 20
> 16:56:19
> > > PDT 2002
> > >
>
--
> > > ===> FW
> > > mkdir -p /usr/obj/usr/src/sys
> > > cd /usr/src/sys/i386/conf;
> > >
>
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> > >  config  -d /usr/obj/usr/src/sys/FW
> > > /usr/src/sys/i386/conf/FW
> > > /usr/src/sys/i386/conf/FW:260: option
> "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
> > > /usr/src/sys/i386/conf/FW:56: unknown option
> "ICMP_BANDLIM"
> > > *** Error code 1
> 
> Read carefully the second from last line above. 
> This is the last
> error message that is printed by make, before it
> aborts.
> 
> The solution should be obvious :)
> 
> Remove or comment out the ICMP_BANDLIM option at
> line 56 of the FW
> configuration file and try again.
> 
> Giorgos.


=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread Giorgos Keramidas

On 2002-09-20 20:42, Dru <[EMAIL PROTECTED]> wrote:
> On Fri, 20 Sep 2002, twig les wrote:
> >
> > The error I get is thus:
> >
> > L# make buildkernel KERNCONF=FW
> > make: no target to make.
> > "/usr/src/Makefile.inc1", line 140: warning: "make -f
> > /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> > CPUTYPE" returned non-zero status
> >
> > --
> > >>> Kernel build for FW started on Fri Sep 20 16:56:19
> > PDT 2002
> > --
> > ===> FW
> > mkdir -p /usr/obj/usr/src/sys
> > cd /usr/src/sys/i386/conf;
> > 
>PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> >  config  -d /usr/obj/usr/src/sys/FW
> > /usr/src/sys/i386/conf/FW
> > /usr/src/sys/i386/conf/FW:260: option "IPFIREWALL_VERBOSE_LIMIT" redefined from 
>100 to 10
> > /usr/src/sys/i386/conf/FW:56: unknown option "ICMP_BANDLIM"
> > *** Error code 1

Read carefully the second from last line above.  This is the last
error message that is printed by make, before it aborts.

The solution should be obvious :)

Remove or comment out the ICMP_BANDLIM option at line 56 of the FW
configuration file and try again.

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread Dru



On Fri, 20 Sep 2002, twig les wrote:

> Well you caught me.  I had a bunch of garbage in my FW
> file that I never put there (not intentionally). So I
> did a quick cp GENERIC FW, added my lines and redid
> the diff.  This is what I got:
>
>
> L# pwd
> /usr/src/sys/i386/conf
> L# diff GENERIC FW
> 251a252,261
> >
> > #To enable IPFW with default deny all packets
> > options IPFIREWALL
> > options IPFIREWALL_VERBOSE
> > options IPFIREWALL_VERBOSE_LIMIT=10
> > options TCP_DROP_SYNFIN #drop TCP
> packets with SYN+FIN
> > options IPFIREWALL_VERBOSE_LIMIT=100
> #limit verbosity
> >
> > #device pcm0 at isa? irq5 drq 1 flags 0x0
> >
> L#
>
>
> So I gained heart and pushed onward, only to see this
> error:
>
> L# cd /usr/src
> L# make buildkernel KERNCONF=FW
> make: no target to make.
> "/usr/src/Makefile.inc1", line 140: warning: "make -f
> /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> CPUTYPE" returned non-zero status
>
> --
> >>> Kernel build for FW started on Fri Sep 20 17:55:43
> PDT 2002
> --
> ===> FW
> mkdir -p /usr/obj/usr/src/sys
> cd /usr/src/sys/i386/conf;
> 
>PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  config  -d /usr/obj/usr/src/sys/FW
> /usr/src/sys/i386/conf/FW
> /usr/src/sys/i386/conf/FW:256: option
> "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
> ../../conf/files: coda/coda_fbsd.c must be optional,
> mandatory or standard
> Your version of config(8) is out of sync with your
> kernel source.
> *** Error code 1


OK, how exactly did you do your cvsup and rebuild? e.g., did you:

cvsup
make -j4 buildworld
make buildkernel(where this was GENERIC)
make installkernel
make installworld
reboot

then try your own kernel?

Dru


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread twig les

Well you caught me.  I had a bunch of garbage in my FW
file that I never put there (not intentionally). So I
did a quick cp GENERIC FW, added my lines and redid
the diff.  This is what I got:


L# pwd
/usr/src/sys/i386/conf
L# diff GENERIC FW
251a252,261
> 
> #To enable IPFW with default deny all packets
> options IPFIREWALL
> options IPFIREWALL_VERBOSE
> options IPFIREWALL_VERBOSE_LIMIT=10
> options TCP_DROP_SYNFIN #drop TCP
packets with SYN+FIN
> options IPFIREWALL_VERBOSE_LIMIT=100   
#limit verbosity
> 
> #device pcm0 at isa? irq5 drq 1 flags 0x0
> 
L# 


So I gained heart and pushed onward, only to see this
error:

L# cd /usr/src
L# make buildkernel KERNCONF=FW
make: no target to make.
"/usr/src/Makefile.inc1", line 140: warning: "make -f
/dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
CPUTYPE" returned non-zero status

--
>>> Kernel build for FW started on Fri Sep 20 17:55:43
PDT 2002
--
===> FW
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/usr/src/sys/FW 
/usr/src/sys/i386/conf/FW
/usr/src/sys/i386/conf/FW:256: option
"IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
../../conf/files: coda/coda_fbsd.c must be optional,
mandatory or standard
Your version of config(8) is out of sync with your
kernel source.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
L# 


Now I'm scratching my head trying to figure out how to
update my configure (I tried pkg_version and its not
there).  Sigh.  Thanks for the lead, any additional
help will gain you a smile.



--- Dru <[EMAIL PROTECTED]> wrote:
> 
> 
> On Fri, 20 Sep 2002, twig les wrote:
> 
> > Hello *, for weeks I haven't been able to cut a
> new
> > kernel, which means I can't add my sound driver
> (pcm0)
> > which means I can't get one more step toward the
> goal
> > of replacing all windows tasks in my life with
> BSD.
> > The error I get is thus:
> >
> > L# make buildkernel KERNCONF=FW
> > make: no target to make.
> > "/usr/src/Makefile.inc1", line 140: warning: "make
> -f
> > /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> > CPUTYPE" returned non-zero status
> >
> >
>
--
> > >>> Kernel build for FW started on Fri Sep 20
> 16:56:19
> > PDT 2002
> >
>
--
> > ===> FW
> > mkdir -p /usr/obj/usr/src/sys
> > cd /usr/src/sys/i386/conf;
> >
>
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> >  config  -d /usr/obj/usr/src/sys/FW
> > /usr/src/sys/i386/conf/FW
> > /usr/src/sys/i386/conf/FW:260: option
> > "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to
> 10
> > /usr/src/sys/i386/conf/FW:56: unknown option
> > "ICMP_BANDLIM"
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > L#
> >
> >
> > 
> >
> > Now I just cvs'd the source because I was
> desperate so
> > my new uname -a is:
> >
> > L# uname -a
> > FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
> > 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe  i386
> > L#
> >
> >
> > I have no idea why this started happening.  I
> built a
> > custom kernel about 1.5 months ago and it works
> fine.
> > This FW kernel I'm trying to build is simply
> GENERIC
> > with some well-known options added for IPFW, plus
> now
> > I'm adding the pcm0 line.  Regardless, when I try
> to
> > compile GENERIC it fails.  Please help me, I've
> put a
> > ton of time into getting my laptop just where I
> want
> > it...so close to Valhalla...so close
> 
> 
> Can you send the list the output of:
> 
> cd /usr/src/sys/i386/conf
> diff GENERIC FW
> 
> Dru
> 


=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel compilation failure, ack!

2002-09-20 Thread Dru



On Fri, 20 Sep 2002, twig les wrote:

> Hello *, for weeks I haven't been able to cut a new
> kernel, which means I can't add my sound driver (pcm0)
> which means I can't get one more step toward the goal
> of replacing all windows tasks in my life with BSD.
> The error I get is thus:
>
> L# make buildkernel KERNCONF=FW
> make: no target to make.
> "/usr/src/Makefile.inc1", line 140: warning: "make -f
> /dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
> CPUTYPE" returned non-zero status
>
> --
> >>> Kernel build for FW started on Fri Sep 20 16:56:19
> PDT 2002
> --
> ===> FW
> mkdir -p /usr/obj/usr/src/sys
> cd /usr/src/sys/i386/conf;
> 
>PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>  config  -d /usr/obj/usr/src/sys/FW
> /usr/src/sys/i386/conf/FW
> /usr/src/sys/i386/conf/FW:260: option
> "IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
> /usr/src/sys/i386/conf/FW:56: unknown option
> "ICMP_BANDLIM"
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> L#
>
>
> 
>
> Now I just cvs'd the source because I was desperate so
> my new uname -a is:
>
> L# uname -a
> FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
> 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe  i386
> L#
>
>
> I have no idea why this started happening.  I built a
> custom kernel about 1.5 months ago and it works fine.
> This FW kernel I'm trying to build is simply GENERIC
> with some well-known options added for IPFW, plus now
> I'm adding the pcm0 line.  Regardless, when I try to
> compile GENERIC it fails.  Please help me, I've put a
> ton of time into getting my laptop just where I want
> it...so close to Valhalla...so close


Can you send the list the output of:

cd /usr/src/sys/i386/conf
diff GENERIC FW

Dru


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



kernel compilation failure, ack!

2002-09-20 Thread twig les

Hello *, for weeks I haven't been able to cut a new
kernel, which means I can't add my sound driver (pcm0)
which means I can't get one more step toward the goal
of replacing all windows tasks in my life with BSD. 
The error I get is thus:

L# make buildkernel KERNCONF=FW
make: no target to make.
"/usr/src/Makefile.inc1", line 140: warning: "make -f
/dev/null -m /usr/src/share/mk  CPUTYPE=dummy -V
CPUTYPE" returned non-zero status

--
>>> Kernel build for FW started on Fri Sep 20 16:56:19
PDT 2002
--
===> FW
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/usr/src/sys/FW 
/usr/src/sys/i386/conf/FW
/usr/src/sys/i386/conf/FW:260: option
"IPFIREWALL_VERBOSE_LIMIT" redefined from 100 to 10
/usr/src/sys/i386/conf/FW:56: unknown option
"ICMP_BANDLIM"
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
L# 




Now I just cvs'd the source because I was desperate so
my new uname -a is:

L# uname -a
FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe  i386
L# 


I have no idea why this started happening.  I built a
custom kernel about 1.5 months ago and it works fine. 
This FW kernel I'm trying to build is simply GENERIC
with some well-known options added for IPFW, plus now
I'm adding the pcm0 line.  Regardless, when I try to
compile GENERIC it fails.  Please help me, I've put a
ton of time into getting my laptop just where I want
it...so close to Valhalla...so close

=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message