Re: vinum and superblocks.

2000-06-30 Thread David Malone
On Fri, Jun 30, 2000 at 09:16:33AM +0200, Rasmus Skaarup wrote: > By 'odd', you mean small, Søren? If this is the case, be careful not to > make the size too small, which will degrade the perfomance because of the I presumed he ment 'odd' as in 'not even' David. To Unsubscribe: s

Global variables defined several times.

2000-07-03 Thread David Malone
I've just noticed that usr.bin/ftp/ftp_var.h defines a large selection of global variables, and then this header file is included in multiple C source files. I thought this should lead to one copy of the global varible per source file, and then a warning or error at link time due to symbols being

Re: Global variables defined several times.

2000-07-03 Thread David Malone
> In message <[EMAIL PROTECTED]>, David Malone writes: > >I've just noticed that usr.bin/ftp/ftp_var.h defines a large > >selection of global variables, and then this header file is included > >in multiple C source files. > > > >I thought this shoul

Re: UFS inodes readig ...

2000-07-19 Thread David Malone
On Wed, Jul 19, 2000 at 03:29:03PM +0400, Dmitry samersoff wrote: > It's very usable tool, but I'm looking for C/C++ code > doing: > > while( read_next_inode ) > { > if (inode_is_deleted && inode_data_contains_some_text) >{ write(outfile, inode_data, inode_size); >} > }

Re: ANSI compliance, gcc(1) and FreeBSD

2000-07-29 Thread David Malone
On Sat, Jul 29, 2000 at 11:51:53AM +0100, Mark Ovens wrote: > In the ANSI Standard (K&R 2e, A7.14 & A7.15) it states that, in the > case of the ``&&'' operator, the right operand is evaluated only if > the left operand evaluates to non-zero, and, for ``||'', the right > operand is evaluated only

Re: An sblock magic number is...

2000-08-09 Thread David Malone
On Wed, Aug 09, 2000 at 04:25:14AM -0500, Ben Weaver wrote: > bash-2.03# ssh backup@tranq1 /sbin/dump -0a -f - /dev/sd0s1f | dd of=t1.var ^^ Doesn't dump take the raw device, or the filesystem name? Maybe it can take both - I don't have

Re: Memory leakage...

2000-08-10 Thread David Malone
On Thu, Aug 10, 2000 at 05:05:26PM +0530, G.B.Naidu wrote: > My question is what could be the reason for this drastic increase in vsz > column of ps -aux output? Is it because of unfreed malloced memory? Why > rss is stable? Somebody could help me when will the vsz(virtual > size) increases? Sou

Re: 2 inetd's with 2 nics

2000-08-13 Thread David Malone
On Sun, Aug 13, 2000 at 11:31:12AM -0500, Chris Costello wrote: >From the inetd man page: > > -a Specify a specific IP address to bind to. Alternatively, a host- > name can be specified, in which case the IPv4 or IPv6 address > which corresponds to that h

Re: how to support adaptec 29160 ?

2000-08-14 Thread David Malone
On Mon, Aug 14, 2000 at 07:25:42PM +0400, Kazennov Vladimir wrote: > Please, give me some info about support adaptec 29160 with FreeBSD > Kernel during installation doesn't recognise this adapter What version of FreeBSD? It should be supported in 4.1. David. To Unsubscribe: send mai

Re: Re[2]: how to support adaptec 29160 ?

2000-08-15 Thread David Malone
> >> Please, give me some info about support adaptec 29160 with FreeBSD > >> Kernel during installation doesn't recognise this adapter > DM> What version of FreeBSD? It should be supported in 4.1. > But I didn't see in hardware.txt for 4.1 this adapter... gosset% grep 29160 /usr/src/release/

Re: Critical (or equivalent) section in Userland?

2000-08-17 Thread David Malone
On Thu, Aug 17, 2000 at 09:28:02AM +0100, Karl Pielorz wrote: > I'm writing a program under FreeBSD 3.X that has been forced into having to > make a number of rename() calls that must be completed atomically (i.e. all > together) without the process being interrupted, or any other process being >

Re: Critical (or equivalent) section in Userland?

2000-08-17 Thread David Malone
On Thu, Aug 17, 2000 at 11:52:39AM -0400, Thomas Valentino Crimi wrote: > Take a look at rtprio(2), giving yourself a realtime priority will > guarantee you the CPU until you explicitly release it (or another higher > priority realtime process comes along). I'd assume it is possible that one o

Re: Please help me identify this:

