In article <199906242353.taa06...@smtp4.erols.com> you write:
>
>Here's one possibility, it adds a a wrap/nowrap field that goes beside the
>wait/nowait field, so you would have:
>
>ftp stream tcp nowait wrap root /usr/libexec/ftpd ftpd -l
Breaking backwards compatability is
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
m writes:
>
>I know we've discussed this before. But I cant believe its a "hardware
>problem".
Standard PIC behavior is to assert IRQ7 when an IRQ line is deasserted before
it can be properly latched in.
>and if you've identified it why is ther
In message <[EMAIL PROTECTED]>, rh@m
atriplex.com writes:
>I think I will just go ahead with allocating three separate resources
>for them, but I would be very interested in other opinions.
The different regions on a device often have different functionality which
may allow/call for different me
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] write
s:
>
>Does anybody know of an EBCDIC to ASCII converter? I thought that at one
>time FreeBSD had one of these.
This is a standard dd(1) feature. More specifically, you want to use the
conv=ascii option.
To Unsubscribe: send mail to [EMAIL
On i86 boxes with 4M page capabilities, we want contiguous chunks
of physical address space for mmaped devices to use those larger pages
when possible.
In practice, this doesn't happen in applications linked with shared
libraries when mmap() is used in the usual way with 0 as the address
argume
In message <[EMAIL PROTECTED]>, m
[EMAIL PROTECTED] writes:
>Is there strace for FreeBSD?
There's truss(1) and ktrace(1).
--
http://www.poohsticks.org/drew/">Home Page
For those who do, no explanation is necessary.
For those who don't, no explanation is possible.
To Unsubscribe: send mail t
In message <[EMAIL PROTECTED]>, Jochen.Kaiser@rr
ze.uni-erlangen.de writes:
>hi ,
>
>i am trying to play with some statistics on ip protocols. I'd like
>to implement a syscall for some funcions and I wonder why
>
>sh sr/src/sys/kern/makesyscalls.sh syscalls.master
>
>updates files in /usr/src/sy
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Hey everyone,
>
>Sorry if you have heard this before, or if it is annoying. I just can't
>seem to find any information on this.
>
>I have been poking around my kernel for quite some time now, and I have
>been doing it with various text edi
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writ
es:
>Hi,
>
>I'm writing a character device driver in which each minor device can be
>opened more than once. When a device is opened is there a way to associate
>some private data for each opened instance ?
As other people have noted, not in
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>You might want to try setting
> net.inet.tcp.sendspace
> net.inet.tcp.recvspace
>to larger values. I have these in my /etc/sysctl.conf.
These control the default socket buffer size. Assuming postfix
is not setting the ap
You may be able to force gdb to pick up the right files using the
add-symbol-file
command.
Or the
sharedlibrary
command.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes
:
>is mkdir(3) guaranteed to be atomic?
Yes.
>Are there filesystem type cases where this might not be the case
>(NFS being my main concern )
No.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>In most cases it is impossible to declare the data read-only because
>it originally had to be read-write and you can't change its attributes
>later.
mprotect(2).
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes
:
>Would this be an ok fix? I'm worried about the YY_PROTO() messing
>things up anyone know what the point of doing it this way is?
Compatability with pre-ANSI 'C' compilers, just like __P from
/usr/include/sys/cdefs.h.
To Unsubscribe: s
In message <[EMAIL PROTECTED]>, mjl@SD
SC.EDU writes:
>I take it that the cleanup function won't be called if the program dumps
>core,
Right, unless you dump core by forking a child process and doing it in that
context.
>or if it is terminated with a kill(1)
The function can never be called w
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] write
s:
>* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [010314 16:11] wrote:
>> i'm trying to do some programming on freebsd and i can't
>> find 'asm/io.h'. this must be for security reasons.
>>
>> so how do i talk to the parallel port?
>Generally i
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>> - the Linux SCSI generic device (/dev/sg*)?
>
>We already have a far superior mechanism (/dev/pass*)
FWIW,
The Linux /dev/sg was implemented as a simple way to send SCSI commands to
media changer robots in an MO drive library for a
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
m writes:
>Will the machine boot off of the second drive if the first one fails?
It depends on how you define "fail". With a hardware failure or no 0x55 0xaa
in the boot block, many BIOSes will fail over.
At least one company has hacked their B
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
m writes:
>the header files they tell you to include are no longer correct.
The header files are pretty much standard.
>So
>what I would like to know is the header files I will need to include to work
>with sockets. If that is not specific eno
In message <002d01c0b924$a07d2090$8d7d1f26@dhgfhcpps5nhe1>, [EMAIL PROTECTED] w
rites:
>The problem is that printf's scroll off the screen. How can I write to a
>file?
syslogd(8)/syslog.conf(5).
Also note that by default, on must unices the stock /etc/syslog.conf sends
kernel messages to /var/l
In message , [EMAIL PROTECTED]
r.org writes:
>
>
>which all begs the question... what is the point of an array of size
>zero?
To allow you to do variable length arrays at the end of structures in a
portable (C99) or semi-portable (gcc) way
stru
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
m writes:
>And lets face it. If MS had a good product, they would have a much larger
>market share and linux would be a non-issue. MS just makes shitty stuff.
>Its not about "open source".
Directly, it isn't.
Indirectly, it is.
>its about how
On Wed, 04 Apr 2001 14:12:00 EDT, Amy Fong <[EMAIL PROTECTED]> wrote:
>Query: I've noticed that if I use up too much stack space, the freebsd
>kernel (4.2) seems to crash very easily.
Single page sized kernel stacks aren't uncommon (I don't recall what
FreeBSD uses, but have found the "it's sma
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
writes:
>
>I saw BSDIs retail product of FreeBSD in a local bookstore the other day,
>and it became sadly clear why LINUX, although highly inferior, is so much
>more widely used.
Linux was much more widely used because the Jolitzes felt their
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>I have included the "opt_xxx.h" in this c file,
>What does I need to do to force this new .c under /netinet6
>to compile ?
Add an appropriate entry to /usr/src/sys/conf/files
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubsc
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Doesn't any one remember Netiquette these days and trim what they are
>replying to??
No. Every month is September.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Hi folks,
>
>I have a char driver that must be opened by more than one process. The minor
>index is not sufficient for this. Is there any process private data (void *)
>in the devfs structure (or the opposite) I could point to with the min
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] w
rites:
>Hello,
>
>is it possible to allocate and then maybe free memory in user space
>from kernel mode, if I have struct proc of the process that memory should
>belong to ?
Yes.
>What is the easiest and safest method of doing this ?
Probably
For reasons beyond my control, I'm stuck using FreeBSD in a real time
system and am violating my timing constraints when too many SCSI commands
complete in a short time frame and starve one of my userland real time
processes.
If the interrupt handler wokeup a kernel thread running at a lower
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>David Talkington wrote:
>
>> sudo definitely helps if it's carefully administered, but it still
>> grants root access to a file,
>
>This is wrong -- sudo will grant access with whatever user
>privileges you wish to grant, maybe root and ma
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] write
s:
>> subl $8,%esp
>> addl $-8,%esp
>> What is the purpose of the subl and addl
>> instructions? On Linux, they are simply
>> unexistent..
>
>FreeBSD passes syscall args on the stack, Linux uses registers.
The 'C' compiler d
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>In message <[EMAIL PROTECTED]> Marc Tar
>dif writes:
>: So why is %esp displaced by 16 bytes when only 8 bytes
>: are necessary (4 for $0 and 4 for $.LC0)? And couldn't
>: the compiler use a single instruction such as
>: subl $16,%esp or a
In message <[EMAIL PROTECTED]>, intmktg@
CAM.ORG writes:
>Perhaps, but no matter the degree of optimisation, the
>16 byte of space is performed in two instructions. This
>leads me to believe is it most likely a pipelining issue
>for the following pushl instructions. As for subl'ing and
>addl'ing 8
drew writes:
>My best guess (if it isn't a bug) would be that it's there to keep the stack
>on a 32 byte (IIRC, this sounds like cache line size for the newer
>Intel chips)
This discussion piqued my curiosity, so I popped up the Pentium III
optomization manual. To quote it:
On Pentium II
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
> /* Case 1 */ /* Case 2 */
> if (data) vs. free(data)
> free(data);
>
>I don't see that Case 1 obfuscates anything. In some cases I find it
>clearer: Case 1 implies th
In message <[EMAIL PROTECTED]>, bsd_appliance@bemail.
org writes:
>I specifically need to know, if possible, how to display hardware-
>rendered character- and software-rendered pixel-based images on the
>same display at the same time.
This is not possible with straight VGA.
If the graphics aren'
In message <[EMAIL PROTECTED]>, admin@bsdfan
.cncdsl.com writes:
>Here's the thing about open software that still concerns me. My
>background is with the major software development tools companies, so
>that is my point of reference. It is great that code is available and
>fixes are made and pushed
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
m writes:
>Yes but most commercial uses take advantage of the binary distribution
>capability of the BSD license AFTER they've poured their corporate dollars
>into enhancements. With linux you have to give your work away, making it
>much less us
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Examiners at the European Patent Office http://www.epo.org tell me:
> Reverse engineering is legal in Europe, Illegal in USA.
Back in the early nineties, Nintendo sued some one in America
for reverse engineering the circuit included
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Exactly the same in Europe, only the sharing parts are new for me.
>The difference seems to be:
>The problem is that in the US, it is legal to override this with the
>licensing conditions. In Europe this right is inalienable.
Some courts
At 09:55 27/11/19 -0700, Jeff Rhyason wrote:
>Is there a way that I can log a large amount of statistics
>regarding kernel memory allocator activity and make that
>accessible to a user process? (Something like Solaris'
>crash(1m) and kmalog)
The quick solution is to config -g your kernel, and ex
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>On 18 Dec 2003 at 19:02, Dan Langille wrote:
>
>> My goal is provide a way to override values in a Makefile with values
>> from a local config file.
>
>I'm getting further. What's the proper way to do an include?
The commands associated w
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
net writes:
>Hi,
>
>I installed FreeBSD 5.1 in HP Vectra VE18 PIII 450MHz with 128MB RAM and
>4GB HDD.
Without ECC or even parity memory?
>However I'm having problem compiling sources. Whenever I try to make buildworl
>d
>make stops sometime lat
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>I'd personally suggest just tuning net.inet.tcp.*space to 64k at most.
1. Depends on your application. To avoid TCP window size related slowdowns,
it needs to be at least as large as the bandwidth delay product (multiply
bandwid
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
ane.com writes:
>This is fairly easy to do for the transmit side of things and would
>yield an immediate improvement in available mbuf space. For the receive
>side of things we can't really do anything with existing connections
>(b
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] w
rites:
>> ch = fubyte(uaddr);
>
>And one more question, does this mean that I can't use things x = *uaddr
>and *uaddr = x for userspace, but always have to use fubyte() and subyte () ?
Right.
>If so, what is the reason it was done
In message <[EMAIL PROTECTED]>, dphoenix@braven
et.com writes:
>
>Does it make sense at all to stripe primary slave,
>secondary master and slave together?
>I would imagine it is a waste of time , just looking for thoughts
>on this vs just a single primary master IDE.
On a normal system, random ac
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>On Sat, Sep 15, 2001 at 12:13:58PM -0600, Warner Losh wrote:
>> unfortunately, there are many device structures that are passed around
>> via DMA and hte like that don't let you do this...
>
>How come? The struct represents some [semi-]p
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Hi,
>
> 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 memo
In message <[EMAIL PROTECTED]>, Joh
[EMAIL PROTECTED] writes:
>What question are you _really_ trying to ask?
What is the sound of one hand clapping?
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
In message <002101c151ad$664255e0$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
z writes:
>hi,
>when i am trying to port some program from ports directory (4.3stable) it
>never connects to a ftp. Problem might be a firewall, there are so few ports
>allowed, but 21 is. Anyone has the same experience?
Of c
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
ux.org writes:
>I would say, use select(2).
>Is there a reason this wouldn't work?
fd_set size...
--
http://www.poohsticks.org/drew/";>Home Page
For those who do, no explanation is necessary.
For those who don't, no explanation is possible.
___
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>(17:13) bgd@(bgd)[~/temp] ls -alsh my_file
>19120 -rw-r--r-- 1 root bgd 763M Jul 29 16:56 my_file
>(17:13) bgd@(bgd)[~/temp] du -sh my_file
> 19Mmy_file
>
> So the 'ls -alsh' shows a file in size of 763M, but 19M of sectors are
>real
In article <[EMAIL PROTECTED]> you write:
>
>Here's one possibility, it adds a a wrap/nowrap field that goes beside the
>wait/nowait field, so you would have:
>
>ftp stream tcp nowait wrap root /usr/libexec/ftpd ftpd -l
Breaking backwards compatability is evil. Do somethin
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>I am trying to run a Mylex Acceleraid 1100 in a Dell Poweredge 2450.
What is a Dell Poweredge 2450, in terms of chipset and processors?
>When
>running rawio against the mylex partition, the system panics within 2
>minutes, always with
55 matches
Mail list logo