Re: How to visit physical memory above 4G?

2001-08-01 Thread Terry Lambert
craig wrote: I know PIII can support 64G physical memory. In FreeBSD how can I visit such range memory(4G-64G) ? The short answer is you can't. The longer answer is that you end up having to window it using segmentation; if you are familiar with the 4k window on video memory in the TI

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-02 Thread Terry Lambert
Joseph Gleason wrote: Alright, I made a mistake. But I did read the man page. Where does it say off_t is 64bits? The same place it says char is 8 bits, short is 16 bits, and int and long are 32 bits: in your assumptions. It might be useful (for some definitions of useful) to have a man page

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-02 Thread Terry Lambert
Chirag Kantharia wrote: On Wed, Aug 01, 2001 at 11:25:40PM -0700, Terry Lambert wrote: | Uh, st_size is an off_t, which is a signed 64 bit value, | not an unsigned 32 bit vale... going off-topic why should it be `signed' 64 bit and not unsigned? Return value for lseek is off_t. -1

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
mark tinguely wrote: Also, the PIII CAN'T natively support more than 4GB of ram. If a particular PIII motherboard supports this, then it's using some kind of wierd chipset that allows this to happen. 4GB is the limit with a 32 bit chip I believe; and the PIII is a 32-bit chip.

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
John Baldwin wrote: Err. hang on. This has zero to do with segmentation. Zip, nada. PAE is completely in the paging side of things. No matter what fun games you play with segmentation, you still end up with a 32-bit linear address that gets handed off to the paging translations. PAE just

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Rik van Riel wrote: [ ... 4G on 32 bit macines ... ] The short answer is you can't. The longer answer is that you end up having to window it using segmentation; Only if you want to use it all within one process. No. It still bites you if you want to do IPC, etc., since you can not

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Rik van Riel wrote: Only if you want to use it all within one process. No. It still bites you if you want to do IPC, etc., since you can not guarantee the structures used for this are all within the non-segmented region of memory. Wrong. Your process can have pages from all over

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Rik van Riel wrote: BUT, don't the motherboards also have to support this? And isn't it only supported through some wierd segmentation thing? Yes, the mainboard needs to support the memory. No, there is no weird segmentation thing, at least not visible from software. Last time I

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Julian Elischer wrote: No The space is linear in physical space and if you have PCI/64 capable devices they can access it all too. (In fact 64 bit addresses have been supported even in 32 bit wide PCI since day 1). It's been my experience that the TIGON cards take a 32 bit DMA target

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Charles Randall wrote: From: Terry Lambert [mailto:[EMAIL PROTECTED]] I have yet to see one person using it for anything. So far, it is nothing more than marketing fodder: I haven't seen one motherboard capable of more than 4G worth of SIMMs. The Dell PowerEdge 6450 supports 8 GB of RAM

Re: PR 25958

2001-08-03 Thread Terry Lambert
Nate Dannenberg wrote: I'd be glad to, however I no longer run FreeBSD. I have since switched to Linux. [ ... ] Not being much of a C programmer anymore I can't really say for certain though :) Are these two statements related by cause and effect? 8-) 8-) -- Terry To Unsubscribe: send

Re: How to visit physical memory above 4G?

2001-08-03 Thread Terry Lambert
Rik van Riel wrote: This is a trivial implementation. I'm not very impressed. Personally, I'm not interested in a huge user space, Maybe not you, but I bet the database and scientific computing people will be interested in having 64 GB memory support in this simple way. You mean 4G,

Re: gethostbyXXXX_r()

2001-08-06 Thread Terry Lambert
Alexander Litvin wrote: As for bind9 -- this has AFAIK totally rewritten resolver, which doesn't even resemble bind8. IMHO, to incorporate it into FreeBSD might take a tremendous effort. Not really. Just import it on a vendor branch as /usr/src/lib/libresolv, and then things that want it can

Re: Allocate a page at interrupt time

2001-08-07 Thread Terry Lambert
Matt Dillon wrote: Yes, that is precisely the reason. In -current this all changes, though, since interrupts are now threads. *But*, that said, interrupts cannot really afford to hold mutexes that might end up blocking them for long periods of time so I would still recommend

Re: timing question

2001-08-07 Thread Terry Lambert
Jeff Behl wrote: please excuse and direct me to the right place if this isn't the appropriate place to post this sort of question we're looking into moving to freebsd (yea!), but found the following problem. It seems that the shortest amount of time the below code will sleep for is 20

Re: Allocate a page at interrupt time

2001-08-07 Thread Terry Lambert
Bosko Milekic wrote: I keep wondering about the sagicity of running interrupts in threads... it still seems like an incredibly bad idea to me. I guess my major problem with this is that by running in threads, it's made it nearly impossibly to avoid receiver livelock situations, using

Re: Allocate a page at interrupt time

2001-08-07 Thread Terry Lambert
Mike Smith wrote: It also has the unfortunate property of locking us into virtual wire mode, when in fact Microsoft demonstrated that wiring down interrupts to particular CPUs was good practice, in terms of assuring best performance. Specifically, running in virtual wire mode means

Re: Allocate a page at interrupt time

2001-08-07 Thread Terry Lambert
Matt Dillon wrote: :What this, exactly? : :That virtual wire mode is actually a bad idea for some :applications -- specifically, high speed networking with :multiple gigabit ethernet cards? All the cpu's don't get the interrupt, only one does. I think that you will end up taking an

Re: Allocate a page at interrupt time

2001-08-07 Thread Terry Lambert
Zach Brown wrote: That Microsoft demonstrated that wiring down interrupts to a particular CPU was a good idea, and kicked both Linux' and FreeBSD's butt in the test at ZD Labs? No, Terry, this is not what was demonstrated by those tests. Will this myth never die? Do Mike and I have to

Re: Kernel stack size

2001-08-07 Thread Terry Lambert
Julian Elischer wrote: the kernel stack is a VERY LIMITED resource basically you have about 4 or 5 Kbytes per process. if you overflow it you write over your signal information.. you should MALLOC space and use a pointer to it.. Would adding an unmapped or read-only guard page be

Re: Allocate a page at interrupt time

2001-08-08 Thread Terry Lambert
void wrote: Can you name one SMP OS implementation that uses an interrupt threads approach that doesn't hit a scaling wall at 4 (or fewer) CPUs, due to heavier weight thread context switch overhead? Solaris, if I remember my Vahalia book correctly (isn't that a favorite of yours?).

Re: -Stable, apache, ldap and shlibs

2001-08-08 Thread Terry Lambert
Julian Elischer wrote: Who is the expert on apache, modules and shlibs? (I'll go offline to discuss the problem if I can find an appropriate person.. (can't get ldap module to work with apache under freebsd.) Build Apache from your own sources, and not from ports. You will also need to use

Re: Allocate a page at interrupt time

2001-08-08 Thread Terry Lambert
Mike Smith wrote: Terry; all this thinking you're doing is *really*bad*. I appreciate that you believe you're trying to educate us somehow. But what you're really doing right now is filling our list archives with convincing-sounding crap. People that are curious about this issue are

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Terry Lambert
Brian O'Shea wrote: On this machine I run a program which simulates many (~150) simultaneous TCP clients. This is actually a multithreaded Linux binary, and one thread per simulated TCP client is created. After a few seconds the system runs out of mbuf clusters: # netstat -m

Re: Why page enable in Kernel space?

2001-08-08 Thread Terry Lambert
craig wrote: In general a address in a process is just a linear address which refer to physical address indirectly by page directory. Or a virtual address that does not have a physical page behind it. Some kernel memory is swappable, and some is overcommitted, and the pages backing the page

Re: timing question

2001-08-09 Thread Terry Lambert
Rolf Neugebauer wrote: NB. for achieving higher timer resolutions you might find it interesting to look at Soft-Timers at Rice [2]. Events are scheduled at the usual timer interrupt frequency but the time wheels are also checked at system-call and other interrupt times, thus, depending on

Re: Allocate a page at interrupt time

2001-08-09 Thread Terry Lambert
Weiguang SHI wrote: I found an article on livelock at http://www.research.compaq.com/wrl/people/mogul/mogulpubsextern.html Just go there and search for livelock. But I don't agree with Terry about the interrupt-thread-is-bad thing, because, if I read it correctly, the authors

Re: Allocate a page at interrupt time

2001-08-09 Thread Terry Lambert
Greg Lehey wrote: Solaris hits the wall a little later, but it still hits the wall. Every SMP system experiences performance degradation at some point. The question is a matter of the extent. IMO, 16 processors is not unreasonable, even with standard APIC based SMP. 32 is out of the

Re: need help

2001-08-10 Thread Terry Lambert
smail wrote: Hello freebsd-hackers, i need some help. my problem is about memory limit in mmap function. i can't mmap files infinitely, after some number of file mmaped in memory i've got an error, probably causing memory limit of 2 or 4 Gb. can you help me? my platform is FreeBSD

Re: Allocate a page at interrupt time

2001-08-10 Thread Terry Lambert
Mike Smith wrote: The basic problem here is that you have decided what interrupt threads are, and aren't interested in the fact that what FreeBSD calls interrupt threads are not the same thing, despite being told this countless times, and despite it being embodied in the code that's right

Re: the =+ operator

2001-08-13 Thread Terry Lambert
John Merryweather Cooper wrote: Prototypes are an overwhelmingly Good Thing(tm) as behind-your-back implicit parameter conversion is death to serious numerical work. At least now, some control can be exercised over parameter conversions . . . Who ever said anything about not

Re: can't generate vnode_if.h automatically

2001-08-13 Thread Terry Lambert
Rohit Grover wrote: On Sun, 12 Aug 2001, Dima Dorfman wrote: Rohit Grover [EMAIL PROTECTED] writes: Interestingly, when I executed the command 'make depend', vnode_if.h was correctly created for me. I'd like to know why I don't need to do a 'make depend' for modules like 'vn' or

Re: mtio questions

2001-08-13 Thread Terry Lambert
Bernd Walter wrote: On Sun, Aug 12, 2001 at 11:46:57AM -0700, Terry Lambert wrote: Bernd Walter wrote: Another point: Can we '#define MTEOM MTEOD' as MTEOM is used on NetBSD and Solaris? End of Message is not the same as End of Data for some drives; this could break old 8-track

Re: pthreads and poll()

2001-08-14 Thread Terry Lambert
Daniel M. Eischen wrote: We don't provide locking for fd's any longer (I thought this was only in -current, but your results seem to indicate otherwise). If we did, only one thread would wake up. The mistake in your sample seems to be that you're having all threads block on the same fd.

Re: ncurses

2001-08-16 Thread Terry Lambert
Hans Zaunere wrote: I'm sorry that this is offtopic, but I've looked/asked everywhere and no one has a clue. Once a program does initscr(), is it possible to printf()? I can printf() stuff without a problem, but it doesn't get to the screen until the program exits? I've done every

Re: Writing a packet alias translator, need help

2001-08-16 Thread Terry Lambert
Joe Clarke wrote: I'm trying to write a packet alias translator for a protocol that uses TCP to setup a UDP streaming session (much like the smedia driver that's already there). I'm having a problem getting the translated port to mesh with the actual port. Here's what I've done: /* msg

Re: IP address on bridge

2001-08-17 Thread Terry Lambert
Eugene L. Vorokov wrote: I'm observing some strange problem when I have an IP address on one card on a bridge machine and want to telnet in. I have 4.2-RELEASE box with two network cards: Realtek 8139 (rl0) and 3Com 3C905B (xl0). rl0 is connected to the world, and xl0 to the intranet switch.

Re: function calls/rets in assembly

2001-08-26 Thread Terry Lambert
David O'Brien wrote: If gcc team wants to implement proper alignment to work with SSE and other high-specialized stuff, they should learn commands for bitwise AND, and use only where really needed. Perhaps you'd like to send your patch to [EMAIL PROTECTED] Perhaps you'd like to

Re: PCI Enumeration

2001-08-26 Thread Terry Lambert
Ronald G Minnich wrote: On Sat, 25 Aug 2001, Mike Smith wrote: I/O space is easy, but memory space is hard. Userspace access to physical memory is a big no-no in the *nix world. I want to disagree just a bit. If you look at myrinet, or the many fpga cards, it's the standard modus

Re: function calls/rets in assembly

2001-08-27 Thread Terry Lambert
John Baldwin wrote: Well, now you should add wanted options to /etc/make.conf and avoid seeing of such nightmares. Erm, the original topic of this dicussion was about attempting to use the assembly from the C compiler to see how things work when writing one's own assembly functions.

Re: Portability of #warning in /usr/include

2001-08-28 Thread Terry Lambert
Mark D. Anderson wrote: This may not work. ... Some of those compilers would NOT let you '#ifdef' out the version that it did not recognize (perhaps thinking that '#warn' or '#warning' might be some gross typo for '#else' or '#endif', I guess...). this is true; some compilers seem

Re: Undefined symbol _ZTVN10__cxxabiv117__class_type_infoE

2001-08-31 Thread Terry Lambert
Jan Mikkelsen wrote: You probably have the system default libstdc++.so.3 in your library search path before the GCC 3 libstdc++.so.3. Try setting LD_LIBRARY_PATH to the GCC 3 lib directory. NOTE: If you are using the FreeBSD .mk files to build this, and you are setting DESTDIR, you can

Re: FW: Interesting Router Question

2001-08-31 Thread Terry Lambert
Deepak Jain wrote: We've got a customer running a FreeBSD router with 2 x 1GE interfaces [ti0 and ti1]. At no point was bandwidth an issue. The router was under some kind of ICMP attack: For about 30 minutes: icmp-response bandwidth limit 96304/200 pps I've seen this happen in a lab

Re: What is VT_TFS?

2001-09-03 Thread Terry Lambert
Zhihui Zhang wrote: What is the file system that uses VT_TFS in vnode.h? Is it still available on FreeBSD? Thanks. Julian added it for TRW Financial Services; the first public reference machine for 386BSD (which later became FreeBSD and NetBSD) was ref.tfs.com. TRW supported a lot of the

Re: sysent in fork()

2001-09-04 Thread Terry Lambert
Evan Sarmiento wrote: Hey, I have a question about sysent. If a modification to a processes p-p_sysent and associated substructures are made, are the changes propagated through fork to children? Yes, for fork(). You probably wanted to ask about exec(), though... the answer for exec()

Re: .so and threads, and stereo /dev/dsp, freebsd 4.3-stable.

2001-09-04 Thread Terry Lambert
Faried Nawaz wrote: Next: the OSS plugin builds but doesn't seem to work properly. At some point, it tries to set /dev/dsp to stereo, and fails: tmp = 0; if (shm-channels == 2) tmp = 1; rc = ioctl (audio_fd, SNDCTL_DSP_STEREO, tmp); if (rc

Re: signal handling descrpancy (FreeBSD oaf fix/Evolution)

2001-09-04 Thread Terry Lambert
David O'Brien wrote: Hi Hackers, et.al. The PIM Evolution, http://www.ximian.com/products/ximian_evolution/, does not run on FreeBSD. The authors have made a change so that it will. However, we would like to know if FreeBSD is the odd-man-out, or if the authors were lucky Evolution ran

Re: general ethernet driver changes

2001-09-04 Thread Terry Lambert
Did you have opportunity to play with the soft interrupt coalescing we discussed? I was able to remove a third of the interrupt overhead from the Tigon III driver, using the approach we discussed at the user group meeting two months back. It looks to be a serious win... and it appears to be

Re: FreeBSD and Athlon Processors

2001-09-04 Thread Terry Lambert
David O'Brien wrote: Well, since it didn't, I might as well explain the problem here too. There are at least two major problems with VIA chips: [data curruption on VIA KT133/133A systems by pushing PCI and memory bus] Are you sure about that? I am. I was having data coruption in

Re: SO_REUSEPORT on unicast UDP sockets

2001-09-04 Thread Terry Lambert
Vladimir A. Jakovenko wrote: Hello! According to UNPv1 SO_REUSEPORT on UDP sockets can be used to bind more than one socket to the same port (even with same source ip address). But quick look on /sys/netinet/udp_usrreq.c function udp_input() shows that this will work as expected

Re: What is VT_TFS?

2001-09-04 Thread Terry Lambert
Julian Elischer wrote: What is the file system that uses VT_TFS in vnode.h? Is it still available on FreeBSD? Thanks. Julian added it for TRW Financial Services; the first public reference machine for 386BSD (which later became FreeBSD and NetBSD) was ref.tfs.com. TRW supported a

Re: general ethernet driver changes

2001-09-04 Thread Terry Lambert
Luigi Rizzo wrote: Did you have opportunity to play with the soft interrupt coalescing we discussed? Did this message just leak to a mailing list, or would you be able to expand this (or pass a pointer to mailing lists where this was discussed) ? Ignore the man behind the curtain...

Re: Tagged Command Queuing support for IC-35L0?0 ?

2001-09-05 Thread Terry Lambert
Steve Roome wrote: Can these newer drives, based on the IC-35L0?0-chipset, also be used with TCQ enabled in FBSD? (? is 2, 4 or 6 depending on whether the drive has 20, 40 or 60 GB capacity). I've got one of these : ad0: 39266MB IC35L040AVER07-0 [79780/16/63] at ata0-master UDMA66

Re: What is VT_TFS?

2001-09-05 Thread Terry Lambert
Nate Williams wrote: TRW supported a lot of the early 386BSD/FreeBSD effort, back before Walnut Creek CDROM threw in and had us change the version number from 0.1 to 1.0 to make it a bit easier to sell. *Huh* That's revisionist history if I've ever heard it. We did a 1.0 release for

Re: What is VT_TFS?

2001-09-05 Thread Terry Lambert
Poul-Henning Kamp wrote: Nate, You're replying to Terry for christs sake! What did you expect if not revisionist $anything ? Which reminds me, Adrian still oves us his story about ref :-) Poul, you're going off again, without regard for facts. Remember the last time FreeBSD history

Re: What is VT_TFS?

2001-09-05 Thread Terry Lambert
Nate Williams wrote: Bill Jolitz approved a 0.5 interim release of 386BSD And then Lynn revoked this, and posted a public message to the world stating what obnoxious fiends we were. Actually, Lynne didn't have the right to do this; the trademark was Bill's, so the revocation wasn't valid

Re: What is VT_TFS?

2001-09-05 Thread Terry Lambert
Nate Williams wrote: You're not the only pack-rat around here. Be careful of your claims, since they could come back to bite you. I'm willing to be bitten in public, if I'm wrong... always have been. ;-). ps. I still have my phone-logs of my conversations with Bill as well. ;) Now I'm

Re: What is VT_TFS?

2001-09-05 Thread Terry Lambert
Poul-Henning Kamp wrote: *I* worked at TFS, I even kept ref.tfs.com alive after Julian went AWOL. I'm well aware of your checkered past... 8-). I guess Julian might pipe up now about the use of the acronym AWOL... Now, remind me again why historians are so picky about primary sources and

Re: auto relaying for subdomains -- why?

2001-09-05 Thread Terry Lambert
Igor Podlesny wrote: I noticed that some mailers (sendmail, postfix) in case they allow relayingforsomedomain.zonealsoallowrelayingfor subdomain-of.somedomain.zone. I can accept this as reasonable behavior but would like to know how to deny it! :) Also I wish to

Re: local changes to CVS tree

2001-09-05 Thread Terry Lambert
John Polstra wrote: CVS claims to support multiple vendor branches, but in practice it doesn't work in any useful sense. There's at least one place in the CVS sources where the vendor branch is hard-coded as 1.1.1. You really don't want to use multiple vendor branches -- trust me. :-) Use

Re: Posix Threading

2001-09-05 Thread Terry Lambert
[EMAIL PROTECTED] wrote: Hi All, I am trying to create threads under HP-UX 11 using POSIX threads library and using the method pthread_create(...). But I don't know how can I create a thread in a suspended state. First the obligatory off topic humor: This is not the place to ask about

Re: local changes to CVS tree

2001-09-05 Thread Terry Lambert
Nate Williams wrote: I guess I'll ask the usual question: Any chance of getting CVSup to transfer from a remote repository to a local vendor branch, instead of from a remote repository to a local repository? The problem is that you aren't just transferring bits from the HEAD, but

Re: local changes to CVS tree

2001-09-05 Thread Terry Lambert
John Polstra wrote: No, Terry's idea is sound as long as you only try to track one branch of FreeBSD. I.e., you consider FreeBSD to be your vendor, and you do a checkout-mode type of fetch from a branch of the FreeBSD repository and directly import it onto your own vendor branch. This would

Re: SO_REUSEPORT on unicast UDP sockets

2001-09-05 Thread Terry Lambert
Mike Silbersack wrote: Similarly, there are a number of bugs in the TCP sockets as well; specifically, there's a problem with all sockets being treated as being in the same collision domain, when doing automatic port assignment. This limits you to 65535 oubound TCP connections, even

Re: Posix Threading

2001-09-06 Thread Terry Lambert
John Baldwin wrote: If the intent is to have a pool of idle threads, ready to go when you get request traffic, and get around the latency, well, you'd do a lot better in the latency department if you went to a finite state automaton, instead of messing with threads. But if you insist,

Re: auto relaying for subdomains -- why?

2001-09-06 Thread Terry Lambert
Igor Podlesny wrote: Yes, I saw this info here: http://www.sendmail.org/m4/features.html#relay_mail_frombut most valuable part of my question was about the purpose or the idea behind this, cause it's not too clear to me why allowing relaying

Re: auto relaying for subdomains -- why?

2001-09-06 Thread Terry Lambert
Igor Podlesny wrote: Now it's all clear :) and I understand that it was just a way SENDMAIL's is configured. Another question could be why not to use syntax .foo.bar instead of foo.bar but I'm quite ready to call it a rhetorical one ;-)) (regexps are also there ;-) The

Re: FINAL REMINDER: FreeBSD Monthly Development Status Report -- Request For Submissions

2001-09-07 Thread Terry Lambert
Robert Watson wrote: Submissions are due this afternoon. Please submit by e-mail ASAP. We're currently substantially behind prior months -- this is in some ways expected due to various people on summer vacations in the Northern Hemisphere, but it would be nice to get things a bit more

Re: SO_REUSEPORT on unicast UDP sockets

2001-09-07 Thread Terry Lambert
Vladimir A. Jakovenko wrote: Terry, I clearly understand all your explanations. Yes, we are living in real life and there is a lot of programms with bad design. But all what I want is possibility to receive UDP packets with corresponding dst IP and port by more than one process on a single

Re: [xine-user] xine on freebsd?

2001-09-12 Thread Terry Lambert
Jason Andresen wrote: Are you using XFree 4.x? What video cards are in both boxes? Are they the same box just dual booting? I've found that XFree 3.x is a processor pig on my system, but XFree 4.x is nice and light, particularly with Xv. I'll echo the 3.x vs. 4.x observation. Sometimes

Re: Kernel module debug help

2001-09-13 Thread Terry Lambert
Ah. Interesting bug; perhaps related to a similar experience of my own... so let's stare at it! Zhihui Zhang wrote: I am debugging a KLD and I have got the following panic inside an interrupt context: fault virutal address = 0x1080050 ... interrupt mask = bio kernel trap: type 12,

Re: All ok?

2001-09-14 Thread Terry Lambert
Josef Karthauser wrote: Hi! I just wonder if all freebsd developers are ok, due the wtc attack? We believe so. Has anyone talked to Loqui Chen since the the event? Loqui was a financial person in New York at one time, and made significant contributions in the VM system, the Soft

Re: Driver structures alignment

2001-09-14 Thread Terry Lambert
Mike Smith wrote: Having said that, I recommend using __attribute__ ((packed)) to explicitly request that a structure be packed. Is there a problem with #pragma pack(1)? I see it in a lot of header files... do they need changing? -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: storing routine code in kernel memory using kvm interface

2001-09-15 Thread Terry Lambert
Sansonetti Laurent wrote: Hi, Is there a way to store a function in kernel memory using KVM interface ? I have written a tty spy'er, which simply hijack discipline line entries for a tty, and as you know probably, those routines must be situated in kernel land. I know that I should

Re: Could not bind

2001-09-16 Thread Terry Lambert
Stephen Montgomery-Smith wrote: I have written a server program that listens on port 3000. The program works very well except for one feature. I am asking if that is normal, or whether I forgot something. If I run the program it does fine. If I then kill the program (after it has

Re: Cron pickle

2001-09-16 Thread Terry Lambert
Tim Allshorn wrote: Hello. I need to be able to run a particular program at the last minute of each month and yes I know it would be much easier to run it at the first minute of each month, but my hands are tied and my brain is too puny to work it out. 1) Run it the first minute

Re: 802.11 with best Apple compatibility?

2001-09-17 Thread Terry Lambert
Rasputin wrote: Thnaks a lot for the confirmation - for the record, I'm trying to replace a basestation, not communicate with one. The timing for access points requires different firmware; you can't do it in software alone. Talk to Julian Elisher; he presented on a company that sells a

Re: any reason to use m_devget in the dc driver ?

2001-09-21 Thread Terry Lambert
Andrew Gallatin wrote: I imagine that this was done to follow alignment constraints on non-i386 platforms where having the ip header misaligned is fatal. (the tulip is not capable of byte granularity DMA, so you can't intentionally misalign the ethernet header end up with an aligned IP

Re: any reason to use m_devget in the dc driver ?

2001-09-21 Thread Terry Lambert
Andrew Gallatin wrote: I disagree with this code; the elemenets in the header are referenced multiple times. If you are doing the checksum check, you might as well be relocating the data, as well. The change I would make would be to integrate the checksum calculation with the

Re: any reason to use m_devget in the dc driver ?

2001-09-22 Thread Terry Lambert
Luigi Rizzo wrote: I probably missed some emails ? In any case i was only concerned about the additional copy done by m_devget when the controller can already DMA into an mbuf, and there are no alignment constraints. I guess we are talking about a protocol other than IP? The ethernet

Re: cvs commit: src/lib/libatm atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c

2001-09-16 Thread Terry Lambert
David O'Brien wrote: On Sun, Sep 16, 2001 at 06:35:27AM +1000, Bruce Evans wrote: Especially the empty line after the copyright message: Agreed. __FBSDID($FreeBSD: src/lib/libatm/atm_addr.c,v 1.6 2001/09/15 19:36:55 dillon Exp $); What about changing this to __FBSD(), which is

Re: Disk based file system cache

2001-09-25 Thread Terry Lambert
Attila Nagy wrote: Hello, I'm just curious: is it possible to set up an NFS server and a client where the client has very big (28 GB maximum for FreeBSD?) swap area on multiple disks and caches the NFS exported data on it? This could save a lot of bandwidth on the NFS server and also

Re: got bad cookie vp 0xe2e5ef80 bp 0xcf317328

2001-09-26 Thread Terry Lambert
Brian Reichert wrote: /* * Yuck! The directory has been modified on the * server. The only way to get the block is by * reading from the beginning to get all the *

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-29 Thread Terry Lambert
Kenneth D. Merry wrote: Unfortunately, it can not correctly interoperate with a number of cards in jumbogram mode, so unless you know the card on the other end and manually configure it (it can't negotiate properly), you can't really use jumbograms. Or you could rewrite the firmware

Re: TCPIP cksum offload on FreeBSD 4.2

2001-09-29 Thread Terry Lambert
Bill Paul wrote: It is possible for a driver to load a custom image into the NIC's memory which will override the auto-loaded one, and it's also possible to load a new image into the EEPROM, however this requires an additional manual on top of the BCM5700 driver developer's guide as well as

Re: sio modification

2001-09-30 Thread Terry Lambert
Bart Kus wrote: If I do have to write something, for my work to be included anywhere, I should be writing for the -CURRENT kernel, right? I presently run -STABLE, so that would obviously be the more comfortable kernel to write for...but it is *STABLE* after all. Most of us doing commercial

Re: precise timing

2001-09-30 Thread Terry Lambert
Bakul Shah wrote: Hrm, I was planning on investigating the RT capabilities of fbsd after I got myself a decent timer mechanism. I was hoping they would be enough to get close to RT. I have an SMP system I can use, so 1 CPU can be dedicated to the task. I doubt even an SMP system

Re: VM: dynamic swap remapping (patch)

2001-09-30 Thread Terry Lambert
Alfred Perlstein wrote: [ ... SIGDANGER ... ] Well Joe seems to have provided a pretty interesting document on how it works in AIX, but I was wondering if they do anything wrt low/high watermarks like my idea. Basically you'd like to inform processes that the danger has been alliviated so

Re: sio modification

2001-10-01 Thread Terry Lambert
Poul-Henning Kamp wrote: Submissions should contain a -current version or they are likely to never make it into the tree... I guess this is why the Rice University code that more than triples the TCP connection rate never made it in the first time they released it for 2.2 and then again when

Re: Memory allocation question

2001-10-03 Thread Terry Lambert
Dwayne wrote: I'm creating an app where I want to use memory to store data so I can get at it quickly. The problem is, I can't afford the delays that would occur if the memory gets swapped out. Is there any way in FreeBSD to allocate memory so that the VM system won't swap it out?

Re: pkg_create help needed.

2001-10-03 Thread Terry Lambert
Julian Elischer wrote: I need to take a directory of 'stuff' which includes a script install.sh and make it into a package.. I have had some success but it's not quite right.. What I'd like to make it do is: unpack the 'stuff' into a temporary directory somewhere. run the install

Re: Question about pthread

2001-10-05 Thread Terry Lambert
Oleg Golovanov wrote: Dear Sirs: I am using FreeBSD-2.2.8 and after calling pthread_create() my programs get sigfault (SIGSEGV) and exited with core dump. I should like to ask if somebody know the solve of this problem. My example of using pthread is included below. I ask to answer

Re: Read only file FSTAB after error config???

2001-10-21 Thread Terry Lambert
This belongs on -questions... Soweb_Ahfei wrote: We have installed the Freebsd4.32 in our server.But we can not reboot the system after we made an error configuration in the file FSTAB.Now,we can not delete or rename the error file Fstab and the system shown the file is read only. We

Re: IPSEC sucking up memory

2001-10-23 Thread Terry Lambert
Shoichi Sakane wrote: While investigating a problem, I noticed that the IPSEC code is initializing the sp -- even when no one is using IPSEC. It turns out that this really, really bloats the per socket memory requirements, with the only real result being a lot of extra processing that

Re: CFS

2001-10-24 Thread Terry Lambert
Jesús Arnáiz wrote: Hi! I want to install a cyphred partition on my system. I use FreeBSD, and I want to know what software is avaivle in order to do it. I heard about CFS and TCFS (but this is not still supported by FreeBSD), is there any better bet? If anyone know any good resource

Re: mountd will not start at boot. Or function later...

2001-10-26 Thread Terry Lambert
Joesh Juphland wrote: You wouldn't happen to have a portmap_enable=NO line in your rc.conf, would you? No, I do not. Further, I see 'portmap' in the process list, so it is indeed running. ipfw add 1 allow all from any to any -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: syslogd and kqueue

2001-10-27 Thread Terry Lambert
Kris Kennaway wrote: On Fri, Oct 26, 2001 at 11:39:57PM +0100, void wrote: If syslogd used the kqueue interface, I believe it could open a new log file as soon as it was created, rather than waiting to receive a signal. Would this be worth doing, or would it be too big a divergence from

Re: syslogd and kqueue

2001-10-27 Thread Terry Lambert
Mike Barcroft wrote: I'm suggesting that the kill could be left out if syslogd got the same smarts as tail -F. I recommend using newsyslog(8) for rotating log files. I recommend _NOT_ using newsyslog for rotating files. The newsyslog program bit us on the ass numerous times at Whistle,

Re: syslogd and kqueue

2001-10-28 Thread Terry Lambert
Garance A Drosihn wrote: Until newsyslog is fixed to not be able to stage a denial of service attack against you, I really, really recommend against its use. Seems like it would be more user-friendly (to freebsd users in general) to fix newsyslog, instead of just telling people that they

Re: disabling dynamic route addition

2001-10-28 Thread Terry Lambert
Mike Silbersack wrote: Also, if this happens again, what additional information could I grab so I or others could (hopefully) successfully find the bug? Many dynamic route related changes have been made since 4.2, your bug may already be fixed. You should invest time in transitioning to

<    1   2   3   4   5   6   7   8   9   10   >