2000-08-27 Thread David Malone
On Sun, Aug 27, 2000 at 01:04:14PM -0400, Simon wrote: > Can someone please help me identify the following message? I get > it when my freebsd panics and I have to do a cold- reboot. The best thing to try is getting a trace back from the panic. Add "options DDB" to your kernel, recompile and ins

Re: Getting all the IP address for a machine from code...

2000-09-14 Thread David Malone
On Wed, Sep 13, 2000 at 08:12:47PM -0700, Chris Ptacek wrote: > I am looking for a way to get all the IP addresses that are configured a > machine. I need to do this in c source code, and without using DNS services > (ie: gethostname/gethostbyname won't work). I am hoping there are some > system

Re: Getting all the IP address for a machine from code...

2000-09-16 Thread David Malone
> It is possible to get interface lists on earlier versions (and I hope > still current versions) using the ioctl interfaces described in Stevens. > See also ifconfig.c source from various versions of FreeBSD :-). I think Garret suggested that the ioctl method was deprecated? I wrote some code j

Re: > 32k directories in a directory

2000-09-16 Thread David Malone
On Sat, Sep 16, 2000 at 03:06:06PM -0400, John DeBoskey wrote: > #define LINK_MAX32767 /* max file link count */ Looking at /usr/include/ufs/ufs/dinode.h, which seems to describe the format of the on-disk inode I see that di_nlink is a int16_t, for which the largest positive va

Re: Panic key on std PC keyboard ....

2000-09-16 Thread David Malone
On Sat, Sep 16, 2000 at 06:13:04PM -0400, David Bein wrote: > Does anyone know which key is the PNC key on a typical keyboard? > This is the key which with sysctl machdep.enable_panic_key=1 should force > a panic. Earlier today I found my machine wedged and had to power cycle > to get unstuck.

Re: readv manpage != UIO_MAXIOV

2000-10-16 Thread David Malone
On Mon, Oct 16, 2000 at 03:00:17PM -0700, Alfred Perlstein wrote: > a) change the kernel to match the docco and possibly breaks >lotsa stuff? > b) change the docco to note that although FreeBSD allows >more than 16 iovecs, it's not recommeneded for portability >reasons > c) change re

Re: readv manpage != UIO_MAXIOV

2000-10-16 Thread David Malone
On Mon, Oct 16, 2000 at 04:13:29PM -0700, Alfred Perlstein wrote: > So I guess we need a #define for IOV_MAX set to 1024? This would > be ideal since it will give a reasonable #define for applications > to use and we don't break our current interface. > > All that would be needed is the additio

Re: NFS/VM deadlock report and help request

2000-10-20 Thread David Malone
On Fri, Oct 20, 2000 at 02:50:43PM +0200, Vadim Belman wrote: > The kernel config I supply as an attachment. Kernel-mode stack > trace for the thttpd process looks like this: I think we've seen a similar problem and have a work around for it. You could try the following patch, though it mi

Re: NFS/VM deadlock report and help request

2000-10-24 Thread David Malone
On Tue, Oct 24, 2000 at 09:21:01AM +0200, Vadim Belman wrote: > After a day of testing I confirm that the patch does work. I've just committed the patch to -current, I'll MFC it in a few days. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hacker

Re: ipfw security.

2000-10-27 Thread David Malone
On Fri, Oct 27, 2000 at 12:16:18PM +0200, Stop here. Start everywhere. wrote: > I thought I would spread this to the mailing list just in case no one > knew about it, and ask whether ipfw does implement all of the mentioned > requirements: > > ftp://ftp.isi.edu/in-notes/rfc2979.txt > > Well, do

Re: diskless/rc

2000-11-30 Thread David Malone
On Thu, Nov 30, 2000 at 05:56:57PM +0200, Danny Braniss wrote: > 1) the cmp -s -> BUS ERROR > 2) cp ${T} /etc/motd-> cp: /etc/motd: Bad address > > now only 2 is happening - go figure :-) > it also used to, after it went multiuser, to panic when i did the > cmp -s ${T} /et

M_ZERO patches.

2000-12-03 Thread David Malone
I'd like to commit a large chunk of the remaining M_ZERO patches I've collected up later this week. These patches touch various parts of the system, so I'd apreciate if people could take a look at them. http://www.maths.tcd.ie/~dwmalone/mzero.patch I've listed the files it effects below.

Re: kqueue microbenchmark results

2000-12-07 Thread David Malone
On Wed, Oct 25, 2000 at 05:01:17PM -0500, Jonathan Lemon wrote: > I'd love to do that, but am not quite sure how I'd go about it. > If you read the l-k mailing list, you'll see Linus calling kqueue > "overengineered", and what he is proposing is something that is > definitely not well thought out.

