[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.
Anot
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, sysp
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 sp
I am wondering if there is a problem with err, warn, etc. in libc.
All these functions are in the same module, err.o. If you redefine
some of the err.o functions, and call a libc function that depends on
another (not redefined) one of the functions, then link statically,
you end up with a multipl
* Alfred Perlstein <[EMAIL PROTECTED]> [010724 19:20] wrote:
> * Leif Neland <[EMAIL PROTECTED]> [010724 19:18] wrote:
> > I've got such a device; it was nessecary, because my camera run out of
> > batteries before I could retrieve 48MB of pictures over the normal serial
> > port
> >
> >
> > Whe
On 25-Jul-01 Weiguang SHI wrote:
> Wait a minute. I've got binutils 2.11, including as, which was the
> most recent version that can be found at ftp.gnu.org.
That is not the binutils on a 4.0-relesae box.
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.
On Tuesday 24 July 2001 7:59, David O'Brien wrote:
> On Tue, Jul 24, 2001 at 11:49:16AM -0500, Dave Feustel wrote:
> > Strongarm-based pcs designed by Chalice Technologies
> > http://www.chaltech.com are available from Simtek
> > http://www.simtec.co.uk/
>
> This brings up the issue of reference
On Tuesday 24 July 2001 9:37, Jim Bryant wrote:
> Alfred Perlstein wrote:
> > * Leif Neland <[EMAIL PROTECTED]> [010724 19:18] wrote:
> > > I've got such a device; it was nessecary, because my camera run out of
> > > batteries before I could retrieve 48MB of pictures over the normal
> > > serial
Alfred Perlstein wrote:
>
> * Leif Neland <[EMAIL PROTECTED]> [010724 19:18] wrote:
> > I've got such a device; it was nessecary, because my camera run out of
> > batteries before I could retrieve 48MB of pictures over the normal serial
> > port
> >
> >
> > When I plug it in it displays:
> > ugen
On Wed, 25 Jul 2001, Daniel C. Sobral wrote:
:> how i may kill that 31341 port coz ps isnt showing it.
:
:Install lsof and try "lsof -i :31341". But, frankly, it looks like you
:have been hacked.
Sockstat will tell you enough, and it's in the base system.
:
--
[EMAIL PROTECTED]
Bipedalism is o
Jett Tayer wrote:
>
> im running freebsd 3.5-stable
> when i did netstat -an | grep LISTEN
>
> here's the result
>
> bash-2.04$ netstat -an | grep LISTEN
> tcp0 0 *.80 *.* LISTEN
> tcp0 0 *.443 *.* LI
On Wed, 25 Jul 2001, Jett Tayer wrote:
> im running freebsd 3.5-stable
> when i did netstat -an | grep LISTEN
>
> here's the result
To find out which programs are associated with which connections, use
sockstat.
Mike "Silby" Silbersack
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "uns
In message <[EMAIL PROTECTED]> "David O'Brien" writes:
: On Tue, Jul 24, 2001 at 09:05:44PM -0600, Warner Losh wrote:
: > There are a number of other StrongARM based Windows CE machines that
: > would make a much better platform. They even have NetBSD/hpcarm on
:
: These sound hard to develop fo
im running freebsd 3.5-stable
when i did netstat -an | grep LISTEN
here's the result
bash-2.04$ netstat -an | grep LISTEN
tcp0 0 *.80 *.* LISTEN
tcp0 0 *.443 *.* LISTEN
tcp0 0 *.31341
On Tue, Jul 24, 2001 at 09:05:44PM -0600, Warner Losh wrote:
> There are a number of other StrongARM based Windows CE machines that
> would make a much better platform. They even have NetBSD/hpcarm on
These sound hard to develop for as you'll probably have to launch them
from Windows CE.
> Fail
any ideas about this?
/kernel: arp: unknown hardware address format
(0x800)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
In message <[EMAIL PROTECTED]> Warner Losh writes:
: There are a number of other StrongARM based Windows CE machines that
: would make a much better platform. They even have NetBSD/hpcarm on
: them, which would allow one to host the FreeSBD development on them if
: you really wanted to do so. Th
In message <[EMAIL PROTECTED]> "David O'Brien" writes:
: The Compaq iPaq comes to mind. However, it is not development-friendly
: at the moment as it does not have peripherals such as built-in NIC, hard
: drive, or serial console capabilities.
I thought it did have a serial port... All of the P
On Tue, Jul 24, 2001 at 05:55:11PM +0200, Karsten W. Rohrbach wrote:
> where can i get those platforms in europe (germany)?
No clue.
> have you got a contact at dec?
Dried up.
--
-- David ([EMAIL PROTECTED])
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers"
On Tue, Jul 24, 2001 at 11:49:16AM -0500, Dave Feustel wrote:
> Strongarm-based pcs designed by Chalice Technologies http://www.chaltech.com
> are available from Simtek http://www.simtec.co.uk/
This brings up the issue of reference platform for the StrongARM port.
There is no one clear choice as
Wait a minute. I've got binutils 2.11, including as, which was the
most recent version that can be found at ftp.gnu.org.
Thanks
Weiguang
>From: John Baldwin <[EMAIL PROTECTED]>
>To: Weiguang SHI <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: RE: btx building error
>Date: Tue, 24 Jul 2001 1
On 25-Jul-01 Weiguang SHI wrote:
> Hi,
>
> I cvs'ed the current version of btx by "cvs co btx" and tried to build it on
> my FBSD-4.0 box and here is what I got:
The -current and 4.x-stable versions of BTX need the binutils (including
assembler) in 4.1 or later.
--
John Baldwin <[EMAIL PROT
I agree and see that you committed it already :-)
On Tue, 24 Jul 2001, Brooks Davis wrote:
> On Tue, Jul 24, 2001 at 05:04:53PM -0700, Julian Elischer wrote:
> > On Tue, 24 Jul 2001, Brooks Davis wrote:
> >
> > > Index: ng_split.c
> > > =
Alfred Perlstein <[EMAIL PROTECTED]> writes:
> What about under solaris UFS?
Yes, it does update the atime.
And most Unixes seem to do the same thing.
/assar
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Tue, Jul 24, 2001 at 07:51:28AM -0700, David O'Brien wrote:
> On Mon, Jul 23, 2001 at 09:39:18PM -0400, Stephane E. Potvin wrote:
> > > > FreeBSD 5.0-CURRENT #271: Sun Jul 22 08:36:22 EDT 2001
> > > >
>[EMAIL PROTECTED]:/usr/local/users/spotvin/work/FreeBSD/src/sys/arm/
> > > > compile/NET
* David E. Cross <[EMAIL PROTECTED]> [010724 20:16] wrote:
> Well over NFS an exec will update atime (because NFS doesn't differentiate
> between 'exec' and 'read').
>
> Under Solaris8/Sparc (on a memfs mount) exec-ing an executable does indeed
> update the access time.
What about under solaris
Hi,
I cvs'ed the current version of btx by "cvs co btx" and tried to build it on
my FBSD-4.0 box and here is what I got:
bash-2.04$ /usr/bin/make
===> btx
(cd /usr/home/wgshi/tmp/btx/btx; m4 btx.s) | as --defsym BTX_FLAGS=0x0
-o btx.o
{standard input}: Assembler messages:
{st
Well over NFS an exec will update atime (because NFS doesn't differentiate
between 'exec' and 'read').
Under Solaris8/Sparc (on a memfs mount) exec-ing an executable does indeed
update the access time.
--
David Cross | email: [EMAIL PROTECTED]
Lab Director
On Tue, Jul 24, 2001 at 05:04:53PM -0700, Julian Elischer wrote:
> On Tue, 24 Jul 2001, Brooks Davis wrote:
>
> > Index: ng_split.c
> > ===
> > RCS file: /home/ncvs/src/sys/netgraph/ng_split.c,v
> > retrieving revision 1.1
>
> [...]
* David E. Cross <[EMAIL PROTECTED]> [010724 19:35] wrote:
> I noticed that exec(2) does not update the last access time of a file...
> is this intentional?
atime was implemented to satisfy a specification (which stinks),
I would track down the specification and see, either that or compare
agains
I noticed that exec(2) does not update the last access time of a file...
is this intentional?
--
David Cross | email: [EMAIL PROTECTED]
Lab Director | Rm: 308 Lally Hall
Rensselaer Polytechnic Institute, | Ph: 518.276.2860
On Tue, 24 Jul 2001, Alfred Perlstein wrote:
> * Leif Neland <[EMAIL PROTECTED]> [010724 19:18] wrote:
> > I've got such a device; it was nessecary, because my camera run out of
> > batteries before I could retrieve 48MB of pictures over the normal serial
> > port
> >
> >
> > When I plug it in
* Leif Neland <[EMAIL PROTECTED]> [010724 19:18] wrote:
> I've got such a device; it was nessecary, because my camera run out of
> batteries before I could retrieve 48MB of pictures over the normal serial
> port
>
>
> When I plug it in it displays:
> ugen0: SmartDisk Corp. SM/CF Combo USB Reader
I've got such a device; it was nessecary, because my camera run out of
batteries before I could retrieve 48MB of pictures over the normal serial
port
When I plug it in it displays:
ugen0: SmartDisk Corp. SM/CF Combo USB Reader, rev 1.00/0.83, addr 2
Can this be read in FreeBSD?
Leif
To Unsu
On 24-Jul-01 Garance A Drosihn wrote:
> At 2:42 PM -0700 7/24/01, John Baldwin wrote:
>>On 24-Jul-01 Brooks Davis wrote:
>>> Please review the following diff for the ng_split netgraph node. It
>> > cleans up a number of style issues, ...
>
>> > diff -u -r1.1 ng_split.c
>>> --- ng_split.c
At 2:42 PM -0700 7/24/01, John Baldwin wrote:
>On 24-Jul-01 Brooks Davis wrote:
>> Please review the following diff for the ng_split netgraph node. It
> > cleans up a number of style issues, ...
> > diff -u -r1.1 ng_split.c
>> --- ng_split.c2001/02/22 17:14:34 1.1
>> +++ ng_spli
This is great, but it really should be filed as a PR. The send-pr
command will do the trick. Thanks!
- Jordan
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
oops
actually I think that I do it because 'indent' also recognises it I think.
"yeah.. what he says"..
:-)
On Tue, 24 Jul 2001, John Baldwin wrote:
>
> On 24-Jul-01 Brooks Davis wrote:
> > Please review the following diff for the ng_split netgraph node. It
> > cleans up a number of style
Now that interrupts are threads we probably don't need 2 pages any more
as each interrupt should get it's own u-area and stack to use.
Previously you had to take into account the worst-case nested interrupt.
On Mon, 23 Jul 2001, Mike Smith wrote:
> >
> > Make sense. But there are other things
On Tue, 24 Jul 2001, Brooks Davis wrote:
> Please review the following diff for the ng_split netgraph node. It
> cleans up a number of style issues, removes some functions that just did
> that the default functions did, and renames the node to split from
> ng_split to follow the normal convent
In my quest to boot a kernel containing an mfs and the chroot'ing to a
mounted CD, I have the following problem: Where should the chroot command
go? Can I sorta leave init hanging in the air by putting it in /etc/rc (I
modified this heavily so I don't use other startup scripts)?
Can I configure
RE: Kernel panic reading a non-fixated CD
I am running FreeBSD 4.3 with an IDE HP cd-writer 9500 series.
I have been successfully making CD's unsing burncd since
I installed it.
However, I mistakenly tried to mount a CD which I failed to fixate
and I got a kernel panic. I was a
On Tue, Jul 24, 2001 at 02:42:43PM -0700, John Baldwin wrote:
>
> > --- ng_split.c2001/02/22 17:14:34 1.1
> > +++ ng_split.c2001/07/24 21:37:28
> > @@ -1,5 +1,4 @@
> > -/*-
> > - *
> > +/*
> > * Copyright (c) 1999-2000, Vitaly V Belekhov
> > * All rights reserved.
> > *
On 24-Jul-01 Brooks Davis wrote:
> Please review the following diff for the ng_split netgraph node. It
> cleans up a number of style issues, removes some functions that just did
> that the default functions did, and renames the node to split from
> ng_split to follow the normal convention. In a
Please review the following diff for the ng_split netgraph node. It
cleans up a number of style issues, removes some functions that just did
that the default functions did, and renames the node to split from
ng_split to follow the normal convention. In addition to this diff, I
plan to commit a M
Greetings. I crunchgen'd newfs and linked mount_mfs to it (among many other
progs), compiled it with success. And yet when I boot my MFS kernel and try
to mount /tmp to mfs, boot_crunch complains that 'mfs' is not compiled into
it?
My /etc/fstab:
/dev/zero /tmpmfs
rw,
>
> Make sense. But there are other things in the UPAGES.
Yes; in reality you have about 7k.
It's plenty of space for a deep call stack, just not for large locals.
--
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also. But not because
> > > I call this function with (curproc, PATH_MAX+1), and everything is fine
> > > when I have just a few local variables defined in the caller (it all
> > > works on MOD_LOAD only). However, if I have 2 buffers, 4096 bytes each,
> > > as local variables and then try to allocate userspace memory
> Hello
> I am experimenting with kernel modules and am trying to write to a file.
> This is the syscall function (sorry of my terminology is messed up)
>
> static int write_file(struct proc *p, void *arg) {
> struct write_args *wstructure;
> struct open_args *ostructure;
>
> o
> > Well, this BTX thing is amazing: all this effort, (btxld, run-time
> > library crt0.o, loader, etc.) seems to just to provide a 32-bit
> > protected and possibly paging-enabled environment to start the
> > kernel/loader(and to confuse a new-comer like me.) What are the
> > other gains? Where
>
> Dear Friends
>
> I'm incorporating the Real Time Protocol RTP (rfc 1889) to
> FreeBSD 4.0 kernel.
>
> Months ago, I compiled successfully the RTP Library API developed
> by Lucent into the FreeBSD kernel with the right logical and technical
> adjustments for the BSD kernel of course (cop
Strongarm-based pcs designed by Chalice Technologies http://www.chaltech.com
are available from Simtek http://www.simtec.co.uk/
- Original Message -
From: "Karsten W. Rohrbach" <[EMAIL PROTECTED]>
To: "David O'Brien" <[EMAIL PROTECTED]>
Cc: "Stephane E. Potvin" <[EMAIL PROTECTED]>; <[EM
Eek! It's evidently been about 10 years since I looked at the man
page for mkdir. Thanks for the helping of humble pie...
Romain
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hello FreeBSD Kernel People --
I have a kernel mod which we are using for a site-specific
purpose. It requires an approx 1 Mbyte data structure to
be passed into the kernel from user side, and I'm concerned
about the atomicity of the write. If my kernel mods see
a half-written structure they wi
David O'Brien([EMAIL PROTECTED])@2001.07.24 07:51:28 +:
> On Mon, Jul 23, 2001 at 09:39:18PM -0400, Stephane E. Potvin wrote:
> > > > FreeBSD 5.0-CURRENT #271: Sun Jul 22 08:36:22 EDT 2001
> > > >
>[EMAIL PROTECTED]:/usr/local/users/spotvin/work/FreeBSD/src/sys/arm/
> > > > compile/NETWIN
Romain Kang([EMAIL PROTECTED])@2001.07.23 18:21:00 +:
> I've been using this in a PLIST:
>
> 1 @exec test -d %D/var/run/procstates || mkdir -p %D/var/run/procstates
> 2 @exec chown root.wheel %D/var/run/procstates && chmod 1775 %D/var/run/procstates
>
> The rationale for each line:
> - 1 Ins
Sun Grid Engine goes opensource. See SGE home page:
http://www.sun.com/gridware
-Ron
--- Pedro Díaz Jiménez <[EMAIL PROTECTED]> wrote:
> From: Pedro Díaz Jiménez <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Sun Grid Engine 5.2.3 Available. Now Open
> Source
> Date: Tue, 24 Jul 2001 1
On Mon, Jul 23, 2001 at 09:39:18PM -0400, Stephane E. Potvin wrote:
> > > FreeBSD 5.0-CURRENT #271: Sun Jul 22 08:36:22 EDT 2001
> > > [EMAIL PROTECTED]:/usr/local/users/spotvin/work/FreeBSD/src/sys/arm/
> > > compile/NETWINDER
..snip..
> I'll try to post my work next weekend so people could
I need pass asynchronously data from kernel
to a userland process, include a quantity variable of
data (void *opaque).
The userland process to consume the data independently
(it takes the data and build some structure,
perhaps a queue o link list, to consume later ).
I think that this is si
> Thank you very much for the help so far
> the functions open() and write() expect there arguments to be in user space
> and not kernel space, which is what I was doing wrong. My question is, how
> then would you go about opening and editing a file from the kernel?
>
> To Unsubscribe: send mail
Thank you very much for the help so far
the functions open() and write() expect there arguments to be in user space
and not kernel space, which is what I was doing wrong. My question is, how
then would you go about opening and editing a file from the kernel?
To Unsubscribe: send mail to [EMAIL P
61 matches
Mail list logo