Re: 8.2-RC Kernel build failure

2011-01-29 Thread Boris Samorodov
On Sat, 29 Jan 2011 12:49:10 +0300 Odhiambo Washington wrote:
> On Sat, Jan 29, 2011 at 12:30 PM, Boris Samorodov  wrote:
> > On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote:
> >
> > > cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
> > > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> > -Wpointer-arith
> > > -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> > > -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> > > -finline-limit=8000 --param inline-unit-growth=100 --param
> > > large-function-growth=1000  -mno-align-long-strings
> > > -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> > > -mno-sse3 -ffreestanding -fstack-protector -Werror
> > >  /usr/src/sys/dev/jme/if_jme.c
> > > *** Error code 1
> >
> > > Stop in /usr/obj/usr/src/sys/GW.
> > > *** Error code 1
> >
> > > Stop in /usr/src.
> > > *** Error code 1
> >
> > > Stop in /usr/src.
> >
> > It's always a good idea to show a command one used. And assuming you use
> > "-j X" the log is useless since the actual error was way earlier. Please,
> > remove the flag, add "-DNO_CLEAN" and show the command and a tail of
> > the output.

> I always use `make kernel KERNCONF=MY_KERNEL`. No special flags.
> The whole output is here - http://62.8.64.102/~wash/kernel-20110129.log.txt
>  

As for me, I've seen that for the first time... First I'll try to
cleandir and redo the build. If fail -- build GENERIC, if fail --
GENERIC with null make.conf.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 8.2-RC Kernel build failure

2011-01-29 Thread Boris Samorodov
On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote:

> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -mno-sse3 -ffreestanding -fstack-protector -Werror
>  /usr/src/sys/dev/jme/if_jme.c
> *** Error code 1

> Stop in /usr/obj/usr/src/sys/GW.
> *** Error code 1

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

> Stop in /usr/src.

It's always a good idea to show a command one used. And assuming you use
"-j X" the log is useless since the actual error was way earlier. Please,
remove the flag, add "-DNO_CLEAN" and show the command and a tail of
the output.

> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Damn!!

Yep.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 8.2-RC Kernel build failure

2011-01-29 Thread Odhiambo Washington
On Sat, Jan 29, 2011 at 12:30 PM, Boris Samorodov  wrote:

> On Sat, 29 Jan 2011 12:19:00 +0300 Odhiambo Washington wrote:
>
> > cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith
> > -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
> > -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
> > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> > -finline-limit=8000 --param inline-unit-growth=100 --param
> > large-function-growth=1000  -mno-align-long-strings
> > -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> > -mno-sse3 -ffreestanding -fstack-protector -Werror
> >  /usr/src/sys/dev/jme/if_jme.c
> > *** Error code 1
>
> > Stop in /usr/obj/usr/src/sys/GW.
> > *** Error code 1
>
> > Stop in /usr/src.
> > *** Error code 1
>
> > Stop in /usr/src.
>
> It's always a good idea to show a command one used. And assuming you use
> "-j X" the log is useless since the actual error was way earlier. Please,
> remove the flag, add "-DNO_CLEAN" and show the command and a tail of
> the output.
>

I always use `make kernel KERNCONF=MY_KERNEL`. No special flags.
The whole output is here - http://62.8.64.102/~wash/kernel-20110129.log.txt
 
-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


8.2-RC Kernel build failure

2011-01-29 Thread Odhiambo Washington
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror
 /usr/src/sys/dev/jme/if_jme.c
*** Error code 1

Stop in /usr/obj/usr/src/sys/GW.
*** Error code 1

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

Stop in /usr/src.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Kernel build failure - on joy.sh?

2003-12-19 Thread Ceri Davies
On Thu, Dec 18, 2003 at 07:18:52PM -0800, Kent Stewart wrote:
> On Thursday 18 December 2003 06:49 pm, The Bean wrote:

> > So this is a make problem, not a config file problem. What's odd is that my
> > attempt to make installkernel worked when I upgraded, but make
> > installkernel KERNCONF=MyGENERIC fails, even though the only differences
> > are options IPFIREWALL,
> > options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different
> > config file cause make to do more work, and that triggered the problem.
> > Interesting.
> 
> I didn't look into that. I saw that joy.sh had been moved to the attic on the 
> cvs-repository and stopped at that point. FWIW, my config file doesn't have 
> anything to say about a "joy".

