Re: how to get cpu states more than once a second?

2004-03-03 Thread Peter Jeremy
On Wed, Mar 03, 2004 at 07:27:31AM +0100, Bernd Walter wrote: >Currently I get the states via kern.cp_time, but this only allows >a granularity of a single second and I need something around 50-100ms. As far as I can tell - both by studying the source code and by running "sysctl -x kern.cp_time" i

Re: Looking for static analysis tool to generate call graphs

2004-03-03 Thread Dag-Erling Smørgrav
Robert Watson <[EMAIL PROTECTED]> writes: > Well, using a scary combination of grep, awk, a long list of "omit this" > regexp's, and prcc from cflow, I got the following: > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps > > Duck and cover. Hmm, is there any way you can try to gr

FBSD 4.9-STABLE -- Lexmark z25 (USB) -- BROKEN

2004-03-03 Thread William Grim
I have a Lexmark z25 attached to my FBSD 4.9-STABLE i386 machine through USB. However, I can't print to it using /dev/ulpt0. From what I can find on these printers using google is that these printers are crap (too late to return it now). su-2.05# usbdevs -dv Controller /dev/usb0: addr 1: self

E-mail account security warning.

2004-03-03 Thread management
-- Virus Warning Message (on the network) Found virus WORM_BAGLE.J in file Info.pif The file Info.pif is moved to /var/spool/quarantine/virWZV_xwhcl. This is a machine-generated message, please do not reply via email. If you have questions, please contact the Lucent Help Desk at

Re: how to get cpu states more than once a second?

2004-03-03 Thread Bernd Walter
On Wed, Mar 03, 2004 at 07:57:24PM +1100, Peter Jeremy wrote: > On Wed, Mar 03, 2004 at 07:27:31AM +0100, Bernd Walter wrote: > >Currently I get the states via kern.cp_time, but this only allows > >a granularity of a single second and I need something around 50-100ms. > > As far as I can tell - bo

Adding an IPFW rule from C program

2004-03-03 Thread Matt
Tried this on the ipfw list but didnt get any response. Part of an app I am playing with needs to be able to add an ipfw rule. I had though i got all of what i need from ipfw2.c and ip_fw.h but I am painfully new to C and must be missing something. Not even sure how i can get myself a more usefu

Re: Compilation

2004-03-03 Thread thefly
I did that. I've got some #difine collisions with PCI and some system defines not finding files like: @/sys/bus.h:320: device_if.h: No such file or directory @/sys/bus.h:321: bus_if.h: No such file or directory In file included from wd1100-lkm.c:28: @/pci/pcivar.h:176: pci_if.h: No such file or

Re: Another conformance question... This time fputs().

2004-03-03 Thread David Schultz
On Tue, Mar 02, 2004, Jordan K. Hubbard wrote: > That gives us this behavior for our little test program: > > errno = 13, rc = -1 > fwrite errno = 13, rc = 0 > > In both cases, we get EACCES for fputs() or fwrite() attempts on a > read-only file pointer pointing to a read-only device, something

Solaris 10 zones / jails

2004-03-03 Thread Stefan Bethke
Just picked this announcement up from /.: Apparently, it is conceptually similiar to FreeBSD jails, but has slightly more advanced configuration management. Maybe some incentive for an e

uthread_kern.c problems (still)

2004-03-03 Thread Mac Newbold
I've been getting bitten a lot lately by a bug in uthread_kern.c that keeps causing my apache processes to run away, until I kill them. (dmesg indicates it has also been happening to fstat processes too, but they die instead of running away.) The apache error log indicates this: [Tue Mar 02 09:5

RE: em0, polling performance, P4 2.8ghz FSB 800mhz

2004-03-03 Thread Andrew Gallatin
Don Bowman writes: > I'm not sure what affect on fxp. fxp is inherently limited > by something internal to it, which prevents achieving > high packet rates. bge is the best chip, but doesn't > have the best bsd support. > Just curious - why is bge the best chip? Is it because it exports

Re: Strange behaviour in assembly language program

2004-03-03 Thread ari
[EMAIL PROTECTED] said this stuff: > > .text > > .global _start > > _start: > > pushl $8 > > pushl $0 > > movl$1, %eax > > int $0x80 > > With this suggestion, it always returns 0 instead of 1. > Shouldn't pushl place 4 bytes on the stack? It translates

