Re: Looking for static analysis tool to generate call graphs

2004-03-02 Thread Zajcev Evgeny
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 Actually it looks kind a

how to get cpu states more than once a second?

2004-03-02 Thread Bernd Walter
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. Application is a LED bargraph which doesn't have the intended effect with just a single update per second. -- B.Walter BWCThtt

Re: Looking for static analysis tool to generate call graphs

2004-03-02 Thread Robert Watson
ons? Preferably something that can actually parse the > variant of C we use in our kernel :-). 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 Duc

Re: Strange behaviour in assembly language program

2004-03-02 Thread Daniela
On Tuesday 02 March 2004 20:15, ari wrote: > [EMAIL PROTECTED] said this stuff: > > Finally I came up with the simplest ASM program that reproduces the > > error. Here it is: > > > > .text > > .global _start > > _start: > > pushl $0 > > movl$1, %eax > > int $0x80 > > > > I loo

Re: Strange behaviour in assembly language program

2004-03-02 Thread ari
[EMAIL PROTECTED] said this stuff: > Finally I came up with the simplest ASM program that reproduces the error. > Here it is: > > .text > .global _start > _start: > pushl $0 > movl$1, %eax > int $0x80 > > I looked everywhere (Developer's handbook, Google, ...) to find

Strange behaviour in assembly language program

2004-03-02 Thread Daniela
Hi! I'm already a bit experienced with assembly, and started to enter my executables directly in the hexeditor (for educational purpose only; I know this is poor programming style). I do not yet fully understand all aspects of the ELF header, but I managed to somehow write working ELF executabl

Re: Compilation

2004-03-02 Thread Chuck Tuffli
For the pci_* calls, you need to add the interface stuff. In Makefile SRC = bus_if.h device_if.h pci_if.h device.c In device.c uncomment the #include lines ---chuck On Tue, Mar 02, 2004 at 10:54:03AM -0500, [EMAIL PROTECTED] wrote: > I did that. I've got some #difine collisions with PCI an

Re: [Driver WD1100] Compilation

2004-03-02 Thread Chuck Tuffli
On Tue, Mar 02, 2004 at 06:03:43AM -0500, [EMAIL PROTECTED] wrote: > hello, i've got a question about the driver compilation. I finally wrote > my driver, and i'm trying to compile it to test it. I tryed to use > /usr/share/examples/drivers/make_device_driver.sh to build the whole > stuff, but it d

[Driver WD1100] Ooops URL error

2004-03-02 Thread thefly
hello, i'm sorry, i wrote the wrong URL in my last message, the right one is http://chiakotay.nexlab.it/acaro/wd1100/ thanks Claudio Martella ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

[Driver WD1100] Compilation

2004-03-02 Thread thefly
hello, i've got a question about the driver compilation. I finally wrote my driver, and i'm trying to compile it to test it. I tryed to use /usr/share/examples/drivers/make_device_driver.sh to build the whole stuff, but it doesn't work... Anyway I put the driver.c and the header i built to /usr/src

Re: FreeBSD 4.7R and SATA

2004-03-02 Thread Søren Schmidt
Mark wrote: Hello, Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS A7V600 motherboard, which has a serial ATA RAID configuration. You need somthing much more up to date than 4.7R to get SATA support. 4.9 has limitted support for a few SATA controllers, but to get real SATA s

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

2004-03-02 Thread Jordan K. Hubbard
I submit for your consideration the following test program and the wonderful variety of test results it produces: #include #include int main(int argc, char *argv[]) { int rc; FILE *fp=fopen("/dev/zero", "r"); rc = fputs("Hello world\n", fp); printf("errno = %d, rc = %d\n", errno, rc); errn

Re: Re: Sockets and the owner process

2004-03-02 Thread grinder
> The best you can hope for is to determine processes that are actually > using the socket, and that can vary during the socket's lifetime. You > would have to scour the file descriptor tables in all process > structures to determine which processes had a handle on each socket you > have an in

Re: FreeBSD 4.7R and SATA

2004-03-02 Thread Duncan Barclay
> > > Hello, > > > > > > Does FreeBSD 4.7R support SATA drives? I was planning on using an > > > ASUS A7V600 motherboard, which has a serial ATA RAID configuration. > > > > Check the archives for a couple of hacks to recognise the chipsets > > correctly. > > Thanks for replying. I neglected to men

Re: FreeBSD 4.7R and SATA

2004-03-02 Thread Mark
- Original Message - From: "Duncan Barclay" <[EMAIL PROTECTED]> To: "Mark" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 9:39 AM Subject: Re: FreeBSD 4.7R and SATA > > Hello, > > > > Does FreeBSD 4.7R support SATA drives? I was planning on using an > > ASUS A7V60

Re: FreeBSD 4.7R and SATA

2004-03-02 Thread Duncan Barclay
From: "Mark" <[EMAIL PROTECTED]> Subject: FreeBSD 4.7R and SATA > Hello, > > Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS > A7V600 motherboard, which has a serial ATA RAID configuration. Check the archives for a couple of hacks to recognise the chipsets correctly. I ca

Re: HEADSUP.. USB MFC coming..

2004-03-02 Thread quetzal
On Sun, Feb 29, 2004 at 12:54:33AM +0300, Dmitry Morozovsky wrote: > > Well, my main headache (SONY Clie SJ20) is now in a bit different state; before > (at 4.9p1) it failed to attach with > > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2 > ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00,

FreeBSD 4.7R and SATA

2004-03-02 Thread Mark
Hello, Does FreeBSD 4.7R support SATA drives? I was planning on using an ASUS A7V600 motherboard, which has a serial ATA RAID configuration. Thanks, - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To