joy.sh has not been deleted from RELENG_4, only HEAD.

Ceri

-- 


pgp0.pgp
Description: PGP signature


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread Kent Stewart
On Thursday 18 December 2003 06:49 pm, The Bean wrote:
> --- Kent Stewart <[EMAIL PROTECTED]> wrote:
> > Joy.sh was retired but the Makefile still refers to it as an afterinstall
> > option. The joy.sh script was never removed from my /usr/src by cvsup.
> >
> > You could grab joy.sh from the attic. The script that I still have,
> > simply does "kldload joy".
>
> Thank you Kent, for your awfully prompt resposne! This confused me at
> first, but I believe you're saying that either I can go to the attic and
> get joy.sh . . . OR, I can simply make a one-liner that says 'kldload
> joy.sh'. If I don't care about joy then I suppose a 0-liner would work too,
> as long as make finds something. Since I don't know what the attic is, it
> might be vi time (or perhaps just touch).
>

Well, what is there is the following

#!/bin/sh
# $FreeBSD: src/sys/modules/joy/joy.sh,v 1.5 1999/08/28 00:47:23 peter Exp $

kldload joy

The permissions are
-rw-r--r--  1 root  wheel  100 Aug 27  1999 /usr/src/sys/modules/joy/joy.sh

>
>
> So this is a make problem, not a config file problem. What's odd is that my
> attempt to make installkernel worked when I upgraded, but make
> installkernel KERNCONF=MyGENERIC fails, even though the only differences
> are options IPFIREWALL,
> options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different
> config file cause make to do more work, and that triggered the problem.
> Interesting.

I didn't look into that. I saw that joy.sh had been moved to the attic on the 
cvs-repository and stopped at that point. FWIW, my config file doesn't have 
anything to say about a "joy".

>
> Should the make file be changed so that it doesn't try to install a module
> that it doesn't build? Or is there a legitimate reason to try it?

It doesn't make sense for joy/Makefile to even be used but if you delete the 
reference in modules/Makefile, cvsup will replace it. If you add joy.sh, you 
shouldn't have the problem.

Kent

>
> Thanks again Kent!
> Chris
>
> __
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread The Bean

--- Kent Stewart <[EMAIL PROTECTED]> wrote:
> Joy.sh was retired but the Makefile still refers to it as an afterinstall 
> option. The joy.sh script was never removed from my /usr/src by cvsup. 
> 
> You could grab joy.sh from the attic. The script that I still have, simply 
> does "kldload joy".

Thank you Kent, for your awfully prompt resposne! This confused me at first, 
but I believe you're saying that either I can go to the attic and get joy.sh . . . 
OR, I can simply make a one-liner that says 'kldload joy.sh'. If I don't care about
joy then I suppose a 0-liner would work too, as long as make finds something. Since
I don't know what the attic is, it might be vi time (or perhaps just touch).



So this is a make problem, not a config file problem. What's odd is that my attempt
to make installkernel worked when I upgraded, but make installkernel KERNCONF=MyGENERIC
fails, even though the only differences are options IPFIREWALL, 
options IPFIREWALL_VERBOSE, and options IPDIVERT. Perhaps the different config file
cause make to do more work, and that triggered the problem. Interesting.

Should the make file be changed so that it doesn't try to install a module that it
doesn't build? Or is there a legitimate reason to try it?

Thanks again Kent!
Chris

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel build failure - on joy.sh?

2003-12-18 Thread Kent Stewart
On Thursday 18 December 2003 05:21 pm, The Bean wrote:
> Hi all,
>
> I recently updated my source to 4.9-Stable from 4.2-Release.
> I did everything according the Handbook, and it seems to be
> working fine.
>
> I'm now trying to enable the kernel for firewalls. I made a copy of
> GENERIC & made the attendant changes.
>
> make buildkernel KERNCONF=MyNewfile works fine.
>
> make installkernel KERNCONF=MyNewfile fails, with this message:
>
>   install: /usr/src/sys/modules/joy/joy.sh: No such file or directory
>
> Googling on this, I found two cases. One guy got no responses. The other
> got one response which said "If I had to guess, you updated the sources
> but were only building the kernel.  Don't do that."
>
> True, I updated my source, but I also did a buildworld on that source,
> and actually built a new kernel as part of that process (as recommended
> by the handbook).
>
> Does anyone know what the problem might be? Also, doing man joy
> (tee hee) tells me that joy.sh is used to load the joystick module. I
> don't care about the joystick, so can I just disable this?
>

