kernel build error (Was: cvs commit: src/sys/kern kern_idle.c)

2000-10-18 Thread Munehiro Matsuda

After the following commit, my kernel fail to build with following errors:

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  ../../kern/kern_idle.c
../../kern/kern_idle.c: In function `idle_proc':
../../kern/kern_idle.c:106: `count' undeclared (first use in this function)
../../kern/kern_idle.c:106: (Each undeclared identifier is reported only once
../../kern/kern_idle.c:106: for each function it appears in.)
*** Error code 1


::  Modified files:
::sys/kern kern_idle.c 
::  Log:
::  - Wrap the sanity checks for staying in the idle loop for absurdly long
::amounts of time in #ifdef DIAGNOSTIC
::  - Call vm_page_zero_idle() during the idle loop.
::  
::  Revision  ChangesPath
::  1.7   +13 -7 src/sys/kern/kern_idle.c

  Thank you,
   Haro
=--
   _ _Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Business Incubation Dept., Kubota Corp.
 /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
  Chuo-ku Tokyo 103-8310, Japan
  Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
  Email: [EMAIL PROTECTED]


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



world build fails - usbhidctl.c

2000-10-18 Thread Christoph Kukulies

I cvssupped a couple of times in the past three days
and the problem does not go away:

report_size'
/c/src/usr.bin/usbhidctl/usbhid.c:160: incompatible type for argument 3 of 
`hid_report_size'
/c/src/usr.bin/usbhidctl/usbhid.c: In function `dumpdata':
/c/src/usr.bin/usbhidctl/usbhid.c:228: incompatible type for argument 3 of 
`hid_report_size'
*** Error code 1

Stop in /c/src/usr.bin/usbhidctl.
*** Error code 1

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

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

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

Stop in /c/src.


-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]


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



Re: world build fails - usbhidctl.c

2000-10-18 Thread Vallo Kallaste

On Wed, Oct 18, 2000 at 09:32:27AM +0200, Christoph Kukulies 
[EMAIL PROTECTED] wrote:

 I cvssupped a couple of times in the past three days
 and the problem does not go away:
 
 report_size'
 /c/src/usr.bin/usbhidctl/usbhid.c:160: incompatible type for argument 3 of 
`hid_report_size'
 /c/src/usr.bin/usbhidctl/usbhid.c: In function `dumpdata':
 /c/src/usr.bin/usbhidctl/usbhid.c:228: incompatible type for argument 3 of 
`hid_report_size'
 *** Error code 1
 
 Stop in /c/src/usr.bin/usbhidctl.
 *** Error code 1

Same here.
-- 

Vallo Kallaste
[EMAIL PROTECTED]


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



Re: world build fails - usbhidctl.c

2000-10-18 Thread Szilveszter Adam

On Wed, Oct 18, 2000 at 10:26:45AM +0200, Vallo Kallaste wrote:
 On Wed, Oct 18, 2000 at 09:32:27AM +0200, Christoph Kukulies 
[EMAIL PROTECTED] wrote:
 
  I cvssupped a couple of times in the past three days
  and the problem does not go away:
  
  report_size'
  /c/src/usr.bin/usbhidctl/usbhid.c:160: incompatible type for argument 3 of 
`hid_report_size'
  /c/src/usr.bin/usbhidctl/usbhid.c: In function `dumpdata':
  /c/src/usr.bin/usbhidctl/usbhid.c:228: incompatible type for argument 3 of 
`hid_report_size'
  *** Error code 1
  
  Stop in /c/src/usr.bin/usbhidctl.
  *** Error code 1
 
 Same here.

A workaround has been checked in by Nick Hibma yesterday. Try recvsupping
and it will go away. (It certainly has for me. Sigh. It took several days
until I could finally make the world AND successfully build a kernel
again.:-) This is the beauty of -CURRENT.

-- 
Regards:

Szilveszter ADAM
Szeged University
Szeged Hungary


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



Re: world build fails - usbhidctl.c

2000-10-18 Thread Christoph Kukulies

On Wed, Oct 18, 2000 at 10:26:45AM +0200, Vallo Kallaste wrote:
 On Wed, Oct 18, 2000 at 09:32:27AM +0200, Christoph Kukulies 
[EMAIL PROTECTED] wrote:
 
  I cvssupped a couple of times in the past three days
  and the problem does not go away:
  
  report_size'
  /c/src/usr.bin/usbhidctl/usbhid.c:160: incompatible type for argument 3 of 
`hid_report_size'
  /c/src/usr.bin/usbhidctl/usbhid.c: In function `dumpdata':
  /c/src/usr.bin/usbhidctl/usbhid.c:228: incompatible type for argument 3 of 
`hid_report_size'
  *** Error code 1
  
  Stop in /c/src/usr.bin/usbhidctl.
  *** Error code 1
 
 Same here.


