Re: Heh heh, humorous lockup

1999-07-07 Thread Peter Jeremy
David Greenman wrote: Yes, I do - at least with the 512MB figure. That would be half of the 1GB KVA space and large systems really need that space for things like network buffers and other map regions. Matthew Dillon [EMAIL PROTECTED] wrote: What would be an acceptable upper limit?

Re: objtrm problem probably found (was Re: Stuck in objtrm)

1999-07-11 Thread Peter Jeremy
Mike Haertel [EMAIL PROTECTED] wrote: Um. FYI on x86, even if the compiler generates the RMW form "addl $1, foo", it's not atomic. If you want it to be atomic you have to precede the opcode with a LOCK prefix 0xF0. I'd noticed that point as well. The top of sys/i386/include/atomic.h _does_

Re: objtrm problem probably found

1999-07-12 Thread Peter Jeremy
Doug Rabson [EMAIL PROTECTED] wrote: We don't need the lock prefix for the current SMP implementation. A lock prefix would be needed in a multithreaded implementation but should not be added unless the kernel is an SMP kernel otherwise UP performance would suffer. Modulo the issue of UP vs SMP

Re: objtrm problem probably found (was Re: Stuck in objtrm)

1999-07-12 Thread Peter Jeremy
Mike Smith [EMAIL PROTECTED] wrote: Although function calls are more expensive than inline code, they aren't necessarily a lot more so, and function calls to non-locked RMW operations are certainly much cheaper than inline locked RMW operations. This is a fairly key statement in context, and

Re: objtrm problem probably found (was Re: Stuck in objtrm)

1999-07-12 Thread Peter Jeremy
Matthew Dillon [EMAIL PROTECTED] wrote: :[1] A locked instruction implies a synchronous RMW cycle. In order :to meet write-ordering guarantees (without which, a locked RMW :cycle would be useless as a semaphore primitive), it implies a :complete write serialization, and probably some

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Peter Jeremy
Doug Rabson [EMAIL PROTECTED] wrote: You might consider looking at the fp emulator which I wrote for the alpha. It should be accurate (I tested against the fpu on an x86) and contains test harness code which can be used to play with it on both x86 and alpha. Anyone interested in working on FP

LOCK overheads (was Re: objtrm problem probably found)

1999-07-13 Thread Peter Jeremy
To expand on this morning's table: i386SX-25 486DX2-50 P-133 PII-266 PIII-450 nproc locks mode 0 1950.23 161.1739.6526.31 9.21 EMPTY mode 1 3340.59 221.7471.7424.4516.48 1 no tight mode 2 3237.57 222.9671.1825.2723.65

Re: LOCK overheads (was Re: objtrm problem probably found)

1999-07-13 Thread Peter Jeremy
Matthew Dillon [EMAIL PROTECTED] wrote: :mode 1 17.99 ns/loop nproc=1 lcks=no :mode 3 166.33 ns/loop nproc=1 lcks=yes ... :This is a K6-2 350. Locks are pretty expensive on them. Wow, now that *is* expensive! The K6 must be implementing it in microcode for it to be that bad. I

Re: Using float emulator on a system with FPU?

1999-07-14 Thread Peter Jeremy
Hi Warner, Without commenting on the need to have an emulator in the kernel, doesn't -msoft-float work faster? Yes it does. The kernel has to emulate an 80x87, giving you the following sequence: a) trap to kernel b) decode FP instruction c) fetch operands - possibly including copyin() d)

Make world broken

1999-07-28 Thread Peter Jeremy
cvs-cur 5518 breaks building libgcc with: c++ -c -I/usr/obj/3.0/cvs/src/tmp/usr/include/g++ -O -pipe -I/3.0/cvs/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/config -I/3.0/cvs/src/gnu/lib/libgcc/../../../contrib/egcs/gc c -I. -fexceptions -DIN_GCC -I/usr/obj/3.0/cvs/src/tmp/usr/include

Re: make.conf on CURRENT question

1999-07-28 Thread Peter Jeremy
"Scot W. Hetzel" [EMAIL PROTECTED] wrote: You'll also want to use: make world -DWANT_AOUT=YES to have the a.out libraries built. You'll also need the a.out X11 libraries, and last time I tried, they built OK, but wouldn't work. Peter To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Broken world

1999-07-28 Thread Peter Jeremy
"David O'Brien" [EMAIL PROTECTED] wrote: from /usr/src/gnu/lib/libgcc/../../../contrib/egcs/gcc/cp/new1.cc:28: /usr/obj/usr/src/tmp/usr/include/g++/exception:9: syntax error before string constant *** Error code 1 This is due to the Bison-Yacc change. I did builds of the

