Aak, Buildworld is failing

2003-02-14 Thread Gene Harris
make buildworld has failed on my system.  I've done the make cleandir thing 
twice along with deleting /usr/obj/usr, etc per the handbook.  The error 
appears to be a problem compiling Kerberos 5 (I have MAKE_KERBEROS5=true in 
make.conf).  I don't know where to start.  I've considered just removing my 
usr/src directory and cvsup'ing everything fresh.

Any suggestions will be greatly appreciated.

Gene

uname -a: FreeBSD ns1.tetronsoftware.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri 
Nov 29 10:51:35 CST 2002

The last few lines of the output are:
===> kerberos5/lib/libasn1
test -e /usr/obj/usr/src/kerberos5/lib/libasn1/asn1_err.et || ln -sf 
/usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1/asn1_err.et
compile_et asn1_err.et
compile_et:No such file or directory
*** Error code 1

Stop in /usr/src/kerberos5/lib/libasn1.
*** Error code 1

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

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

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

Stop in /usr/src.



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



Re: Microsoft Wireless mouse works on PS/2 port, but not USB

2003-02-14 Thread Kent Stewart
On Friday 14 February 2003 03:35 pm, AlanE wrote:
> Stangest damn thing. It works on the ps2 port using an adapter, but
> doesn't work (at all) when plugged directly into the USB hub. Anybody
> got any clues?

I have one that works and one that doesn't. Both have the usbd_enabled.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Microsoft Wireless mouse works on PS/2 port, but not USB

2003-02-14 Thread AlanE
Stangest damn thing. It works on the ps2 port using an adapter, but doesn't
work (at all) when plugged directly into the USB hub. Anybody got any clues?

-- 
AlanE (Alan Eldridge)
Unix/C(++) IT Pro for 20 yrs, likes fixing weird distributed systems bugs.
KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/)

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



HEADS UP: OpenSSL 0.9.7 in -STABLE

2003-02-14 Thread Jacques A. Vidrine
Hello All,

I have just MFC'd OpenSSL 0.9.7 into the -STABLE branch.  If
you encounter any problems which you think may be related to
this import, please reply to this message (or otherwise post to
<[EMAIL PROTECTED]>) including a thorough description of the
issue.

This new version of OpenSSL includes support for BSD cryptodev, so
that you can offload processing to a supported crypto card (see the
crypto(4) man page).  There are a host of other improvements as well.
See src/crypto/openssl/NEWS.

Cheers,
-- 
Jacques A. Vidrine <[EMAIL PROTECTED]>  http://www.celabo.org/
NTT/Verio SME  . FreeBSD UNIX .   Heimdal Kerberos
[EMAIL PROTECTED] .  [EMAIL PROTECTED]  .  [EMAIL PROTECTED]

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



Re: latest kernel issue ... or increased KVA_FILES ... ?