Re: Packet Header Filtering

2000-12-08 Thread David Malone
On Fri, Dec 08, 2000 at 12:03:12AM -0500, Alwyn Goodloe wrote: > i) look at an ip packet header. If some conditions are met let the packet pass >otherwise reject the packet. > > ii) Look at ip packet headers of established connections and when certain > conditions are met tear down the c

Re: Rejecting a connection: is accept(2) correct?

2000-12-14 Thread David Malone
On Thu, Dec 14, 2000 at 09:12:18AM -0800, Mikko Työläjärvi wrote: > Is this really true? A quick experiment with recvmsg() seems to > indicate it is not, at least not for TCP sockets. I think this applies after you have accepted the connection. You can call getpeername() to choose what to do a

Re: su root hangs when logged in via SSH

2000-12-14 Thread David Malone
I think there is a PR in the database, assigned to me, relating to this. I guess I could go through syslogd and try to make all the IO non-blocking, but I'm not sure how easy that would be. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the b

Re: Rejecting a connection: is accept(2) correct?

2000-12-14 Thread David Malone
> Umm.. yes, that is the normal way of doing things, but that is not > what (I think) it says in the man-page, which is why I was wondering. > "One can obtain user connection request data without confirming the > connection..." (and then goes on about recvmsg(),sendmsg() and > {set,get}sockept

Re: Why does lpd cause a lot of DNS traffic?

2000-12-15 Thread David Malone
On Fri, Dec 15, 2000 at 10:54:43AM +0100, Konrad Heuer wrote: > For a heavily loaded printer server (as mine is) this seems not be a good > idea ... but maybe there's a good reason to to this? I presume this is so that you can list machine aliases in the hosts.lpd file, and to avoid issues with m

Re: Why does lpd cause a lot of DNS traffic?

2000-12-15 Thread David Malone
> You could also manually add them to /etc/hosts - but this will be a bit tediou > when you have a lot of machines. Maybe list IP addresses in /etc/hosts.lpd > instead of hostnames? This could cause alot of reverse lookups though. Another, slightly strange, way to do it would be to create a set o

Re: recvfrom() and signals

2000-12-19 Thread David Malone
On Tue, Dec 19, 2000 at 09:45:05AM -0800, Alfred Perlstein wrote: > See the sigaction manpage and how one enable/disables system call > restarts. He is setting the signal handler with signal(), which calls sigaction() without the SA_RESTART flag set, so it seems that should interrupt recvfrom().

Re: recvfrom() and signals

2000-12-19 Thread David Malone
> > He is setting the signal handler with signal(), which calls > > sigaction() without the SA_RESTART flag set, so it seems that should > > interrupt recvfrom(). > Bzzt :-) Alfred's correct. Read the manpage for signal again. Ahh - I was reading the source code and missed the ! in !sigismembe

Re: keeping lots of systems all the same...

2000-12-20 Thread David Malone
On Wed, Dec 20, 2000 at 03:15:40AM -0500, Mike Nowlin wrote: > Handling the OS updates is pretty easy... Is there any equally easy way > to keep a particular set of ports updated automatically? I'd like to > avoid having to do a "make deinstall; make install" all the time... What we do is inst

Re: Size of struct ifreq/returned buffer of SIOCGIFCONF

2001-01-09 Thread David Malone
On Tue, Jan 09, 2001 at 12:21:11PM +0200, Graham Wheeler wrote: > I am attempting to port the cheops network mapping/diagnostic program > from Linux to FreeBSD (see www.marko.net/cheops). One of the first snags > I have hit comes in using SIOCGIFCONF to queries the network interface > names and a

Re: Size of struct ifreq/returned buffer of SIOCGIFCONF

2001-01-09 Thread David Malone
On Tue, Jan 09, 2001 at 12:30:44PM +0200, Graham Wheeler wrote: > Just a follow up on this: on Stevens vol 2 pg 117, code line 299, is the > implication that the returned buffer DOES hold an array of struct ifreq > elements. So this does seem to indicate that something may be broken on > FreeBSD.

Re: Size of struct ifreq/returned buffer of SIOCGIFCONF

2001-01-09 Thread David Malone
> Something that isn't clear to me - do you know (Mark for Linux, Dave or > someone else for FreeBSD) whether it is reasonable to assume the > ifr_name if the struct ifreq will be NUL terminated? I know that the > name in a struct sockaddr_dl is not necessarily so terminated, but for > the ifr_nam

Re: Size of struct ifreq/returned buffer of SIOCGIFCONF

