Re: Firewire blues

2005-02-16 Thread Gerald Heinig
Stephan Uphoff wrote: On Tue, 2005-02-15 at 11:55, Gerald Heinig wrote: Hi Stephan, I'm happy to say that it's working now :) I grabbed a 5.3-STABLE snapshot to get the updated kgdb and completely reinstalled my 5.3-RELEASE system. I compiled the kernel using your options and it worked straight a

Re: MBUF statistics

2005-02-16 Thread Jeremie Le Hen
On Tue, Feb 15, 2005 at 04:54:52PM +0100, Max Laier wrote: > I use "$vmstat -z | grep Mbuf". The netstat -m output is broken, because > fixing this would impose an additional atomic operation on each alloc/free > which is a real performance killer. Will this behaviour stay as-is ? It's not usu

Re: MBUF statistics

2005-02-16 Thread Don Lewis
On 15 Feb, Max Laier wrote: > On Tuesday 15 February 2005 12:38, Borja Marcos wrote: >> Hello, >> >> Looking at the mbuf statistics available in FreeBSD 4 and FreeBSD 5 I >> can see that the statistics available in FreeBSD 5 are, surprisingly, >> much less comprehensive. Is there any othe

Finding variables

2005-02-16 Thread Kathy Quinlan
Hi all, I am using some code from http://home.flash.net/~bobgh/serial.htm It uses variables of ioctl like TCSETS, I have seen it in other FreeBSD source code, but I can not find what I need to include to get it to work . Regards, Kat. -- No virus found in this outgoing message. Checked by AVG Ant

Re: Finding variables

2005-02-16 Thread Sam Lawrance
On Wed, 2005-02-16 at 18:24 +0800, Kathy Quinlan wrote: > Hi all, > > I am using some code from http://home.flash.net/~bobgh/serial.htm > > It uses variables of ioctl like TCSETS, I have seen it in other FreeBSD > source code, but I can not find what I need to include to get it to work . For in

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
On Sun, 13.02.2005 at 22:46:29 -0500, Stephan Uphoff wrote: > +device dcons > +device dcons_crom > > Then configured/compiled/installed the GENERIC.debug kernel. > Copied the kernel.debug file in the GENERIC.debug compile directory to > the debug station and rebooted the target machine. I tried th

memory leak in resolver

2005-02-16 Thread Dag-Erling Smørgrav
[EMAIL PROTECTED] ~/src/gai% cat gai.c #include #include #include #include int main(void) { struct addrinfo hint, *res; memset(&hint, 0, sizeof(hint)); hint.ai_family = AF_INET; hint.ai_socktype = SOCK_STREAM; hint.ai_protocol = 0; if (getaddrin

Re: Firewire blues

2005-02-16 Thread Gerald Heinig
Ulrich Spoerlein wrote: On Sun, 13.02.2005 at 22:46:29 -0500, Stephan Uphoff wrote: +device dcons +device dcons_crom Then configured/compiled/installed the GENERIC.debug kernel. Copied the kernel.debug file in the GENERIC.debug compile directory to the debug station and rebooted the target machine.

Re: Firewire blues

2005-02-16 Thread Gerald Heinig
Gerald Heinig wrote: Ulrich Spoerlein wrote: [stuff snipped] Other than that, remote gdb is working. Poking inside the fwmem itself is however not working, I get this after setting eui64_{hi,lo} % kgdb -c /dev/fwmem0.0 kernel.debug ... 0x in ?? () I got this as well. In my case I assumed i

Re: MBUF statistics

2005-02-16 Thread Robert Watson
On Tue, 15 Feb 2005, Borja Marcos wrote: > Looking at the mbuf statistics available in FreeBSD 4 and > FreeBSD 5 I can see that the statistics available in FreeBSD 5 are, > surprisingly, much less comprehensive. Is there any other place where I > can find out how many mbuf requests have bee

Re: MBUF statistics

2005-02-16 Thread Bosko Milekic
On Tue, 15 Feb 2005 16:54:52 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > On Tuesday 15 February 2005 12:38, Borja Marcos wrote: > > Hello, > > > > Looking at the mbuf statistics available in FreeBSD 4 and FreeBSD 5 I > > can see that the statistics available in FreeBSD 5 are, surprisi

vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Peter C. Lai
I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can do RAID-5 in hardware, but I'd have to use the DOS volume manager to set up the array. I have heard reports that vinum woudl be faster than using the native card. Is this true? Should I not bother with doing the hardware raid

Re: MBUF statistics

2005-02-16 Thread Borja Marcos
This statistic appears to have been lost during the conversion to UMA allocating mbufs. I probably won't get to it this week, but I'll try to get that statistic back in the mix in the next week or two. Unfortunately, I will disable the MBUF statistics for now. I plan to release the first versi

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
On Wed, 16.02.2005 at 13:10:22 +0100, Gerald Heinig wrote: > >When dcons_crom is loaded (module or not) and I boot my system (laptop), > >I only get the "kernel output" on screen. All the other output (starting > >from Mounting root from ufs) goes to the firewire console. > > I don't know whether t

Re: memory leak in resolver

2005-02-16 Thread Brian Fundakowski Feldman
On Wed, Feb 16, 2005 at 12:16:26PM +0100, Dag-Erling Smørgrav wrote: > [EMAIL PROTECTED] ~/src/gai% cat gai.c > #include > #include > #include > #include > > int > main(void) > { > struct addrinfo hint, *res; > > memset(&hint, 0, sizeof(hint)); > hint.ai_family = AF_IN

Re: RFC: backporting GEOM to the 4.x branch

2005-02-16 Thread Jeremie Le Hen
> The problem with NCryptFS is that so far no code has been released and > since it looks like it might get released a day after Duke Nuke 'em > Forever I thought I would see what I can do about backporting GDBE > to the 4.x branch. :-/ What about porting NetBSD's cgd(4) [1] driver ? It *might* b

Re: RFC: backporting GEOM to the 4.x branch

2005-02-16 Thread ALeine
[EMAIL PROTECTED] wrote: > What about porting NetBSD's cgd(4) [1] driver ? It *might* be > easier to port since it does not require GEOM. Thanks for the suggestion, but IMHO GBDE is superior to CGD, as I have already explained in detail a couple of weeks ago: http://leaf.dragonflybsd.org/maila

Re: Finding variables

2005-02-16 Thread Igor Pokrovsky
On Wed, Feb 16, 2005 at 06:24:08PM +0800, Kathy Quinlan wrote: > Hi all, > > I am using some code from http://home.flash.net/~bobgh/serial.htm > > It uses variables of ioctl like TCSETS, I have seen it in other FreeBSD > source code, but I can not find what I need to include to get it to work .

Re: vinum vs. DPT smartcacheIV raid

2005-02-16 Thread Willem Jan Withagen
Peter C. Lai wrote: I have a box with DPT PM2044 SmartCacheIV UW-SCSI PCI cards which can do RAID-5 in hardware, but I'd have to use the DOS volume manager to set up the array. I have heard reports that vinum woudl be faster than using the native card. Is this true? Should I not bother with doin

Re: freebsd problem: Cannot detect Hard Disks as RAID

2005-02-16 Thread Amandeep Pannu
Hi all, I have this Supermicro MB P4SCI and I am using the onboard SATA controllers and making a RAID of two Seagate 80Gb SATA drives but when I try to install FreeBSD 4.11 it doesnt see the drives configured as RAID. Any ideas as if this is supported or not. If I try single drives wihout RAID i