Thanks for the data point. But it seems to be gone already by
cvsup this morning.

 -- 
 
 Vallo Kallaste
 [EMAIL PROTECTED]

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]


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



Re: Release of 5.0

2000-10-18 Thread Warner Losh

In message [EMAIL PROTECTED] Forrest Aldrich writes:
: Just curious on the potential release of 5.0 -- which I presume won't be
: until next year.. ?

2001 sometime, likely not early in the year.  At least that's my WAG
at the moment.

Warner


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



Re: SANDISK SmartMedia still does not work with -current ATA-driver

2000-10-18 Thread Warner Losh

In message [EMAIL PROTECTED] Will Andrews writes:
: On Tue, Oct 17, 2000 at 08:29:04PM +0200, Michael Reifenberger wrote:
:  it seems to be a ata issue because it worked before some ata-updates (after
:  SMPng).
: 
:  Is anyone using SANDISK SmartMedia successfully with -cuurent?
: 
: Strange, I get exactly the same output from September 29 -current.  :(
: 
: I'm going to bug Warner/Soren at BSDCon ...
: 

As near as I can tell it is a breakage in either the interrupt code or
the ata code.  Soren isn't here, or so I'm told.

Warner


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



Re: cvs commit: src/sys/kern kern_idle.c

2000-10-18 Thread Nickolay Dudorov

In article [EMAIL PROTECTED] you wrote:
 jhb 2000/10/18 01:10:25 PDT
 
   Modified files:
 sys/kern kern_idle.c 
   Log:
   Don't needlessly pass the diagnostic counter to the idle_event event
   handlers.

And you just change one broken version to another -
now there is unsufficient number of parameters to 
EVENTHANDLER_FAST_INVOKE at line 106 of kern_idle.c

I've try to substitute '0' for the second parameter.
The buildkernel successfully finished. Let's see how this kernel'll
work ;-)

N.Dudorov


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



Stock Pick of the Week

2000-10-18 Thread dx61


 STOCK PICK OF THE WEEK 
For the week beginning Monday, 10-16-2000

Investment Snapshot - ATTP -- Affordable Telecom

http://moneycentral.msn.com/scripts/webquote.dll?iPage=qdSymbol=attp

Target Price: $1.00  Current Price: $.20

Take a close look at this stock, it's going to rise fast!

Monday it was $.12...It's jumping each day

HOUSTON--(BUSINESS WIRE)--Oct. 3, 2000--Affordable Telecommunications
Technology Corporation (OTC BB:ATTP) announced today its preliminary
third quarter revenues will exceed expectations.

Affordable Telecommunications announced preliminary projected revenues of
$500,000 for the quarter ending September 30, 2000. Steven H. Bethke, president
of Affordable Telecommunications, said, "We are extremely pleased to anticipate
a 460% year-over-year increase in revenues, which exceed our expectations. Strong
revenue gains indicate we are on track in building our revenue base through
strategic marketing arrangements with leaders in the wireless industry."

The Company expects to report its finalized quarterly results
on or before November 15, 2000.




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



Re: gcc and FreeBSD [was: Re: Which GCC in CURRENT? [Was: Re: Wine update]]

2000-10-18 Thread David O'Brien

On Tue, Oct 17, 2000 at 04:40:53PM -0400, Marcel Moolenaar wrote:
  Should any of you have some time to spend, those two PRs I mentioned above
  are really critical. hinthint g

I have issues with one of them -- IMHO FSF/GCC should not assume the
existence of crt{i,n}.o since they supply their own crt{begin,end}.o
(thru crtstuff.c).  There is obivious assumpitons by crtstuff.c on what
crt{i,n}.o supplies, and thus seems logical GCC come with its own
crt{i,n}.s.  This is not to say I am unbending on this (and it also
carries over into JDP's teritory), but I do want to rasie this issue on
the [EMAIL PROTECTED] (after BSDcon) mailing list to see what they say.  

 David: Can you take a look at it, or shall I try to free some time for
 this. It sounds important enough from what I understand from Gerald.

I am tied up at BSDcon for the week.  So I'll reply to this thread better
later.
 
-- 
-- David  ([EMAIL PROTECTED])


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



Re: Which GCC in CURRENT? [Was: Re: Wine update]

2000-10-18 Thread David O'Brien

On Mon, Oct 16, 2000 at 01:21:33PM +0200, Gerald Pfeifer wrote:
 On Mon, 16 Oct 2000, Szilveszter Adam wrote:
  Also, since 2.96 has not even been released yet, I assume the
  maintainer (bruce, AFAIK) just makes sure that it builds and compiles
  stuff OK and so by the time 5.0 will be released and hopefully 2.96
  too, we just have to push the button and it will be there.
 
 I can assert, with utmost authority ;-), that GCC 2.96 will never be
 released by the GCC team.