2001-01-09 Thread David Malone
> Marko - does Linux have getifaddrs()? I somehow doubt it... Linux should have getifaddrs() if it has support for IPv6 in userland libraries. There is an implimentation of it at: http://www.linux-ipv6.org/cvsweb/libinet6/?cvsroot=usagi-libc David. To Unsubscribe: send mail to [EMAIL

Re: libc walkthrough?

2001-01-15 Thread David Malone
On Mon, Jan 15, 2001 at 11:22:18AM +, Rasputin wrote: > I'd like to get started by porting a few userland apps > (have my sights on cdparanoia for starters), so was wondering if > anyone could recommend a good book to introduce newbies to > the BSD C library - I know the manpages are more up

Re: interrupt statistics

2003-11-19 Thread David Malone
On Wed, Nov 19, 2003 at 09:46:02AM +0100, [EMAIL PROTECTED] wrote: > ISTR there is a tool (other than systat -vmstat) that shows interrupt > statistics for all interrupts, but I can't find anything except the > hw.intrnames and hw.intrcnt sysctls, which aren't directly human- > readable. Does anyo

Re: patch: portable dirhash

2003-12-17 Thread David Malone
On Wed, Dec 17, 2003 at 01:09:18PM -0500, Ted Unangst wrote: > while on the subject, there's a piece of code something like this in > freebsd: > /* > * We hash the name and then some other bit of data that is > * invariant over the dirhash's lifetime. Otherwise names >

Re: shutdown -p now

2004-01-22 Thread David Malone
On Wed, Jan 21, 2004 at 03:39:00PM -0500, Robert Watson wrote: > > shutdown -p now is dependant upon hardware, and am 100% sure my hardware > > supports this; yet it still does not work. Must I have anything added to > > my kernel configuration or anything? > > What version of FreeBSD are you usi

Re: Making inheritance of group ID configurable

2004-02-09 Thread David Malone
On Mon, Feb 09, 2004 at 05:10:59PM +0100, Andre Albsmeier wrote: > New items created on an ufs normally inherit their group ID from > the parent directory. I have the need for making this configurable. > > Since the set-group-ID bit is not used for directories on BSD, > I would like to use it to d

Re: signed char bug in regexp library

2004-02-17 Thread David Malone
On Mon, Feb 16, 2004 at 08:50:39PM +0100, Mikulas Patocka wrote: > When i compile library with -funsigned-char, it works fine. But it isn't > compiled with that flag in FreeBSD. The signedness of chars is left as a choice for the compiler - on the platform you are working on they must have decided

Re: OT: tftp server

2004-02-24 Thread David Malone
> It's worth noting that ours works poorly with PXE clients. The > ftp/tftp-hpa port is the one most commonly recommend for PXE > applications. I've never had any problems PXE booting FreeBSD using out tftpd, but I did have trouble with Linux once - the loader insisted that the transfer size opti

Re: Newbie : Problem with kgdb

2004-02-25 Thread David Malone
On Wed, Feb 25, 2004 at 01:18:14PM +0530, [EMAIL PROTECTED] wrote: > I get the warning > (no debugging symbols found)... > when I invoke > gdb -k /kernel Look for the kernel.debug file in the directory where you complied the kernel. This should have all the symbols - it is probably something like

Re: inetd needs "discard" service in /etc/services

2004-03-12 Thread David Malone
> I would like to commit the following patch. It changes the port from > discard to syslog and documents the dependency. I choose syslog because > it really does need to be in /etc/services on most machines since it > starts before NIS. I'll also file a PR against inetd in hopes that > someone g

Re: inetd needs "discard" service in /etc/services

2004-03-23 Thread David Malone
On Wed, Mar 24, 2004 at 02:20:26AM +0900, Hajimu UMEMOTO wrote: > How about this patch? Looks good to me, if it fixes Brooks's problem. > brooks> The real problem is that we should either not use getaddrinfo to make > brooks> sockaddrs or we should do it on demand when we actually have what we >

Re: Loosing STDOUT after file rotation

2004-04-02 Thread David Malone
On Thu, Apr 01, 2004 at 04:53:19PM -0500, James Housley wrote: > I have a program that I have the is supposed to run forever. I log any > output to a log file. It is run in a startup script like thie: > > program_name >> $err_log 2>&1 > > The problem is that after newsyslog rotates the $err_lo

Re: how to flush out cache.?

2004-04-21 Thread David Malone
On Wed, Apr 21, 2004 at 01:47:43PM -0700, Julian Elischer wrote: > ingenious, but, no we can't do that.. > As I mentionned.. someone suggested using 'dump' > to extract the file from raw disk and checksumming that... :-) If it is SCSI, you could probably put a second controler on the SCSI bus, and