Re: em0, polling performance, P4 2.8ghz FSB 800mhz

2004-03-03 Thread Luigi Rizzo
On Wed, Mar 03, 2004 at 10:03:11AM -0500, Andrew Gallatin wrote: > > Don Bowman writes: > > > I'm not sure what affect on fxp. fxp is inherently limited > > by something internal to it, which prevents achieving > > high packet rates. bge is the best chip, but doesn't but you should not compa

Re: Adding an IPFW rule from C program

2004-03-03 Thread Luigi Rizzo
On Wed, Mar 03, 2004 at 07:37:06AM +, Matt wrote: > Tried this on the ipfw list but didnt get any response. > > Part of an app I am playing with needs to be able to add an ipfw > rule. I had though i got all of what i need from ipfw2.c and ip_fw.h > but I am painfully new to C and must be mis

Re: em0, polling performance, P4 2.8ghz FSB 800mhz

2004-03-03 Thread Andrew Gallatin
Luigi Rizzo writes: > On Wed, Mar 03, 2004 at 10:03:11AM -0500, Andrew Gallatin wrote: <...> > > I'm trying to design a new ethernet API for a firmware-based nic, > > and I'm trying to convince a colleague that having separate > > receive rings for small and large frames is a really good thing

Re: Looking for static analysis tool to generate call graphs

2004-03-03 Thread Robert Watson
noise-trimming and clarification, to: http://www.watson.org/~robert/freebsd/20040303-sockets.ps Hopefully this is somewhat of an improvement. I also added some more of the socketvar.h macros to my "hinted" edges -- apparently prcc doesn't really do much with our large macr

Re: Looking for static analysis tool to generate call graphs

2004-03-03 Thread Robert Watson
On Wed, 3 Mar 2004, Dag-Erling Smørgrav wrote: > Robert Watson <[EMAIL PROTECTED]> writes: > > Well, using a scary combination of grep, awk, a long list of "omit this" > > regexp's, and prcc from cflow, I got the following: > > > > http://www.watson.org/~robert/freebsd/20040302-sockets.ps >

Re: Strange behaviour in assembly language program

2004-03-03 Thread Daniela
On Wednesday 03 March 2004 16:26, ari wrote: > [EMAIL PROTECTED] said this stuff: > > > .text > > > .global _start > > > _start: > > > pushl $8 > > > pushl $0 > > > movl$1, %eax > > > int $0x80 > > > > With this suggestion, it always returns 0 instead of

Re: Strange behaviour in assembly language program

2004-03-03 Thread Daniela
On Wednesday 03 March 2004 16:26, ari wrote: > [EMAIL PROTECTED] said this stuff: > > > .text > > > .global _start > > > _start: > > > pushl $8 > > > pushl $0 > > > movl$1, %eax > > > int $0x80 > > > > With this suggestion, it always returns 0 instead of

Getting root via a user that was obtained via NIS.

2004-03-03 Thread Josef Karthauser
Anyone with a bit of NIS saviness care to help me? I've got a FBSD5.2 machine that is connected to a larger network of suns and linux boxen. Accounts are coordinated via yellow pages and I've managed to get the FBSD box's NIS setup so that I can log in as one of those users. The problem is that i

-stable needs rw obj dir for install?

2004-03-03 Thread Julian Elischer
I have not checked this with 5.x but... /dev/ad0s1a on / (ufs, local) /dev/ad0s1f on /usr (ufs, local) /dev/ad0s1e on /var (ufs, local) 10.42.0.1:/usr/ports on /usr/ports (nfs, read-only) 10.42.0.1:/usr/src on /usr/src (nfs, read-only) 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) /usr/src and

CPU update

2004-03-03 Thread Mark
Dear Sirs: I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. Thanks, - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/free

Re: CPU update

2004-03-03 Thread John Baldwin
On Wednesday 03 March 2004 06:02 pm, Mark wrote: > Dear Sirs: > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 > 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. Yes. FreeBSD 5.x also supports amd64 natively. -- John Baldwin <[EMAIL PROTECTED]>

Re: CPU update

2004-03-03 Thread Mark
- Original Message - From: "John Baldwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Mark" <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 12:14 AM Subject: Re: CPU update > On Wednesday 03 March 2004 06:02 pm, Mark wrote: > > Dear Sirs: > > > > I compiled my FreeBSD 4.7R for a

