kernel build problem

2002-01-31 Thread Alexander Prohorenko

Hey guys.

I've just tried to cvsup to -stable version and it passed with sucess.
But when I've tried to make new kernel I've got this error.
please, give me some advise to figure out the way out.  Thanks.

Looking forward your replies.

...
Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c linux_sysent.c
In file included from linux_sysent.c:14:
linux_proto.h:57: syntax error before `linux_time_t'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:156: syntax error before `linux_handler_t'
...

-- 
Alexander Prohorenko,
Extra Communications

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



Re: kernel build problem

2002-01-31 Thread Kent Stewart



Alexander Prohorenko wrote:

 Hey guys.
 
 I've just tried to cvsup to -stable version and it passed with sucess.
 But when I've tried to make new kernel I've got this error.
 please, give me some advise to figure out the way out.  Thanks.


First of all, when you have a -stable problem, you are supposed ask 
question like this on the stable list. There, most of us have seen 
this, and made it past. It seems to come in 2 or 3 levels. If you are 
part of the easy (1st group), the instruction in /usr/src/UPDATING 
will get you past this problem. The headers used to be generated and 
now they are part of the souce. Combinations of rm and make cleandir 
are required. If the UPDATING doesn't fix it, look at the archive for 
stable. All of the solutions are available there.

Kent


 
 Looking forward your replies.
 
 ...
 Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c linux_sysent.c
 In file included from linux_sysent.c:14:
 linux_proto.h:57: syntax error before `linux_time_t'
 linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
 linux_proto.h:57: syntax error before `)'
 linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
 linux_proto.h:57: syntax error before `)'
 linux_proto.h:156: syntax error before `linux_handler_t'
 ...
 
 


-- 
Kent Stewart
Richland, WA

mailto:[EMAIL PROTECTED]
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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



Re: Weird wedge with ep0 ethernet and dhclient

2002-01-31 Thread BOUWSMA Beery


Moin, moin!
I wrote on %.3s, %lld Sep 1993

 I've been semi-consistently having my machine freeze up in a weird
 way when attempting to run /sbin/dhclient when the Cabal Modem is
 connected to an ep0 3Com 3C509 card.
[...]
 What I still haven't done is to swap the card into a completely
 different make of machine and see if I get the same wedges, or if

I DO!!  I DO!!@!  On a much more modern machine, but still with ISA
slots, I see the same thing.  About five seconds after the ``Doing
initial netwerk setup: hostname'' appears on the screen, the Scroll
Lock key fails to toggle illumination of its LED and the machine is
deader than a deceased doornail.