Re: unexpected trafic

2004-04-29 Thread David Malone
On Thu, Apr 29, 2004 at 09:01:32PM +0700, TSaplin Mikhail wrote: > HI ALL; > > My freebsd5.1 emits some trafic: > > 20:32:41.496039 129dial.supernet.kz.52075 > GATEKEEPER.MCAST.NET.1718: udp 31 Does sockstat show which process is using port 52075? David.

Re: How do inodes work?

2004-05-16 Thread David Malone
On Sun, May 16, 2004 at 02:25:37AM -0300, Marc G. Fournier wrote: > so I take there are 'gaps' in the inode list? it doesn't re-use freed > ones but keeps climbing until maybe it rolls around or something? A particular numbered inode always lives in the same place on the disk. When choosing what

Re: fopen("file","a")

2004-05-26 Thread David Malone
On Sat, May 22, 2004 at 07:27:06PM +0300, Anton Alin-Adrian wrote: > if ( (fp_queue=fopen(fqueue,"a")) ==NULL);//will wait for locks ^ Extra semicolon. > { > perror("fopen(

Re: Bridging Code - MAC Filtering

2004-06-15 Thread David Malone
On Tue, Jun 15, 2004 at 03:57:12PM -0300, Aldrin Leal wrote: > Does the bridging code in FreeBSD 5.2-RELEASE have the hability > to perform mac checking for a given IP? You could use ipfw2, which can match both on IP address and MAC address. David. ___

Re: /bin/ls sorting bug?

2004-06-20 Thread David Malone
On Sat, Jun 19, 2004 at 11:52:29PM +0100, Scott Mitchell wrote: > On Sat, Jun 19, 2004 at 10:06:01PM +0200, Dimitry Andric wrote: > > Looking through ls source shows that the sorting is done by passing a > > comparison function to fts_open(3). In the case of sorting by > > modification time, the *

Re: /bin/ls sorting bug?

2004-06-21 Thread David Malone
> Sorting on nanoseconds too is likely to be more confusing than > useful. Even if we use one of the precious few option letters ls > doesn't use already to add a nanosecond display, most people won't > know about it because they don't care about nanoseconds. They > might care when they notice---

Re: waiting on sbwait

2004-06-25 Thread David Malone
On Fri, Jun 25, 2004 at 09:17:01AM +0300, Danny Braniss wrote: > it's definetly NFS related, i/you can cause this to happen at will, > ie: ls /net/host where host is down. the /net is a amd trigger which will > try and mount via nfs all of host's exports. In that case, the "sbwait" is the kernel w

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread David Malone
On Mon, Jun 28, 2004 at 01:26:56AM -0700, David Schultz wrote: > It was discussed when phk merged it into kern___getcwd() last > year, and on at least one other occasion. However, I can't seem > to find the relevant thread in the mail archives. Perhaps phk or > dwmalone remember. The only proble

Re: TCP RTO

2004-09-08 Thread David Malone
On Wed, Sep 08, 2004 at 05:43:36PM +0100, Soo-Hyun Choi wrote: > These variables are used to calculate the TCP RTO. But why do they > have the two different version of variables? There are two different variables because they store different things. One measures the average of the round trip time

Re: NFS + VM question

2004-10-15 Thread David Malone
On Thu, Oct 14, 2004 at 04:27:38PM +0200, Oliver Fromme wrote: > On the other hand, the kernel should know that the mounts > come from the same NFS source, so it might actually be able > to handle it efficiently (i.e. share). But I really don't > know. Any FreeBSD kernel hacker can enlighten me?

Re: NFS + VM question

2004-10-15 Thread David Malone
> > Since the server could actually hand out different content depending > > on the mount instance, I don't think the NFS client could make these > > assumptions. > Maybe I'm missing something, but I'm not convinced that's true. > NFS is "file-handle" centric: there's no real concept of a "mount

Re: fsck: How to reduce memory usage - to avoid out of swap on boot ?

2004-10-07 Thread David Malone
On Wed, Oct 06, 2004 at 04:01:26PM +0200, Julian Stacey wrote: > - /usr/src/sbin/fsck/fsck.h, maybe I could eg halve one or both of these: > #define MAXBUFSPACE 40*1024 /* maximum space to allocate to buffers */ > #define INOBUFSIZE 56*1024 /* size of buffer to read inodes in pass1 */

Re: ssh & select() problem on 5.3

