a Q on measuring system performance.

2005-03-24 Thread Yan Yu
Hello, all, I add some codes in various places relating to file operations inside the kernel, e.g., fdalloc(), fdused(), fdunused(), fdfree() etc. I am trying to measure the overhead added by these instrumentation code. my plan is: in my user space program, i have something like the following: -

Re: IP over FireWire and Mac OSX

2005-03-24 Thread P.ArulChandran
By analyzing the packets from FreeBSD in firebug log, I could see that unfragmented packets are sent as fragmented packets, with inappropriate values in the packet header. Even if the packets are fragmented, the 'lf' field is not set correctly. To comply with Section 4.2 of RFC 2734, FreeBSD shoul

Re: Kernel documentation and specification

2005-03-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Dan Nelson <[EMAIL PROTECTED]> writes: : > #BsdCode of efnet, but it was keyed not too long ago. It was keyed sometime before Sept 1, 2002. The key history file starts out: *** jmallett @ Sun Sep 1 19:44:00 2002 *** and I recall that the keys were in

Re: FreeBSD 5.3: Sharedlibs using sharedlibs (and Tcl)

2005-03-24 Thread Palle Girgensohn
--On onsdag, mars 16, 2005 20.13.03 +0100 Peter Much <[EMAIL PROTECTED]> wrote: On Wed, Mar 16, 2005 at 03:35:16PM +0100, Palle Girgensohn wrote: ! ! --On onsdag, mars 16, 2005 11.43.31 +0100 Peter Much ! <[EMAIL PROTECTED]> wrote: ! ! >! So, you're saying that pctclsh *can* access, but pgaccess

Re: security or lack thereof

2005-03-24 Thread Chris Hodgins
On Thu, 24 Mar 2005 12:48:48 -0700 (MST), M. Warner Losh <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > [EMAIL PROTECTED] (John Nemeth) writes: > : So, is it FreeBSD policy to ignore security bug reports? I sent > : the following bug report to [EMAIL PROTECTED] on

Re: Kernel documentation and specification

2005-03-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "klowd9 -" <[EMAIL PROTECTED]> writes: : First of all i am dead serious about learning. Good. You will need to study to learn this topic. It isn't something that you can gain in one converstation, or even one day. It takes years to completely master t

Re: running freebsd in qemu using the "-nographic" option ?

2005-03-24 Thread Aziz KEZZOU
> Aziz KEZZOU wrote: > > >Hi all, > >I am running freebsd 5.3 under qemu (a fast IA32 emulator). My host > >system is linux. Everything works fine, but I want to get rid of this > >small non-scrollable window, not practical when gcc says I made many > >many errors :-)... > > > > > > you can scrol

Re: security or lack thereof

2005-03-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] (John Nemeth) writes: : So, is it FreeBSD policy to ignore security bug reports? I sent : the following bug report to [EMAIL PROTECTED] on Feb. 19th, 2005 and : it still hasn't been acted on. This total lack of action on an : extr

Re: Kernel documentation and specification