Re: Panic plus advice needed

1999-08-04 Thread Peter Jeremy
Bruce Evans [EMAIL PROTECTED] wrote: Any objections to the patch below? Yes. It bloats the kernel and only fixed one cause of the problem. What are the others..? The only one I can find now is naming the debugging kernel with a name of different length. Also, if your kernel was previously

Re: gnu tar upgrade?

1999-08-16 Thread Peter Jeremy
Alec Wolman [EMAIL PROTECTED] wrote: The version of tar that comes with freebsd (v1.11.2 with local freebsd modifications) has a bug: if you attempt to copy large files ( 2GB) it will silently truncate the large file. ... There is a new version of gnu tar (v1.13) that has support for large files.

RE: Dropping connections without RST

1999-08-17 Thread Peter Jeremy
Geoff Rehmet [EMAIL PROTECTED] wrote: sysctl -d needs fixing. :-) No, sysctl -d needs _implementing_. I've looked into this myself. I brought it up on -hackers in mid-February, and here in early June. "sysctl -d" invokes sysctl({0,5,...},...) (sysctl.c:show_var()). kern_sysctl.c documents

Re: HEADS UP! ATA driver (atapi DMA)..

1999-08-31 Thread Peter Jeremy
David Scheidt [EMAIL PROTECTED] wrote: Almost all fast (12X or so) CD-ROM drives are variable speed. To put this a different way, the data on CD's is stored at a constant lineal density (closely related to the wavelength of the laser). Audio CDs are read using constant-linear-velocity, the

Re: Problems with the latest changes to ifconfig (I guess) - Badguess...

1999-08-31 Thread Peter Jeremy
Ian Whalley [EMAIL PROTECTED] wrote: My card is identified as 3Com 3c905B-TX Fast Etherlink XL. FWIW, I'm running a kernel about 30 hours old with a 3Com 3c905-TX Fast Etherlink XL and I'm not seeing this problem. At a quick quess, something in the miibus support broke the 3C905B support.

Problem with cvs-cur 5642

1999-09-12 Thread Peter Jeremy
This is a bit old because I'm still catching up on a mail backlog... Last Wednesday, CTM reported: 1999-09-08 09:05 checksum: read 31757, calculated 6124 1999-09-08 09:05 cvs-cur.5642.gz 8/8 discarded I've had a look at the piece in question and there's nothing obviously wrong with it. Later

Building PicoBSD

1999-09-14 Thread Peter Jeremy
I'm trying to build a `net' PicoBSD on a -current system and am running into problems that appear to be inside make(1) (and how it imports/exports/treats MAKEFLAGS). I thought I'd try to shrink things by stripping the ISDN and RADIUS support out of ppp (amongst other things), but ppp/i4b.c kept

Re: ports/13729: strip(1) exits with an error on script file - causessevere portability problems

1999-09-15 Thread Peter Jeremy
On Tue, 14 Sep 1999 02:39:23 +1000, Chuck Robey [EMAIL PROTECTED] wrote: (Judging by the headers, this item spent a couple fo days getting from Chuck to hub). This kind of thing, where there is no bug ... where the subject is a request for a new feature, isn't this kind of thing the wrong way for

Re: EGCS, or EGCS?