2004-11-28 Thread David Malone
On Sun, Nov 28, 2004 at 08:30:03PM +0200, Alin-Adrian Anton wrote: > A tcpdump shows that what actually happens is that packets won't reach > me in spite of the fact that his firewall(router)'s tcpdump shows that > he keeps sending them to me. Packets never reach me, but I am still able > to send t

Re: Proper use of select() parameter nfds?

2001-07-06 Thread David Malone
On Fri, Jul 06, 2001 at 09:58:00AM -0400, Matthew Hagerty wrote: > I take this to mean that each descriptor set contains n descriptors and I > am interested in examining the first nfds descriptors referenced in my > sets. I also understood it to mean that nfds has absolutely nothing to do > wi

Re: Why install -C include files?

2001-07-25 Thread David Malone
On Wed, Jul 25, 2001 at 03:43:35PM +0200, Sheldon Hearn wrote: > Why are include files installed using -C instead of -c? This makes it > harder to find stale includes. If you changed the date on header files which hadn't changed then next time you typed make on a project with carfully set up dep

Re: exec() doesn't update access time

2001-07-26 Thread David Malone
On Wed, Jul 25, 2001 at 02:25:19PM -0700, David Greenman wrote: >Guessing, I think the correct fix is probably to set the IN_ACCESS flag in > ufs_open() [and similarly with other filesystems where this makes sense] if > the filesystem is not mounted with the noatime flag. However, I'm not sure

Re: exec() doesn't update access time

