"make world" log parser

2000-01-11 Thread Bill Fenner
I often want to know where in a "make world" I am, so I wrote this quick little script. It breaks out the major sections, like -- >>> Cleaning up the elf obj tree -- and the

Problems installing FreeBSD 4.0 20000125-CURRENT

2000-01-27 Thread Bill Fenner
Hi, I installed 4.0 2125-CURRENT last night on a new box, and had several problems that I wanted to share: 1. sysinstall forgot to write my hostname to /etc/rc.conf . I had gone into the options menu and selected "DHCP"; when I picked my network interface it looked for and found a DHCP s

Re: With feature freeze being in place

2000-01-27 Thread Bill Fenner
>Test IPv6 support! You've all been asking for it, test it. Is there a quick primer on getting IPv6 up and running? I built a kernel with INET6 and the ipsec stuff, and my interfaces now have IPv6 addresses, but no userland apps seem to be able to parse IPv6 addresses, e.g. "ping ::1" says "no

Re: With feature freeze being in place

2000-01-27 Thread Bill Fenner
>Also, usual tools, rlogin, rlogind, rsh, rshd, telnet, >telnetd, ftp, ftpd, and inetd are already IPv6 capable. Hm. rlogin and rsh attempt to connect, but my inetd isn't listening; do I have to update inetd.conf to get inetd to listen on IPv6 addresses? telnet can't parse ::1: emachine% teln

Re: Problems installing FreeBSD 4.0 20000125-CURRENT

2000-01-27 Thread Bill Fenner
>In this case, I actually assume that the DHCP server will be providing >the host name In my case (which I think might actually be fairly common), the DHCP server doesn't provide a hostname. In this case, I type in a hostname which gets later ignored and sysinstall doesn't write anything to rc.

Re: Problems installing FreeBSD 4.0 20000125-CURRENT

2000-01-27 Thread Bill Fenner
>Right. I've seen this when I hit Enter rapidly twice at the first >loader prompt. Doesn't ever happen if I wait for the second >prompt. That's my impression too -- I've seen it on my laptop when I do that (sometimes), and I may have hit enter twice rapidly on this reboot. Bill To Unsubsc

Re: openssh question

2000-03-06 Thread Bill Fenner
>Second, how does one specify options on the command line? In ssh >1.2.x, I say ssh -o ForwardX11=yes, but that doesn't work in OpenSSH. >Bug or feature? Browsing the source, it looks like "ssh -o 'ForwardX11 yes'" should work. Both ssh and openssh define -o as: -o 'option'

Re: IPv6: can a link-site (or global) address be configured in rc.conf?

2000-03-06 Thread Bill Fenner
Bruce is right that machines expect to learn their prefixes from their local router; however if you're just playing around you might want to set it yourself. The easiest way I've found to do this is to say that this machine is a router: # sysctl -w net.inet6.ip6.forwarding=1 net.inet6.ip6.forwa

Re: So, AGAIN, why was tcpdump moved?

2000-03-31 Thread Bill Fenner
Just out of curiosity, why is there an "AGAIN" in the subject line, since this is the first email I've gotten on the subject? tcpdump is capable of decrypting ESP, if you give it the key and if it's linked with libcrypto. Since IPSEC is part of FreeBSD, and libcrypto is part of FreeBSD, I figur

Re: So, AGAIN, why was tcpdump moved?

2000-03-31 Thread Bill Fenner
>That said, isn't there some way we could build it twice, once for the >crypto dist and once for the bindist? That would mean that the crypto >distribution copy simply blops over the bin distribution version if >selected and POLA is fully obeyed. Sounds perfectly reasonable to me. I'd be happy

Re: gratuituous arp for multiple IP addresses