2003-02-14 Thread David Schultz
Thus spake The Hermit Hacker <[EMAIL PROTECTED]>:
> On Fri, 14 Feb 2003, David Schultz wrote:
> 
> > > 'K, but as long as I install/upgrade both kernel and world at the same
> > > time, there won't be a problem, right ... ?
> >
> > Right.
> 
> Okay, still not working :(
> 
> I did:
> 
> make buildworld
> make buildkernel
> make installworld
> make installkernel
> mergemaster -i

Oops, wrong.  The last time I remembered someone complaining about
this problem back in December, I thought they said that making
world fixed the problem.  Looking back at the thread, I see that
they really said that recompiling with _linuxthreads_ fixed the
problem.[1]  Well, you can edit the KVA_PAGES value in
src/i386/include/pmap.h, which installs to /usr/include/machine/pmap.h,
to be consistent with your kernel (at which point you won't need
it in the kernel config).  For a more permanent solution, you can
apply the patch in the PR I referenced in a previous message.


[1] 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=441617+0+archive/2002/freebsd-hackers/20021208.freebsd-hackers

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



Re: latest kernel issue ... or increased KVA_FILES ... ?

2003-02-14 Thread The Hermit Hacker
On Fri, 14 Feb 2003, David Schultz wrote:

> > 'K, but as long as I install/upgrade both kernel and world at the same
> > time, there won't be a problem, right ... ?
>
> Right.

Okay, still not working :(

I did:

make buildworld
make buildkernel
make installworld
make installkernel
mergemaster -i

venus# ls -lt /usr/lib/libc_r*
-r--r--r--  1 root  wheel   675444 Feb 14 13:27 /usr/lib/libc_r.so.4
lrwxr-xr-x  1 root  wheel   11 Feb 14 13:27 /usr/lib/libc_r.so -> libc_r.so.4
-r--r--r--  1 root  wheel  9322442 Feb 14 13:27 /usr/lib/libc_r.a
venus# ls -lt /kernel.b
-r-xr-xr-x  1 root  wheel  1723783 Feb 14 13:39 /kernel.b
 - NOTE: kernel.b is what I moved it to before moving the good one in place
   to get things back up and running

rebooted the server, and the aolserver and mysqld still give:

venus# egrep "nsd8x|mysqld" /var/log/messages | tail
Feb 14 14:15:19 venus /kernel: pid 77258 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:21 venus /kernel: pid 77271 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:21 venus /kernel: pid 77280 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:23 venus /kernel: pid 77286 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:24 venus /kernel: pid 77295 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:25 venus /kernel: pid 77312 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:26 venus /kernel: pid 77322 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:27 venus /kernel: pid 77333 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:29 venus /kernel: pid 77340 (nsd8x), uid 65534: exited on signal 6
Feb 14 14:15:35 venus /kernel: pid 77346 (nsd8x), uid 65534: exited on signal 6

reboot back to Feb 2nd's kernel, and all runs as it should ... (well, ps
and top don't work now, since I did do the upgrade of world), but the
processes are running:

venus# grep nsd8x /proc/*/status
/proc/15128/status:nsd8x 15128 1 15128 15128 -1,-1 sldr 1045255632,208656 1,173624 
0,168809 poll 65534 65534 65534,65534 osrmidwest.com
/proc/22407/status:nsd8x 22407 1 22407 22407 -1,-1 sldr 1045255887,503076 1,481251 
0,286693 poll 65534 65534 65534,65534 ukenneagram.co.uk
/proc/2941/status:nsd8x 2941 1 2941 2941 -1,-1 sldr 1045255225,92121 1,112542 0,136066 
poll 65534 65534 65534,65534 bitscafe.com
/proc/33564/status:nsd8x 33564 1 33564 33564 -1,-1 sldr 1045256600,613349 1,246559 
0,238861 poll 65534 65534 65534,65534,0,2,3,4,5,20,31 arsnovanyc.com
/proc/5132/status:nsd8x 5132 1 5132 5132 -1,-1 sldr 1045255295,499424 1,294700 
0,180473 poll 65534 65534 65534,65534 dekka.com
/proc/8719/status:nsd8x 8719 1 8719 8719 -1,-1 sldr 1045255434,22952 0,56259 0,78762 
poll 1030 1030 1030,1030 j-town.com
/proc/880/status:nsd8x 880 871 870 0 12,255 noflags 1045255159,120633 0,946457 
0,150763 poll 65534 65534 65534,65534 alliancedata.org.il
/proc/9053/status:nsd8x 9053 1 9053 9053 -1,-1 sldr 1045255441,567055 1,91867 0,198521 
poll 65534 65534 65534,65534 esm-partners.com
/proc/9075/status:nsd8x 9075 1 9075 9075 -1,-1 sldr 1045255441,704927 20,52370 
0,930102 poll 65534 65534 65534,65534 esm-partners.com
/proc/9098/status:nsd8x 9098 1 9098 9098 -1,-1 sldr 1045255442,85435 0,972091 0,188146 
poll 65534 65534 65534,65534 esm-partners.com
/proc/9325/status:nsd8x 9325 1 9325 9325 -1,-1 sldr 1045255447,641866 1,574225 
0,181035 poll 65534 65534 65534,65534 fannyaronsen.net

The kernel config looks like, which I think is okay?  Is there something
else I have to set?  Or is there a bug that I'm triggering? :(

Thanks ...


--
machine i386
cpu I686_CPU
ident   kernel
maxusers0

options KVA_PAGES=512

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support

options SYSVSHM
options SHMMAXPGS=199608
options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)

options SYSVSEM
options SEMMNI=4096
options SEMMNS=8192

options SYSVMSG #SYSV-style message queues

options IPFIREWALL  #firewall
options IPFIREWALL_FORWARD  #enable transparent proxy support
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default

options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad repl

Re: latest kernel issue ... or increased KVA_FILES ... ?

2003-02-14 Thread The Hermit Hacker
On Fri, 14 Feb 2003, The Hermit Hacker wrote:

> 'K, but as long as I install/upgrade both kernel and world at the same
> time, there won't be a problem, right ... ?

Wait, I just thought about it ... if I add 'option KVA_PAGES' to my kernel
config file, where do I need to add it for libc?


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



Configuring SMP on Proliant 5500 Quad Xeon 500Mhz

2003-02-14 Thread vizion communication
Hi

Here is the system:

Compaq Proliant 5500
Quad Xeon 500Mhz
Booting from Compaq Smart Raid configured to give 3 virtual
drives
JBOD on seperate adaptec SCSI 2 PCI card
Fibre Channel Array 1.2T
Adaptec AHA 6944A/TX 4 port PCI 10/100
NVidia PCI TNT2 M64 32M Video card - working fine after a
struggle - configured as vesa vesa!
Built in ATI Rage IIc (DISABLED) on standard peripheral
interface
FreeBSD 4.7

My first attempt at configuring this system for SMP was a
total failure!! and I also lost the original configuration
as I was unable to re-start successfully with kernel.old. I
havesuccessfully rebuilt the configuration as single
processor and am ready to have another go to build as SMP.
Before doing so some handholding advice would be very
welcome.

Is there anyone out there with a similar system who could
advise.

Thanks


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



make installworld fails on libperl.a

2003-02-14 Thread Fernan Aguero
I am using a FreeBSD-4.7-STABLE (Jan24) to build world and
kernel for an older machine (Pentium1). 
  
buildworld and buildkernel proceed OK on the build host.  

In the install host I do: 

mount build:/usr/src /usr/src 
mount build:/usr/obj /usr/obj 
makeinstallworld 
 
and then I get an error about a missing perl library. 

This already occurred twice, in the last two days (I cvsup
my sources daily).

Has this been noticed already? Error messages below.

Fernan


Quoting the last lines of the output: 
...  
...  
===> gnu/usr.bin/perl
===> gnu/usr.bin/perl/libperl 
install -C -o root -g wheel -m 444   libperl.a /usr/lib
install: libperl.a: No such file or directory 
*** Error code 71 

Stop in /usr/src/gnu/usr.bin/perl/libperl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

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

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

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


-- F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

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



V5 with Proliant 5500 SMP Quad

2003-02-14 Thread vizion communication
Hi

I had just finished an install of FreeBSD 4.7 onto a
Proliant 5500 Quad system, reconfigured the kernel to (as I
thought) support SMP when my new CD set from FreeBSD Mall
arrived with V5.00. I put the CDset to one side as I did
make installkernel. Well the SMP kernel failed and as I
seemed to be unable to recover from boot.old I decided to do
another install and go for V5. Here is my report on on my
experience so far with V5:

1. The boot sequence from V5 gave me an error Checksum
RSDP - does anyone know what that is?
2. The graphics card is nvidia TNT2 M64 PCI in the primary
PCI bus (has to be here because this card does not work in
the secondary PCI bus for some reason).  I struggled to get
X windows working with this card on 4.7and eventualy
succeeded by selecting vesa vesa as the card. While working
on this I had no problems during the install process under
4.7.
However installing from the V5 CD produced scattered
artifacts on the screen during the file loading sequences.
At the time of this email I have not even been able to
attempt configuring X under V5 because of the mouse
problems.
3. The next thing is there are some problems with
configuring the mouse. I tried a PS/2 three button mouse
KEIO with a wheel by KYE systems group and an alps
glidepoint device. The latter device was recognised by the
system

psm0:  irq 12 on atkbdc
psm0: model Glidepoint, Device ID 0
There were no apparent irq clashes.
No matter what choices are made the system crashes when
"Trying to start the mouse daemon"  . The only choice is to
reboot. Disabling the mouse daemon got nowhere - X windows
config program crashed!

Any way I am back configuring 4.7 and am slowly overcoming
the problems. I am asking for guidance on configuring SMP
for this system in a separate email!

David







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



Devfs under 5.0 and Handspring Palm device

2003-02-14 Thread Matt Anderson
Hello everyone!
Anyone have a clue how to setup jpilot or any other pilot tools to work 
with USB under the devfs device system in 5.0?

Thanks!

Matt Anderson



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


Re: latest kernel issue ... or increased KVA_FILES ... ?

2003-02-14 Thread David Schultz
Thus spake The Hermit Hacker <[EMAIL PROTECTED]>:
> When Tor suggested changing this to me, he mentioned "This reduces the
> address space available for userland processes, but very few applications
> need more than 1 GB for data in a single process." ... now, if I'm
> understanding this correctly, if I set it to 512, a single process won't
> be able to exceed 2GB (*very* unlikely), but what happens if it does?
> Does the process just crash, but the system remains running?

As des mentioned, allocations will fail and the rest depends on
how the application handles that.

> > Pthreads in 4-STABLE uses the start of the main stack as a basis
> > for determining where to put stacks for individual threads that
> > are spawned.  The value of KVA_PAGES used to be statically
> > compiled into pthreads, so you would have to recompile libc every
> > time you changed KVA_PAGES.  Peter Wemm tried to fix this some
> > time ago by reading the value from sysctl instead, but his fix is
> > incomplete.  The patch in the following PR has been verified (not
> > by me) to fix the problem.  Hopefully it has not been subject to
> > bit rot over the last few months.
> 
> 'K, but as long as I install/upgrade both kernel and world at the same
> time, there won't be a problem, right ... ?

Right.

> > >   Similar was happening to the mysqld daemon ...
> >
> > Random naive question: Postgresql spawns separate processes
> > instead of using threads, doesn't it?  How has that worked out,
> > and is it expected to change?
> 
> Not expected to change, and works quite well ... there has been alot of
> work to reduce the start time for the process(es), which used to be alot
> of the complaints concerning 'seperate processes' ... there are ppl
> talking about working towards the Apache2 model (I'm one of them) where
> each process would still only handle one connection, but would be able to
> offload some of the processing to other threads, so that they could work
> in parrellel ...

Cool.  I wouldn't expect process startup time to be a big deal
unless you have new clients initiating new connections like mad,
and I hope that isn't a common case.  (Then again, I'm not a
database person, and I don't know how e.g. PHP might interact with
the database.)  The reliability advantage of multiple processes
seems important as well.  In any case, I will migrate over to the
correct lists if I have any more questions about postgresql.  ;-)
Thanks.

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