struct __hack

2002-02-28 Thread Alexey V. Neyman
Hello there! In FreeBSD headers there are many occurences of 'struct __hack' (e.g. in src/sys/module.h, eventhandler.h). What's the point of this structure? I guess it help to avoid some warnings/errors, but what? Regards, Alexey. -- <-> ) May the Sun and Water ( R

[no subject]

2002-02-28 Thread Balaji
Respected Sir, I have two NFS servers acting as backups for each other. We are working in FreeBSD. Now when a server fails, the other server takes over the IP address of the failed server on a different Network Interface. But, now the clients of the failed server are not able to mount from the

Re: Multicast problem with sis interface?

2002-02-28 Thread George V. Neville-Neil
Here is a context diff that fixes the driver. Not the most performant solution (it requires allocating a new, zero'd, mbuf) but it's the most straightforward fix. Auto Padding is still on in the driver. I saw no reason to disable this even though we're now go around it. This fix is against -C

Re: arbitrary serial speeds

2002-02-28 Thread John Hay
Don't the stuff I committed to current do what you guys want? I'm planning to MFC it, but haven't asked Bruce yet. I'll need it before I MFC the puc driver. John -- John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED] > I had changes to do this > BDE refused to commit them. > > > On Thu, 28 Feb

Re: using vnconfig devices instead of partitions for jails ?

2002-02-28 Thread .
Patrick Thomas writes: > > one other thing: > > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? You can use vnXs1a..vnXs30h on each vn vnconfig -s lab

how do I see the current number of PTYs in use ?

2002-02-28 Thread Patrick Thomas
(asked on -questions and got no response, also did a `sysctl -a | grep pty` and only saw error messages) I am trying to troubleshoot something - the bad thing that is happening is that I try to create new `screen` windows and I get 'No more PTYs'. I know how to add more PTYs, etc., and I am not

Re: Multicast problem with sis interface?

2002-02-28 Thread George V. Neville-Neil
> At 13:10 19/02/02 -0800, Doug Ambrisko wrote: > >Bob Bishop writes: > >| No dice with last night's -STABLE. And it's definitely the interface, I've > >| tried a variety and netatalk works with everything (including the dreaded > >| Via Rhine) except for the onboard sis0. > >| > >| I suppose it's

Re: Realtek RTL8100B

2002-02-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dan <[EMAIL PROTECTED]> writes: : : Is this supported? : Cannot seem to find this version at : ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.5-RELEASE/HARDWARE.HTM If this is a USB ethernet chip, then I just got done reviewing a driver from someone

Re: read-only root partition?

2002-02-28 Thread Brian Dean
On Thu, Feb 28, 2002 at 01:26:49AM -0500, Clark C . Evans wrote: > > | http://people.freebsd.org/~bsd/cdroot/ > > Ok. I've tried this route and it seems to be working, > thank you all so much for your help and pointers. Whoops, sorry. I just replied to your earlier mail mentioning these scrip

Re: read-only CD-ROM boot partition for vinum webfarm?

2002-02-28 Thread Brian Dean
On Wed, Feb 27, 2002 at 06:23:31PM -0500, Clark C . Evans wrote: > > Hello. I was wondering if it is possible to make a read-only > boot partition (core kernel, static configuration, and /usr) > for a web-farm application. I've put together a few scripts to help set this up. I've been happily

Re: Missing PT_READ_U

2002-02-28 Thread Julian Elischer
On Thu, 28 Feb 2002, Bakul Shah wrote: > > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > > are a really nasty interface that should have been killed long ago > > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > > operate on (struct user) will not be

Re: Missing PT_READ_U

2002-02-28 Thread Julian Elischer
On Thu, 28 Feb 2002, Bakul Shah wrote: > > Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > > are a really nasty interface that should have been killed long ago > > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > > operate on (struct user) will not be

Re: Missing PT_READ_U

2002-02-28 Thread Bakul Shah
> Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they > are a really nasty interface that should have been killed long ago > when 'ptrace(PT_[SG]ETREGS' etc came along. The entity that they > operate on (struct user) will not be around much longer since it > is part-per-process

Re: Missing PT_READ_U

2002-02-28 Thread Julian Elischer
On Wed, 27 Feb 2002, Bakul Shah wrote: > Now that ptrace(PT_READ_U, ...) has been excised how does one > find out what actions are registered for various signals? > The ups debugger needs this. Please see > /usr/ports/devel/ups-debug/work/ups-3.35-beta13/ups/ao_pt_uarea.c:632 > > Thanks! > H

Re: using vnconfig devices instead of partitions for jails ?

2002-02-28 Thread Terry Lambert
Patrick Thomas wrote: > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? > > What is the maximum ? 256 ? Depends. Expect 256 to be available in all v

RE: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Rogier R. Mulhuijzen
>Regarding my SMP query, Doc asks: > > What sort of throughput? What sort of processes are you > > running? Do you > > actually have multiple processes fighting for CPU? > >Yes, I'm using netperf, iperf or nttcp to measure TCP throughput using the >server (the box in question) in response to ten

Re: Acl patches

