Any plan for AMD x86-64 port?

2000-08-16 Thread Jung-uk Kim
Hi, all. Is there anybody interested in AMD x86-64 architecture? I think we should take a look at this. http://www.x86-64.org/ - Jung-uk Kim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

inetsw, struct protosw and struct ipprotosw

2000-08-16 Thread Darren Reed
Just looking in /sys/netinet and I see this: (freefall:~/src/sys/netinet) grep 'inetsw' *.c | grep protosw in_proto.c:struct ipprotosw inetsw[] = { in_proto.c: (struct protosw *)inetsw, in_proto.c: (struct protosw *)&inetsw[sizeof(inetsw)/sizeof(inetsw[0])], 0, ip_fil.c:extern struct

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Mark Murray
> > (I just checked - it worked!) > > Now we just need someone with a NetBSD box handy to let us know whether > double-escaping the newlines works alright there. I have a feeling > it won't, which probably means we need to see if we can fix our > implementation of __IDSTRING(). Bah. Only three

Re: How to generate a core dump explicily

2000-08-16 Thread Wes Peters
Nicolas Leonard wrote: > > Sorry, I wasn't precise enough . > > In fact, I caught the SIGABRT signal (and the others signals which are > ending the program) and I'm doing some ending stuff, and after that, I > would like to dump a core file. > > I could remove the handler of SIGABRT after my e

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Mark Murray
> > Did your _exact_ sample program fail on NetBSD in the same way that > > it failed on FreeBSD? > > No. A sufficiently similar program also fails on FreeBSD but does not > fail on NetBSD. :-) OK - we need to see the assembler output that is generated on both boxes; Can you get a comparitive

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Mark Murray
> I'm not trying to protect the way I do it, since I don't use the macro > myself. I just want to make sure that, if the NetBSD behaviour > (handling embedded newlines properly) is correct, that we provide a > compatible interface. > > Am I missing something here? Maybe I am. Did your _exact_

Re: IPC, shared memory, syncronization AND threads...

2000-08-16 Thread Ronald G Minnich
On Wed, 16 Aug 2000, Peter Jeremy wrote: > >Here's a simple test-and-set function for the 386 (tested and works): > Actually, this isn't particularly good coding. It isn't SMP-safe. you caught me! I'm a lousy assembly programmer! Actually, that code is so old it predates SMP by a bit ...

Re: Collecting waiting statistics (simulation question)

2000-08-16 Thread Jeff Rhyason
Alphred Perlstein wrote: > Using sysctls is probably the easiest way of doing it. I am so stupid, Alphred, I did not think sysctl's could be used to provide access to arrays. I should have looked more. Chuck Robey wrote: >Occaisonally, but you'd do better hitting this list in general. I'm on

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Sheldon Hearn
On Wed, 16 Aug 2000 21:25:14 +0200, Mark Murray wrote: > ...and it does not like the multi-line string. You may need to > double-escape the \n's (like \\n) to get them into the .ident > line symbolically. > > (I just checked - it worked!) Now we just need someone with a NetBSD box handy to le

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Mark Murray
> And please don't whine about me about string concatenation -- it's legal > in ANSI C. :-) __COPYRIGHT is defined as #define __COPYRIGHT(s) __IDSTRING(copyright,s) and __IDSTRING is #define __IDSTRING(name,string) __asm__(".ident\t\"" string "\"") By the time the string makes it to the asse

several NFS mounts within a filesystem

2000-08-16 Thread Peter Pentchev
OK, so it might very well be that I haven't read everything; in that case, sorry for taking your time. However.. /etc/fstab: # DeviceMountpoint FStype Options DumpPass# /dev/ad4s1b noneswapsw 0 0 /dev/ad4s1a

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Daryl Chance
i don't know assembler, but it the macros are like C, you need a \ at the end of the line :). (IIRC) Lemme know if that fixes it :). Thanks, --- | Daryl Chance | BIT: n. unit by which | | Valuedata, LLC | programmers go insane | ---

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Sheldon Hearn
On Wed, 16 Aug 2000 21:58:11 +0200, Mark Murray wrote: > Bah. > > Only three things use __COPYRIGHT; ftp(d?), routed and make. None of them > use \n's like you do. I'm not trying to protect the way I do it, since I don't use the macro myself. I just want to make sure that, if the NetBSD beha

Re: several NFS mounts within a filesystem

2000-08-16 Thread Kenneth D. Merry
On Wed, Aug 16, 2000 at 19:47:52 +0300, Peter Pentchev wrote: > /usr/n/ringrowl/root -maproot=root -network 192.168.1.0 -mask 255.255.255.0 > /usr/n/ringrowl/usr -maproot=root -network 192.168.1.0 -mask 255.255.255.0 > > And the result of ``mountd -d -l'' is: > > Aug 16 19:36:35 ringwraith mo

Sending multicast packets

2000-08-16 Thread deepika kakrania
hi We are running freebsd 3.3 release. i am having the scenario where two daemons running on two routers which are on the same LAN have to exchange multicast packets. To test the multicasting capability, i have taken 2 sample programs. Both of them are joining same multicast group and there

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Jake Burkholder
[...] > I'm led to believe that these error messages are not present on a NetBSD > box. So is this broken usage of __COPYRIGHT(), or is this pre-processor > or assembler breakage? Looks like breakage of the ELF __IDSTRING macro. #if defined(__GNUC__) && defined(__ELF__) #define __IDSTRING(nam