2000-05-07 Thread Bill Fenner
FreeBSD 4.0-RELEASE does the gratuitous ARP when ifconfig'ing an alias: fenestro# ifconfig de1 1.2.3.5 alias 18:35:47.269471 0:40:5:42:d6:de Broadcast arp 42: arp who-has 1.2.3.5 tell 1.2.3.5 FreeBSD 3.4-STABLE also does: mango# ifconfig xl0 135.197.2.250 netmask 255.255.255.255 alias 18:39:12

Re: gratuituous arp for multiple IP addresses

2000-05-07 Thread Bill Fenner
>By "gratuituous arp" I was really saying "gratuitous arp reply". >The machine needs to send a packet of the type > > arp reply 1.2.3.5 is-at 0:40:5:42:d6:de The ARP processing specified in RFC 826 says that if you have an entry for the source IP address you update the hardware address no matt

Re: trafshow doesn't work?

2000-07-20 Thread Bill Fenner
I guess this is http://www.tcpdump.org/cgi-bin/cvsweb/libpcap/inet.c?r1=1.25&r2=1.26 The easiest thing to do is probably cvs import their rev 1.26 of inet.c . Shall I do this? Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: trafshow doesn't work?

2000-07-20 Thread Bill Fenner
This should be fixed by rev 1.1.1.5 of src/contrib/libpcap/inet.c . Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: postfix fails to start

2001-09-10 Thread Bill Fenner
The testing I've done shows that postfix is buggy in two ways: - The main() in inet_addr_local.c assumes that the addresses in addr_list and mask_list are sockaddrs, but this is only true when using IPv6. This only affects testing with -DTEST. - inet_addr_local() calls inet_addr_list_append(..

Re: libutil.so.3: Undefined symbol "__stdoutp"

2001-09-24 Thread Bill Fenner
>Read UPDATING. Having an old libc.so.4 in /usr/lib is not in UPDATING. (Perhaps it should be...) >You have an old libc.so.4. You can have it updated >automatically by adding "COMPAT4X=yes" into /etc/make.conf. For now: > ># echo "COMPAT4X=yes" >> /etc/make.conf ># cd /usr/src/lib/compat >#

Re: panic on mount

2001-09-24 Thread Bill Fenner
I also started getting this error with recent kernels (in the last day or so). Mounting root from ufs:/dev/ad0s1a panic: lock (sleep mutex) vnode interlock not locked @ /usr/src/sys/kern/vfs_default.c:460 Debugger("panic") Stopped at Debugger+0x44: pushl %ebx db> t Debugger(c03c5bbb) at

Re: Panic at vlan_input()

2001-10-05 Thread Bill Fenner
I think this is a bug in the loadable VLAN code; there's a != which should be an ==, which results in packets with known tags being discarded and would result in packets with unknown tags causing a null pointer dereference. I'll commit a fix soon as soon as I've tested it more. Bill To Unsub

Re: panic at shutdown

2001-11-04 Thread Bill Fenner
>2. cvsup to r1.96 of tty_cons.c, which should fix this, but due to lack > of testers and the inability to reproduce it here, is unverified. I've been testing it, and haven't had any panics, but since the panic was irregular anyway it's hard to say that it's fixed. Bill To Unsubscribe: sen

Re: latest -current broke netscape's name lookup?

2001-11-04 Thread Bill Fenner
awk does not copy input lines to its output unless asked; you can ask with either an explicit "print" or an empty action. Using an input file like: gibberish stuff this doesn't match here is some garbola I don't want this file in the ouptut here's some more stuff and another line and another an

Re: Generating host.conf for backward compatibility

2001-11-05 Thread Bill Fenner
Can we move this multi-line stuff above the "Doing initial network setup:" echo? It makes the echo -n stuff printed afterwards look dumb -- right now, we see: Doing initial network setup: Generating /etc/host.conf for compatibility hostname domain. The "hostname domain" are somewhat orphaned.

Re: libutil.so.3: Undefined symbol "__stdoutp"

