Missing library

2007-03-26 Thread Robe
Hi, I've read the article libelf by Example written by Joseph Koshy. When I try to compile the example with the command he suggest: g++ CodeGenerator.i386.cpp -lelf I get the following error: /tmp/ccpfmJ4D.o: In function `elf_setshstrndx(Elf*, unsigned int)':

sed -i

2007-03-26 Thread Yar Tikhiy
Hi, Recently noticed that our sed(1) differs from its GNU analog in that in -i mode it considers all files as a single sequence of lines while the latter treats each file independently. The in-line mode isn't in POSIX, so it isn't really clear which way is correct. Here is a couple of practical

Re: sed -i

2007-03-26 Thread Joseph Koshy
Recently noticed that our sed(1) differs from its GNU analog in that in -i mode it considers all files as a single sequence of lines while the latter treats each file independently. The in-line mode isn't in POSIX, so it isn't really clear which way is correct. Aren't sed's addresses required

Dual Logic with Qlogic card

2007-03-26 Thread Josef Grosch
I have a Qlogic HBA card (QLA2342) in a machine running FreeBSD 6.2. FreeBSD sees the card and when the HBA is attached to a SAN we are able to see the disk space. The thing we can't seem to get working is a dual path to the same space. Can anyone point me in the correct direction to get this

Re: Dual Logic with Qlogic card

2007-03-26 Thread Wilko Bulte
On Mon, Mar 26, 2007 at 01:06:03PM -0700, Josef Grosch wrote.. I have a Qlogic HBA card (QLA2342) in a machine running FreeBSD 6.2. FreeBSD sees the card and when the HBA is attached to a SAN we are able to see the disk space. The thing we can't seem to get working is a dual path to the same

Re: Dual Logic with Qlogic card

2007-03-26 Thread Wilko Bulte
On Mon, Mar 26, 2007 at 11:01:55PM +0200, Alex Dupre wrote.. Wilko Bulte wrote: You might want to check geom_fox(4). Note the disclaimer about light testing ;^) What FC array do you have btw? There is also geom_multipath in -current, in active development. What are the differences

Re: Dual Logic with Qlogic card

2007-03-26 Thread Eric Anderson
On 03/26/07 15:06, Josef Grosch wrote: I have a Qlogic HBA card (QLA2342) in a machine running FreeBSD 6.2. FreeBSD sees the card and when the HBA is attached to a SAN we are able to see the disk space. The thing we can't seem to get working is a dual path to the same space. Can anyone point me

Re: Dual Logic with Qlogic card

2007-03-26 Thread Alex Dupre
Wilko Bulte wrote: You might want to check geom_fox(4). Note the disclaimer about light testing ;^) What FC array do you have btw? There is also geom_multipath in -current, in active development. What are the differences between the twos? -- Alex Dupre

Re: Dual Logic with Qlogic card

2007-03-26 Thread Josef Grosch
On Mon, Mar 26, 2007 at 10:38:52PM +0200, Wilko Bulte wrote: On Mon, Mar 26, 2007 at 01:06:03PM -0700, Josef Grosch wrote.. I have a Qlogic HBA card (QLA2342) in a machine running FreeBSD 6.2. FreeBSD sees the card and when the HBA is attached to a SAN we are able to see the disk space.

Kerberized NFS work?

2007-03-26 Thread Frank Mayhar
Is there, by any chance, anyone out there working on kerberized NFS for FreeBSD. That is, the rpcsec_gss support in particular as well as the support in NFS4? I really really want to run FreeBSD on my desktop at work but it needs to talk to kerberized NFS servers... -- Frank Mayhar [EMAIL

Re: investigation of Giant usage in kernel

2007-03-26 Thread Kris Kennaway
On Sun, Mar 04, 2007 at 03:11:36PM +0100, Divacky Roman wrote: hi I looked at where Giant is held in the kernel and I found these interesting things: 1) in fs/fifofs/fifo_vnops.c we lock Giant when calling sorecieve()/sosend() this is a bandaid for fixing a race that doesnt have to exist

Re: investigation of Giant usage in kernel

2007-03-26 Thread Kris Kennaway
On Sun, Mar 04, 2007 at 06:55:50PM +0100, Ed Schouten wrote: Hello, I took a grep on the kernel source and took a look to Giant usage as well. I too have a question about locking in uipc_domain.c: The file has a mutex, dom_mtx, which protects the 'domain list lock', which could be