1999-09-26 Thread Peter Jeremy
Peter Wemm [EMAIL PROTECTED] wrote: Peter Jeremy wrote: I appear to have two complete copies of gcc - one in src/contrib/gcc and another in src/contrib/egcs/gcc. src/contrib/gcc is where gcc used to live. Then along came egcs with a cygnus-style tree that ended up in src/contrib/egcs (v1.1.1

Re: HEADS UP: sigset_t changes committed

1999-09-29 Thread Peter Jeremy
to -current using `make upgrade'. Why should I need to FTP a kernel from another machine to go from 3.x to 4.x? Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015

Re: HEADS UP: sigset_t changes committed

1999-09-29 Thread Peter Jeremy
not backward compatible. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED

Re: HEADS UP: sigset_t changes committed

1999-09-29 Thread Peter Jeremy
patches? Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubs

Re: new sigset_t and upgrading: a proposal

1999-09-30 Thread Peter Jeremy
. This increases the likelihood that it will break -stable. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe

Re: System crash on vinum start

1999-09-30 Thread Peter Jeremy
On Fri, Oct 01, 1999 at 09:20:53AM +1000, Jeffrey J. Mountin wrote: At 12:59 PM 9/28/99 +1000, Peter Jeremy wrote: On Tue, Sep 28, 1999 at 09:11:31AM +1000, Greg Lehey wrote: Good software shouldn't panic. I wish _I_ could convince some people of this :-(. It can be difficult to consider what

Re: HEADS UP: sigset_t changes committed

1999-09-30 Thread Peter Jeremy
special shellscripts with '#!/ibin/sh' or similar, or be explicitly invoked (eg /ibin/sh foo). I don't think this is a real problem. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019

Re: make install trick

1999-10-05 Thread Peter Jeremy
-- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-cu

Re: make install trick

1999-10-05 Thread Peter Jeremy
disk for /tmp. :( Solutions: 1) Use -pipe 2) Don't use softupdates 3) Use a RAMdisk (eg MFS) instead of a physical disk (which makes the previous point irrelevant). I don't recall seeing anyone mention problems like this (though they might be on lists I don't read). Peter -- Peter Jeremy (VK2PJ

Re: make install trick

1999-10-05 Thread Peter Jeremy
and softupdates - it to mount /tmp async. Since you're going to blow it all away on the next reboot anyway, it doesn't really matter if the a crash trashes the FS (which is the major problem with async mounts). Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia

Re: make install trick

1999-10-05 Thread Peter Jeremy
On 1999-Oct-06 11:33:51 +1000, Alfred Perlstein wrote: On Wed, 6 Oct 1999, Peter Jeremy wrote: On 1999-Oct-06 09:55:26 +1000, Alfred Perlstein wrote: I've seen softupdates nearly eliminate disk io for systems that used an abmornal amount of temp files, but the fact that it can destabilize

Re: make install trick

1999-10-06 Thread Peter Jeremy
sentence... Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubs

Re: pfft Re: make install trick

1999-10-06 Thread Peter Jeremy
. My view is that the remainder of the thread has been discussing the relative merits of different ways to avoid the problem. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA

Re: {a}sync updates (was Re: make install trick)

1999-10-06 Thread Peter Jeremy
#!/bin/sh?). Unless you specify NOATIME, each of these read accesses implies an atime update within the inode. Making these synchronous probably would be a big performance hit. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 M

Re: {a}sync updates (was Re: make install trick)

1999-10-07 Thread Peter Jeremy
mount(2,8) and O_FSYNC in open(2) be noted. Only problem is that O_FSYNC isn't documented :-(. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax:

Majordomo problems (Re: The eventual fate of BLOCK devices.)

1999-10-10 Thread Peter Jeremy
sts that I am receiving mail from and the ones that majordomo thinks I am subscribed to. I sent a note to [EMAIL PROTECTED] last Friday, but haven't seen anything back yet (I'm not particularly fussed). Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 4

Re: Proper Whacking Weeding

1999-10-12 Thread Peter Jeremy
installworld. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Deadlock in nbufkv

1999-10-24 Thread Peter Jeremy
in nbufkv, but that was with 64k blocks. Other than that, I can't find any reference to nbufkv here, in the PR list or in the sys commitlogs. Does anyone have any ideas? Should I just go back to 8K/1K blocks? Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited

SCSI CCB timeouts accessing disk

1999-10-24 Thread Peter Jeremy
ideas? Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: SCSI CCB timeouts accessing disk

1999-10-26 Thread Peter Jeremy
On 1999-Oct-25 07:41:59 +1000, I wrote: I've temporarily attached a Seagate ST32151N to a 1542B on a -current system to try and setup the disk for another system. Unfortunately, although the disk reports it is OK, I can't read or write. I finally got it to work by disabling the SYNC negotiation

Re: * $FreeBSD: src/sys/i386/include/atomic.h,v 1.9 1999/10/0416:24:08 peter Exp $

1999-10-26 Thread Peter Jeremy
\ : "cc") #define atomic_add_long(p, v) \ __asm(ATOMIC_LOCK "addl %1,%0" \ : ATOMIC_DEST (*(p))\ : "ir" (v) \

Re: make buildworld problem...

1999-10-27 Thread Peter Jeremy
here is non-trivial - the major problem being that our build process does not adequately differentiate between compiling code that must run now and code that must run with the new kernel. Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 Mandible St

Re: odd NFS behaviour with DU 4.F client

1999-10-28 Thread Peter Jeremy
On 1999-Oct-29 11:03:20 +1000, Matthew Dillon wrote: Unfortunately, we just don't see these sorts of panics on Intel boxes all that much because IA32 allows misaligned accesses. This means there are almost certainly alignment bugs in the code. You can enable user-mode alignment

Re: GENERIC build broken

1999-11-02 Thread Peter Jeremy
On 1999-Nov-03 15:59:38 +1100, Matthew Dillon wrote: :Well, bootp in the kernel has to die too. Huh? And replace it with what? BOOTP is the only way to get an NFS root and swap. Sun uses reverse ARP to do this. Reverse ARP _is_ a hack, but it _is_ an alternative to BOOTP. Peter To

Re: diskless boot roadmap (was:L Re: GENERIC build broken )

1999-11-02 Thread Peter Jeremy
On 1999-Nov-03 16:15:03 +1100, Mike Smith wrote: On 1999-Nov-03 15:59:38 +1100, Matthew Dillon wrote: :Well, bootp in the kernel has to die too. Huh? And replace it with what? BOOTP is the only way to get an NFS root and swap. Sun uses reverse ARP to do this. Reverse ARP _is_

Pageable kernels (was Re: diskless boot roadmap)

1999-11-03 Thread Peter Jeremy
aging code and device drivers associated with the paging devices could be made pageable. In fact, the above all sounds so obvious and simple that I wonder if I'm missing something... Peter -- Peter Jeremy (VK2PJ)[EMAIL PROTECTED] Alcatel Australia Limited 41 M

Re: CTM-deltas generation sptopped ?

1999-11-03 Thread Peter Jeremy
On 1999-Nov-03 23:58:00 +1100, [EMAIL PROTECTED] wrote: There are no new CTM-deltas on 'ctm.freebsd.org' at least 22 hours. The last e-mail delta I have is cvs-cur.5804, which arrived here at 0808UTC (about 5 hours before your message). I would have expected to receive 5805 (or at least

Re: show stopper for Gcc 2.95.2 conversion

1999-11-08 Thread Peter Jeremy
On 1999-Nov-09 05:01:43 +1100, Luoqi Chen wrote: + "=D" (addr), "=c" (count) : + "r" (bsh + offset), "0" (addr), "1" (count) : + "%eax", "memory"); You may use "+D" and "+c" for the in-out operands, "+D"

Re: ambiguity between -STABLE and -RELEASE

1999-11-08 Thread Peter Jeremy
On 1999-Nov-09 09:53:44 +1100, Theo PAGTZIS wrote: If there are bugs that are resolved in 3.3-STABLE then the 3.4-RC should entail NO new functionality even if this is supplemental. This (presumably) means that new functionality should only be introduced at major releases (eg 3.0, 4.0 etc).

panic: nexus_setup_intr: NULL irq resource!

1999-11-11 Thread Peter Jeremy
I'm trying to enable a generic ISA multiport SIO card in -current from just before the signal changes and get presented with the above panic when the first SIO port on the card is attached. Since it seemed to be a problem with the resource allocation, I tried turning on RMAN_DEBUG, but that just

Re: panic: nexus_setup_intr: NULL irq resource!

1999-11-11 Thread Peter Jeremy
On 1999-Nov-12 12:35:01 +1100, Mark Newton wrote: Peter Jeremy wrote: I'm trying to enable a generic ISA multiport SIO card in -current from just before the signal changes and get presented with the above panic when the first SIO port on the card is attached. Well... the first port

Re: Bad 'grep' behaviour in -CURRENT, faulty binary detection?

1999-11-11 Thread Peter Jeremy
On 1999-Nov-12 13:13:54 +1100, Alain Magloire wrote: (On Solaris, you can read() a directory). On any real Unix you can read() a directory - `everything is a file'. Peter To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: FreeBSD security auditing project.

1999-11-23 Thread Peter Jeremy
On 1999-Nov-24 06:35:16 +1100, Kris Kennaway wrote: o unsafe use of the str*(3) functions; strcat/strcpy/sprintf c. I wonder how many instances of the potentially unsafe functions there are in the source tree? :) A 'grep | wc' equivalent over the source tree gives: gets110 strcat

