Re: Current kernel build broken with linuxkpi?

2021-01-19 Thread Evilham



On dc., gen. 13 2021, David Wolfskill wrote:


On Wed, Jan 13, 2021 at 02:52:32PM -0500, Robert Huff wrote:


Hans Petter Selasky :

>   You need to update that DRM port you are using before the 
>   issue

>   will be fixed.

I'm confused.
	I have drm-current-kmod listed in PORTS_MODULES; things on 
that
list get built _after_ buildkernel (installkernel??) for 
reasons I

thought I understood.
You are telling me I need to update this _before_ buildkernel?


Perplexedly,



He telling you to update the port itself -- e.g.,
/usr/ports/graphics/drm-kmod, as the port was recently updated:


r561457 | manu | 2021-01-13 03:22:25 -0800 (Wed, 13 Jan 2021) | 
6 lines


graphics/drm-{current,devel}-kmod: Update to latest source

This fix a compilation problem with a pre 1300135 source tree.

Reported by:Filippo Moretti 


So you need to update the "ports files" to get that update, then 
rebuild
the port (in concert with rebuilding the kernel, as you are 
doing).


Peace,
david



Just as a curiosity because I was hit by this and the thread was 
helpful:
I was unable to build the kernel with an up to date 
drm-current-kmod, but as soon as I switched to drm-devel-kmod, I 
was able to.

The running kernel was uname -K: 1300133.

Thanks everyone for having added their input here.
--
Evilham
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-16 Thread Robert Huff


And ... we have a winner.  (So far.)
The system in question has 11+ hours uptime running:

FreeBSD 13.0-ALPHA1 #1 main-c1149-g79a5c790bd: Sat Jan 16 09:02:47 EST 2021 
amd64 

(Now rebuilding 1100+ ports )
I commented out the IGNORE line from drm-current-kmod; built
successfully; built the kernel - successfully; and installed kernel
then world with no hiccups.
Thanks to everyone for their help.


Respectfully,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-15 Thread Robert Huff


Yesterday I typod:

>   So, yes as I believe I said buildkernel ran successfully.

Please make that:

So, yes as I believe I said buildworld ran successfully.
[Whack! Whack! Whack!]


Respectfully,


Robert "ENOBRAIN" Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-14 Thread Robert Huff


Greg writes:

>   also, did you upgrade the world?
>   The version stuff that ports checks comes from /usr/include.

I follow the process specified at the end of UPDATING.
So, yes as I believe I said buildkernel ran successfully.


Respectfully,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-14 Thread Greg V




On Thu, Jan 14, 2021 at 08:36, Robert Huff  wrote:


Hello:


   > I am trying to upgrade a system running:
   >
   > FreeBSD 13.0-CURRENT #0 r365372: Sun Sep  6 10:51:26 EDT 2020 
amd64

   >
   > Per this discussion, I cannot compile the kernel because
   > drm-current-kmod is out-of-date.
   > When I try to upgrade drm-current-kmod (r561457) I get:
   >
   > ===>  drm-current-kmod-5.4.62.g20210113 not supported on older
   > CURRENT, no
   > kernel support.
   > *** Error code 1
   >
   > Stop.
   > make: stopped in /usr/ports/graphics/drm-current-kmod
   >
   > Huh?
   > 	What is my path forward? (That does not involve reinstalling 
the

   > OS.)

   Either

   upgrade the kernel without the drm PORTS_ whatever thing h
   upgrade drm-current-kmod h add back the PORTS_thing if you
   really want it upgrade kernel again


If I understand things correctly: things in the PORTS_MODULES
list are upgraded _after_ the kernel is completely rebuilt.
I am hitting this _during_ the rebuild.


I'm not sure if they will be upgraded after it's installed..

also, did you upgrade the world?
The version stuff that ports checks comes from /usr/include.


So the question becomes: _will_ removing the IGNORE line work?


Why wouldn't it?


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-14 Thread Robert Huff

Hello:

>   >   I am trying to upgrade a system running:
>   > 
>   > FreeBSD 13.0-CURRENT #0 r365372: Sun Sep  6 10:51:26 EDT 2020 amd64
>   > 
>   >   Per this discussion, I cannot compile the kernel because
>   > drm-current-kmod is out-of-date.
>   >   When I try to upgrade drm-current-kmod (r561457) I get:
>   > 
>   > ===>  drm-current-kmod-5.4.62.g20210113 not supported on older 
>   > CURRENT, no
>   > kernel support.
>   > *** Error code 1
>   > 
>   > Stop.
>   > make: stopped in /usr/ports/graphics/drm-current-kmod
>   > 
>   >   Huh?
>   >   What is my path forward? (That does not involve reinstalling the
>   > OS.)
>   
>   Either
>   
>   upgrade the kernel without the drm PORTS_ whatever thing ��
>   upgrade drm-current-kmod �� add back the PORTS_thing if you
>   really want it upgrade kernel again

