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: 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: 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.

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: {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: 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: 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: 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 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: 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

Re: 4.9 stability update

2003-09-19 Thread Peter Jeremy
On Thu, Sep 18, 2003 at 11:21:20PM -0600, Scott Long wrote: We'd like to get a new poll on the stability and readiness of 4.9. Last night I upgraded my laptop and it hung partway thru the boot (immediately after the pcm0: line in the dmesg below). Powering it off and back on made it boot

Re: 4.9 stability update

2003-09-21 Thread Peter Jeremy
On Fri, Sep 19, 2003 at 06:35:12PM +1000, Peter Jeremy wrote: On Thu, Sep 18, 2003 at 11:21:20PM -0600, Scott Long wrote: We'd like to get a new poll on the stability and readiness of 4.9. Last night I upgraded my laptop and it hung partway thru the boot (immediately after the pcm0: line

Re: What's happened to CDIOCREADAUDIO friends?

2003-09-24 Thread Peter Jeremy
On Tue, Sep 23, 2003 at 09:54:06PM -0400, Michael W. Oliver wrote: Content-Description: signed data Well, I didn't know somebody was patching it, so I started using the following in ripit.pl (not exactly as below) instead of 'dagrab': dd if=/dev/acd0t01 ibs=2352 obs=2048 | sox -t raw -r 44100 \

Re: Where is my SLIP interface

2003-09-25 Thread Peter Jeremy
On Thu, Sep 25, 2003 at 02:43:21PM +0930, Greg 'groggy' Lehey wrote: Perhaps 'The Complete FreeBSD' by Greg Lehey will help out. Not any more. I removed that chapter from the book. The chapter's available (also covers UUCP) if anybody wants it; just ask. But it seems that Willem has already

Re: Where is my SLIP interface

2003-09-25 Thread Peter Jeremy
On Thu, Sep 25, 2003 at 09:39:12AM +0200, Willem Jan Withagen wrote: But PPP has the same problem: the interfaces do not show up when listing them with 'ifconfig -a' And trying to config it: router# ifconfig sl0 1.2.3.4 4.5.6.7 ifconfig: interface sl0 does not exist Try 'ifconfig sl0 create'

Re: Why is em nic generating interrupts?

2003-10-11 Thread Peter Jeremy
On Fri, Oct 10, 2003 at 12:54:55PM -0800, Terry Lambert wrote: If your FXP is not generating any interrupts at all, i think that the polling code in it is probably broken. Is the polling code in -current different to that in -stable? I have a system running 4.6-STABLE (or so) with DEVICE_POLLING

Re: hiding e-mail adresses needed badly

2003-10-17 Thread Peter Jeremy
[This may get duplicated if my outgoing work e-mail gets fixed] On 2003-Oct-16 11:29:36 -0700, Terry Lambert [EMAIL PROTECTED] wrote: Earthlink often sucks in terms of customer service. If they would just designate a couple of common markers as known SPAM, the problem would have gone away

Re: Random signals in {build,install}world recently?

2003-10-21 Thread Peter Jeremy
On Mon, Oct 20, 2003 at 11:45:21PM -0700, Terry Lambert wrote: I've noticed a lot of bad problems with Hynix memory lately; your mileage may vary. At Whistle we had a problem with memory with Gold contacts, and didn't have any problems with the ones with Tin. A good rule of thumb is to make sure

Re: ethercons: ethernet console driver for 5-current

2003-10-21 Thread Peter Jeremy
On Mon, Oct 20, 2003 at 12:13:27PM -0400, Robert Watson wrote: After reading a FREENIX paper this summer on a Linux ethernet console driver, I took a pass at implementing ethernet console support for FreeBSD. A very worthy cause. I'm sure this has come up before but I think you're the first

Re: Anyone working on missing sysv* ipc functionality

2001-09-10 Thread Peter Jeremy
[I'm a long way behind with my e-mail] On 2001-Aug-12 14:22:00 +0200, Michael Reifenberger [EMAIL PROTECTED] wrote: at least the linux emulation is missing some ipc functionality: [SEM|SHM]_INFO [SEM|SHM]_STAT. Whilst not Linux related, there's a lot of general SysV Semaphore cleanup in PR

Re: stdin/out/err changes kill world

2001-09-23 Thread Peter Jeremy
On 2001-Sep-21 10:45:42 +0300, Ruslan Ermilov [EMAIL PROTECTED] wrote: Also, this error may only be caused if: 1. The previous ``buildworld'' installed new headers in ${WORLDTMP}/usr/include. 2. The next ``buildworld'' was run with -DNOCLEAN. (Only in this case ${WORLDTMP}/usr/include

Re: stdin/out/err changes kill world

2001-09-24 Thread Peter Jeremy
On Mon, Sep 24, 2001 at 01:26:37PM +1000, I wrote: I have an old -CURRENT system[1] that can't do a buildworld any more, even with the latest bsd.{prog,lib}.mk changes (1.101 and 1.98). I delete /usr/obj before the buildworld, which writes off the above scenarios. Is anyone else seeing

Re: kernel won't build - atomic.c/atomic.h errors...

2001-11-12 Thread Peter Jeremy
Sorry for mot responding sooner. On Wed, Oct 31, 2001 at 09:27:58PM -0600, Jim Bryant wrote: cc -c -g -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..

Re: problems with 'make buildworld' on current

2001-11-22 Thread Peter Jeremy
On 2001-Nov-22 11:26:19 -0800, Landon Stewart [EMAIL PROTECTED] wrote: When I do a make buildworld I get an error about an incomplete type for field 'inc4_route'. I've read the /usr/src/UPDATING and found no real references to this type of problem. Am I jumping too far between 4.3-REL and

Re: RFC: mod for 'du'

2001-09-28 Thread Peter Jeremy
On Thu, Sep 27, 2001 at 02:00:26PM -0700, Julian Elischer wrote: The following patch to replace the linear array (which it realocs if too small) (which it scans linearly) with a hash-table can makle a DRASTIC change to how DU perfomrs for us in this environment. Sounds good. I must stress that

  1   2   3   4   >