Re: ctm via mail NEWBIE

2001-02-07 Thread Peter Jeremy
On 2001-Feb-07 08:13:31 +0100, Rasa Karapandza <[EMAIL PROTECTED]> wrote: >I receive ctm-src current by e-mail, which I retrive using netscape. >I save message as plain text then I try uudecode and I alvays get no begin >line I tryed to edit file but I'm not able to get it work. CTM mail isn't uu

Re: atomic_ question

2001-02-08 Thread Peter Jeremy
On 2001-Feb-08 18:21:07 +0100, Bernd Walter <[EMAIL PROTECTED]> wrote: >Are atomic_* implementations allowed to spin/sleep? The atomic_* operations are the primitives used to build all the higher level locking functions. Therefore you are not allowed to sleep. As for spinning: You can't impleme

Re: atomic_ question

2001-02-08 Thread Peter Jeremy
On 2001-Feb-08 22:21:32 +0100, Bernd Walter <[EMAIL PROTECTED]> wrote: >On sparcv8 you don't have an operation doing conditionaly stores and >you don't have RMW operations. >The only way to do is to have a global lock variable on which you spin >until the current client finishes. The SPARC archit

Accessing a PCI device by `physical' address

2001-02-14 Thread Peter Jeremy
I'm trying to port an Alpha video driver (TGA) from -stable to -current and have run into a problem converting some calls to pci_cfgread() and pci_cfgwrite(). The Alpha firmware reports the location of the console video card as a physical hose, bus type, bus, slot value. In -stable, the card can

Re: OpenSSL ASM patch

2001-02-15 Thread Peter Jeremy
On 2001-Feb-11 13:02:43 -0800, Alfred Perlstein <[EMAIL PROTECTED]> wrote: >* Kris Kennaway <[EMAIL PROTECTED]> [010211 12:52] wrote: >> On Sun, Feb 11, 2001 at 12:47:07PM -0800, Alfred Perlstein wrote: >> > Is it possible to have multiple ASM cores and use the appropriate >> > routines? Or must

Re: Non-responsive 8.0-RC1

2010-02-21 Thread Peter Jeremy
On 2009-Nov-29 08:22:26 +1100, Peter Jeremy wrote: >My main server is running 8.0/amd64 from between RC1 and RC2 and I've >recently had a couple of long-duration hangs on it during which time >processes doing I/O will stop responding. > >The first time, it stopped responding

Re: check for jailed environment for adjkerntz

2010-03-02 Thread Peter Jeremy
th. That may not be practical - consider someone who multi-boots their host and is forced to have CMOS time set to local time due to deficiencies in one of their other OSs. -- Peter Jeremy pgpw6qlEDbWK1.pgp Description: PGP signature

Re: X11 crash on exit

2010-03-14 Thread Peter Jeremy
X on an AA1, at least on 8.x (that's what I'm currently using). Are you using hal/dbus? -- Peter Jeremy pgppUmaYd3NEI.pgp Description: PGP signature

Re: build failures after stdlib update

2010-03-16 Thread Peter Jeremy
n, the toolchain is likely to also be corrupt and unable to be fixed my replacing libc.so. -- Peter Jeremy pgp7fpbO51kJ7.pgp Description: PGP signature

Re: Results of BIND RFC

2010-04-04 Thread Peter Jeremy
the base system? I know it is on OpenBSD. :-) :-) -- Peter Jeremy pgpDxSFAgVh1s.pgp Description: PGP signature

Re: [CFT]: ClangBSD is selfhosting, we need testers now

2010-04-20 Thread Peter Jeremy
is as well. It does somewhat restrict the usefulness of ClangBSD though. -- Peter Jeremy pgpCseJ9yyQoU.pgp Description: PGP signature

Re: Weird file corruption?

1999-01-15 Thread Peter Jeremy
Zach Heilig wrote: >Except simm checkers don't always catch errors, so if the simm passes, >there still is no guarantee (but simm checkers do weed out obvious >duds quicker than trying in a system). Unfortunately, there is no >conclusive test [that I know about] to prove a simm is "good". I'd agr

Re: ufs async

1999-01-19 Thread Peter Jeremy
Terry Lambert wrote: >Put another way: > > default:A seat belt for you, but not the passenger > sync: A seat belt for you and your passenger Terry forgot to mention that you also have to come to a dead stop every 10 feet and check that the wheel bolts are all tight :-

Re: Directory structure on current.freebsd.org

1999-01-19 Thread Peter Jeremy
Oliver Fromme wrote: >In releases/snapshots they're called "axp" and "x86", while in >ports they're called "alpha" and "i386". I agree that having two different names is confusing. DEC (or Compaq) literature seems to use both Alpha and AXP - I'm not sure that either is an especially better choic

Experiences with aout-to-elf and new bootblocks

1999-01-20 Thread Peter Jeremy
ot(2) If I recall correctly, the problem here is that the BIOS is reporting the 2 HDs as 0 and 1, rather than 0 and 2. I can't recall what the work-around is (I'd prefer not to juggle the disks). Any suggestions? Peter -- Peter Jeremy (VK2PJ)peter.jer...@alcatel.c

Problem loading 2.x kernel with new bootblocks [Re: Experiences with aout-to-elf and new bootblocks]

1999-01-21 Thread Peter Jeremy
no disc inside, unlocked wcd0: mode 2 form 1(XA) 2, multisession, CD-DA read stream, comb. rw, rw corr., ISRC, UPC wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa wdc1: unit 0 (wd2): , 32-bit, multi-block-16 wd2: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S fdc0 at

Booting from 2nd IDE [Re: Experiences with aout-to-elf and new bootblocks]

1999-01-21 Thread Peter Jeremy
2. I agree that it doesn't address the general problem (in particular, it can't handle the case where the BIOS doesn't see a device that the kernel probe does see, and doesn't support SCSI). Peter -- Peter Jeremy (VK2PJ)peter.jer...@alcatel.com.au Alcate

Re: Problem loading 2.x kernel with new bootblocks

1999-01-21 Thread Peter Jeremy
Mike Smith wrote: >> The kernel has been built with gcc-2.8.1 -O2. > >Please rebuild with the system compiler and -O at most. It makes no difference. The kernel loads and runs happily from the old bootloader, but crashes with /boot/loader. (I disabled my gcc-2.8.1, changed make.conf to -O, re-r

Re: btokup() macro in sys/malloc.h

1999-01-27 Thread Peter Jeremy
Matthew Dillon wrote: >:> NEW >:> >:> #define btokup(addr)(&kmemusage[((caddr_t)(addr) - kmembase) >> >PAGE_SHIFT]) >: >:The added parentheses don't make any difference, semantically. This >:change probably wouldn't meet the criteria spelled out in style(9): > >Then style(9) needs t

Re: btokup() macro in sys/malloc.h

1999-01-27 Thread Peter Jeremy
Matthew Dillon wrote: >:style(9) should emphasize legibility and maintainability, rather than >:minimizing the number of extraneous (from the compiler's perspective) >:parenthesis. >As far as parenthesis go, it's irrelevant because -Wall pretty much >covers the most common mistakes. I was

Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h)

1999-01-28 Thread Peter Jeremy
Luigi Rizzo >not speaking about vinum, but to me, the indentation of 8 char and >line length of 80 chars are almost mutually exclusive. > >See e.g. tcp_input.c ip_input.c and many network device drivers as >an example -- basically all places where, for efficiency reasons, >the code tries to expand

Re: btokup().. patch to STYLE(9) (fwd)

1999-01-28 Thread Peter Jeremy
try out the latest fashion in asbestos clothing and supercharged flamethrowers). Peter -- Peter Jeremy (VK2PJ)peter.jer...@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +6

Re: indent(1) and style(9) (was: btokup() macro in sys/malloc.h)

1999-01-29 Thread Peter Jeremy
pencer, "How to Steal Code or Inventing the Wheel Only Once", R. Stallman, "GNU Coding Standards", D. Straker, "C Style: Standards and Guidelines", Prentice Hall, 1992. [1]: M Wilkes, D Wheeler, S Gill, "The Preparation of Programs for an

Re: btokup().. patch to STYLE(9) (fwd)

1999-02-01 Thread Peter Jeremy
Someone wrote: > "You are not supposed to understand this." I'd suggest that there's a vast difference in the intended audience of the code containing the above comment and FreeBSD. Not to mention a 20+ year gap in time. Whilst the official codebase may be under the control of a select group of

Re: Can't boot from 1st disk on 2nd IDE controller

1999-02-01 Thread Peter Jeremy
DIRECT | DEVSTAT_TYPE_IF_IDE); + /* KLUDGE: mark drive as present */ + wd_mask |= 1 << lunit; } else { free(du, M_TEMP); wddrives[lunit] = NULL; Peter -- Peter Jeremy (VK2PJ)

Re: NIS woes

1999-02-07 Thread Peter Jeremy
Dag-Erling Smorgrav wrote: > Tcpdump does not work on PLIP links, Check out http://www.freebsd.org/cgi/query-pr.cgi?pr=7241 This includes fixes for PLIP in lpt.c, but the code in ppbus/if_plip.c looks virtually the same. Note that lpt.c with Bill Fenner's patch did not compile and needed the fol

Re: adding DHCP client to src/contrib/

1999-02-09 Thread Peter Jeremy
Steve Kargl wrote: >Drop FreeBSD cd-rom into tray (or caddy). >mount_cd9660 /dev/cd0a /mnt >pkg_add dhcp >umount /mnt Hmmm... Lets see: 1) Drop FreeBSD CD-ROM into tray on server 2) mount_cd9660 /dev/cd0a /cdrom 3) [NFS export /cdrom] 4) Boot client from floppy. so far so good. 5) Configure c

Re: gcc

1999-02-28 Thread Peter Jeremy
Chuck Robey wrote: > Please keep in mind that if, in our haste, we import a compiler that > puts instability into FreeBSD, then we've drunk poison. I agree that -STABLE _must_ remain stable. That said, I believe that we _do_ need to move forward. I'd like to see either EGCS or gcc-2.8.1 (and th

Re: gcc

1999-02-28 Thread Peter Jeremy
Brian Feldman wrote: [use cc1-2.7.2.1 and ECGS cc1plus] > we get to keep >(for now) the stable, reliable, C compiler we've been depending on for years. With all the well-known idiosyncrasies that we've been working around for years. > Of >course, in the long run, once stability is proven, switc

Re: gcc

1999-02-28 Thread Peter Jeremy
Tugrul wrote: > Right now I'm manually building the source >tree with egcs to see how I fair. I tried this with 2.x and gcc-2.8.1, but was never successful - I never managed to stop it building the base compiler and not complain that it hadn't built the base compiler. I didn't spend much effort

Re: Printing is vvveeerrryyy slow

1999-03-03 Thread Peter Jeremy
Leif Neland wrote: >Is there a way to test if interrupts are getting serviced? A counter of >interrupts? vmstat -i Peter To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message

Re: Simple DOS against 3.x locks box solid

1999-03-04 Thread Peter Jeremy
Matthew Dillon wrote: >The problem is a deadlock caused by the fgrep. The fgrep is mmap()ing >the file, but then it does some really weird crap when dealing with >larger files. ... >The solution is more difficult. We could hack an exception for PRIVATE >mmap's... there reall

Re: panic: zone: entry not free

1999-03-10 Thread Peter Jeremy
Matthew Dillon wrote: >there are simply not enough sanity checks being made in the kernel. There is a trade off between the amount of sanity checking and performance. We need to make sure that any sanity checking we add doesn't make the system unusably slow or adversely impact interrupt resp

Problems with ELF Emacs

1999-03-23 Thread Peter Jeremy
I'm running -current from a couple of weeks ago. I recently re-compiled XFree86 to ELF - which works, and re-compiled emacs-19.34b - which won't work with X11, though it does work inside an Xterm. My old aout emacs still works (with old aout libraries - the re-compiled aout libraries seem to be m

Re: Problems with ELF Emacs

1999-03-26 Thread Peter Jeremy
Dag-Erling Smorgrav wrote: >Peter Jeremy writes: >> I'm running -current from a couple of weeks ago. I recently re-compiled >> XFree86 to ELF - which works, and re-compiled emacs-19.34b - which won't >> work with X11, though it does work inside an Xterm. > &

Re: Runaway intr, not flash related

2010-08-15 Thread Peter Jeremy
) is likely to stress different areas of the CPU than makeworld, Have you checked to see if there's a BIOS upgrade available? Other possibilities: - Have you tried running a uniprocessor kernel? - If your CPU supports LM, have you tried an amd64 kernel? -- Peter Jeremy pgpjvZbMZjZvG.pgp Description: PGP signature

Scripting language in base [was Re: Official request: Please make GNU grep the default]

2010-08-16 Thread Peter Jeremy
lua to justify importing it. Another option might be ficl - the code is already in the base system, it would just need to be compiled. Of course, the downside is that FORTH is a very niche language. -- Peter Jeremy pgpjJGFhyLDo6.pgp Description: PGP signature

Re: Official request: Please make GNU grep the default

2010-08-16 Thread Peter Jeremy
don't get on especially well together so this isn't a definite win. You also need to allow for files that are too large to be mapped in one go. -- Peter Jeremy pgphMfssk1asB.pgp Description: PGP signature

Re: Official request: Please make GNU grep the default

2010-08-18 Thread Peter Jeremy
(particularly between UFS and ZFS))? And one trial is not statistically valid - especially given the small differences. How about multiple multiple trials with ministat. -- Peter Jeremy pgpPvNHrEZWZQ.pgp Description: PGP signature

Re: One-shot-oriented event timers management

2010-09-07 Thread Peter Jeremy
t;dev.cpu.0.cx_supported: C1/1 C2/1 C3/17 C4/57 I'm also intrigued as to where C4 comes from. I have: dev.cpu.0.freq_levels: 1600/2000 1333/1533 1066/1066 800/600 dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 -- Peter Jeremy pgpvhNJEeD5Wc.pgp Description: PGP signature

Re: [USB] Keyboard, mouse and ergonomy

2010-09-28 Thread Peter Jeremy
re are plenty of other mechanisms for root to obtain actual keypress and mouse movement data. -- Peter Jeremy pgp9Hq8pbI4nq.pgp Description: PGP signature

Re: 2TB HDD = TIMEOUT - READ_DMA48 ....

2010-10-18 Thread Peter Jeremy
equence over the entire surface and then verify it to ensure that all sectors are uniquely addressable. -- Peter Jeremy pgpZlslInoSiJ.pgp Description: PGP signature

Re: [zfs] Mounting from (...) failed with error 19

2010-10-20 Thread Peter Jeremy
On 2010-Oct-20 10:50:38 +0400, KOT MATPOCKuH wrote: >> I fixed it with attached patch. >Omg... Why You are using strcmp, but not strncmp(fs, "zfs", strlen("zfs"))? Can you explain why you think it should be strncmp() please. -- Peter Jeremy pgpYP2SOEntZd.pgp Description: PGP signature

Re: [head tinderbox] failure on amd64/amd64

2011-01-23 Thread Peter Jeremy
f the SVN master would seem a better approach. -- Peter Jeremy pgpY4T7s2BkBf.pgp Description: PGP signature

Re: FreeBSD Installer Roadmap

2011-02-22 Thread Peter Jeremy
ething better was developed. The increasing disparity between FreeBSD's features, together with the opaqueness of sysinstall have led to a replacement being developed. No-one is forcing you to replace sysinstall on your legacy systems but if you want sysinstall to remain the default installer, you are going to need to add the missing functionality to it. -- Peter Jeremy pgpHyWlStxF6J.pgp Description: PGP signature

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 /u

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 qual

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 f

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 /usr/{s

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

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 "thi

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.

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 increa

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

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 normall

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

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 alre

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 cr

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_POLLIN

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 su

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: Who needs these silly statfs changes...

2003-11-13 Thread Peter Jeremy
On Wed, Nov 12, 2003 at 06:04:00PM -0800, Kris Kennaway wrote: >...my sparc machine reports that my i386 nfs server has 15 exabytes of >free space! > >enigma# df -k >Filesystem 1K-blocks Used Avail Capacity Mounted on >rot13:/mnt2 56595176 54032286 18014398507517260 0%/ro

Re: dc still reporting collisions

2003-11-15 Thread Peter Jeremy
On Sat, Nov 15, 2003 at 08:27:44PM +, Ceri Davies wrote: These >probably are actual collisions though. The OP's point is that >collisions are supposed to be impossible on a full duplex link, >whereas in your situation they aren't. The collision mechanism is used for flow control on full-duple

Re: Unfortunate dynamic linking for everything

2003-11-20 Thread Peter Jeremy
On Wed, Nov 19, 2003 at 11:18:47AM -0700, Lyndon Nerenberg wrote: >--On Wednesday, November 19, 2003 12:30 AM -0500 Garance A Drosihn ><[EMAIL PROTECTED]> wrote: > >>have a: chflags ldcache /bin/sh > >Shouldn't that be 'chmod +t /bin/sh' ??? Definitely. Why waste a new bit when there's already

Re: Unfortunate dynamic linking for everything

2003-11-21 Thread Peter Jeremy
On Thu, Nov 20, 2003 at 09:29:30PM -0500, Richard Coleman wrote: >But I've often wondered how frequently a production system has such >problems. I've been a sysadmin for many years and can't remember this >ever happening. It's much more common to blow a hard drive, or have >flaky memory, etc.

Re: Unfortunate dynamic linking for everything

2003-11-21 Thread Peter Jeremy
On Thu, Nov 20, 2003 at 09:51:48PM +0100, boyd, rounin wrote: >From: "Peter Jeremy" <[EMAIL PROTECTED]> >> >Shouldn't that be 'chmod +t /bin/sh' ??? >> >> Definitely. Why waste a new bit when there's already a perfectly good >>

Re: Unfortunate dynamic linking for everything

2003-11-21 Thread Peter Jeremy
On Fri, Nov 21, 2003 at 04:52:00PM -0500, Garance A Drosihn wrote: >>>Shouldn't that be 'chmod +t /bin/sh' ??? > >b) I thought that you might want to have this an "admin-only" > command, so nefarious users couldn't abuse it on a shared > system. I would make one change to your proposal: Inste

Re: Help request: problems with a 5.1 server and large numbers of ssh users.

2003-11-21 Thread Peter Jeremy
On Wed, Nov 19, 2003 at 09:26:10PM -0800, Len Sassaman wrote: >It is my intuition from this behavior that the sshd master process >listening for connections is unable to spawn a new process to complete >the authentication step, and thus the connection is being dropped. >There is no information o

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-24 Thread Peter Jeremy
On Mon, Nov 24, 2003 at 11:00:24AM -0500, Rahul Siddharthan wrote: >David O'Brien wrote: >> On Sun, Nov 23, 2003 at 06:00:36PM -0800, Tim Kientzle wrote: >> > Scenarios that require /rescue are ones in which /bin and /sbin >> > are unusable, which is almost always going to imply a trashed file >> >

Re: 40% slowdown with dynamic /bin/sh

2003-11-25 Thread Peter Jeremy
On Mon, Nov 24, 2003 at 11:16:07PM -0700, M. Warner Losh wrote: >H, It looks like the hit is less than 10% in the fork intensive >test I just wrote: > >#!/bin/sh >for i in 0 1 2 3 4 5 6 7 8 9; do >for j in 0 1 2 3 4 5 6 7 8 9; do >for k in 0 1 2 3 4 5 6 7 8 9; do > for l

Re: 40% slowdown with dynamic /bin/sh

2003-11-25 Thread Peter Jeremy
On Tue, Nov 25, 2003 at 04:54:41AM +, E.B. Dreger wrote: >What specific aspects of rtld are required to support NSS in >static binaries? dlopen(), fixups, and dlsym()? All of the above. The underlying problem is how to handle a library call from within the NSS/PAM/whatever shared library. Th

Re: 40% slowdown with dynamic /bin/sh

2003-11-25 Thread Peter Jeremy
On Tue, Nov 25, 2003 at 01:17:34AM -0700, M. Warner Losh wrote: >True. However, I get very similar numbers of I change it to >/usr/bin/true (12% slower). /bin/sh usually fork+exec things other >/bin/sh. That's a more interesting result and more comparable to Drew's test. It doesn't necessarily i

Re: Apples linking

2003-11-28 Thread Peter Jeremy
On Thu, Nov 27, 2003 at 11:24:23AM -0500, Robert Watson wrote: [Darwin pre-binding] >presumably applies to other processor architectures. The one thing that >turns me off to this scheme is that I'd like it if we could find a way to >represent this using solely existing BSD/UNIX kernel primitives (

Re: LOR w/5.2-BETA

2003-11-29 Thread Peter Jeremy
On Thu, Nov 27, 2003 at 03:38:59PM -0800, Kris Kennaway wrote: >On Fri, Nov 28, 2003 at 12:27:53AM +0100, Artur Poplawski wrote: > >> > lock order reversal >> > 1st 0xc43d8ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 >> > 2nd 0xc098cf60 swap_pager swhash (swap_pager swhash) @ /us

Re: Apples linking

2003-11-29 Thread Peter Jeremy
On Fri, Nov 28, 2003 at 03:46:42AM -0800, Terry Lambert wrote: >FWIW: If FreeBSD wanted to use this approach, the safest way to do >it would b to split the user and kernel address space mappings; in >general, this will only mean modifying uiomove/copy{in|out}[str], >and dealing with the address map

Re: different systat -vmstat output when using egcs to compile kernel

1999-04-04 Thread Peter Jeremy
Andreas Klemm wrote: >See the leading \n's in the Interrupts column (see !!!) >1st is ok using our cc >2nd is using egcs with different compile options. >But error remains the same even with no optimitation ... > 1 1 22 4072 2533 456 2641 13908 wire243 \nclk0 irq >

Re: different systat -vmstat output when using egcs to compile kernel

1999-04-05 Thread Peter Jeremy
Matthew Dillon wrote: >:The problem is that cpp (from gcc 2.8.1) _does_not_ remove >:backslash-newline sequences from string constants (and maybe elsewhere >:as well). This causes problems with the DEVICE_NAMES macro defined in >:vector.h and used in vector.s. ... >I suggest using ANSI string

Re: Vtable thunks with egcs

1999-04-08 Thread Peter Jeremy
Steve Price wrote: >The one I'm fretting over right now is emacs. I haven't quite >figured out why, but invoking it brings up the window, but never >displays anything in the window. Using a version built with the >old compiler doesn't seem to make any difference. :( I submitted ports/10783 cove

Re: /sys/boot, egcs vs. gcc, -Os

1999-04-08 Thread Peter Jeremy
Tom Bartol wrote: >ports/package database system but it occurred to me that perhaps the >database is currently only storing which packages a given package depends >upon and is NOT storing which packages depend upon a given >package The port source tree stores a list of pre-requisite packages in e

Re: /sys/boot, egcs vs. gcc, -Os

1999-04-08 Thread Peter Jeremy
John Fieber wrote: >For an update to work, files that must be preserved (shared >libraries mainly) over an update must be tagged. This is why I said my approach only worked for `minor' updates - which means those that don't bump library versions etc (eg XFree86-3.3.3 to XFree86-3.3.3.1). > If l