However, once again, after going multi-user with the Cabal modem net
disconnected, I can connect it, and give the `dhclient' command and
now it works without wedging (which isn't always the case, as I recall)

I have at the moment but a single card type ep/3C509, so I can't say
yet if I just have a bum card; likewise, I have no Real Network into
which I can plug this ep card and see if I get similar wedges during
conditions of traffic.

I'll play with this card and dhclient a bit more to see if I can come
up with anything more useful and concrete.  And I'll also see how a
Different OS handles this card with the ISC dhclient.  more l8r d00dz



thanks
barry bouwsma


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



Re: make buildworld fails on sdiff

2002-01-31 Thread Fernan Aguero

+[ Ruslan Ermilov ([EMAIL PROTECTED]) dijo sobre Re: make buildworld fails on sdiff:
|
| Re-cvsup, it's been fixed already.
|
+]

Thanks. That did it.

However i was suprised to hear David say that:

| If this was with -jN (N numeric), the real error is likely to be
| somewhat above the lines you quoted; please check -- or try to re-create
| the problem without the -j flag -- if, in fact, you used such a flag.
| 
| The reason I suspect this is that the error isn't readily apparent from
| the lines you quoted.

Of course I tried the buildworld with -j4. But that wasn't the problem
(I did that many times before with success)

Thanks again.

Fernan

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



HTTP_PROXY in /etc/make.conf doesn't make it into the environment

2002-01-31 Thread Patrick M. Hausen

Hi all!

In /etc/defaults/make.conf there are sample entries
suggesting that you could set HTTP_PROXY or FTP_PROXY
in /etc/make.conf and have fetch et. al. honour it -
like when installing ports.

Unfortunately this has no effect at all on the operation of
make install in some port's directory. You have to setenv
these values for fetch to work.

If this is on purpose, why are these sample entries in
/etc/defaults/make.conf?

Thanks,

Patrick M. Hausen
Technical Director
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Scheffelstr. 17 a Tel. 0721 9109 -0 Fax: -100
76135 Karlsruhe   http://punkt.de



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



Re: make buildworld fails on sdiff

2002-01-31 Thread Patrik Backlund

On Thu, 2002-01-31 at 15:06, Fernan Aguero wrote:
 However i was suprised to hear David say that:
 
 | If this was with -jN (N numeric), the real error is likely to be
 | somewhat above the lines you quoted; please check -- or try to re-create
 | the problem without the -j flag -- if, in fact, you used such a flag.
 | 
 | The reason I suspect this is that the error isn't readily apparent from
 | the lines you quoted.
 
 Of course I tried the buildworld with -j4. But that wasn't the problem
 (I did that many times before with success)

I guess what David was trying to say is that when you compile with -j4
the output from the different parallel jobs will be mixed and spotting
the error is harder. It is therefore better to supply the error messages
from a buildworld without -jN flag.

Patrik


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



Re: HTTP_PROXY in /etc/make.conf doesn't make it into the environment

2002-01-31 Thread Mike Harding


They are, as far as I can tell, incorrect, I have been using

FETCH_ENV= HTTP_PROXY=http://127.0.0.1:3128/

for a while in /etc/make.conf.  Note that the syntax is different
than 4.4, and it caused a bit of stir during our recent OS upgrades
to 4.5.

- Mike H.

   From: Patrick M. Hausen [EMAIL PROTECTED]
   Date: Thu, 31 Jan 2002 14:19:04 +0100 (CET)
   Sender: [EMAIL PROTECTED]
   X-Loop: FreeBSD.ORG

   Hi all!

   In /etc/defaults/make.conf there are sample entries
   suggesting that you could set HTTP_PROXY or FTP_PROXY
   in /etc/make.conf and have fetch et. al. honour it -
   like when installing ports.

   Unfortunately this has no effect at all on the operation of
   make install in some port's directory. You have to setenv
   these values for fetch to work.

   If this is on purpose, why are these sample entries in
   /etc/defaults/make.conf?

   Thanks,

   Patrick M. Hausen
   Technical Director
   -- 
   punkt.de GmbH Internet - Dienstleistungen - Beratung
   Scheffelstr. 17 a Tel. 0721 9109 -0 Fax: -100
   76135 Karlsruhe   http://punkt.de



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


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



Re: Strange lock-ups during backup over nfs after adding 1024M RAM

2002-01-31 Thread talist

I am also encountring strange lock-ups with high traffic situation on DUMMYNET. 
I have managed to avoid those lock-ups by adjusting the granularity of the
kernel
options HZ=1000  # originally 100


Quoting Sergey Gershtein [EMAIL PROTECTED]:

 On Thursday, January 31, 2002 Peter Jeremy wrote:
 
 PJ It looks like you've run out of kernel memory.  At a quick guess, one
 PJ of the nfsd processes is trying to open a file and can't allocate
 PJ space for another inode whilst holding locks on other inodes.  The
 PJ lockup is either due to the lack of KVM, or the inode locks are
 PJ migrating up towards root and gathering more processes under their
 PJ clutches until nothing can run.
 
 PJ If you monitor the memory usage with vmstat -m, you should be
 PJ able to see the free memory drop to zero, possibly all eaten by
 PJ the FFS node.
 
 I've set up a cron job to monitor vmstat -m every 5 minutes so I can see
 what happens just before the next lock-up.
 
 By the way, the file system that is being backuped has a lot (more
 than 1,000,000) of small files (less than 1Kb each).
 
 PJ That triggers a faint memory about a problem with doing this, but
 PJ I thought it was now fixed.  How old are your sources?
 
 RELENG_4_4 cvsuped a week ago (Jan 24th).  For some reason we don't
 cvsup 4.5 until it becomes RELEASE.
 
 PJ Increasing the amount of physical RAM increases the amount of KVM
 PJ required to manage the RAM, reducing the amount of memory available
 PJ for other things.  I didn't keep your original posting and I can't
 PJ remember what MAXUSERS is set to - from memory it is either 128
 PJ (which seems too small) or 1024 (which seems too large).  Try altering
 PJ maxusers to 400-500 and see if that helps.
 
 The initial value of MAXUSERS was 512, I tried lowering it to 128
 according to Doug White's advice, but it did not help.  Another server
 with the same hardware (which does not lock up) has MAXUSERS 1024, but
 it also does not have over 1,000,000 small files to backup.
 
 PJ If you still have problems, I think you'll need one of the FS gurus.
 
 My hope was to find gurus on this list, I have no clue where else I
 can search for them. :(
 
 Nevertheless, thank you for your help!
 
 Regards,
 Sergey Gershtein
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-stable in the body of the message
 



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



Re: make buildworld fails on sdiff

2002-01-31 Thread Richard Nyberg

 I guess what David was trying to say is that when you compile with -j4
 the output from the different parallel jobs will be mixed and spotting
 the error is harder. It is therefore better to supply the error messages
 from a buildworld without -jN flag.
 
 Patrik

This is a bit OT but I just wanted to add that sometimes (depending
on hardware of course) it's faster to make buildworld without -j flags.
My machine used to do 'make -j4 buildworld' in ~27 minutes, but when
I tried without '-j4' it compiled in under 21 minutes.

-Richard

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



RE: stable-digest V5 #409

2002-01-31 Thread Chris Corayer


|Date: Sun, 20 Jan 2002 18:17:43 + (GMT)
|From: Tim Joseph [EMAIL PROTECTED]
|Subject: HDD not detected during install (fwd)
|
|(Previously posted to comp.unix.bsd.freebsd.misc and freebsd-questions
|without much joy)
|
|Hi,
|
|I have (I hope) a simple problem.
|
|I am trying to install FBSD 4.4 onto a TI Extensa 510 laptop. However,
|when I reach the stage where I choose what I would like done to the
|disk, the install program reports that it can't find the hard drive and I
|have to give up. (I'm doing an FTP install over a PCMCIA network card.)
|
|I have previously installed OpenBSD 2.9 straight onto this machine without
|any fiddling around! For info, OBSD detected the HD controller as a wdc0.
|
|OBSD dmesg attached.
|
|What can I try? Do I need to roll my own release with a new kernel to
|support the wdc controller? If so, how do I make my own release?
|
|
|I had a similar problem with an NEC 5080x laptop.  I never did get this to
|work properly.  I tried everything from setting the drive geometry on
|install ( which wasn't always correct ) to going into the BIOS and setting
|the translation type ( DOS or OTHER ) and the PIO transfer modes 0-4.  None
|of that made any difference.  
|
|The only workaround I was ever able to find was to put the drive in another
|machine with a hard drive adapter and install it there.  I would install it
|on the other machine and transfer to the new machine.  It wasn't ideal, and
|apm didn't work.  I also had issues getting the sound to work.  This is one
|case where auto detection of hardware would have been nice.
|
|My guess on this is that your IDE chipset is not supported.  Mine was not
|listed as being supported.  You MAY be able to get this to work or you may
|run into the same problems I did.  FWIW, OpenBSD 2.9 supports the NEC 50x0
|series of laptops with ZERO problems including the cardbus Xircom NIC.  
|
|Debian, Mandrake, and Redhat never had any problems on this either.  The
|only thing I can think of is the IDE chipset driver...
|
|-Christopher Corayer
---

For archival purposes...

  FreeBSD 4.5 seems to have partially solved the problem with the NEC 5000
series, at least to the point where it will install.  Install is not
successful via CD-ROM due to numerous read overruns and such.  However, an
FTP install does in fact work.  APM does not appear to work.  XFree86 4.1.x
also works, using the shell config, not the graphical one.  I am unsure as
to whether or not the sound works, but that's largely irrelevent for my
purposes.

Excellent work guys!!!  :)

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