install media problems with latest snapshots

2000-09-13 Thread David E. Cross
The latest snapshots off of releng4.freebsd.org have a couple of problems with the kern.flp/mfsroot.flp images. The first problem is that the "boot.config" file doesn't exist; this makes serial console installs problematic (although easily fixed). Secondly the 2913 image

Re: c++ error

2000-09-13 Thread Jacques A. Vidrine
On Wed, Sep 13, 2000 at 05:36:05PM -0700, John Polstra wrote: > About the best fix I can think of (and it's not very good) is to > change so the structure is declared like this: > > struct ip_opts { > struct in_addr ip_dst; /* first hop, 0 w/o src rt */ > #ifdef __cplusplus >

Fdescfs updates--coming to a devfs near you!

2000-09-13 Thread Chris Costello
Over the past few months, I've been working on the /dev/fd file system ("fdescfs"). After weeks of occasionally-hacking and putting it off, I've finalized a patch for fdescfs. What this patch changes: + fdesc_allocvp() becomes curproc-free as a `struct proc' pointer is passed as the n

Getting all the IP address for a machine from code...

2000-09-13 Thread Chris Ptacek
I am looking for a way to get all the IP addresses that are configured a machine. I need to do this in c source code, and without using DNS services (ie: gethostname/gethostbyname won't work). I am hoping there are some system calls I can use to get this information. Thanks in advance for any h

Re: help debugging kernel crash dump

2000-09-13 Thread Greg Lehey
On Wednesday, 13 September 2000 at 4:12:14 -0700, kts wrote: > Hi > > Just wanted to see if anyone could give me some feedback as to what > happened, or how to get more info. My machine was just sitting on > the LAN and it panic'd. X was running and it had some ssh's open. > > I'm running 4-STABL

Re: graphics adapter ports reference

2000-09-13 Thread Aleksandr A.Babaylov
Nathaniel G H writes: > I have been pulling my hair out for a while with some low > level code I'm writing, and I'd like some help. > > Hardware ports 3D0h through 3DFh (controlled by the IN and > OUT instructions) can be used to control the graphics > adapter. I need some sort of reference mate

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-13 Thread John Polstra
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > We are trying to create a dynamic library of extensions to PHP 4.02. > This library implements a C++ class and has a C interface using the "Extern C" > declaration. > This library is linked with libstdc++.so.3 . > > If the library is c

Re: c++ error

2000-09-13 Thread John Polstra
In article <[EMAIL PROTECTED]>, Archie Cobbs <[EMAIL PROTECTED]> wrote: > John Polstra writes: > > > On the other hand, nothing in the kernel actually uses "struct ip_opts", > > > though I haven't checked all of userland.. so we may just be able to > > > remove it. > > > > >From it looks like a

graphics adapter ports reference

2000-09-13 Thread Nathaniel G H
Hi folks, I have been pulling my hair out for a while with some low level code I'm writing, and I'd like some help. Hardware ports 3D0h through 3DFh (controlled by the IN and OUT instructions) can be used to control the graphics adapter. I need some sort of reference material that can at least

Re: c++ error

2000-09-13 Thread Archie Cobbs
John Polstra writes: > > On the other hand, nothing in the kernel actually uses "struct ip_opts", > > though I haven't checked all of userland.. so we may just be able to > > remove it. > > >From it looks like a couple of [gs]etsockopt calls > use it. Search for "ip_opts" just past that structu

Re: c++ error

2000-09-13 Thread John Polstra
In article <[EMAIL PROTECTED]>, Archie Cobbs <[EMAIL PROTECTED]> wrote: > > That is a kludge if I ever saw one!! Yep, it sure is! > This is the standard compiler in 4.1. However, the particular source > files being compiled are messy and it wouldn't surprise me that > they are triggering somet

Re: c++ error

2000-09-13 Thread Archie Cobbs
John Polstra writes: > > This happens on 4.1-RELEASE: > > > > $ c++ ... foo.cc > > > > /usr/include/netinet/in.h:303: ANSI C++ forbids data member `ip_opts' with >same name as enclosing class > > *** Error code 1 > > > > Any ideas? I tried __BEGIN_DECLS and __END_DECLS but that did

Re: c++ error

2000-09-13 Thread John Polstra
In article <[EMAIL PROTECTED]>, Archie Cobbs <[EMAIL PROTECTED]> wrote: > This happens on 4.1-RELEASE: > > $ c++ ... foo.cc > > /usr/include/netinet/in.h:303: ANSI C++ forbids data member `ip_opts' with >same name as enclosing class > *** Error code 1 > > Any ideas? I tried

c++ error

2000-09-13 Thread Archie Cobbs
This happens on 4.1-RELEASE: $ c++ ... foo.cc /usr/include/netinet/in.h:303: ANSI C++ forbids data member `ip_opts' with same name as enclosing class *** Error code 1 Any ideas? I tried __BEGIN_DECLS and __END_DECLS but that didn't help. I'm not a C++ expert. $

Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Kris Kirby
On Sun, 10 Sep 2000, Stephen Hocking wrote: > My main reason for wanting to replace the wretched thing is that it > keeps on hanging when doing lots of writes under NFS (when it's a > client), even when the write size is reduced to 2k. Everyone's > currently banging away at the new SMP code, so r

Re: rcp -x

2000-09-13 Thread Robert Watson
The -x options on rsh, rcp, and rlogin rely on Kerberos support, which it appears you haven't installed. (example w/o kerberos installed) > rcp -x rcp: illegal option -- x usage: rcp [-p] f1 f2 rcp [-pr] f1 ... fn directory (example w/kerberos installed) > rcp -x usage: rcp [-Kpx] [-k

rcp -x

2000-09-13 Thread Steven E. Ames
The man page for rcp(1) lists a '-x' option: -x Turn on DES encryption for all data passed by rcp. This may im- pact response time and CPU utilization, but provides increased security. But the command line doesn't seem to honor it? winrad3# rcp -x rcp: illega

need a recommendation of NIC

2000-09-13 Thread Hao Zhang
Title: need a recommendation of NIC I am doing some testing on FreeBSD 3.3 platform by sending some UDP packets thru FreeBSD routers. It's found that the duplications happened in FreeBSD router. Now The FreeBSD 3.3 is running on Pentium III, and NIC is 3C905B-Tx. To isolate this problem. We

Re: ports cvsup

2000-09-13 Thread John Polstra
In article <[EMAIL PROTECTED]>, Balis George <[EMAIL PROTECTED]> wrote: > Thank you very much John but it seems that my problem got solved > when i specified: ports-all instead of specifying individual ones. Really?! OK, that's a good clue. I suspect the problem is one of two things: - Y

ENTER allowed?

2000-09-13 Thread Marco van de Voort
On Linux, use of the Enter is not allowed because of the internals of stack page fault handlers. Is this also the case on FreeBSD (3.x + )? Marco van de Voort ([EMAIL PROTECTED] or [EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in th

Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Stephen Hocking writes: : The card's a "Megahertz (CC10BT/2)", according to pccardd. I had to manually : put the IRQ in the /etc/pccard.conf file. The kernel code is from the : PRE_SMPng tag. Hmmm - I kind of suspect interrupt issues. The dmesg is as : follows, th

installing ...

2000-09-13 Thread Danny Braniss
after i made a 'make buidlworld' how can i get it to install in /5.0-CURRENT? i compiled on a 4.1. tia, danny To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Stephen Hocking
> Odd. The sn card is my main card these days and I've not seen any NFS > performance issues. Maybe you have an interrupt problem? > > I use the Megahertz XJ10BT, btw. Which card are you using? I was > doing NFS last night on it with little hassle on a -current kernel > from last night. The

Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Stephen Hocking writes: : My main reason for wanting to replace the wretched thing is that it : keeps on hanging when doing lots of writes under NFS (when it's a : client), even when the write size is reduced to 2k. Everyone's : currently banging away at the new SMP

Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Adam writes: : Hi, I'd just like to say that I dont think non cardbus cards are capable : of doing more than 10bt speeds even if it talks 100bt. I have not met one : that did and I assume it is a limit of the pcmcia design. Just warning : you not to waste your mon

help debugging kernel crash dump

2000-09-13 Thread kts
Hi Just wanted to see if anyone could give me some feedback as to what happened, or how to get more info. My machine was just sitting on the LAN and it panic'd. X was running and it had some ssh's open. I'm running 4-STABLE from August 3rd. IdlePTD 3522560 initial pcb at 2ce300 panicstr: page

Documentation (was Re: Installation and package tools document, version 1.0)

2000-09-13 Thread Nik Clayton
Folks, On Tue, Sep 12, 2000 at 03:29:48PM -0700, Jordan Hubbard wrote: > Title: FreeBSD installation and package tools, past, present and future > Date: September 8th, 2000 > Author: Jordan K. Hubbard > Version: 1.0 For everyone's reference; documentation like this is *always* on topic for -doc.