Re: FreeBSD security auditing project.

1999-11-23 Thread Peter Jeremy
On 1999-Nov-24 09:26:26 +1100, David O'Brien wrote: A 'grep | wc' equivalent over the source tree gives: gets110 strcat 2860 strcpy 4717 strncat 167 strncpy1514 sprintf6839 vsprintf133 *ouch* :-) This means nothing out of context. I hope we

Re: FreeBSD security auditing project.

1999-11-23 Thread Peter Jeremy
On 1999-Nov-24 10:21:17 +1100, [EMAIL PROTECTED] wrote: a) This is what an unsafe function call looks like Without checking a lot of the call context, it is very difficult to categorically state that a particular function call is safe or not. As an example, consider the following: foo(const

buildworld across signal changes not quite right

1999-11-23 Thread Peter Jeremy
Thanks to Marcel's latest Makefile.inc1 changes (1.92), a -current buildworld running on an older -current system now progresses much further - in fact it now completes :-). There are, however still a few problems - as far as I can tell, these are all related to the wrong version of perl being

Re: FreeBSD security auditing project.

1999-11-23 Thread Peter Jeremy
On 1999-Nov-24 12:02:59 +1100, Jordan K. Hubbard wrote: I don't see any reason, for example, why anyone should still be using gets() To take gets() as an example, of the 110 occurrences that gid found in -current, the following files contain actual calls to gets() (rather than declarations,

Re: FreeBSD security auditing project.

1999-11-23 Thread Peter Jeremy
On 1999-Nov-24 15:33:14 +1100, Brian Fundakowski Feldman wrote: I'd like to note something. Strcat isn't necessarily unsafe, and strncat() isn't necessarily safe. I wasn't implying that. In fact, I believe the semantics of strncat() put it into the `hard to use correctly' category (or maybe

Re: ST-506, ESDI and BAD144 ?

1999-11-25 Thread Peter Jeremy
On 1999-Nov-26 05:09:20 +1100, Greg Lehey wrote: I don't suppose it would be that big a deal to remove the old driver, but what speaks against leaving it in the tree along with a comment in the GENERIC config file saying "if you use antediluvial disk hardware, you may prefer to use an old driver

Re: Process cleanup (was Shared memory ...)

2000-03-01 Thread Peter Jeremy
On 2000-Mar-02 07:10:39 +1100, Lyndon Nerenberg [EMAIL PROTECTED] wrote: I'm too lazy to look right this second ;-) ... do atexit() functions get run when a process takes (say) a segmentation fault? Nope. If there's no userland signal handler, the process will never return to userland after a

Re: ssh strangeness in -current...

2000-03-06 Thread Peter Jeremy
On Mon, 6 Mar 2000, Oliver Fromme wrote: Apart from my stupidness of not checking the location of the binary first -- what did I do wrong, and what's the recommended way of handling this? Am I supposed to rm /usr/bin/ssh each time I install a new release or snapshot? I can't believe that.

Re: ssh strangeness in -current...

2000-03-07 Thread Peter Jeremy
On Mon, 6 Mar 2000, Oliver Fromme wrote: Apart from my stupidness of not checking the location of the binary first -- what did I do wrong, and what's the recommended way of handling this? Am I supposed to rm /usr/bin/ssh each time I install a new release or snapshot? I can't believe that.

Re: current lockups

2000-03-07 Thread Peter Jeremy
On 2000-Mar-07 06:29:17 +1100, Dave Boers [EMAIL PROTECTED] wrote: It is rumoured that Arun Sharma had the courage to say: Compiling Mozilla with make -j 2 got -current to lock up, twice in succession. I'm running a fairly recent snapshot (a week or two old) on a Dual celeron box (BP6) with

Re: ssh strangeness in -current...

2000-03-07 Thread Peter Jeremy
On 2000-Mar-08 13:55:45 +1100, Oliver Fromme [EMAIL PROTECTED] wrote: I also had to remove /etc/ssh. Somehow, /usr/local/bin/scp seems to pick up data from /etc/ssh and tries to invoke /usr/bin/ssh, no matter what. :-( I can't explain that. My installed-from-ports scp exec's

Re: current lockups

2000-03-06 Thread Peter Jeremy
On 2000-Mar-06 21:39:11 +1100, Matthew Sean Thyer [EMAIL PROTECTED] wrote: My computer had been stable all winter (with setiathome runnning full time) but suddenly come the Australian summer it started freezing. And it's been the coldest summer for something like 5 years... How about these

Re: current lockups

2000-03-06 Thread Peter Jeremy
On 2000-Mar-07 06:29:17 +1100, Dave Boers [EMAIL PROTECTED] wrote: It is rumoured that Arun Sharma had the courage to say: Compiling Mozilla with make -j 2 got -current to lock up, twice in succession. I'm running a fairly recent snapshot (a week or two old) on a Dual celeron box (BP6) with

Re: MAX_UID ?

2000-03-12 Thread Peter Jeremy
On 2000-Mar-13 12:01:03 +1100, Paul Richards [EMAIL PROTECTED] wrote: id = strtoul(p, (char **)NULL, 10); if ((errno == ERANGE) || (id = UID_MAX)) { warnx("%s max uid value (%lu)", p, UID_MAX); return (0); } You can do this now. Just add the following: pid_t

Re: SMP on Alpha?

2000-03-09 Thread Peter Jeremy
On 2000-Mar-10 12:06:18 +1100, Mikhail Teterin [EMAIL PROTECTED] wrote: Will the -current version of FreeBSD run on a multi-CPU axp machine and use all of the CPUs? Not yet, but Real Soon Now. Would that be a reliable box (assuming the admin sometimes knows what he is doing)? -current

Re: MAX_UID ?

2000-03-12 Thread Peter Jeremy
On Mon, 13 Mar 2000 13:07:47 +1100, Paul Richards [EMAIL PROTECTED] wrote: Peter Jeremy wrote: You can do this now. Just add the following: pid_t UID_MAX = ~0; somewhere before the code. I assume you meant uid_t, Ooops, I did :-(. And this should probably be uid_t

Re: Weak symbols in libc_r broken?

2000-03-12 Thread Peter Jeremy
On 2000-Mar-13 14:45:16 +1100, John Birrell [EMAIL PROTECTED] wrote: the linker gives me the weak symbol version which refers to _thread_sys_nanosleep (i.e. the syscall), instead of the nanosleep function in libc_r. Out of interest, why does nanosleep appear in libc_r.a as a weak symbol version

Re: [ID 20000306.004] unpack(NaN) big baddaboom

2000-03-06 Thread Peter Jeremy
On 2000-Mar-07 05:35:04 +1100, Ian Grigg [EMAIL PROTECTED] wrote: my $packed = "\0\0\xc0\x7f"; print STDERR "len: ", length($packed), " bytes: ", unpack("H*", $packed), "\n"; my $float = unpack("f", $packed); print STDERR "float done\n"; print STDERR "float: $float\n"; Looking at the resultant

Re: MAX_UID ?

2000-03-13 Thread Peter Jeremy
On 2000-Mar-14 15:42:52 +1100, Bruce Evans [EMAIL PROTECTED] wrote: On Tue, 14 Mar 2000, Giorgos Keramidas wrote: On Mon, Mar 13, 2000 at 05:28:47PM +1100, Bruce Evans wrote: ... #define isschar(type) (!isfloat(type) issigned(type) sizeof(type) == 1) This is marvellous in it's

Re: 4.0R ?

2000-03-14 Thread Peter Jeremy
At 19:05 03/13/2000 +, Ben Smithurst wrote: I saw the RELENG_4 tag in my cvsup log, but I don't think that's the same as the 4.0 release tag is it? That would be RELENG_4_0_0_RELEASE surely. That's correct. RELENG_4 is the 4.x-STABLE branch. At some point, Jordan will create a

Re: panic during make depend

2000-03-15 Thread Peter Jeremy
On 2000-Mar-16 15:04:00 +1100, Donn Miller [EMAIL PROTECTED] wrote: Basically, gcc is a very good compiler. But, it isn't exactly the best compiler to use for optimization. Someone told me that Sun's and DEC's compilers, for example, blow away gcc in terms of speed. But, they aren't portable.

Re: Neat kernel development environment.

2000-04-04 Thread Peter Jeremy
On Sat, Apr 01, 2000 at 04:32:36AM +1000, Matthew Dillon wrote: I can just see all the coolness seeping out. Now guys, we have to have as a goal something at least as comparable as what IBM did with one of their mainframes. Oh, say, lets shoot for being able to run 4000 copies

Re: Using packed structs to gain cheap SMP primatives

2000-04-05 Thread Peter Jeremy
On Fri, Mar 31, 2000 at 12:50:51AM +1000, Alfred Perlstein wrote: What I'm calling for is a vote if we'll rely on this type of behavior (32 bit stores being atomic with respect to readers) or not, or perhaps to rely on it but mark it somehow so people can "fix it" if the need arises later by

Re: Kernel trace question (kernel doesn't compile _without_ -O)

2000-04-05 Thread Peter Jeremy
On Wed, Mar 29, 2000 at 04:44:08AM +1000, David Gilbert wrote: Also... I have noticed that several modules don't want to compile in the kernel without -O, including kern_synch.c (undefined reference to __cursig) and atomic.c (inconsistent operand constraints in an `asm'). I am aware of problems

Re: Sysctl

2000-04-12 Thread Peter Jeremy
On Tue, Apr 04, 2000 at 06:43:03PM +1000, Omachonu Ogali wrote: I don't know whether to hand this to -doc or here, so I'll take the risk of here, patch simply adds comments to sysctl variables. Before you get too enthusiastic about adding description strings to the declarations, you might like

Re: MLEN and crashes

2000-04-13 Thread Peter Jeremy
On 3/04, John Polstra wrote: [don't allocate big structs on kernel stack] Many years ago, I wrote a tool that analysed stack requirements by parsing the assembler output from the compiler. It determined the stack frame requirements and built a call flow graph to determine total stack depth.

Re: Problems with MAKEDEV.

2000-04-14 Thread Peter Jeremy
On 2000-Apr-14 20:43:12 +1000, Ashley Penney [EMAIL PROTECTED] wrote: It seems that the MAKEDEV script only makes up to ad3, but my disks are on ad4/ad5 (ATA-66, Abit BP6). "MAKEDEV all" is designed to create a generic set of devices that covers most situations. It _doesn't_ cover all

Re: Problems with MAKEDEV.

2000-04-14 Thread Peter Jeremy
On 2000-Apr-14 22:49:40 +1000, Steve Ames [EMAIL PROTECTED] wrote: That's always struck me a bit odd... I thought 'MAKEDEV std' made the generic set of devices and that 'MAKEDEV all' should make... well.. _ALL_. *shrug* What do you define as `all'? Say I have a big FTP server with 8 wide SCSI

Re: MLEN and crashes

2000-04-15 Thread Peter Jeremy
On 2000-Apr-14 23:40:53 +1000, Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Peter Jeremy write s: Many years ago, I wrote a tool that analysed stack requirements by parsing the assembler output from the compiler. ... Commit it either as a general tool or as a kernel

Re: FreeBSD Build status

2000-04-17 Thread Peter Jeremy
On 2000-Apr-18 08:07:45 +1000, "Jordan K. Hubbard" [EMAIL PROTECTED] wrote: As for the lists being tedious and long: I've sorted the content by relevance, and it was my hope that over time they would shrink to zero if we annoyed people enough with them. I think that's too much annoyance,

Re: asm_pci.h,v Holy cow!

2000-04-27 Thread Peter Jeremy
On Tue, Apr 25, 2000 at 09:48:18PM +1000, Sheldon Hearn wrote: If that's the _only_ point, then Garrett Wollman's idea should work perfectly. Stick the files under CVS, just agree that they should never be revised, but rather that new versions should be imported in a different directory and the

Re: OpenSSL asm optimizations

2000-04-27 Thread Peter Jeremy
On Fri, 21 Apr 2000, Kris Kennaway wrote: OpenSSL includes asm code for several platforms to speed up various operations. Currently we don't build any of this - the attached patch turns on asm code for Pentiums and above (it relies on an uncommitted patch to sys.mk which defined MACHINE_CPU

Re: mktemp() patch

2000-06-18 Thread Peter Jeremy
As one of the proponents of the change, my apologies for not taking part in this thread earlier - I am way behind in my reading of most of the lists. On Thu, Jun 08, 2000 at 11:11:42AM +1000, Kris Kennaway wrote: Instead of using only alphabetic characters, the patch uses the following character

Re: mktemp() patch

2000-06-18 Thread Peter Jeremy
On 2000-Jun-19 12:03:40 +1000, Warner Losh [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] "Jeroen C. van Gelderen" writes: : Pseudo random numbers are so cheap (or they should be) that you : just don't want to try and 'optimize' here. It is much better to : be conservative and use a good

Re: cvs commit: src/sys/contrib/softupdates softdep.h ffs_softdep.c

2000-06-22 Thread Peter Jeremy
On 2000-Jun-22 15:22:12 -0500, Chris Dillon [EMAIL PROTECTED] wrote: I think it would be a very good idea to enable softupdates by default when a new filesystem is created. Modify newfs to do this and use tunefs only if you want to _disable_ softupdates on a filesystem. My only concern with

Re: dc driver and underruns (was: Strangeness with 4.0-S)

2000-07-19 Thread Peter Jeremy
On Fri, Jul 14, 2000 at 08:46:40AM +0200, Wilko Bulte wrote: That theory is not correct, I have seen multiple Alpha machines reporting buffer underruns as well. No ATA disk in sight there.. I get the same thing on AS4000/AS4100 machines running Tru64. I'm inclined to believe it's a design flaw

Getting from 5.1-RELEASE to RELENG_5_1

2003-08-20 Thread Peter Jeremy
I am looking at moving various hosts from 4.x to 5.1 but have run into a problem with my test machine. I've successfully installed 5.1-RELEASE (from CD) but want to rebuild the system to customise it to its environment. The machine in question does not have enough local disk space to hold both

Re: cvsup failing with ASSERT failed

2003-08-27 Thread Peter Jeremy
On Tue, Aug 26, 2003 at 11:02:08PM -0500, [EMAIL PROTECTED] wrote: A couple of times, now, on both FBSD-5.1-CURRENT and FBSD-4.8-STABLE whilst running with 2MB of RAM, cvsup has croaked with the following error: Out of interest, how do you get either 4.x or 5.x to run in 2MB? I found running

Re: aac related panics

2003-08-30 Thread Peter Jeremy
On Fri, Aug 29, 2003 at 10:54:10PM -0500, Chip Norkus wrote: My company is working on a new hosting infrastructure, and I'd like to use FreeBSD if possible, so any help at all would be greatly appreciated as we plan to use these machines for some time. Note that 5.x is not yet production

Re: .fsck_snapshot file

2003-09-02 Thread Peter Jeremy
On Tue, Sep 02, 2003 at 08:27:00AM +0200, Christoph Kukulies wrote: I have a file .fsck_snapshot in /usr (of 7 GB ?!) -r 1 root wheel 7220781056 Aug 22 18:08 .fsck_snapshot The '7GB' does not mean you'll free up 7GB of disk space by freeing it. IIRC, it's actually the size of the

NFS writes over a VLAN trunk wedges system

2003-09-03 Thread Peter Jeremy
I have a system running 5.1-RELEASE-p2 which is an NFS client of another FreeBSD (4.x) machine. When I have the NFS mount via a VLAN the system reliably hangs (no response to console, including Ctrl-Alt-Esc). This is a default NFS mount (no options) and I am trying to do a buildworld with

Re: ATAng and CF cards

2003-09-08 Thread Peter Jeremy
On Mon, Sep 08, 2003 at 05:30:28AM +0200, YazzY wrote: Isn't the ATAng code great? It makes it affordable to get a 9007199253773098MB CF for the price of a 32 MB card. Now I am taking backups of the internet on it. :) The old ATA code (in -stable) can only manage to expand my 3102MB disk to

Re: new rc system

2003-09-08 Thread Peter Jeremy
On Mon, Sep 08, 2003 at 12:59:11PM +0200, Philipp Grau wrote: Next problem is that /etc/rc.d/ntpd is evaluated before /etc/rc.d/devfs (see the output of rcorder /etc/rc.d*) So the start of ntpd fails because it is requires the devfs link. Ntpd likes to open /dev/refclock-0. What should I do to

Re: new rc system

2003-09-11 Thread Peter Jeremy
On Wed, Sep 10, 2003 at 05:00:49PM -0700, Doug Barton wrote: [re-ordering rc.d scripts] This is a known shortcoming in the new rc system. Luke Mewburn commented on it in a talk recently but does not yet have a satisfactory solution. Can you describe in more detail what you mean by this is a

Re: Bad performance

2003-09-13 Thread Peter Jeremy
On Sat, Sep 13, 2003 at 02:52:29PM +0200, sebastian ssmoller wrote: then i moved the disk from the hardware used during install into the production environment which includes VIA 82C8363 (Apollo KT133A) ... everything worked fine again. BUT: launching gdm needs a lot of time, same for gnome2. when

Re: mystery kernel spew

2003-09-15 Thread Peter Jeremy
On Sun, Sep 14, 2003 at 07:13:09PM -0700, Doug White wrote: Incidentally, if you are getting wrapping even without this, you can use a serial console to capture the output. I've had to do this for doing nasty ACPI debugging with lots of the options enabled. For kernel spew, you can also increase

Re: Bad performance

2003-09-18 Thread Peter Jeremy
On Wed, Sep 17, 2003 at 09:15:50PM -0600, Scott Long wrote: sebastian ssmoller wrote: here is my lmmon output. Motherboard Temp Voltages 255C / 491F / 528KVcore1: +3.984V Vcore2: +3.984V Fan Speeds + 3.3V: +3.984V

  1   2   3   4   >