2002-02-28 Thread Kris Kennaway
On Thu, Feb 28, 2002 at 05:45:59PM -0500, Jim Durham wrote: > I've looked over the mailing lists and google and I can't figure out > if the patches to the 5.0 kernel to support ACLs in Samba ever made > it into 4.4 or 4.5 Release ? No, and I don't think a merge is planned because of the scope o

Re: oracle 8.1.7.0.1 installation successful, anyone?

2002-02-28 Thread Rogier R. Mulhuijzen
At 09:46 28-2-2002 -0600, Theodore Hope wrote: >We've tried installing Oracle 8.1.7.0.1 (for Linux) under >FreeBSD 4.5-release and end up with two "jre" processes >eating all the CPU and the infamous >"kernel trap 9 with interrupts disabled" message scrolling on >the console. This has been report

Realtek RTL8100B

2002-02-28 Thread Dan
Is this supported? Cannot seem to find this version at ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.5-RELEASE/HARDWARE.HTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: using vnconfig devices instead of partitions for jails ?

2002-02-28 Thread Patrick Thomas
one other thing: How many mount points (jails, in this case) can I run ? I see that there are 8 existing vn0X device files in /dev - can I just create more of them using MAKEDEV (or mknod) and keep going ? What is the maximum ? 256 ? also, do I need to alter the kernel to support more vn0X d

Acl patches

2002-02-28 Thread Jim Durham
I've looked over the mailing lists and google and I can't figure out if the patches to the 5.0 kernel to support ACLs in Samba ever made it into 4.4 or 4.5 Release ? -- Jim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: using vnconfig devices instead of partitions for jails ?

2002-02-28 Thread Patrick Thomas
thank you - I am glad to see that this is a good way of doing things. Two quick items: 1. How do I give each jail a 'proc' filesystem in its /proc using this configuration ? 2. Is there any downside to this whatsoever ? This seems infinitely better than a new partition for each jail, so was I

Re: Myson drivers for 4.x

2002-02-28 Thread Julian Elischer
On Thu, 28 Feb 2002, Andre Oppermann wrote: > > On Tue, 26 Feb 2002, Julian Elischer wrote: > > > > If its actually a Realtek clone with a few differences it wouldn't make > > sense to add a whole new driver to the system. > > Just a side note; the Realtek driver isn't entirely up to date. Th

Re: Myson drivers for 4.x

2002-02-28 Thread Andre Oppermann
> On Tue, 26 Feb 2002, Julian Elischer wrote: >> I have been speaking with the author. >> he is adding a BSD copyright. >> also he says we can KNFify (style(9)ify?) as it doesn't have to >> remain >> compatible with anything else. > > It might be nice if it could be folded into the driver it was

Re: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Julian Elischer
This is not so relevant because he is NOT RUNNING old hardware! (well not THAT old). On Thu, 28 Feb 2002, Terry Lambert wrote: > "Frost, Stephen C" wrote: > > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > > quad PIII Zeon 550s, etc... No old procs, per se. I'm

Re: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Terry Lambert
"Frost, Stephen C" wrote: > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > version of 4.5. Was a proc-specific fix implemented *after* its release? There is code in 4.5 that is incredib

Re: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Alfred Perlstein
* Frost, Stephen C <[EMAIL PROTECTED]> [020228 11:44] wrote: > > This includes multiple configurations, incl: dual PIII 700s, dual PIII 800s, > quad PIII Zeon 550s, etc... No old procs, per se. I'm running the released > version of 4.5. Was a proc-specific fix implemented *after* its release?

RE: FreeBSD, SMP and Performance Speeds?

2002-02-28 Thread Frost, Stephen C
I'm crossposting to [EMAIL PROTECTED], as per suggestion. My original post, edited: > > ... why any kernels compiled with SMP enabled seem > > to be slowing the whole system down? Throughput goes down by 40%. Tasks > > take twice as long to run, etc, etc... > > ... it appears to be system-wide

Re: arbitrary serial speeds

2002-02-28 Thread Julian Elischer
I had changes to do this BDE refused to commit them. On Thu, 28 Feb 2002, Luuk van Dijk wrote: > This is a multi-part message in MIME format. > --17932B47B695003DFEDACE26 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > L.S. > > for a project in

Re: IPv6-over-IPv4 problems since the upgrade to 4.5

2002-02-28 Thread Hajimu UMEMOTO
Hi, > On Thu, 28 Feb 2002 15:20:57 +1100 > Edwin Groothuis <[EMAIL PROTECTED]> said: edwin> On Tue, Feb 26, 2002 at 02:38:28PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > Finally I figured out the problem. edwin> Thanks for these two patches, it works like a charm now! I just commit

oracle 8.1.7.0.1 installation successful, anyone?

2002-02-28 Thread Theodore Hope
We've tried installing Oracle 8.1.7.0.1 (for Linux) under FreeBSD 4.5-release and end up with two "jre" processes eating all the CPU and the infamous "kernel trap 9 with interrupts disabled" message scrolling on the console. This has been reported before by others, and I'm wondering if anyone ha

arbitrary serial speeds

2002-02-28 Thread Luuk van Dijk
This is a multi-part message in MIME format. --17932B47B695003DFEDACE26 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit L.S. for a project in which I communicate with embedded controllers in cars I need to read and write serial data at weird speeds of 5 and