Re: weird error messages from __COPYRIGHT macro

2000-08-16 Thread Sheldon Hearn
On Wed, 16 Aug 2000 22:09:02 +0200, Mark Murray wrote: > Maybe I am. > > Did your _exact_ sample program fail on NetBSD in the same way that > it failed on FreeBSD? No. A sufficiently similar program also fails on FreeBSD but does not fail on NetBSD. :-) Ciao, Sheldon. To Unsubscribe: sen

Re: Maestro2E patch (Was: US$100 prize for adding ESSAudiodrivesupport to pcm)

2000-08-16 Thread Julian Elischer
Munehiro Matsuda wrote: > > Hello Joseph, > > From: Joseph Scott <[EMAIL PROTECTED]> > [...] > ::> Aha, Dell Inspiron 7500! > ::> There was some extra stuff in the Linux driver for it. > ::> I have recreated my patch (mstr2_spk.patch2) to include them. > ::> Please aply the new patch to the ori

Re: limit processes that a user can 'see'

2000-08-16 Thread Steve Kudlak
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Maxime Henrion writes: > >Hello, > > > >I have an idea that I would love to see applied in FreeBSD source code, > >but as I'm not skilled enough to code it, I post it to see if you think > >it makes sense, and if someone would b

Re: IPC, shared memory, syncronization AND threads...

2000-08-16 Thread Peter Dufault
Here's the kind of thing I have in mind, wrapped around the pthreads mutexes. This replaces default pthread mutexes (those with no special attributes) with possibly fast ones. I haven't done any real timing but I've verified that a program I have works and runs a lot faster with these wrappers.

Re: Collecting waiting statistics (simulation question)

2000-08-16 Thread Jeff Rhyason
Alphred Perlstein wrote: > Using sysctls is probably the easiest way of doing it. I am so stupid, Alphred, I did not think sysctl's could be used to provide access to arrays. I should have looked more. Chuck Robey wrote: >Occaisonally, but you'd do better hitting this list in general. I'm on

Re: IPC, shared memory, syncronization AND threads...

2000-08-16 Thread Peter Dufault
I've looked at the POSIX spec to find the right way to portably implement low overhead process synchronization. I think the right way is to add _POSIX_THREAD_PROCESS_SHARED support so that mutexes can be shared between processes. There is something vague about the spec. I don't see that you can

weird error messages from __COPYRIGHT macro

2000-08-16 Thread Sheldon Hearn
Here is a source file which looks fine to me, but for which I get unexpected assembler warnings: #include __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\n" "The Regents of the University of California." " All rights reserved.\n");

cvs question concerning creating and handling of vendor branches

2000-08-16 Thread Andreas Klemm
Hi ! I have a CVS question, could you please help and answer before I mangle my CVS archive on www.apsfilter.org ..., that would be very kind, thanks a lot. I want to import Cesar Mendozas lists-archive software on a vendor branch and merge the changes into the HEAD branch ... Do do I start im

Re: How to generate a core dump explicily

2000-08-16 Thread Cyrille Lefevre
Wes Peters <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > > > On Tue, 8 Aug 2000, Nicolas Leonard wrote: > > > > > I would like to generate a core dump 'explicitly' in > > > my program. How can that be done ? > > > > Call abort(3) > > If you want to coredump it "interactively", h

Re: Maestro2E patch (Was: US$100 prize for addingESSAudiodrivesupport to pcm)

2000-08-16 Thread Munehiro Matsuda
Hello Joseph, From: Joseph Scott <[EMAIL PROTECTED]> Date: Fri, 11 Aug 2000 11:24:04 -0700 ::[...] ::> :: Unfortunately this didn't work for mine (Dell Inspiron 7500). How to ::> ::I find out the GPIO values that make windows work? I'm open to trying ::> ::what the Linux driver does. Mind

Re: IPC, shared memory, syncronization AND threads...

2000-08-16 Thread Peter Jeremy
On Tue, 15 Aug 2000 10:30:25 -0600 (MDT), Ronald G Minnich <[EMAIL PROTECTED]> wrote: >The idea is simple: tset is the fastest, but you only want to spin so >long. Then you want to drop into the kernel, and wait for someone to wake >you up. Agreed. >Here's a simple test-and-set function for the

Re: Collecting waiting statistics (simulation question)

2000-08-16 Thread Peter Jeremy
On Mon, 14 Aug 2000, Jeff Rhyason wrote: > Aah. This isn't quite what I lust for: Is it possible to get a *log* of > allocation requests rather than aggregate sums or averages? The reason is > so I can calculate the distribution of the data. For example: the kind of > information I would like t

Re: dma to userland address

2000-08-16 Thread Mike Smith
> lets say, hypothetically, that i have an ioctl interface to my device > driver that takes a buffer that looks something like: > > struct { > int length; > char *buf; > } mystruct; > > and lets say, hypothetically, that i wanted to dma directly > to/from 'buf'. how would i do that? > > i'