Re: CPU update

2004-03-03 Thread Kip Macy
Barring any BIOS issues a standard ia32 kernel will boot and run happily on an AMD64 processor. -Kip On Wed, 3 Mar 2004, Mark wrote: > - Original Message - > From: "John Baldwin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "Mark" <[EMAIL PROTECTED]> > S

Re: CPU update

2004-03-03 Thread Mark
- Original Message - From: "Kip Macy" <[EMAIL PROTECTED]> To: "Mark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 12:37 AM Subject: Re: CPU update > Barring any BIOS issues a standard ia32 kernel will boot and run happily > on an AMD64 processor. Thanks; th

Promise 20378

2004-03-03 Thread Mark
Dear Sirs: I currently run my FreeBSD 4.7R, perfectly, on a Promise 20276 (RAID 1). However, this chipset does not appear on; http://www.freebsd.org/relnotes/4-STABLE/hardware/i386/x27.html#AEN33 Now I am looking at the board based on the Promise 20378 (ATA133). That does not appear on the list

Re: -stable needs rw obj dir for install?

2004-03-03 Thread Tim Kientzle
Julian Elischer wrote: 10.42.0.1:/usr/src on /usr/src (nfs, read-only) 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) /usr/src and /usr/obj were precompiled on the other (NFS server) machine with "make buildworld". then on this machine: "Make installworld" with /usr/src and/usr/obj NFS mounted re

Re: -stable needs rw obj dir for install?

2004-03-03 Thread Julian Elischer
On Wed, 3 Mar 2004, Tim Kientzle wrote: > Julian Elischer wrote: > > > > 10.42.0.1:/usr/src on /usr/src (nfs, read-only) > > 10.42.0.1:/usr/obj on /usr/obj (nfs, read-only) > > > > /usr/src and /usr/obj were precompiled on the other (NFS server) machine > > with "make buildworld". > > > > then

Re: -stable needs rw obj dir for install?

2004-03-03 Thread William Grim
Julian Elischer wrote: The prize goes to Kris Kennaway who suggested that it was a time sync problem between the NFS server and client.. There in fact was a time problem. wierd.. I don't know how it was determined that there was a time sync problem; however, in general, "make" creates updat

Re: -stable needs rw obj dir for install?

2004-03-03 Thread Julian Elischer
On Wed, 3 Mar 2004, William Grim wrote: > Julian Elischer wrote: > > >The prize goes to Kris Kennaway who suggested that it was a time sync > >problem between the NFS server and client.. > > > >There in fact was a time problem. > > > >wierd.. > > > > > I don't know how it was determined tha

Call for FreeBSD Bi-Monthly Status Reports

2004-03-03 Thread Scott Long
All, It's time for the Jan-Feb 2004 FreeBSD status report. It hasn't been quite two months since the last report, but I'm trying to get back onto the normal 2-month cycle. Please submit your report to [EMAIL PROTECTED] by March 13, 2004. The template for the report is at http://www.freebsd.

Resend: Call for FreeBSD Bi-Monthly Status Reports

2004-03-03 Thread Scott Long
[Resending to correct the URL below] All, It's time for the Jan-Feb 2004 FreeBSD status report. It hasn't been quite two months since the last report, but I'm trying to get back onto the normal 2-month cycle. Please submit your report to [EMAIL PROTECTED] by March 13, 2004. The template for

Re: CPU update

2004-03-03 Thread Mark Dixon
On Wednesday 03 Mar 2004 23:09, John Baldwin wrote: > On Wednesday 03 March 2004 06:02 pm, Mark wrote: > > Dear Sirs: > > > > I compiled my FreeBSD 4.7R for an AMD XP-2000. If I upgrade to an AMD 64 > > 3200, will my OS still run? The AMD 64 is 32-bit downwards compatible. > > Yes. FreeBSD 5.x als

IBM BladeCenter success story anybody?

2004-03-03 Thread Danny Braniss
hi, while evaluating such a box, im stuck. 1) diskless boot/pxe: loads, but booting the kernel with acpi hangs, without acpi fails - it seems that the Broadcom NIC is not recognized. 2) trying to install via cd bios boots the cd ok, but the boot on the cd failes to read. the hardw