2001-09-24 Thread Bill Fenner
OOPS. That's what I get for just looking individual bits of the tree. Of course, ru not only removed the code from the compat/compat4x.i386/Makefile but also added some to compat/Makefile to work [better] for everything. Sorry for any confusion I introduced. Bill To Unsubscribe: send mail t

Re: xl0 lock order reversal

2001-07-30 Thread Bill Fenner
This lock order reversal is not a problem. See http://www.geocrawler.com/lists/3/FreeBSD/147/50/6267627/ for the meta-issue of witness being too verbose; I'd post URL's for the followup discussion but there wasn't any. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre

RE: Lock order reversals that aren't problematic

2001-07-30 Thread Bill Fenner
>...since a lock order reversal means that you can get in a deadlock... Argh, of course. It's only not problematic if it's a uniprocessor and it doesn't take an interrupt at the wrong time. Sorry for being dense, I'm still used to spl() =) Bill To Unsubscribe: send mail to [EMAIL PROTECTED

Lock order reversals that aren't problematic

2001-07-26 Thread Bill Fenner
I'm curious what the long-term plan is for witness(4). For example, it complains about BPF and device locks being reversed when BPF takes the device out of promiscuous mode -- lock order reversal 1st 0xc04c1560 bpf global lock @ /usr/src/sys/net/bpf.c:365 2nd 0xc1302b88 dc1 @ /usr/src/sys/pci

Re: current kernel build fails with src/sys/kern/sys_socket.c v 1.34 2001/07/25 20:14:59 fenner

2001-07-25 Thread Bill Fenner
You must have updated in the middle of the commit. Make sure you have rev 1.38 of src/sys/net/route.h . Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Today's Make World

1999-01-17 Thread Bill Fenner
In message <199901171000.maa16...@greenpeace.grondar.za> Mark Murray wrote: >OK - but losing stdio.h?? :-) That confuses the crap out of me. Anyone >been screwing with build tools? Uh, the failing command in my log file included "-nostdinc"; that does a good job of hiding friends like stdio.h...

Re: Today's Make World

1999-01-17 Thread Bill Fenner
The one that failed: cc -c -nostdinc -O -pipe -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -DPIC - fpic -I/usr/obj/usr/src/gnu/usr.bin/perl/perl -DPERL_CORE -DLIBC="" DynaLoader.c The one that succeeded: cc -c-DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -DPIC -fpic -I/usr/obj/us r/src/gn

Re: T/TCP in FreeBSD-3.x

1999-01-22 Thread Bill Fenner
In message <36a85ef1.444a...@urc.ac.ru> you write: >Why I'm asking about this, is because I recently read an advice in one >of the FreeBSD mailing lists, >about "Why my dial-up PPP connection from a FreeBSD box is so slow >comparing with Windows NT >(about ten times slower)?" > >And the advice was

Re: panic: soaccept: !NOFDREF

1999-01-29 Thread Bill Fenner
In message <19990129103757.a...@nagual.pp.ru>you write: >I saw it several times with very recent -current Is your machine getting a lot of incoming connections? I'd like to try to replicate this. If it's a problem for you you can try reverting rev 1.52 of /sys/kern/uipc_socket.c . Thanks, Bill

Re: Network/ARP problem? Maybe pn driver?