CTM problem(?)

1999-04-11 Thread Peter Jeremy
I haven't received anything from CTM for cvs-cur since around 0110 PDT yesterday (11th April). The last thing I got was "ctm-mail cvs-cur.5226.gz 29/39" and the ftp server shows that up to 5230 (at least) have been generated. Is anyone else having problems? Peter To Unsubscribe: send mail to m

Re: CTM problem(?)

1999-04-11 Thread Peter Jeremy
I wrote: >I haven't received anything from CTM for cvs-cur since around 0110 PDT >yesterday (11th April). Two minutes after posting this, the CTM backlog started appearing. It looks like it Chi.Alameda.net was sitting on it (possibly because hub.freebsd.org wouldn't accept it). Peter To Unsubs

Re: swap-related problems

1999-04-14 Thread Peter Jeremy
Mikhail Teterin wrote: > Worse then that, >it may be possible to use it at malloc time, but unless your program >runs and touches every page, the memory may not be available later. If you run and touch every page, you are guaranteed to have the memory available, but you also increase the chances

Re: swap-related problems

1999-04-14 Thread Peter Jeremy
Mikhail Teterin wrote: >That's my point! I advocate the use of some _other_ signal. Something >catchable. As soon as you allow a catchable signal, you create a potential deadlock situation. See my previous mail. >In case of "resource shortage" the malloc should be unsuccessful >and return NULL.