Joy.sh was retired but the Makefile still refers to it as an afterinstall 
option. The joy.sh script was never removed from my /usr/src by cvsup. 

You could grab joy.sh from the attic. The script that I still have, simply 
does "kldload joy".

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel build failure - on joy.sh?

2003-12-18 Thread The Bean
Hi all,

I recently updated my source to 4.9-Stable from 4.2-Release. 
I did everything according the Handbook, and it seems to be
working fine.

I'm now trying to enable the kernel for firewalls. I made a copy of
GENERIC & made the attendant changes. 

make buildkernel KERNCONF=MyNewfile works fine. 

make installkernel KERNCONF=MyNewfile fails, with this message:

  install: /usr/src/sys/modules/joy/joy.sh: No such file or directory

Googling on this, I found two cases. One guy got no responses. The other
got one response which said "If I had to guess, you updated the sources 
but were only building the kernel.  Don't do that." 

True, I updated my source, but I also did a buildworld on that source, 
and actually built a new kernel as part of that process (as recommended 
by the handbook). 

Does anyone know what the problem might be? Also, doing man joy 
(tee hee) tells me that joy.sh is used to load the joystick module. I
don't care about the joystick, so can I just disable this?

Thanks,
The Bean


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel build failure

2003-11-17 Thread Kris Kennaway
On Mon, Nov 17, 2003 at 06:26:39PM -0500, [EMAIL PROTECTED] wrote:
> I am trying to build a new kernel on 4.9.release. I cvsup'ed the latest
> ports and soureces right before I tried the kernel build.  I followed the
> handbook, and when I typed /usr/sbin/config FIREWALL (name of kernel config),  I 
> received the
> following message:
> [EMAIL PROTECTED] conf]# /usr/sbin/config FIREWALL
> ../../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.
> 
> What does this mean?  Do I need to upgrade config(8), how do you do that?
> I checked the man page, but it didn't provide any insight.

Looks like you forgot to follow the upgrade procedure listed in the handbook.

kris


pgp0.pgp
Description: PGP signature


Re: kernel build failure

2003-11-17 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> I am trying to build a new kernel on 4.9.release. I cvsup'ed the latest
> ports and soureces right before I tried the kernel build.  I followed the
> handbook, and when I typed /usr/sbin/config FIREWALL (name of kernel config),  I 
> received the
> following message:
> [EMAIL PROTECTED] conf]# /usr/sbin/config FIREWALL
> ../../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.
> 
> What does this mean?  Do I need to upgrade config(8), how do you do that?

By the documented upgrade procedure.  You're following the kernel
build procedure, but it only applies if the installed system is the
same version as the sources from which you're trying to build a new
kernel.  

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel build failure

2003-11-17 Thread Kent Stewart
On Monday 17 November 2003 03:26 pm, [EMAIL PROTECTED] wrote:
> I am trying to build a new kernel on 4.9.release. I cvsup'ed the latest
> ports and soureces right before I tried the kernel build.  I followed the
> handbook, and when I typed /usr/sbin/config FIREWALL (name of kernel
> config),  I received the following message:
> [EMAIL PROTECTED] conf]# /usr/sbin/config FIREWALL
> ../../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.
>
> What does this mean?  Do I need to upgrade config(8), how do you do that?
> I checked the man page, but it didn't provide any insight.

What did you cvsup? 

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel build failure

2003-11-17 Thread andy
I am trying to build a new kernel on 4.9.release. I cvsup'ed the latest
ports and soureces right before I tried the kernel build.  I followed the
handbook, and when I typed /usr/sbin/config FIREWALL (name of kernel config),  I 
received the
following message:
[EMAIL PROTECTED] conf]# /usr/sbin/config FIREWALL
../../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.

What does this mean?  Do I need to upgrade config(8), how do you do that?
I checked the man page, but it didn't provide any insight.

TIA,

Andy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"