If I understand things correctly: things in the PORTS_MODULES
list are upgraded _after_ the kernel is completely rebuilt.
I am hitting this _during_ the rebuild.

So the question becomes: _will_ removing the IGNORE line work?


Respectfully,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-14 Thread Greg V




On Thu, Jan 14, 2021 at 08:05, Robert Huff  wrote:


"Houston ... we have a problem."
Scenario: Chicken, meet egg?
I am trying to upgrade a system running:

FreeBSD 13.0-CURRENT #0 r365372: Sun Sep  6 10:51:26 EDT 2020 amd64

Per this discussion, I cannot compile the kernel because
drm-current-kmod is out-of-date.
When I try to upgrade drm-current-kmod (r561457) I get:

===>  drm-current-kmod-5.4.62.g20210113 not supported on older 
CURRENT, no

kernel support.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-current-kmod

Huh?
What is my path forward? (That does not involve reinstalling the
OS.)


Either

upgrade the kernel without the drm PORTS_ whatever thing → upgrade 
drm-current-kmod → add back the PORTS_thing if you really want it → 
upgrade kernel again


or

remove the IGNORE line in the port's Makefile → upgrade 
drm-current-kmod → upgrade the kernel.


You have discovered precisely why this (building kmods from ports when 
building the kernel itself) is not a very good feature :)



___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-14 Thread Robert Huff


"Houston ... we have a problem."
Scenario: Chicken, meet egg?
I am trying to upgrade a system running:

FreeBSD 13.0-CURRENT #0 r365372: Sun Sep  6 10:51:26 EDT 2020 amd64

Per this discussion, I cannot compile the kernel because
drm-current-kmod is out-of-date.
When I try to upgrade drm-current-kmod (r561457) I get:

===>  drm-current-kmod-5.4.62.g20210113 not supported on older CURRENT, no
kernel support.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-current-kmod

Huh?
What is my path forward? (That does not involve reinstalling the
OS.)


Anxiously,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Robert Huff


Chris  writes:

>   >>  Further: if I have that set ... does that mean I can 
>   >> remove it from PORTS_MODULES?
>   > 
>   >  I don't know what that is
>   eg;
>   PORTS_MODULES=x11/nvidia-driver-304
>   for the nvidia driver, for example. see src.conf(5).

Actually make.conf(5).


Respectfully,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Chris

On 2021-01-13 13:28, Emmanuel Vadot wrote:

On Wed, 13 Jan 2021 16:19:09 -0500
Robert Huff  wrote:



Emmanuel Vadot  writes:

>That's one of the problems of having external kmods.
>drm-current-kmod have the option by default to install it's
>   sources in /usr/local/sys/ and when doing a make buildkernel
>   those sources are getting built too.

That would be the SOURCE option?


 Yes


Further: if I have that set ... does that mean I can remove it
from PORTS_MODULES?


 I don't know what that is

eg;
PORTS_MODULES=x11/nvidia-driver-304
for the nvidia driver, for example. see src.conf(5).



(And I assume a note about this will appear in UPDATING?)


 A note about what ?

 Cheers,



Respectfully,


Robert Huff


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Emmanuel Vadot
On Wed, 13 Jan 2021 16:19:09 -0500
Robert Huff  wrote:

> 
> Emmanuel Vadot  writes:
> 
> > That's one of the problems of having external kmods.
> > drm-current-kmod have the option by default to install it's
> >   sources in /usr/local/sys/ and when doing a make buildkernel
> >   those sources are getting built too.
> 
>   That would be the SOURCE option?

 Yes

>   Further: if I have that set ... does that mean I can remove it
> from PORTS_MODULES?

 I don't know what that is

>   (And I assume a note about this will appear in UPDATING?)

 A note about what ?

 Cheers,

> 
>   Respectfully,
> 
> 
>   Robert Huff
>   
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


-- 
Emmanuel Vadot  
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Robert Huff


Emmanuel Vadot  writes:

>   That's one of the problems of having external kmods.
>   drm-current-kmod have the option by default to install it's
>   sources in /usr/local/sys/ and when doing a make buildkernel
>   those sources are getting built too.