1999-01-29 Thread Bill Fenner
Can you run a "tcpdump arp" on the machine that is having the problem, as well? This could help to determine if it's a driver problem (e.g. if the replies don't show up) or an ARP problem (e.g. if the replies do show up but arp doesn't use them). Bill To Unsubscribe: send mail to majord...@fre

Re: Network/ARP problem? Maybe pn driver?

1999-01-29 Thread Bill Fenner
Big Clue. Run "tcpdump -p" and see if the problem doesn't go away. ("tcpdump" puts the card in promiscuous mode, "tcpdump -p" does not). Bill To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message

Re: Weird piecemeal reads over socketpair() pipe breaks up small writes into even smaller reads.

1999-02-14 Thread Bill Fenner
How about a 1-line fix: Index: uipc_usrreq.c === RCS file: /home/ncvs/src/sys/kern/uipc_usrreq.c,v retrieving revision 1.37 diff -u -r1.37 uipc_usrreq.c --- uipc_usrreq.c 1998/10/25 17:44:51 1.37 +++ uipc_usrreq.c 1999

Re: Weird piecemeal reads over socketpair() pipe breaks up small writes into even smaller reads.

1999-02-15 Thread Bill Fenner
Isn't it easier to reclassify the bug as "uipc_send() wakes up the reader before it's done appending the data from a write() to the socket buffer" and use my patch? I don't think it makes sense for uipc_send() to depend on sorwakeup() not actually waking up anyone in certain situations. Bill T

Re: cvs commit: src/sys/netinet if_ether.c

2003-01-24 Thread Bill Fenner
>hsu 2003/01/16 23:59:35 PST > > Modified files: >sys/netinet if_ether.c > Log: > SMP locking for ARP. I just got: lock order reversal 1st 0xc0436078 arp mutex (arp mutex) @ /usr/src/sys/netinet/if_ether.c:151 2nd 0xf800a0668ef0 radix node head (radix node head) @

Re: Heads up! config(8) changes..

1999-04-27 Thread Bill Fenner
> - complain if a device is specified twice (eg: 2 x psm0) Does this work for pseudo-devices also (i.e. can bin/9931 get closed)? Bill To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message

perl wrapper and PATH

2002-06-07 Thread Bill Fenner
I know that the specific mergemaster issues have been addressed, but I thought this experience pointed out something subtly astonishing, so I figured I'd point it out. I ran mergemaster, and the perl wrapper started complaining that I needed to install perl, so I did "pkg_add -r perl". The port

libpcap vs. up-to-date Re: i386 tinderbox failure

2002-06-20 Thread Bill Fenner
Ok, so I broke world. What I don't get is how -- why doesn't the build use the up to date includes? Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: libpcap vs. up-to-date Re: i386 tinderbox failure

2002-06-20 Thread Bill Fenner
And the answer is... it only uses the includes if you commit them to the FreeBSD repository instead of your local repository. Pointy hat to: fenner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: kern_timeout.c msg "Expensive timeout(9) function: 0xc026f3ec(0xc4067800) 0.006773207"

2002-09-10 Thread Bill Fenner
I've seen the scrn_timer() one too: Expensive timeout(9) function: 0xc049b3f0(0xc0657200) 0.003659743 c049b3f0 t scrn_timer as well as uma_timeout(). Expensive timeout(9) function: 0xc047c6b0(0) 0.002146136 c047c6b0 t uma_timeout Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "u

Re: Who broke sort(1) ?

2002-09-24 Thread Bill Fenner
Here's my suggested fix: stash% pwd /usr/src/gnu/usr.bin/sort stash% cvs diff -uN cvs diff: Diffing . Index: posixver.c === RCS file: posixver.c diff -N posixver.c --- /dev/null 1 Jan 1970 00:00:00 - +++ posixver.c 24 Sep 200

Re: Who broke sort(1) ?

2002-09-24 Thread Bill Fenner
>Please, no. They do the right thing. I guess there are varying definitions of what the right thing is. I don't think it's widely known that the +/- syntax was obsoleted. I am vaguely a standards weenie and I didn't know. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Who broke sort(1) ?

2002-09-24 Thread Bill Fenner
>Until "sh", "make", "tar", and so on also drop behaviours that are >not specified by POSIX, it's really silly to make "sort" drop them. It's not that the +x/-y argument syntax is not specified - it's that it's specifically disallowed. (I disagree with that restriction, but let's at least have

Re: Who broke sort(1) ?

2002-09-24 Thread Bill Fenner
>It's not like people didn't have nine years' advance warning to fix >their scripts. When's the first time the FreeBSD sort(1) man page mentioned that this syntax was deprecated? Can we at least start from there? Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-

Re: Who broke sort(1) ?

2002-09-24 Thread Bill Fenner
I think a lot of people would be happier if we could maintain backwards compatability (and document the fact that they're extremely obsolete) for a few more releases. Despite the fact that the main UNIX reference that I use was published in 1984, I don't actually want everything to stay the same

libfetch(3) patch for SSL

2002-10-29 Thread Bill Fenner
Turns out my writev patch for fetch broke SSL, since it could create iov[0].iov_len = 0, which would cause SSL_write(..,0), which would return 0, which would look like a short write and cause an error, which then gets ignored by http.c . Ignoring the bigger picture of the error checking, this fix

Re: libfetch(3) patch for SSL

2002-10-29 Thread Bill Fenner
I was working on (wlen == 0 && iov->iov_cnt != 0) for a while, thinking that it would work in both cases, even though the logic is a little weird in the writev case, but it would fail in the race where the connection closed at the same time as the writev() with the zero length iov_len. Bill To

rc.d and sysctl.conf

2002-10-30 Thread Bill Fenner
/etc/rc runs /etc/rc.sysctl twice: one "early", after mounting filesystems, reseeding the random number generator and adding a swap file, and before running rc.serial, rc.pccard, rc.network. one "late", after network_pass4 but before raising the securelevel. This was added in response to http:/

Re: crash with network load (in tcp syncache ?)

2002-11-01 Thread Bill Fenner
sonewconn() hands sofree() a self-inconsistent socket -- so->so_head is set, so so must be on a queue, but sonewconn() hasn't put it on a queue yet. Please try this patch. Bill Index: uipc_socket2.c === RCS file: /home/ncvs/src/sys

Re: ypbind doesn't work right on freshly installed machines

2002-11-01 Thread Bill Fenner
This is fixed in my WIP on rc.d . I'm more or less ready for wider review; I especially need review of the atm and diskless changes. Bill http://people.freebsd.org/~fenner/rc.d.diff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: ypbind doesn't work right on freshly installed machines

2002-11-01 Thread Bill Fenner
BTW, /etc/rc.network never tried to save you from rpcbind_enable=NO nis_client_enable=YES so it may be a mistake for /etc/rc.d/* to try to. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: ypbind doesn't work right on freshly installed machines

2002-11-01 Thread Bill Fenner
Oops, you're right, I was looking too closely =) Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: crash with network load (in tcp syncache ?)

2002-11-01 Thread Bill Fenner
>I think this can still crash (just like my patch); the problem is in >what happens when it fails to allocate memory. Unless you set one of >the flags, it's still going to panic in the same place, I think, when >you run out of memory. No. The flags are only checked when so_head is not NULL. so

Re: crash with network load (in tcp syncache ?)

2002-11-02 Thread Bill Fenner
Terry, I think most of your 9k of reasoning is based on the thought that soreserve() allocates memory. It doesn't, and never has. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: crash with network load (in tcp syncache ?)

2002-11-02 Thread Bill Fenner
Michal, Alan Cox pointed out to me that backing out to using sodealloc() instead of sotryfree() is probably a better fix anyway - it solves the panic in more or less the same way as mine, but it backs the code out to be the same as it's been for years -- a much more well-tested fix =) He commi

Re: crash with network load (in tcp syncache ?)

2002-11-02 Thread Bill Fenner
I really don't understand why you keep claiming that the SYN cache changes anything. Without the SYN cache, tcp_input() calls sonewconn(so, 0) on receipt of a SYN; with the SYN cache, tcp_input() calls some syncache function which calls sonewconn(so, SS_ISCONNECTED) on receipt of a SYN/ACK. In e

Re: fetch: multiple choices

2002-11-21 Thread Bill Fenner
>What on earth does this mean? > >>> mrtg-2.9.26b.tar.gz doesn't seem to exist in /tmp/distfiles/. >>> Attempting to fetch from >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/. >fetch: mrtg-2.9.26b.tar.gz: Multiple Choices It means the web server is behaving oddly. Here's a patch that give

Re: Make regression tests and 4.x cross-builds

2002-11-29 Thread Bill Fenner
>The sparc64 tinderbox is running a stale world (about 3 months old), >so it's hitting the same problem. I'm running a not-so-stale world (19 days old) and hitting the same problem. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the messa

Re: Make regression tests and 4.x cross-builds

2002-11-29 Thread Bill Fenner
One of the big problems is that install gives a bogus error message when it can't unlink /usr/bin/make because it's non-root. Since there's no way that I'm going to suggest changing install's behavior this late in the release cycle, can we at least make buildworld's "make" target ensure that you'r

sysinstall and serial consoles

2002-12-11 Thread Bill Fenner
I installed 5.0-RC1 on a Sun Ultra-60 a couple of days ago. The biggest problem that I ran into was terminal emulation inside sysinstall. I normally do most tasks inside screen, so I tried selecting the vt100 emulation (since that's what screen tries to be). However, it uses something that screen

Re: sysinstall and serial consoles

2002-12-11 Thread Bill Fenner
screen(1) says "Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from the ISO 6492 ... and ISO 2022 standards ...". I took that to mean that it provides a vt100 interface. That's also been my experience in the last 8 years of using

Re: sysinstall and serial consoles

2002-12-12 Thread Bill Fenner
>I meant sysinstall generating cons25 output. But there were recently a >lot of terminfo changes that may have caused this. Oh. sysinstall asked if I wanted ANSI, vt100, cons25, something else related to FreeBSD console, or xterm. Most of those options were wrong, which is the bug that I think

Re: Renumber IPPROTO_DIVERT

2002-12-12 Thread Bill Fenner
>Was /etc/protocols maybe simply forgotten in the 10/29/02 change? Yes. Does changing it to 258 work? Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: libusb build broken due to structure member renaming

2002-02-25 Thread Bill Fenner
You could use http://people.freebsd.org/~fenner/__FreeBSD_version.html to find an already-existing value of __FreeBSD_version to test based on the date of the original change. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Broken (?) unistd.h

2002-02-26 Thread Bill Fenner
Here's a patch for bind's port/freebsd/include/port_before.h . --- port_before.h.orig Tue Feb 26 20:57:35 2002 +++ port_before.h Tue Feb 26 21:02:18 2002 @@ -15,6 +15,7 @@ #define SETPWENT_VOID #endif +#include #include #define GROUP_R_RETURN struct group * @@ -26,8 +27,13 @@ #d

Re: controversial fix or some errors breaking LINT

2002-02-27 Thread Bill Fenner
>No. Leave it in, this will benifit us all in the long run. Until we start hitting the broken/buggy warnings, which will cause people to write more obfuscated or harder to maintain code in order to avoid the warnings. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre

Re: Serial break into debugger broken from 'cu' on -CURRENT?

2002-03-10 Thread Bill Fenner
FreeBSD stash.attlabs.att.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Mar 8 18:16:53 PST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STASHNOV6 i386 responds to a break from a Cisco terminal server, invoked by /usr/ports/comms/conserver: FreeBSD/i386 (stash.attlabs.att.com) (ttyd0) logi

Re: b_to_q to a clist with no reserved cblocks

2002-03-15 Thread Bill Fenner
>I don't know exactly what causes the b_to_q message. It is most likely >a race in close. You can first-open tty's that are blocked in last-close, >and having this open succeed is very important for unblocking the close >usi9ng "comcontrol /dev/foo drainwait ", but the tty system doesn't >seem

Re: -current lock warning...

2002-03-16 Thread Bill Fenner
> Although I am still getting the following lock problems when I shut > the system down: > > lock order reversal > 1st 0xc036afc0 allproc @ ../../../kern/vfs_syscalls.c:452 > 2nd 0xc7ecce34 filedesc structure @ ../../../kern/vfs_syscalls.c:457 I've been seeing this since Feb 4. Bill To Uns

Re: Last round of sendmail startup changes in place

2002-04-05 Thread Bill Fenner
BTW, not that this is particularly related to startup scripts, but -- I found it quite frustrating that due to a transient failure at submission time, my mail went into /var/spool/clientmqueue, for which you have to use "mailq -Ac", which is pretty much completely undocumented. It turned out OK

Re: Last round of sendmail startup changes in place

2002-04-11 Thread Bill Fenner
>Masquerading shouldn't need to be in submit.mc either -- the MTA should do >any masquerading. The only catch here is for people who may be using >limited masquerading and not masquerading the fully qualified hostname of >submitted mail. Some broken tests made me think that the MTA wouldn't mas

Re: savecore

2002-04-20 Thread Bill Fenner
Yes, I'm in favor of going back to the simple sequence number too. I don't understand the advantage of the MD5. While you're in there, could you put back minfree checking too? That bit me pretty badly today, with savecore filling up my /var because it doesn't care about minfree. Bill To Unsub

Re: PAM & OpenSSH: two incorrect "last login"

2002-04-21 Thread Bill Fenner
While you're in here, does it make sense to use strftime() instead of printing just a portion of what ctime returns? This would allow i18n of the time format if desired (and if the locale is set this early -- maybe this is just a can of worms =). Bill To Unsubscribe: send mail to [EMAIL PROT

Re: PAM & OpenSSH: two incorrect "last login"

2002-04-22 Thread Bill Fenner
>Might, might not. ISTR strftime() can't correctly emulate ctime(), >but some other format might be preferrable. Do you have a format >string handy? I'd think something like what "last" does would be good. d_first = (*nl_langinfo(D_MD_ORDER) == 'd'); ... (void) strftime(ct,

Re: clock drift in -CURRENT

2002-05-01 Thread Bill Fenner
I had the same symptoms (drifting about 2 minutes an hour) on sources before April 17 or so. Since then, ntpd has only logged 5 time updates, as opposed to 3 per hour. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Some ports fail on -current because ${BINOWN} and ${BINGRP} seems to be not defined

2002-05-11 Thread Bill Fenner
This is presumably fallout from the /usr/share/mk rearrangement, but rev 1.306 of /usr/share/mk/bsd.port.mk should fix this. Oh, hey, are the failing ports all ones that use bsd.port.pre.mk and bsd.port.post.mk? I guess bsd.port.pre.mk needs the same fix as bsd.port.mk does. Bill To Unsubsc

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-15 Thread Bill Fenner
gcc 3.1 simply defaults to unsigned chars. 127 << 1 = 254; 254 / 2 = 127. My machine is too slow to test this expeditiously, but I'm trying adding "#define DEFAULT_SIGNED_CHAR 1" into freebsd-native.h . Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" i

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-15 Thread Bill Fenner
Duh. Sometimes I wish I had the patience to wait for my tests to complete before sharing my guesses. I jumped to a wildly incorrect conclusion; gcc 3.1 still defaults to signed chars. Sorry for the bizarre misdirection. Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-15 Thread Bill Fenner
> So - yes - it seems gcc 3.1 does have a problem... Indeed - easily determined by breaking down the expression. So, who's gonna report it to gcc-bugs? knu?... int main() { unsigned char i = 127; char j; printf("%d\n", ((char)(i << 1))); j = ((char)(i << 1)) / 2; printf("%d\n"

Re: moused(8): char signed-ness problem with gcc 3.1

2002-05-16 Thread Bill Fenner
>Specifically what is the problem? Given the program below, take the >ISO-C spec and explain the problem. Or even w/o the spec -- I haven't >been reading this thread. > > int > > main() > > { > >unsigned char i = 127; > >char j; > > > >printf("%d\n", ((char)(i << 1))); This print