2001-07-26 Thread David Malone
> On Thu, Jul 26, 2001 at 12:09:17PM +0100, David Malone wrote: > > On Wed, Jul 25, 2001 at 02:25:19PM -0700, David Greenman wrote: > > >Guessing, I think the correct fix is probably to set the IN_ACCESS flag > > > ufs_open() [and similarly with other filesystem

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread David Malone
On Tue, Jul 31, 2001 at 08:33:59AM -0700, Dima Dorfman wrote: > Dan Nelson <[EMAIL PROTECTED]> writes: > > In the last episode (Jul 31), Dima Dorfman said: > > > Does anybody know (remember?) why portmap_enable (the rc.conf knob) > > > wasn't renamed to rpcbind_enable when portmap became rpcbind?

Re: vnconfig + mount removes permission for a second

2001-08-03 Thread David Malone
On Wed, Aug 01, 2001 at 11:35:32AM +, Julian Stacey wrote: > So something is momentarily making the image unreadable. > Should FreeBSD [mount/kernel ?] be changed to avoid denying access ? When you do a mount it automatically HUP's mountd which then re-exports NFS filesystems. I suspect what

Re: 4.4-RC NFS panic

2001-08-20 Thread David Malone
On Mon, Aug 20, 2001 at 07:51:17PM +0100, Walter C. Pelissero wrote: > This enforces my belief that there is something broken in some deeper > layer of the network code (see the remote printing issue). Just out of curiosity, what sort of network card is your Vaio using? Someone else is seeing net

Re: 4.4-RC NFS panic

2001-08-21 Thread David Malone
> I've just done a further test. I've mounted a directory tree from > Vaio to Vaio using localhost (lo driver) and the test has run > smoothly. So chances would be good the bug is in the ep driver. > Unfortunately... Andre Albsmeier, who's seeing various network problems, is using the xe driver

Re: XMM[0-7] preserved across context switch?

2001-08-21 Thread David Malone
On Tue, Aug 21, 2001 at 11:27:38AM -0500, Kevin Day wrote: > A quick peek at swtch.s seems to show that the SSE registers (XMM0-7) aren't > being preserved across context switches. Am I missing somewhere that's doing > this, or are they really not being saved now? SSE support has recently been ad

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

2001-09-04 Thread David Malone
On Sun, Sep 02, 2001 at 09:55:03AM -0700, David O'Brien wrote: > 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

Re: bin/30680: uptime and w utilities lie about real uptime

2001-09-20 Thread David Malone
On Thu, Sep 20, 2001 at 03:21:08PM +0400, Vladimir B.Grebenschikov wrote: > why utility increases uptime on 30 seconds ?? > Is any real reasons for it ? It adds 30 because it wants to round the number of minutes to the nearest minute, instead of rounding down. Unfortunately this isn't a sensible

Re: Disk based file system cache

2001-09-24 Thread David Malone
On Mon, Sep 24, 2001 at 01:07:00PM +0200, Attila Nagy wrote: > 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 bandwid

Re: syslogd and kqueue

2001-10-27 Thread David Malone
On Fri, Oct 26, 2001 at 11:25:43PM -0500, Matthew D. Fuller wrote: > Forget kqueue. Just an O_CREAT. For log rotation anyway. It might make sense to use kqueue within syslogd instead of select for waiting on messages from the kernel, the logging socket and udp port 514. David. To Unsub

Re: syslogd and kqueue

2001-10-29 Thread David Malone
On Mon, Oct 29, 2001 at 05:58:22PM +1000, Greg Black wrote: > Here's a proposal to cope with that. Add an optional sub-field > to any action field in syslog.conf that begins with a slash, > perhaps in the form `:0640:root:wheel'. FWIW, we have a format like this in inetd.conf for unix domain soc

Re: kern.vm.kmem.size

2001-11-13 Thread David Malone
On Sun, Nov 11, 2001 at 11:08:17PM +0700, Eugene Grosbein wrote: > I'm trying to test and tune speed of freebsd's filesystem in many aspects. > I run recent FreeBSD 4.4-STABLE with new dirprefs code, read tuning(7), > newfs'd my FS, turned softupdates on, have UFS_DIRHASH kernel option. > Also, I'

Re: gx driver MFC

2001-11-13 Thread David Malone
On Tue, Nov 13, 2001 at 10:19:48AM +0200, Danny Braniss wrote: > will th gx driver be MFC'ed any time soon? I have a box and a card > sitting around, and was wondering ... You could use the wx driver (which is in -stable and should work) until the gx driver is merged. David. To Unsubscr

Re: kern.vm.kmem.size

2001-11-14 Thread David Malone
On Tue, Nov 13, 2001 at 10:47:30PM +0700, Eugene Grosbein wrote: > > you have enough physical memory. (By default there is about 1GB of > > kernel address space, so you are unlikely to be running into this > > limit - I don't think changing kern.vm.kmem.size will help you). > > Are you shure? Fro

Re: kern.vm.kmem.size

2001-11-19 Thread David Malone
On Thu, Nov 15, 2001 at 11:14:48PM +0700, Eugene Grosbein wrote: > You are absolutely right, it's using about 1/3 of RAM here > (108875776 when I do not tune kern.vm.kmem.size). > Hmm, my test seems to be incorrect somehow. > How can I see used amount of kernel malloc area? I think you could pr

Re: FreeBSD performing worse than Linux?

2001-11-28 Thread David Malone
On Wed, Nov 28, 2001 at 12:41:18AM -0700, Nate Williams wrote: > > I've just been talking with a friend of mine from the Samba team. > > He's about to change jobs, and a lot of his work in future will > > involve FreeBSD. He's just been doing some performance testing, and > > while the numbers ar

Re: need cdrw info

2001-12-01 Thread David Malone
On Sat, Dec 01, 2001 at 07:56:51AM -, Matthew wrote: > any one know if there's supported IDE cdrw for freebsd4.1? Any software on > FBSD4.1 to do the cdrw work? Most IDE cdrw drives should work. Have a look at "man burncd" - It claims to having been there since 4.0. David. To Unsubs

Re: block devices

2001-12-04 Thread David Malone
On Tue, Dec 04, 2001 at 08:08:34AM -0500, Dragon Fire wrote: > I was trolling around the FreeBSD kernel source and the dev directory and > noticed there is no bdevsw structure and no block driver files. Is > everything implemented in terms of character devices now? Looks like all the > support for

Re: Tracking down system freeze

2001-12-05 Thread David Malone
On Wed, Dec 05, 2001 at 01:14:51PM -0500, PSI, Mike Smith wrote: > Does anyone have ANY suggestions on how to determine where the > kernel/program is when the system freezes??? Even hardware solutions, > such as the infamous paperclip across two pins will do. Serial console and serial break-to-th

Re: 'ticks' in kernel.

2003-03-04 Thread David Malone
On Tue, Mar 04, 2003 at 02:00:02PM -0500, Jan Knepper wrote: > How would they return me the 'value' of 'ticks'? > > The problem is... I have a value's somewhere that has been assigned from > 'ticks', like: > ptr -> value = ticks; Maybe it would help to explain what you are doing at a higher le

Re: 'ticks' in kernel.

2003-03-06 Thread David Malone
On Wed, Mar 05, 2003 at 05:16:20PM -0500, Jan Knepper wrote: > Well, I guess since I have not heard any brilliant solutions. > Could/should I add a query for 'ticks' to sysctl? I can't suggest a better suggestion off the top of my head, unless it would be better as something which you'd get at th

Re: IP addresses of bridge interfaces

2003-03-12 Thread David Malone
On Tue, Mar 11, 2003 at 01:17:25PM -0800, Sean Hamilton wrote: > I recently upgraded a FreeBSD 4.6.2 bridge to 5.0, and am having troubles > with how it handles IP addresses. This problem is due to a rather contraversial change, where packets are only accepted to addressed to the interface they ar

Re: NFS performance tuning

2003-03-18 Thread David Malone
On Mon, Mar 17, 2003 at 09:02:01PM -0500, John wrote: >This is an open ended email with a question about how > to increase performance of a 4-stable system running in a > high-load environment. The src is current as of: It may be worth chatting to Daniel Ellard, who has some interesting PRs op

Re: Locking, locking...

2003-06-02 Thread David Malone
On Mon, Jun 02, 2003 at 09:53:28AM +0200, Pawel Jakub Dawidek wrote: > As we all knew size of list could be changed when we were in malloc(). > Of course we could check list size again after malloc() and mtx_lock(), > but what to do when it was changed? Recall memory allocation? By recall, do you

Re: How to delete unix socket entries

2003-06-24 Thread David Malone
On Tue, Jun 24, 2003 at 08:59:49PM +0400, Varshavchick Alexander wrote: > I had a wrong-behaved server application which opened a unix socket to > respond to incoming connections, so that after the socket was opened, the > application core dumped each time it was launched. As a result, 'netstat > -

Re: RAID and NFS exports (Possible Data Corruption)

2003-07-15 Thread David Malone
On Tue, Jul 15, 2003 at 06:26:24AM -0700, Sumit Shah wrote: > Here is a message I sent to freebsd-questions and I was hoping I could > get some help debugging this. It seems very unlikely that restarting mountd cound cause an error like: >ad4: hard error reading fsbn 242727552 The error means

Re: can we disable AAAA queries in the resolver ?

2003-08-02 Thread David Malone
On Fri, Aug 01, 2003 at 11:52:00PM -0700, Luigi Rizzo wrote: > My understanding is that there are multiple buggy components here: > my ISP's nameserver certainly shouldn't behave so badly on > requests, and the applications should not bother asking queries > when the kernel has no ipv6 su

Re: 20TB Storage System

2003-09-03 Thread David Malone
On Wed, Sep 03, 2003 at 11:06:15AM +, Geoff Buckingham wrote: > However I just read the newfs man page and am intrigued to know what effect > the -g and -h options have > > -g avgfilesize > The expected average file size for the file system. > > -h avgfpdir >

Re: ktrace/kdump question: intrepretting calls.

2003-10-23 Thread David Malone
On Thu, Oct 23, 2003 at 04:40:41PM +0100, Josef Karthauser wrote: > I'm trying to work out what a particular application does by using > ktrace and kdump. At the relevant point in the kdump it says: > > 1080 Application CALL #91(0x28d28000,0x4000) > 1080 Application RET #91 0 > > How do I

Re: Serve NFS from within a jail?

2003-10-23 Thread David Malone
On Wed, Oct 22, 2003 at 11:42:06PM -0700, Nicholas Esborn wrote: > However, neither mountd nor nfsd are happy running inside the jail: NFS is one of those things that is largely implemented as a service in the kernel, and so doesn't really fit in with the way jail's work. If you want to run an NF

Re: O_NOACCESS?

2003-10-31 Thread David Malone
On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: > In FreeBSD, this doesn't work; you just get EINVAL. I believe this is because of a security problem discovered a few years ago, where you could open a file like /dev/io for neither read nor write but still get the special privelages asso

Re: userland program panics freebsd 4.3

2001-12-21 Thread David Malone
On Fri, Dec 21, 2001 at 12:51:38PM -0500, Michael Scheidell wrote: > > My gut reaction tells me that this is either a kernel stack overflow or out > > of KVM. The kernel stack overflow problem was "fixed" in 4.4-STABLE some > > time back (change UPAGES from 2 to 3 in the kernel) so that the kerne

Re: userland program panics freebsd 4.3

2001-12-23 Thread David Malone
> I did this, and instead of crashing in 15 ins, its still running after 3 > hours. > I will rerun tests and report back. > Thanks for the suggestion (now, if I cvsup RELENG_4_3 do I get the OLD > param.h?) I think with cvsup you will get the old one back again. If you use cvs it would preserve t

Re: [nicole@unixgirl.com: What is biord?]

2002-01-16 Thread David Malone
On Wed, Jan 16, 2002 at 02:18:25PM -0800, Josef Grosch wrote: > I have a mysql database that seems slow and when looking at it in top it > always seems to be in a state of biord > What the heck is biord I can't find this anywere 22:21:gonzo 3% fgrep biord /usr/src/sys/kern/* /usr/src/sys/kern/v

<    1   2   3   >