Correct, and FreeBSD 5.0 will ship with 5.0+ release.
The import and use of GCC 2.96(7) in FreeBSD-CURRENT is to support
development of the IA-64, x86-64, and PPC ports.  Since FreeBSD-CURRENT
is not a release and is a tool to use in getting to 5.0, we didn't mind
importing a non-released version of GCC.  Note that FreeBSD's warning of
don't expect stability in -CURRENT will also be very true of the this
compiler.
 
-- 
-- David  ([EMAIL PROTECTED])


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



-current still broken as of today, just in case anyone's interested. :)

2000-10-18 Thread Jordan Hubbard

=== usr.bin
=== usr.bin/apply
cc -O -pipe -Wall   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/appl
y/apply.c
In file included from /usr/obj/usr/src/i386/usr/include/sys/wait.h:93,
 from /usr/src/usr.bin/apply/apply.c:45:
/usr/obj/usr/src/i386/usr/include/machine/endian.h:70: syntax error before `__ui
nt16_swap_uint32'
...

current.freebsd.org will therefore be out of the snapshot building business
until we're over this hurdle..


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



Re: -current still broken as of today, just in case anyone's interested. :)

2000-10-18 Thread Brian Somers

 === usr.bin
 === usr.bin/apply
 cc -O -pipe -Wall   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/appl
 y/apply.c
 In file included from /usr/obj/usr/src/i386/usr/include/sys/wait.h:93,
  from /usr/src/usr.bin/apply/apply.c:45:
 /usr/obj/usr/src/i386/usr/include/machine/endian.h:70: syntax error before `__ui
 nt16_swap_uint32'
 ...
 
 current.freebsd.org will therefore be out of the snapshot building business
 until we're over this hurdle..

$ fgrep FreeBSD apply.c
  "$FreeBSD: src/usr.bin/apply/apply.c,v 1.10 2000/10/16 08:11:48 brian Exp $";
$ make clean  rm /usr/obj$PWD/.depend  make depend  make
rm -f apply apply.o apply.1.gz apply.1.cat.gz
rm -f .depend
mkdep -f .depend -a  /usr/src/usr.bin/apply/apply.c
cd /usr/src/usr.bin/apply; make _EXTRADEPEND
echo apply: /usr/lib/libc.a   .depend
cc -O -pipe -Wall   -c /usr/src/usr.bin/apply/apply.c
cc -O -pipe -Wall-o apply apply.o  
gzip -cn /usr/src/usr.bin/apply/apply.1  apply.1.gz
$ 

-- 
Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org
  http://www.Awfulhak.org   brian@[uk.]OpenBSD.org
Don't _EVER_ lose your sense of humour !




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



Re: more endian.h breakage; patch included.

2000-10-18 Thread Garrett Wollman

On Mon, 16 Oct 2000 16:23:43 +1100 (EST), Bruce Evans [EMAIL PROTECTED] said:

 It is strictly correct for POSIX.1-1990, but FreeBSD-2 never had the
 requirement until now.  POSIX.1-200x is relaxing similar requirements
 (I'm not sure about this one), so it is too late to start enforcing it.

Yes.  All POSIX headers which are defined to use specific foo_t types
are (will be) defined to declare those types as well.  This reflects
SUSv2 behavior which was imported into the new POSIX.

-GAWollman



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



kernel trap 12 with interrupts disabled

2000-10-18 Thread Manfred Antar

With current kernel I'm getting alot of :
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled
kernel trap 12 with interrupts disabled

Kernel from yesterday did not do this.
Everything seems to work fine although I think it hung on a "shutdown -r now"
I don't have a monitor hooked up to the machine right now, so I have no further info.
I'm in process of hooking up a serial console.
Manfred
==
||  [EMAIL PROTECTED]   ||
||  Ph. (415) 681-6235  ||
==



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