That would be the SOURCE option?
Further: if I have that set ... does that mean I can remove it
from PORTS_MODULES?
(And I assume a note about this will appear in UPDATING?)


Respectfully,


Robert Huff


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Emmanuel Vadot
On Wed, 13 Jan 2021 14:52:32 -0500
Robert Huff  wrote:

> 
> Hans Petter Selasky :
> 
> >   You need to update that DRM port you are using before the issue
> >   will be fixed.
> 
>   I'm confused.
>   I have drm-current-kmod listed in PORTS_MODULES; things on that
> list get built _after_ buildkernel (installkernel??) for reasons I
> thought I understood.
>   You are telling me I need to update this _before_ buildkernel?
> 
> 
>   Perplexedly,
> 
> 
>   Robert Huff
> 

 That's one of the problems of having external kmods.
 drm-current-kmod have the option by default to install it's sources
in /usr/local/sys/ and when doing a make buildkernel those sources are
getting built too.
 One problem is that when, like with the latest update to linuxkpi that
I did, we introduce changes that breaks external kmods, you first need
to upgrade your ports/package (not your ports tree) so the new sources
are updated too and then do a make buildkernel.
 That really sucks but still helps a bit when there isn't conflicted
changes in the source tree but you still need to rebuild your kernel
module.

-- 
Emmanuel Vadot  
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread David Wolfskill
On Wed, Jan 13, 2021 at 02:52:32PM -0500, Robert Huff wrote:
> 
> Hans Petter Selasky :
> 
> >   You need to update that DRM port you are using before the issue
> >   will be fixed.
> 
>   I'm confused.
>   I have drm-current-kmod listed in PORTS_MODULES; things on that
> list get built _after_ buildkernel (installkernel??) for reasons I
> thought I understood.
>   You are telling me I need to update this _before_ buildkernel?
> 
> 
>   Perplexedly,
> 

He telling you to update the port itself -- e.g.,
/usr/ports/graphics/drm-kmod, as the port was recently updated:


r561457 | manu | 2021-01-13 03:22:25 -0800 (Wed, 13 Jan 2021) | 6 lines

graphics/drm-{current,devel}-kmod: Update to latest source

This fix a compilation problem with a pre 1300135 source tree.

Reported by:Filippo Moretti 


So you need to update the "ports files" to get that update, then rebuild
the port (in concert with rebuilding the kernel, as you are doing).

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
"What happened at the Capitol last Wednesday, then, wasn't the first
time Trump's base took him literally. It was the culmination of having
taken him literally the entire duration of his presidency." - Chris Cillizza

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Robert Huff


Hans Petter Selasky :

>   You need to update that DRM port you are using before the issue
>   will be fixed.

I'm confused.
I have drm-current-kmod listed in PORTS_MODULES; things on that
list get built _after_ buildkernel (installkernel??) for reasons I
thought I understood.
You are telling me I need to update this _before_ buildkernel?


Perplexedly,


Robert Huff

-- 
Hello ... my name is SARS-CoV-2.
You are not wearing a mask?
Prepare to die!
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Santiago Martinez
Hi HPS! thanks, that solved the issue. sorry dint realize i had to
recompile the drm.

Cheers

Santi


On 1/13/21 2:45 PM, Hans Petter Selasky wrote:
> On 1/13/21 3:42 PM, Hans Petter Selasky wrote:
>> On 1/13/21 3:40 PM, Santiago Martinez wrote:
>>> Thanks Peter,  this is what i got
>>>
>>> root@tucho:/usr/src # git status
>>> On branch main
>>> Your branch is up to date with 'origin/main'.
>>>
>>> am i missing something?
>>
>> portsnap fetch update
>>
>
> You need to update that DRM port you are using before the issue will
> be fixed.
>
> --HPS
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscr...@freebsd.org"



OpenPGP_signature
Description: OpenPGP digital signature


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky

On 1/13/21 3:42 PM, Hans Petter Selasky wrote:

On 1/13/21 3:40 PM, Santiago Martinez wrote:

Thanks Peter,  this is what i got

root@tucho:/usr/src # git status
On branch main
Your branch is up to date with 'origin/main'.

am i missing something?


portsnap fetch update



You need to update that DRM port you are using before the issue will be 
fixed.


--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky

On 1/13/21 3:40 PM, Santiago Martinez wrote:

Thanks Peter,  this is what i got

