o an MSDOS window, and
having Windows simply tell you what its network configuration?
I suspect you are incorrectly setting up an asymetric route,
since you say that you have zero upchannel through the cable
line, and must use an analog dialup, instead...
Ter
.
+ */
Since that includes the right to integrate and distribute.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail
you could get UNIX sources and both NetWare products
for $250,000, which also makes a statement about the value of the
SVR4 source code...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and
).
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-ha
.
If the original poster follows -hackers, look for a subject with
"DMA in drivers", since the topic appears to be over similar
general issues.
For that matter, your scatter/gather comments in that thread were
also potentially relevent.
Ter
/company.htm
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-ha
it can take your BIOS as input and output a program
(fully commented!) that, when assembled, will result in the same
BIOS being generated. Flip the start bit and...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions
ports Linux FS modules loaded into user
space, but without a clarification of why you want/need an AutoFS,
I don't think anyone can tell you whether or not that would be an
appropriate technology...
Terry Lambert
[EMAIL PRO
).
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-ha
, and how bursty the situation is, there's no
way to pick an appropriate algorithm.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers
cache?
Or did they invent a "working set quota for all file system data"?
Guess you couldn't patent it, if you called it that...
8-p
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting
lse to do a lot of coding.
You best bet, if you pursue this further, is to contact the
freebsd-fs list instead of the freebsd-hackers list, since the
people who hack FS code are all there, and not all here (as
opposed to the people on hackers, who are "not all there" 8-)).
nteractive use, but you can't achieve the opposite
effect by diddling administrative limits that aren't already
predicated on a reserve model.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting
/in-notes/iana/assignments/port-numbers is
your friend.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL
in mind, like you do. Sort of the current
parallel port code, applied to serial ports...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
hat a new VFS_STAT
struct is being copied out in all cases, instead of making sure it
is old vs. new, and doing the right thing, and the resulting
buffer overrun stomps on something important.
Terry Lambert
[EMAIL PROT
dear departed tty, since there
are actually people who really do use non-blocking fds and vmin/vtime
to do things like user space threads and background computation
while waiting for user input.
Terry Lambert
[EMAIL
hat failed).
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe
same time, I'll know there's a bug in my daemon).
Personally, I'm not rich enough to be able to burn disk space
so easily.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my
obably a "feature" based on the protocol
rev you are talking to the server.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employer
fd, F_NONPOSIX, i);
It would help out the NFS locking daemon to no end...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Un
that this Peter person is the guy doing the resending;
we could also just block him, until he upgrades his email client
so that it's no longer vulnerable to this worm (not virus: people
who write antivirus software are so bad with terminology).
Terry Lambert
ll cascades
during propagation, but at least this would be O(1)
instead of geometric.
Ugh.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ss a number of times in the
past.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
that the "new, improved" ATA driver
code is mearely "new".
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Un
.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" i
can't find some of the
libraries (ldd and ld.so use the same ldconfig hints, and both
use the same lookup function, which fails to do the correct
thing when looking for "not found" libraries).
Terry Lambert
as "SYS_my_call"
to syscall(2) for things to work).
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMA
to get the highest posible fd for doing this crap, which meant
waiting for it to eat up all of kernel memory chasing fd's
until there was no more memory available for the per process
open file table.
All in all, bash is pretty buggy.
Terry Lambert
at all :(
Is it normal?
No. This looks like a bug. When advancing the clock past timed
events which are outstanding, it is supposed to trigger those
events that would have occurred in the interim.
Terry Lambert
[EMAIL
s not hard to implement, it's mostly just labor
intensive.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail
be recommended; fix the client program.
Or fix the device model. You can't have multiple VMWARE sessions
in FreeBSD today because of this defect in the device model.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions
ion pointer is not in the
sysent[] array.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
using a newer g++ for exception handling and RTTI).
If you are doing it for any other reason, setting CFLAGS for the
include path and LDFLAGS for the library path is probably the
right way to do it.
Terry Lambert
his has at least given you more insight
into what's involved, and where to look in the source for more
answers.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previ
of the spec., but
I can't test it either.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED
er
updated.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hacke
in my email archive.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe fre
s setting itself up to be a system
on which all working software needs to be integrated into the
ports system, and this won't work at all for commercial or role
modularized code.
Terry Lambert
[EMAIL PROTECTED]
---
Any opini
D, and on, say, IRIX, which is still
Draft 4. But if this is not a portability issue for you, I
would suggest using that STL instead.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not
* Dmitry Sychov [EMAIL PROTECTED] [001109 13:06] wrote:
Greetings.
According to manual the aio_offset field of the "aiocb" structure
is ignored in the aio_read() call. So one can read the file only from
beginning. Very bad for me. :-(
Will this bug be fixed in FreeBSD 5.0?
of the CPU into
account, but you might consider using that anyway, depending on
why you want the statistic.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous
stead of 4M.
Modern bloat-ware really pisses me off; I built the bind
library the other day: the frigging thing was 4M, unstripped.
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not
ips, based on whether or not someone thought before
they wrote their code...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe:
(but that's just my gut reaction to a crash following a
BIOS call...
Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail
Alfred Perlstein [EMAIL PROTECTED] writes:
I need to share about 100megs of memory between kernel and userspace.
The memory can not be paged and should appear contig in the process's
address space. Any suggestions?
I need a way to either:
map user memory into the kernel's address space.
Mmaist wrote:
Hi!
I was wondering were syscalls implementation is in the FreeBSD source tree.
I would like to know, especially, where
int kldload(const char*);
is located. sys/kern/kern_linker.c contains
int
kldload(struct thread *, struct kldload_args *)
and I need to watch at
Matt Dillon wrote:
Also, the algorithm is less helpful when it has to figure out the
optimal transmit buffer size for every new connection (consider a web
server). I am considering ripping out the ssthresh junk from the stack,
which does not work virtually at all, and using
Wilko Bulte wrote:
Maybe I'm just plain dim today (I will add a beer to rectify this situation
at first convenience..) but what is so bad about some trailing whitespace
that a massive commit-a-thlon is called for?
just wondering,
Wilko
You use emacs, don't you?
8-) 8-)
-- Terry
To
[EMAIL PROTECTED] wrote:
i need to TAILQ_INIT a queue at kernel startup .. how
can i do it in my code?
reg
Grep for SYSINIT in the kernel sources.
Do your initialization as late as possible, but before the
queue is used.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with
Dan wrote:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root2 14.2 0.0 00 ?? DL Tue11AM 4:35.33 (pagedaemon)
root3 12.7 0.0 00 ?? DL Tue11AM 1:56.25 (vmdaemon)
Cpu kept hitting high load averages on machines for
Mike Silbersack wrote:
For those who have gigabit ethernet NICs based on the National
Semiconductor DP83820 and DP83821 controller chips and want to use
them with FreeBSD 4.2 and 4.3, there is a driver kit now available
at the following URL:
...
These cards are all extremely cheap
Richard Hodges wrote:
On Mon, 16 Jul 2001, Bill Paul wrote:
They're okay. The NatSemi chip has one flaw, which is that RX buffers
must be aligned on a 64-bit boundary. None of the more expensive NICs have
this restriction.
Go ahead and beat me up if you have to :-) But why is there
Bill Paul wrote:
Now, before any of you armchair geniuses out there start chiming in
with your incredibly brilliant solutions for this problem which you
just made up on the spot, forget it. This issue has been discussed
to death and there's just no easy way around it.
Terry Lambert
Albert D. Cahalan wrote:
There are only two shared libaries in common (libc and libm) and
both are the same on FreeBSD (in /compat/linux) and Linux.
So any ideas on where the program is going wrong?
man fpsetround
That won't change a thing. Both systems round to nearest.
Look at
Richard Hodges wrote:
Now TX buffers are a problem - I have to take what I get and just
deal with it. If both start address and length need to be aligned,
then I'm pretty much screwed - I have to copy...
No, exactly ythe opposite: the TX buffer is _not_ a problem. This
is because
Stefan Hoffmeister wrote:
One obvious reason that the Linux approach is wrong is
that it ends up requiring the save and restore of FP
registers on context switches, which is overhead they
ate anyway, by doing TSS based context switching. The
amount of state with SSE is up to something like
Albert D. Cahalan wrote:
The defaults for the Linux emulator are different than
the defaults for Linux. Linux sets some stuff up wrong,
FreeBSD sets stuff up wrong. This is a choice between bad
and worse, since the CPU does not support what you want.
FreeBSD complies strictly with
John Baldwin wrote:
Actually, since the 486, it's been possible for us to turn on unaligned
access exceptions on the x86. We should probably consider doing this, to
ensure better performance, and to avoid the unnecessary bus overhead we
eat for unaligned access today... not to mention
Farooq Mela wrote:
Hi -hackers,
I'm developing some assembly routines that are called from a C library
under FreeBSD. Some of these routines do not return anything (ie,
prototyped in C, their return type is 'void'). Does the compiler
expect that the asm routines that don't return
Sheldon Hearn wrote:
What I really want is a static inline void function declared in a header
file and included in various source files, looking something like this:
static inline void
[ ... ]
GCC gives syntax error before 'void'. Fair enough.
So obviously, this should be implemented
John Baldwin wrote:
Also note that this will play hell with some of the recent
copy avoidance changes made by Bill Paul to the ethernet
drivers, to avoid the expense of copying the packet, with
the knowledge that there would be an increased overhead in
the resulting packet field
[EMAIL PROTECTED] wrote:
A shakedown cruise could end up being very rough... you
would effectively need to check an unaligned access in
kernel is OK flag in many of these instances, and fall back
to doing the copy when it was false.
...therefore - never mind.
Perhaps some app code may
Farooq Mela wrote:
cc -S is your friend.
Right, well that can certainly help, but what gcc generates can be
dependant on calling convention, optimization setting, c c, and
though the code generated in one particular scenario may not be an
absolute indicator of it's behavior. In other
Julian Elischer wrote:
hi, there!
what is arcnet?
Old PC networking standard, limited to 2Mbit/S.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
] I have written a kernel module and modified the stack
] code ( at the socket layer) to send control to my
] module. I am trying to access the inpcb structure
] associated with that particular socket.
] struct in_pcb* inp = sotoinpcb(so);
] if (inp)
] processing
]
]
] though the
Peter Pentchev wrote:
I don't know if Terry was talking about the sched_yield() syscall,
but if he was, then sched_yield(2) exists, at least in 4.x, and is
documented as POSIX-compliant.
No. He needs to yield the system CPU, not the CPU for
his particular thread. In the user space threads
Matthew Jacob wrote:
So the question is - should I keep the new behaviour that is probably
a better default and will catch out fewer new users but may surprise
some experienced users, or should I revert to the traditional
default where `-R1' or `-b' are required to avoid boot-time hangs?
Matthew Jacob wrote:
Hmm, maybe we should implement the notion of critical_local and
critical_net filesystems (a la NetBSD). Heck, I don't even need the
distinction between net and local, just critical would do. All remote,
critical filesystems would be blocking, and all others not.
Ian Dowse wrote:
In message [EMAIL PROTECTED], Terry Lambert writes:
FWIW, I vote that we rever to the traditional default and require
-R1 or -b to avoid boot time hangs. The standard behaviour for most
NFS implementations that I'm aware of would do this.
I agree; people at work have
David O'Brien wrote:
On Fri, Jul 20, 2001 at 06:32:29PM +0200, Wilko Bulte wrote:
I'm probably completely dim today so please bear with me :/
Thing is I want to setup a dual-boot box, running -stable -current.
This box, a P2/266 has a 30G IDE disk.
What I did is create
ad0s1 -
Alexey Privalov wrote:
hi all.
i have FreeBSD 4.3-STABLE and named 8.2.3-REL.
everyday i see following strings in my log:
Jul 21 13:43:17 host named[124]: denied update from [196.127.211.51].1475 for
host.domain
Jul 21 13:48:17 host named[124]: denied update from [196.127.211.51].1486
Bakul Shah wrote:
Flags are associated with inodes, and symlinks do not have
inodes in the common case, as they exist solely in the
directory entry, unless they are too long.
$ mkdir foo; cd foo; date x; ln -s x y; ls -lai
total 3
261248 drwxr-xr-x 2 bakul bakul 512 Jul 22 12:58 .
Zhihui Zhang wrote:
Hi,
in freebsd can we change the cluster size from 2048
bytes.If yes how can we do that?
do we have to configure in some file?
You must be asking why the mbuf cluster size is chosen as 2048, right? It
is probably a tradeoff between memory efficient and speed.
Ask
Evan Sarmiento wrote:
I'm writing a system call which requires a function pointer as an argument,
In syscalls.master, it is specified as such:
366 STD BSD { int prfw_inject_fp(int sl, int synum, pid_t pi
d, int (*fp)() ); }
However, when I try compiling the kernel, sysproto
[EMAIL PROTECTED] wrote:
I need pass asynchronously data from kernel
to a userland process, include a quantity variable of
data (void *opaque).
The easiest way to do this is to have the user space process
register a kevent, and then KNOTE() in the kernel when the
event takes place.
Another
Dave Feustel wrote:
Strongarm-based pcs designed by Chalice Technologies http://www.chaltech.com
are available from Simtek http://www.simtec.co.uk/
No pricing anywhere that I could find.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body
Ron Chen wrote:
Sun Grid Engine goes opensource. See SGE home page:
http://www.sun.com/gridware
I see no source code there, only Solaris and Linux binaries.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
David E. Cross wrote:
I noticed that exec(2) does not update the last access time of a file...
is this intentional?
POSIX only mandates updates of time fields in very specific
cirumstances: when using particular API's.
So if you use a different or unexpected API, an update is
not required.
Paul Marquis wrote:
On Wednesday 25 July 2001 03:29, Terry Lambert wrote:
Ron Chen wrote:
Sun Grid Engine goes opensource. See SGE home page:
http://www.sun.com/gridware
I see no source code there, only Solaris and Linux binaries.
Check out (though the site(s) currently
Jim Bryant wrote:
Everybody and their dog must be downloading this. If you keep
getting the java.lang.OutOfMemoryError, just keep hitting
reload... I was just about to give up when it finally worked for me.
Gee, garbage collection is special. I'm going to run right
out and use Java in my
Julian Elischer wrote:
no.. it has to do with the fact that it would be unwise
to make a cluster 1 page size since we have no guarantee that
all drivers could handle breaking up a DMA if a cluster spanned 2
physical address ranges. (they can handle a chain of discontinuous
mbufs but may
Bosko Milekic wrote:
On Wed, Jul 25, 2001 at 02:17:38PM -0400, Zhihui Zhang wrote:
I see. It has something to do with the power-of-two allocator we are
using inside the kernel.
No, it has nothing to do with the power-of-two allocation strategy
used in some cases inside the
vishwanath pargaonkar wrote:
Hi,
lets come to my question please.
tell me can i change mbuf cluster size from 2048 to
4096??
You can do it, but it's not a really very useful thing to do,
since the majority of your cluster will end up being vacant.
how shd i do it if i can do it?
Look
Bosko Milekic wrote:
On Thu, Jul 26, 2001 at 10:18:09AM -0700, Terry Lambert wrote:
The real reason behind all this is to make the input and output
routines symmetric, since mbuf's can be allocated at interrupt,
and clusters can't (or couldn't, last time I looked at 4.3
Alfred Perlstein wrote:
On Thu, Jul 26, 2001 at 10:18:09AM -0700, Terry Lambert wrote:
The real reason behind all this is to make the input and output
routines symmetric, since mbuf's can be allocated at interrupt,
and clusters can't (or couldn't, last time I looked at 4.3
Bosko Milekic wrote:
Er, wouldn't that be the only way for cards to refil thier DMA
recieve buffers?
Look at the Tigon II and FXP drivers. The allocations in
the macros turn into m_get, not m_clusterget.
From if_fxp.c (fxp_add_rfabuf(), sometimes called from fxp_intr()):
Steven Ames wrote:
I don't think the networking code knows/cares if something is private or
public IP space. I might be off here but I think the real problem with
two seperate networks on one card (or even on two cards) would be
the default route (can't have two right?) and which IP address
Steven Ames wrote:
You lost me. How what is being done? You can use ifconfig to assign
as many blocks/netmasks as you feel the urge to. It'll do it.
Actually, you'll get an address in use error; it will
add the IP alias to the card, but in fact, it will not
really dso the job: the ifconfig
Matt Dillon wrote:
I wish it were that easy. If you have two interfaces on the same LAN
segment, but one is configured with an internal IP and one is
configured with an external IP, and the default route points out the
interface configured with the external IP, then you are
Zhihui Zhang wrote:
I thought doing a memory free is always safe in an interrupt context. Now
it seems doing an allocation of memory is safe too. Does MCLGET() call
vm_page_alloc() or malloc() eventually? If so, it might block.
The mbuf allocator uses the zone allocator.
The reason this
Anjali Kulkarni wrote:
Hi,
I want to use the function inet_aton() in the kernel code.
However, I found no kernel equivalent of this function int
the freebsd sources. I could find inet_ntoa(), but not
inet_aton(). Is it named by some other name or how can I
locate it?
The kernel is not
Daniel Eischen wrote:
Why are you trying to push so much into the kernel?
Rethink the problem you are trying to solve.
See his other posting; he's living inside the constraints
of an existing library and API.
In retrospect, and given the information he has subsequently
provided, kevent's are
[EMAIL PROTECTED] wrote:
Now, I need manage Timed Events:
Two RTP related events must occur which are timed. They are:
1.RTCP (control RTP packages) reports must be sent periodically.
2.BYE (a control RTP package) packets may be reconsidered for transmission.
To support scheduling,
Bosko Milekic wrote:
So, in general:
1)Only some allocators can be used at interrupt time
2)If they can, they must precommit kernel address space
to the task
3)Once memory is allocated from one of these pools, it
is never returned to the system for reuse
Zhihui Zhang wrote:
Excellent answer! I looked at the zone allocator code almost two years
back and I wondered at that time why FreeBSD cannot allocate KVM at
interrupt time but CAN allocate physical memory at interrupt time. It
turns out there is a physical memory reserve for interrupt
Jonathan M. Slivko wrote:
I'm not sure if Steve Baumel (the person largely responsible for
the SVR4 VM system) ever wrote a paper on his approach, or not,
but with the Solaris source code available, his code is now
available for study.
Isn't that just the binary version, you still have
Anjali Kulkarni wrote:
Thanks for your response. I am new to kernel programming, and so cud u tell
me why it is a bad idea to pass strings to the kernel? Is it due to static
memory is used etc.?
Actually, I am not passing strings to the kernel, I am writing code in
kernel which has a remote
Weiguang SHI wrote:
I need your help to understand this.
In machdep.c,
1451 /*
1452 * map page 1 R/W into the kernel page table so we can use
it
1453 * as a buffer. The kernel will unmap this page later.
1454 */
1455 pte =
Joseph Gleason wrote:
In FreeBSD, how can I determine the size of a file in C++ when the file is
greater than 4gb?
Currently, I use stat() and use st_size. That is limited to 4gb (32bit
unsigned int)
Uh, st_size is an off_t, which is a signed 64 bit value,
not an unsigned 32 bit vale...
201 - 300 of 1638 matches
Mail list logo