2005-03-24 Thread Roman Kurakin
Read section 9 of man. Read other drivers. Check if there is an example of driver you want to write. (/usr/share/examples) PS. Use edonkey, you may find there some books. I time to time ask my friend who use edonkey often to find me smth, but if book realy deserve and I need it for direct benefit (

Re: Freebsd 5.3 hangs under heavy load????--Anyone ??

2005-03-24 Thread Amandeep
Amandeep wrote: Hi again, I have two Seagate SCSI drives 36GB and 8GB RAM and installed 5.3-REL with PAE and SMP support. Now the problem arises that the system hangs under heavy load and there are no error messages nothing. I have to hard boot it everytime it hangs. Then I tried with only SMP a

Re: Compaq SCSI RAID Controllers compatible??

2005-03-24 Thread Amandeep
Hi all, What Compaq SCSI Raid controllers run solid on FreeBSD 5.X.. Thanks in advance A ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: DMA TIMEOUT PROBLEM

2005-03-24 Thread Søren Schmidt
haad wrote: Hi, This is pretty basic question which has been allready discused here but i can't find answer .On my workstation i use linux and freebsd linux works fine without any errors but freebsd shhows numerous errors and i don't know what to do. I test freebsd 5.2.1-released ,5.3 released t

Re: passwd & permissions

2005-03-24 Thread Peter Pentchev
On Wed, Mar 23, 2005 at 11:41:13AM -0600, H. S. wrote: [snip] > Since pw is not setuid, if it can't read any of the passwd files, it will > not print the full userlist. I have very customized (and tested, over the > years) permissions on the whole filesystem. That is why I wanted to find > out why

Re: Kernel documentation and specification

2005-03-24 Thread Dan Nelson
In the last episode (Mar 24), klowd9 - said: > Where can i find resources about the freebsd kernel? I read over the > developers handbook, and the architecture handbook, and both provide > very little information i need. Also if anyone can recommend irc > channels to visit where developers are to b

Re: NIC detected, but won't DHCP or configure

2005-03-24 Thread Andrew Robinson
Excellent! The interface is now up: bash-2.05b$ ifconfig fwe0: flags=108802 mtu 1500 options=8 ether 02:90:f5:40:24:d8 ch 1 dma -1 re0: flags=8802 mtu 1500 options=1b ether 00:90:f5:3f:08:d8 media: Ethernet autoselect (100baseTX) status: no

Design and Implemenations of FreeBSD

2005-03-24 Thread Bill Vermillion
On or about Thu, Mar 24, 2005 at 12:00 , while attempting a Zarathustra emulation [EMAIL PROTECTED] thus spake: > Message: 3 > Date: Thu, 24 Mar 2005 02:15:07 + > From: "klowd9 -" <[EMAIL PROTECTED]> > Subject: Re: Kernel documentation and specification > >Reading the CVS logs for the relev

Re: Kernel documentation and specification

2005-03-24 Thread Giorgos Keramidas
On 2005-03-24 13:22, Marius N?nnerich <[EMAIL PROTECTED]> wrote: >On Thu, 24 Mar 2005 13:17:56 +0200 >Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >> >> The book is absolutely fabulous! Watch out for the details though and >> keep in mind that you many find it nice to have a FreeBSD source tree >>

Re: Kernel documentation and specification

2005-03-24 Thread Dag-Erling Smørgrav
"klowd9 -" <[EMAIL PROTECTED]> writes: > First of all i am dead serious about learning. Apparently not. > Secondly, where i come from, $60 is alot of money. And in the spirit > of open source and free software, charging $60 for a book is > ridiculous. I want to code free software and contribute t

Re: Kernel documentation and specification

2005-03-24 Thread Dag-Erling Smørgrav
Frank Mayhar <[EMAIL PROTECTED]> writes: > Um, well, actually for a reference work, that's a reasonable price. You > might be able to pick up a copy of the 4.4BSD demon book used, I guess. It would be nearly useless. The latest edition is well worth its price. DES -- Dag-Erling Smørgrav - [EMA

Re: Kernel documentation and specification

2005-03-24 Thread Marius Nünnerich
On Thu, 24 Mar 2005 13:17:56 +0200 Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > The book is absolutely fabulous! Watch out for the details though and > keep in mind that you many find it nice to have a FreeBSD source tree > nearby, just for the fun of browsing the source itself too while yo

DMA TIMEOUT PROBLEM

2005-03-24 Thread haad
Hi, This is pretty basic question which has been allready discused here but i can't find answer .On my workstation i use linux and freebsd linux works fine without any errors but freebsd shhows numerous errors and i don't know what to do. I test freebsd 5.2.1-released ,5.3 released then 5.4-beta

Re: Kernel documentation and specification

2005-03-24 Thread Giorgos Keramidas
On 2005-03-24 02:15, klowd9 - <[EMAIL PROTECTED]> wrote: >> Kirk's book, ``The Design and Implementation of the FreeBSD >> Operating System'' probably contains the answers to basic >> questions about scheduling and IPC. > > I considered purchasing that book, which is very very good imo, but a > bit

Re: ip_reass() - possibly incorrect goto

2005-03-24 Thread Mike Silbersack
On Wed, 23 Mar 2005, Maxim Konovalov wrote: On Tue, 22 Mar 2005, 12:08-0800, [EMAIL PROTECTED] wrote: Hi hackers, I am looking at the ip_reass() routine. In case of the 1st fragment we create the reassembly queue. After the queue has been inserted in the hash bucket, the if () code does a " goto in

Re: Kernel documentation and specification

2005-03-24 Thread Jeremie Le Hen
Hi, > Where can i find resources about the freebsd kernel? > I read over the developers handbook, and the architecture handbook, and > both provide very little information i need. Kirk McKusick and George Neville-Neil's book << The Design and Implementation of the FreeBSD Operating System >> is