root@tucho:/usr/src # git status
On branch main
Your branch is up to date with 'origin/main'.

am i missing something?


portsnap fetch update

Maybe?

--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Santiago Martinez
Thanks Peter,  this is what i got

root@tucho:/usr/src # git status
On branch main
Your branch is up to date with 'origin/main'.

am i missing something?

Santi


On 1/13/21 2:34 PM, Hans Petter Selasky wrote:
> On 1/13/21 3:31 PM, Santiago Martinez wrote:
>> Hi there,
>>
>> Just wondering if somebody else is having issues building the kernel
>> (amd64) with the latest current.
>>
>> I have tried with clean,  etc and same issue.
>>
>> Uploaded the make output into "pastebin.com"
>>
>> https://pastebin.com/va5HCYtY
>>
>
> Try to update your ports tree. I believe manu@ just fixed this.
>
> --HPS
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscr...@freebsd.org"



OpenPGP_signature
Description: OpenPGP digital signature


Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky

On 1/13/21 3:31 PM, Santiago Martinez wrote:

Hi there,

Just wondering if somebody else is having issues building the kernel
(amd64) with the latest current.

I have tried with clean,  etc and same issue.

Uploaded the make output into "pastebin.com"

https://pastebin.com/va5HCYtY



Try to update your ports tree. I believe manu@ just fixed this.

--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Current kernel build broken with linuxkpi?

2021-01-13 Thread Santiago Martinez
Hi there,

Just wondering if somebody else is having issues building the kernel 
(amd64) with the latest current.

I have tried with clean,  etc and same issue.

Uploaded the make output into "pastebin.com"

https://pastebin.com/va5HCYtY

Thanks

Santi






OpenPGP_signature
Description: OpenPGP digital signature


current kernel compile broken...

2001-06-22 Thread Søren Schmidt

sos make

In current as of 5 mins ago:


cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-g -nostdinc -I-  -I. -I../.. -I../../dev -I../../contrib/dev/acpica 
-I../../contrib/ipfilter -I../../../include  -D_KERNEL -include opt_global.h -elf  
-mpreferred-stack-boundary=2  ../../kern/subr_mbuf.c
../../kern/subr_mbuf.c: In function `mb_init':
../../kern/subr_mbuf.c:382: `mp_ncpus' undeclared (first use in this function)
../../kern/subr_mbuf.c:382: (Each undeclared identifier is reported only once
../../kern/subr_mbuf.c:382: for each function it appears in.)
../../kern/subr_mbuf.c: In function `mb_alloc_wait':
../../kern/subr_mbuf.c:620: `mp_ncpus' undeclared (first use in this function)
*** Error code 1

Stop in /u1/SRC/current/sys/compile/SOS.

-Søren

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



Re: current kernel compile broken...

2001-06-22 Thread Matthew Jacob


Fixed temporarily at least.

It seems that the stuff checked in last night is a fair amount different from
the patches I was given to test on alpha. If this is so, this is really not
right or fair.

-matt







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



Re: current kernel compile broken...

2001-06-22 Thread Bosko Milekic


On Fri, Jun 22, 2001 at 09:03:43AM -0700, Matthew Jacob wrote:
 
 Fixed temporarily at least.
 
 It seems that the stuff checked in last night is a fair amount different from
 the patches I was given to test on alpha. If this is so, this is really not
 right or fair.

No, it's the same code. The only thing changed is that I've removed
the silliness in if_vx (because that's been fixed with the m_devget patch
committed earlier) and merged changes to netstat(1) and updated systat(1)
so as to not break world. Other than that, the changes are identical. In fact,
subr_mbuf.c is identical modulo one of the lines in the copyright.
 
 -matt

-- 
 Bosko Milekic
 [EMAIL PROTECTED]


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



Re: current kernel compile broken...

2001-06-22 Thread Matthew Jacob



Oh. oops... pointed hit poked in my for me I tested your stuff on a
completely different tree, so, well, do, the conf/files stuff would have been
the same.

And Alpha has SMP on by default.

It's okay! Nobody got killed!


On Fri, 22 Jun 2001, Bosko Milekic wrote:


 On Fri, Jun 22, 2001 at 09:03:43AM -0700, Matthew Jacob wrote:
 
  Fixed temporarily at least.
 
  It seems that the stuff checked in last night is a fair amount different from
  the patches I was given to test on alpha. If this is so, this is really not
  right or fair.

   No, it's the same code. The only thing changed is that I've removed
 the silliness in if_vx (because that's been fixed with the m_devget patch
 committed earlier) and merged changes to netstat(1) and updated systat(1)
 so as to not break world. Other than that, the changes are identical. In fact,
 subr_mbuf.c is identical modulo one of the lines in the copyright.

  -matt

 --
  Bosko Milekic
  [EMAIL PROTECTED]



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