Re: Alright, who's the smart alleck that fixed NFS this last week? :)

1999-04-21 Thread Peter Jeremy
Matthew Dillon wrote: [Partial writes] > I finally gave up on it. What NFS does now is optimize only two > write situations: ... And (2) piecemeal writes in the write-append > case. I'm nothing like an NFS expert, so I may be talking through my hat, but... I presume NFS correctly supports O_A

Re: Any action on PR 10570 ? getting closer to 65K :-(

1999-05-04 Thread Peter Jeremy
Matthew Dillon wrote: > I think the worst case you might see is on the order of 50,000 or so > route entries. ... > It take a phenominally stupid network setup to create more > then that. With Path MTU Discovery (which is on by default), you effectively create a distict route for every host. Curr

Re: HEADS UP: config(8) changes..

1999-05-09 Thread Peter Jeremy
Peter Wemm wrote: >If you had old "vector xxxintr", it will now cause a syntax error rather than >a warning. What is the new method of specifying a non-standard interrupt function? I have some code (currently on 2.x, but I was hoping to be able to move it) where I have different interrupt functi

Re: Nt source licenses...

1999-05-12 Thread Peter Jeremy
Ustimenko Semen wrote: >On Tue, 11 May 1999, Luigi Rizzo wrote: ... >> http://research.microsoft.com/programs/NTSrcLicInfo.htm >> >> Microsoft makes Windows NT source code available to universities >> and other "not-for-profit" research institutions at no charge. ... >P.S. What's happenin

Inlining ucmpdi2 et al

1999-05-14 Thread Peter Jeremy
A recent commit by "Justin T. Gibbs" : > Nuke ucmpdi2.c from i386/libkern to serve as a reminder that switch > statements on 64bit values generate poor code. Looking thru libkern, many of the functions shouldn't be there since gcc should be generating in-line code. I believe the following are

Re: net.inet.tcp.always_keepalive on as default ?

1999-06-01 Thread Peter Jeremy
Poul-Henning Kamp wrote: >Considering the number of hosts on the net today, which come and >go with no warning and with dynamic IP assignments, I would propose >that we disregard what the "old farts" felt about TCP keepalives, >and enable the sysctl net.inet.tcp.always_keepalive as default. I thi

sysctl

1999-06-03 Thread Peter Jeremy
I notice that sysctl -d doesn't work, and I suspect it never did. Looking at the code, sbin/sysctl/sysctl.c uses MIB {0,5} to request the description of a variable, but the code in sys/kern/kern_sysctl.c only supports {0,0} through {0,4}. Additionally, the macro SYSCTL_OID doesn't reference the d

Re: net.inet.tcp.always_keepalive on as default ?

1999-06-06 Thread Peter Jeremy
Joel Ray Holveck wrote: >I don't see why this is a point of discussion. The keepalive timers >are all configurable via sysctl. Not quite all. The variables tcp_keepcnt and tcp_maxpersistidle are not accessible via sysctl (the latter is not directly related to the current keepalives issue, but i

Building www/en

1999-06-07 Thread Peter Jeremy
Part of my regular rebuild is a `cd www/en; make -DENGLISH_ONLY' Lately, this has started failing due to the absence of /usr/local/share/sgml/docbook/catalog. This appears to be the result of: >nik 1999/06/03 12:39:30 PDT > > Modified files: >share/mk docproj.docbook.mk

Re: bsd.lib.mk "@"'s

1999-06-07 Thread Peter Jeremy
Chuck Robey wrote: >On Mon, 7 Jun 1999, Colin Jensen wrote: > >> Why not just define a macro like SILENT_RUN=@ and replace >> all the @ with ${SILENT}? Then both sides of can get what they >> want :-) > >A compromise. I *love* compromises. How about this, Nate? I have an alternative compromise

Non-SUJ deadlock in -current

2010-05-03 Thread Peter Jeremy
usecount 2, writecount 0, refcount 2 mountedhere 0 flags () lock type ufs: EXCL by thread 0xc3e94d80 (pid 16787) ino 144536, on dev ad1a db> -- Peter Jeremy pgpiQqHNEDYwN.pgp Description: PGP signature

Re: LOR: ufs vs bufwait

2010-05-09 Thread Peter Jeremy
@ /usr/src/sys/ufs/ffs/ffs_softdep.c:11363 > 3rd 0xc49e56b8 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2091 I'm seeing exactly the same LOR (and subsequent deadlock) on a recent -current without SUJ. -- Peter Jeremy pgpMf1YAwM1mI.pgp Description: PGP signature

<    1   2   3   4   5   >