On Wed, Jan 30, 2002 at 11:41:05AM -0800, John Polstra wrote:
> > From investigating the Linux driver, I gather there are a few features
> > in these chips which may need workarounds (e.g., the Debian driver
> > includes a new firmware image for some 5701 revs'; and forces master
> > mode in some
On Thu, Feb 07, 2002 at 12:41:57PM -0800, Alfred Perlstein wrote:
> * Henk Wevers <[EMAIL PROTECTED]> [020207 11:58] wrote:
> > Just to try the "thing" out i did put vfs.ufs.dirhash_docheck to 1.
> > My active memory use was in 30 minutes 75 MB lower, and the io is
> > faster, the load is lower.
On Sat, Feb 09, 2002 at 11:30:04PM +0100, BOUWSMA Beery wrote:
> Argh, did it again, as I seem to do once a day...
>
> Is the proper place for me to request the possibility to disable the
> ctrl-alt-space (suspend) key combination here, by agitating for Yet
> Another Kernel Option (like the subje
On Fri, Feb 15, 2002 at 02:02:49PM +0100, Walter Hop wrote:
> 2) chroot first, then su: undesired, as I would have to move a suid
>root copy of the "su" tool into the chroot; also unpractical as I'd
>have to duplicate a lot of files into the chroot to satisfy su.
Have you tried using a no
On Fri, Feb 15, 2002 at 02:15:34PM +, Sansonetti Laurent wrote:
> Is there a way to read user-land environ(7) table from the kernel for a
> given process ?
Does 'ps -auxwwwe' do what you want?
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" i
On Mon, Feb 25, 2002 at 05:32:31PM +0300, Andrey A. Chernov wrote:
> On Mon, Feb 25, 2002 at 16:33:07 +0200, Sheldon Hearn wrote:
> > However, the standard expects gid_t to be defined in , so if
> > you just need gid_t, and not prototypes for getgr*(), then that's the
> > one to include.
>
> POSI
On Mon, Feb 25, 2002 at 09:46:04PM -0800, Charlie ROOT wrote:
> However, in reality, most of the other processes are other daemons and
> programs. I suspect I am using _maybe_ 32 or so PTYs.
Check that the ttys are listed in /etc/ttys...
David.
To Unsubscribe: send mail to [EMAIL PROTE
On Sat, Mar 02, 2002 at 12:57:29PM +0100, Aleksander Rozman - Andy wrote:
> I was wondering if there are any guidelines how to write code in FreeBSD. I
> have taken a look at several code of FreeBSD but each is written
> differently? Problem is I don't know which is preferred way.
Most code in
On Sat, Mar 02, 2002 at 05:11:43AM -0800, sa-tmp wrote:
> If I were to buy a copy of the Ancient BSD sources CD set (costs $99),
> would anyone be interested in buying copies [CD-R versions] of the
> archive for, say $20?
Are you're thinking of doing this with the CDs that Krik distributes?
If so
On Tue, Mar 05, 2002 at 09:20:14AM -0500, ICA Canada Online wrote:
> Running FreeBSD 4.5 and it keeps rebooting around the same time late during the
>night.
You are probably using an out of date kernel module. Use "ls -l
/modules" to check the modules were all installed at the same time
as the k
On Sat, Mar 16, 2002 at 05:22:03PM -0600, Matthew D. Fuller wrote:
> - docs/31265 - Documentation (and adjustment) of cron allow/deny file
>formats
> Best (IMO, but then, I wrote it ;) patch at end of audit trail.
I committed a version of this.
> - docs/35436 - Webpage update
On Mon, Apr 08, 2002 at 02:49:15PM -0500, Dan Nelson wrote:
> .. or even if isn't, as someone might link it just before you delete
> it. An attacker can still exhaust your inode quota with 0-length
> files.
>
> I wonder if there is any reason to allow arbitrary hardlinking; maybe
> only allow li
On Wed, Apr 10, 2002 at 03:24:20PM -0700, Denis Serenyi wrote:
> After searching the hackers archives, I'm guessing that this is because
> FreeBSD 4.3 does not execute the instructions at boot time to enable SSE
> instructions to be executed, and also because FreeBSD 4.3 does not save
> the 128
On Fri, Apr 12, 2002 at 01:05:15PM -0400, PSI, Mike Smith wrote:
> It may be the correct operation, but if it isn't, having a filesystem
> change unknowingly (unintentionally) from read only to read/write could
> be a bit dangerous I would think.
"mount -u /filesys" applies the *default* set of f
On Fri, Jul 05, 2002 at 07:28:16PM -0700, Paulo Roberto wrote:
> After rebooting to the changes take effect (I do not know if there is a
> way to reload the keymap withou restarting the system), I try
> ctrl+alt+del and then it runs the proper halt/shutdown script, but when
> it was supposed to st
On Sat, Jul 13, 2002 at 12:53:21PM -0700, Luigi Rizzo wrote:
> So, does anyone know how to use the basic unix tools to find
> the offset of a string in a binary file ?
> Specifically, I would like to locate the offset of the string
>
> "MFS Filesystem goes here"
Would grep -b do what you w
On Wed, Jul 17, 2002 at 01:29:53AM -0400, Mark W. Krentel wrote:
> I only recently learned that this doesn't work in Linux and I wanted
> to check that it's (still?) ok in Freebsd. Apparently, in the 2.4
> Linux kernels, the buffer and page caches make it impossible for dump
> to always get the c
> Do you check your backups, or does Amanda do it for you? I think dump
> is on the way out in Linux.
I've managed to restore them when needed (despite Redhat's best
efforts over the years, including shipping a version of restore
that couldn't restore symlinks). In general we don't store users
d
On Thu, Jul 18, 2002 at 05:58:56PM +0200, Jeremy D'Hoinne wrote:
> I've forgottent to precise that servers involved use thread library
> (compilation with -pthread flag)
Ahhh - this may explain what you are seeing - I think that the
threaded library uses gettimeofday, which would see the time goi
On Tue, Jul 30, 2002 at 01:15:36PM +0200, Rath, Egon wrote:
> Or can i force the system to write the current memory content to the
> dump-device without crashing the whole system?
If you compile DDB into the kernel, you can break to the debugger
(with ctrl-alt-esc) and then type "panic".
On Wed, Jul 31, 2002 at 06:30:57PM +0200, Daniel Lundqvist wrote:
> If anyone has a better solution to this I'm all ears.
Couldn't you do all this in userland and use a unix domain socket
for communication between your clients and your master process? Then
you could use select/poll/kqueue normall
> That is one idea. But part of what I want to do is to skip as much copy to
> userspace where there is no interested applications as possible. For the thing
> I'm gonna use it for I expect it to be a quite busy message bus.
If you want to avoid the whole copy and the data that you want will
be a
On Sun, Aug 25, 2002 at 04:49:23PM -0700, Patrick Thomas wrote:
> Also, just to add a bit more info, sometimes instead of rebooting to solve
> the problem, the problem doesn't exist, and rebooting causes it to
> manifest. So it seems fairly random.
Can you watch "vmstat -i" before and after the
On Mon, Aug 26, 2002 at 04:30:19PM -0400, Brian T. Schellenberger wrote:
> | Mine's a laptop with APM enabled (BIOS + kernel).
>
> But on the other hand mine's a laptop with APM and it doesn't have the
> problem. Then again, my kernel is vintage July 19.
For people seeing this problem with lap
On Fri, Sep 20, 2002 at 10:50:34AM +, zvezdi wrote:
> I went over the list (hackers) and saw the last discussion
> on microuptime() which suggested to remove apm0.
>
> I have it disabled in my config (by default), but still I see these.
> APM is disabled in the bios.
Removing apm has a sli
On Wed, Sep 25, 2002 at 10:12:53AM +0200, Michel Oosterhof wrote:
> I've got one more question, actually a fact that surprises me, it
> seems that tail(1) is the only place in the base system that actually
> uses kqueue.
It is also used in libc for the DNS resolver.
> Is there a reason for this?
I think you are trying to export the same filesystem to the same list
of addresses twice, so you get an error saying it is already exported.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Thu, Dec 12, 2002 at 02:46:03PM +0100, Jörg Sonnenberger wrote:
> I am porting terminal emulator from Linux to (Free-)BSD and got a nice
> error message from #include . I am using FreeBSD-current.
> This file uses int32_t without including stdint.h, so it fails if my sources
> doesn't include th
On Tue, Dec 31, 2002 at 08:40:16PM -0500, Jim Faucette wrote:
> I'm trying to get a connecting process' PID that's using a UNIX socket.
> recvmsg makes it appear possible, but so far no good.
>
> Has anyone done this before? Can you supply a code sippet???
In the FreeBSD implimentation, the sende
On Fri, Jun 25, 1999 at 11:02:04AM -0700, Aaron Smith wrote:
> i have no problem with -w options, but i am still surprised that you want
> to go ahead with the conf format change.
This isn't so much a conf format change, as a conf format extension.
It is the same type of extension as was added to
On Tue, Jul 13, 1999 at 02:47:20PM -0400, Brian F. Feldman wrote:
> But I have a valid point: can we do something better than posting a SIGKILL
> to the largest process?
I think AIX sends all running processes a magic signal (SIGDANGER?)
which indicates that the system is short of resources, and
On Tue, Jul 13, 1999 at 03:12:51PM -0400, Brian F. Feldman wrote:
> > Why not actually store the fake ID in a symbolic link? That way you just
> > do a readlink(), which would be safer, neater and faster than reading a
> > file. A user can set up a fake ID with something like:
> >
> > ln
On Fri, Jul 16, 1999 at 03:08:41PM -0700, Ken Bolingbroke wrote:
> However, I'm running into an unexpected problem on a server running
> FreeBSD 3.2-RELEASE. If a single client opens 200 simultaneous
> connections to the FreeBSD server, all but 30 to 40 of those get an
> immediate "Connection re
On Tue, Jul 20, 1999 at 05:15:46PM -0400, David E. Cross wrote:
> We had a similiar problem here. We had meant to submit-pr it but forgot.
> In our case it was because inetd had only the amanda line in it (inetd was
> not responsible for any other services. Our guess was that it is an off by
> o
On Fri, Jul 23, 1999 at 02:29:19PM +0200, Sheldon Hearn wrote:
> Well, you did ask for them (inetd -l). :-)
>
> > Jul 23 11:21:28 printfix inetd[1743]: time from [...]
> > Jul 23 11:21:28 printfix inetd[1743]: daytime from [...]
>
> Usually syslog will give you "last message repeated X times"
On Fri, Jul 23, 1999 at 03:06:02PM +0200, Andre Albsmeier wrote:
> It's only nearly 50% because syslogd gets most of the other half :-)
>
> But when inetd is run without -l it get 100%.
Interesting - does it still answer requests during this time?
David.
To Unsubscribe: send mail to
On Fri, Jul 23, 1999 at 03:57:19PM +0200, Dag-Erling Smorgrav wrote:
> Andre Albsmeier <[EMAIL PROTECTED]> writes:
> > Just to overcome speculations :-) I just tested it on another machine
> > with the same result. If have tested it now between all 3 machines in
> > each direction. Same result.
>
I've found the problem - it looks like a bug in the code for matching
internal service names to /etc/service names. The code says:
if ((bi->bi_socktype == sep->se_socktype &&
strcmp(bi->bi_service, sep->se_service) == 0) ||
On Fri, Jul 23, 1999 at 09:06:01AM -0700, Matthew Dillon wrote:
> There is a good chance the leakage is in nfs_serv.c, which I fixed for
> -current.
>
> I do not think those changes have been backported to -STABLE.
julian 1999/06/30 15:05:20 PDT
Modified files:(Branc
On Wed, Aug 18, 1999 at 07:39:11AM -0400, Marc Ramirez wrote:
> Oh! I was under the impression that it just didn't work, even with
> correct perms, but I use FreeBSD. Lemme try it... Can't mount, even
> with 0666 on /dev/fd0. Maybe I'm being stupid. Wouldn't be the first
> time!
You have to t
On Wed, Aug 18, 1999 at 06:43:24PM -0400, Bill Paul wrote:
Just out of curiosity, I thought I saw that you could get Intel
Etherexpress 1Gb/s cards. Do these exist and if so would they work
with the fxp driver as it is?
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubs
On Mon, Aug 23, 1999 at 09:59:29AM +0100, Cillian Sharkey wrote:
> * if there are no passwd/group diffs found, don't print anything
> out (not even the header). Same for setuid etc. diffs.
>
> * For the 'df' status, only report filesystems that are over
> a certain capacity (95% or only xxM
I tried mailing this to freebsd-stable but got no response.
There is a problem when you remove a running executable on an NFS
filesystem. Basically you end up with lots of "vm_fault: pager read
error" messages - and I mean lots - I've seen 184888 messages in
a little under and hour, and the perfo
> : 1) Stop vm_fault logging so much stuff.
> : 2) Change sendsig to check if catching SIGBUS of SIGSEGV
> : will cause a SIGBUS or SIGSEGV. If it will send the process
> : a SIGKILL.
>
> Well, we can't do #2 - that would make us incompatible with
> the API.
I don't see h
On Thu, Aug 26, 1999 at 10:41:58AM -0700, Matthew Jacob wrote:
>
> I have a filesystem stress tests that are worth incorporating. I also have
> a raw disk pattern checker, but that's less of a test than analysis tool.
Does it check do things that should fail aswell as things that
should work? On
On Tue, Sep 07, 1999 at 10:24:53AM -0700, Parag Patel wrote:
> So I think my patch for simply wrapping the "Probing PCI bus" message
> with an "if (bootverbose)" is the right solution/workaround for systems
> like mine running STABLE. Not that it's a big deal - it's easy enough
> for me to patch
> >The code which figures out the bushigh stuff for your machine
> >probably needs a similar kludge, unless someone can say for certain
> >that it isn't harful for the SMP case.
>
> Probably not worth the effort, since for this system at least, SMP works
> just fine after probing for 253 non-exis
On Wed, Oct 27, 1999 at 09:33:20PM +0600, Ilia Chipitsine wrote:
I did a similar test ages ago, only I was extracting a version
of the Linux kernel. The FreeBSD machine came out about 10%
faster, despite the fact it was running squid and had an older,
slower disk.
FreeBSD: 112.95 109.00 112.14 1
I'm sure this has been discussed before, but I couldn't find anything
doing a quick search of the lists.
I've thought about trying to add a /proc/nnn/fd to allow access to
a running processes file discriptors from other processes. The
fdescfs only supports access to a processes own file discripto
On Wed, Nov 03, 1999 at 11:40:39AM -0800, Matthew Dillon wrote:
> The bug is on the server-side, not really the client side. Many people
> have been bitten by this problem and it would be cool if someone submitted
> a patch to fix it. I will get to it eventually but I'm kinda tied u
> Err... I don't see the problem. The permissions of the hardlink will
> be different, so the user might be able to see the "code", but won't
> be able to run the suid (because the hardlink won't have the suid
> bit set).
Suid bit is stored in the inode, not the directory entry, so it will
be set
> >You can make hard links to
>
> No, you cannot.
Yes you can - you just need to make sure the target directory is on
the same filesystem as the *original* file.
11:30:gonzo 9% cp /bin/sleep /tmp
11:30:gonzo 10% ls -l /tmp/sleep*
-r-xr-xr-x 1 dwmalone wheel 45224 Nov 7 11:30 /tmp/sleep
11:3
On Thu, Nov 11, 1999 at 11:29:57AM +0530, Santhosh Kumar M [CEC-S] wrote:
> Can anyone give me the library call or system calls by which i can
> get all the IP address configured on a local system (Note: the system can
> be multihomed adapters).
Here is a program I wrote to try to see how
On Mon, Dec 06, 1999 at 09:15:55AM +1300, Joe Abley wrote:
> I've just noticed that (on STABLE, at least) it doesn't seem possible
> to run an NFS server on a machine, and have it service requests from
> clients talking to anything other than the base address.
We've some patches which Matt Dillo
On Fri, Dec 10, 1999 at 08:56:47AM -0500, Zhihui Zhang wrote:
> Can anyone give me an idea on how big a directory could be in some
> environment?
Our inn's /news/spool/control/cancel directory is almost 300k. If
we were a significantly larger news site we probably wouldn't be
running inn though.
On Thu, Dec 23, 1999 at 03:43:37PM +0200, Sheldon Hearn wrote:
> The following code, compiled on a stock FreeBSD 4.0-CURRENT machine
> cores on SIGFPE. On a NetBSD 1.4.1 machine (gcc-2.91.60), the program
> prints the value of INT_MAX.
Try adding a fpsetmask(fpgetmask()&(~FP_X_OFL)); before the
On Mon, Jan 31, 2000 at 05:29:43PM +, Theo PAGTZIS wrote:
> NFS Portmap: RPC: Port mapper failure - RPC: Timed out
Check you've enableld the portmapper on the server in rc.conf.
(Or check it's running "ps -auxwww | fgrep portmap").
David.
To Unsubscribe: send mail to [EMAIL PROTEC
On Fri, Feb 11, 2000 at 06:03:16PM -0800, Matthew Dillon wrote:
> I presume its the client that is locking up? If you remove the
> server binary and the client takes a page fault on the binary,
> and does not have the page in the cache, what is supposed to happen
> is that the p
On Tue, Feb 22, 2000 at 09:02:43PM -0800, Archie Cobbs wrote:
> > It's because all packets sent by this node should have the node's
> > address. If you don't have it then PPPoE cannot send a packet "FROM"
> > thia node, as it has no idea of what this node's address is.
>
> So.. we can have two h
On Mon, Feb 14, 2000 at 10:33:47AM -0800, Archie Cobbs wrote:
> Yevmenkin, Maksim N, CSCIO writes:
> > i was thinking about netgraph. would't it be nice to have netgraph interface
> > in each network driver?
>
> You already do. See ng_ether(8).
>
> Compile your kernel with options NETGRAPH and
On Sat, Mar 04, 2000 at 01:06:04AM -0700, Warner Losh wrote:
Incase anyone is interested, there is a big DVD conference comming
up in Dublin, and some people here are going to try to cause some
noise while it is on. I can track down details if anyone is
interested.
Dacid.
To Unsubscrib
I just noticed these warnings in userconfig.c - I presume they've
been there for ages, however I think they should probably be fixed.
What is happening is that some devices have descriptions that are
too long to fit into the 60 alotted characters, and resultingly
are not nul terminated.
strcpy se
I was reading a little about T/TCP in Steven's book, and it occured
to me that some of inetd's small services would be ideal candidates
for T/TCP. (auth, time and daytime in particular).
According to Stevens, the main thing you need to do to make a server
T/TCP firendly is use the MSG_EOF flag wh
> I like T/TCP (I use it on some of my networked apps for the same reasons you
> describe), but I don't think that it should be added to a program like inetd
> which has two default settings that would need to be changed before the
> T/TCP extensions would ever provide any benefit.
The changes I'
On Thu, Mar 23, 2000 at 09:29:55AM +0100, Egervary Gergely wrote:
> > /etc/security/limits.conf
>
> mmm... this is for pam_limits.so in linux
>
> has anyone ported it to BSD?
/etc/login.conf can set limits for you, in a possibly more flexable way.
David.
To Unsubscribe: send mail to
On Thu, Mar 23, 2000 at 10:01:33AM +0100, Egervary Gergely wrote:
> > > has anyone ported it to BSD?
> >
> > /etc/login.conf can set limits for you, in a possibly more flexable way.
>
> but login does not support session accounting that pam_limits.so does.
I don't see anything about session ac
On Thu, Mar 23, 2000 at 05:07:40PM -0800, Kris Kennaway wrote:
> On Thu, 23 Mar 2000, Dan Nelson wrote:
>
> > The tail bug has been reported as PR bin/14786, and it looks like
> > there's a patch in there. See if it fixes your problem. As for less,
> > you can contact the author and see if he c
On Fri, Mar 24, 2000 at 01:00:54PM -0500, Luke Hollins wrote:
> I don't know if this is specific to FreeBSD but I just noticed it when i
> picked o time in top:
>
> PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND
> 79364 root2 0 2696K 1636K select 8:23 0.
On Fri, Mar 24, 2000 at 08:04:21PM +, David Malone wrote:
> It seems to be an overflow problem - top was reilying on things
> fitting into a int, which were 64 bits long. It looks like someone
> ran into the problem before for the %cpu field, and fixed it in a
> different way
I notice that we've just gained a linprocfs which aims to provide
a Linux style procfs for the Linux binary compatibility stuff. It
looks quite neat, and provides lots of the odd files those linux
programs go looking for. However...
I haven't checked carefully, but I expect that the linprocfs cod
> File was removed because it was a huge, gaping security hole. It was
> effectively hard link to the file in question and circumvented some of
> the usual security protections that the file would otherwise be
> protected by.
I know - AFAIK I was the one who reported it ;-)
> : Linux itself is
On Sat, Apr 08, 2000 at 09:25:16PM +0700, Alexey N. Dokuchaev wrote:
> I'm trying to achive maximum performance of my FreeBSD 4.0-RELEASE box,
> and going to recompile kernel and world using -Os -pipe options. Is there
> any additional flags I might consider turning on (like -mfast_math) to
> ma
I notice that the IDEA code in OpenSSL is in the Attic and not in
the regular source tree. I know that OpenSSL is compiled with
something like -DNO_IDEA by default, but that doesn't mean IDEA
shouldn't be in the source tree for people who can use it. Would
it be possible to get idea reinstated and
> > (According to Applied Cryptography, IDEA is free for non-comercial
> > use. As the source code is being distributed via cvs anyway, I
> > can't see a reason why it isn't being included in any of the
> > branches.)
>
> I was under the impression it was restricted (patented) in the US and in
>
On Sun, Jun 04, 2000 at 07:34:54PM -0400, James Housley wrote:
> I would like to use tcp_wrappers (libwrap) in a program. I din't see
> any examples or a reference to a web site. I have read the man page.
> Is there a good example of a program in the FreeBSD 4 tree that is not
> inetd spawned a
On Thu, Jun 01, 2000 at 05:06:56PM +0100, Ben Smithurst wrote:
> For some reason, 'cat' doesn't see EOF when my 'fifotest' program closes
> the FIFO. Can someone tell me what I'm doing wrong here please?
I didn't check your program, but I did try:
mkfifo /tmp/a
echo hello > /tm
> open, write, close, unlink, mkfifo
Sounds like a strong conternder, though if something is unlucky
enough to open the fifo between the close and the unlink it will
just hang there.
> Anyway, it's hardly an important application, the FIFO in question is
> "~/.signature". Can you guess wh
On Tue, Jun 13, 2000 at 11:07:27AM -0500, Dan Nelson wrote:
> In the last episode (Jun 13), Johan Kruger said:
> >
> > The man page says " ... and the first word in the message after the
> > date matches the program, the action specified in the action
> > field will be taken ..."
> > No
201 - 278 of 278 matches
Mail list logo