-current kernel is broken?

2001-04-23 Thread User

Hello all,

 I've just made cvsup to -current and when I try to recompile my kernel I get the 
following error message:

 -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I-  -I. -I../.. -I../../dev -I../../../include -I../../contrib/de
v/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  -mpreferred-st
ack-boundary=2  ../../fs/devfs/devfs_vnops.c
In file included from ../../fs/devfs/devfs_vnops.c:45:
../../sys/mount.h:385: field `netc_rnodes' has incomplete type
../../sys/mount.h:395: `AF_MAX' undeclared here (not in a function)
../../sys/mount.h:395: size of array `ne_rtable' has non-integer type
*** Error code 1

Stop in /usr/src/sys/compile/ENIA.


 I think it's connected with the latest kernel patches from today.

Thanks,

Boris Georgiev

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



Re: -current kernel is broken?

2001-04-23 Thread Doug Barton

IF you run -current you are expected to follow both this list and the
cvs-all list. Your answer is there. 

User  wrote:
 
 Hello all,
 
  I've just made cvsup to -current and when I try to recompile my kernel I get the 
following error message:
 
  -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
 missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
 si  -nostdinc -I-  -I. -I../.. -I../../dev -I../../../include -I../../contrib/de
 v/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  -mpreferred-st
 ack-boundary=2  ../../fs/devfs/devfs_vnops.c
 In file included from ../../fs/devfs/devfs_vnops.c:45:
 ../../sys/mount.h:385: field `netc_rnodes' has incomplete type
 ../../sys/mount.h:395: `AF_MAX' undeclared here (not in a function)
 ../../sys/mount.h:395: size of array `ne_rtable' has non-integer type
 *** Error code 1
 
 Stop in /usr/src/sys/compile/ENIA.
 
  I think it's connected with the latest kernel patches from today.
 
 Thanks,
 
 Boris Georgiev
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

-- 
One thing they don't tell you about doing experimental physics is that
sometimes you must work under adverse conditions ... like a state of
sheer terror. -- W. K. Hartmann

Do YOU Yahoo!?

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



current kernel build broken in sc0

2001-03-24 Thread Michael C . Wu

I get this when I add the following lines to my kernel build
options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)

[snip make depend]
genassym.c 
/kern/link_aout.c /usr/src/sys/kern/subr_diskmbr.c /usr/src/sys/libkern/divdi3.c  
/usr/src/sys/libkern/moddi3.c /usr/src/sys/libkern/qdivrem.c 
/usr/src/sys/libkern/ucmpdi2.c  /usr/src/sys/libkern/udivdi3.c 
/usr/src/sys/libkern/umoddi3.c param.c vnode_if.c hints.c config.c 
/usr/src/sys/i386/i386/genassym.c
In file included from /usr/src/sys/dev/fb/vga.c:34:
opt_syscons.h:2: unterminated string or character constant
opt_syscons.h:2: possible real start of unterminated constant
In file included from /usr/src/sys/dev/syscons/schistory.c:33:
opt_syscons.h:2: unterminated string or character constant
opt_syscons.h:2: possible real start of unterminated constant
In file included from /usr/src/sys/dev/syscons/scmouse.c:29:
opt_syscons.h:2: unterminated string or character constant
opt_syscons.h:2: possible real start of unterminated constant


-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

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



Re: current kernel build broken in sc0

2001-03-24 Thread Michael C . Wu

On Sat, Mar 24, 2001 at 10:35:58PM -0600, Michael C . Wu scribbled:
| I get this when I add the following lines to my kernel build
| options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
| options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
| options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK)
| options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
| 
| [snip make depend]
| genassym.c 
| /kern/link_aout.c /usr/src/sys/kern/subr_diskmbr.c /usr/src/sys/libkern/divdi3.c  
|/usr/src/sys/libkern/moddi3.c /usr/src/sys/libkern/qdivrem.c 
|/usr/src/sys/libkern/ucmpdi2.c  /usr/src/sys/libkern/udivdi3.c 
|/usr/src/sys/libkern/umoddi3.c param.c vnode_if.c hints.c config.c 
|/usr/src/sys/i386/i386/genassym.c
| In file included from /usr/src/sys/dev/fb/vga.c:34:
| opt_syscons.h:2: unterminated string or character constant
| opt_syscons.h:2: possible real start of unterminated constant
| In file included from /usr/src/sys/dev/syscons/schistory.c:33:
| opt_syscons.h:2: unterminated string or character constant
| opt_syscons.h:2: possible real start of unterminated constant
| In file included from /usr/src/sys/dev/syscons/scmouse.c:29:
| opt_syscons.h:2: unterminated string or character constant
| opt_syscons.h:2: possible real start of unterminated constant
| 

Sorry, forgot to mention that it was fresh src/ 
cvsupped three hours ago.
-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

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



Re: Current Kernel build broken

2000-10-31 Thread Robert Watson


On Sun, 29 Oct 2000, Manfred Antar wrote:

  From latest sources:
 cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-g -nostdinc -I-  -I. -I../.. -I../../../include 
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  
-mpreferred-stack-boundary=2  ../../ufs/ufs/ufs_vfsops.c
 ../../ufs/ufs/ufs_vfsops.c: In function `ufs_quotactl':
 ../../ufs/ufs/ufs_vfsops.c:119: warning: implicit declaration of function `suser_xxx'
 ../../ufs/ufs/ufs_vfsops.c:119: `PRISON_ROOT' undeclared (first use in this function)
 ../../ufs/ufs/ufs_vfsops.c:119: (Each undeclared identifier is reported only once
 ../../ufs/ufs/ufs_vfsops.c:119: for each function it appears in.)
 *** Error code 1

Poul-henning recently committed changes to make suser{,_xxx}() be defined
in system.h instead of proc.h.  If ufs_vfsops.c doesn't include systm.h,
it may now be broken.  However, it's probably more likely that you cvsup'd
during his commit, and need to update your source tree to make sure all
files are properly in synch.

Robert N M Watson FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]  NAI Labs, Safeport Network Services




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



Current Kernel build broken

2000-10-29 Thread Manfred Antar

 From latest sources:
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-g -nostdinc -I-  -I. -I../.. -I../../../include 
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  
-mpreferred-stack-boundary=2  ../../ufs/ufs/ufs_vfsops.c
../../ufs/ufs/ufs_vfsops.c: In function `ufs_quotactl':
../../ufs/ufs/ufs_vfsops.c:119: warning: implicit declaration of function `suser_xxx'
../../ufs/ufs/ufs_vfsops.c:119: `PRISON_ROOT' undeclared (first use in this function)
../../ufs/ufs/ufs_vfsops.c:119: (Each undeclared identifier is reported only once
../../ufs/ufs/ufs_vfsops.c:119: for each function it appears in.)
*** Error code 1



==
||  [EMAIL PROTECTED]   ||
||  Ph. (415) 681-6235  ||
==



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



Current Kernel build broken

1999-08-21 Thread Manfred Antar

With current source tree as of 9 am pacific, I can no longer build a kernel :


cc -c -O2 -Os -pipe -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes
   -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions
  -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include 
opt_glob
al.h -elf  ../../dev/dpt/dpt_scsi.c
../../dev/dpt/dpt_scsi.c: In function `dpt_get_conf':
../../dev/dpt/dpt_scsi.c:389: warning: cast discards `volatile' from 
pointer tar
get type
../../dev/dpt/dpt_scsi.c: In function `dpt_detect_cache':
../../dev/dpt/dpt_scsi.c:496: warning: cast discards `volatile' from 
pointer tar
get type
../../dev/dpt/dpt_scsi.c: In function `dpt_init':
../../dev/dpt/dpt_scsi.c:1187: warning: cast discards `volatile' from 
pointer ta
rget type
../../dev/dpt/dpt_scsi.c: In function `dpt_attach':
../../dev/dpt/dpt_scsi.c:1410: warning: implicit declaration of function 
`EVENTH
ANDLER_REGISTER'
../../dev/dpt/dpt_scsi.c:1410: `shutdown_final' undeclared (first use in 
this fu
nction)
../../dev/dpt/dpt_scsi.c:1410: (Each undeclared identifier is reported only 
once
../../dev/dpt/dpt_scsi.c:1410: for each function it appears in.)
../../dev/dpt/dpt_scsi.c:1411: `SHUTDOWN_PRI_DEFAULT' undeclared (first use 
in t
his function)
*** Error code 1

Stop in /usr/src/sys/compile/pro2.

=
||[EMAIL PROTECTED]   ||
||Ph. (415) 681-6235||
=


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