Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-24 Thread Daniel O'Connor
On Friday 24 October 2008 23:20:59 Peter Jeremy wrote: > >this will make system trying to bind 32-bit libs to 64-bit program. it > >can't work > > rtld shouldn't attempt to bind 32-bit libs to 64-bit programs. The same problem happens with the Linux run time linker - it merrily tries to link Free

Re: libusb for linux-emulation

2008-10-24 Thread Daniel O'Connor
On Saturday 25 October 2008 05:57:36 Hans Petter Selasky wrote: > Why can't you use and install: > > /usr/ports/devel/libusb > > ? Because that gives you a FreeBSD libusb and he needs to have a Linux program talk to a USB device. I'd like this too but it's beyond by ken :( (It would be handy for

Re: Severe DNS Problems, 6.2-RELEASE, BIND 9.5.2

2008-10-24 Thread george+freebsd
> From: Matthew Seaman <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > I'm having severe DNS problems. I'm running 6.2-RELEASE, and I upgrade= > d > > to the bind9 port (after cvsup) on July 14. Starting yesterday morning= > , > > DNS became very, very slow. If I repeated a "dig" command thre

Re: neophyte: tcsetattr() gives 22 error in i386, not in amd64?

2008-10-24 Thread Nate Eldredge
On Fri, 24 Oct 2008, Steve Franks wrote: Hi, I'm getting a 22 errno from tcsetattr() on 7-STABLE i386 in code which was working under 7-STABLE amd64. Serial device is a ucom (silabs cp2103). Permissions on /dev/cuaU0 look fine. Cutecom/Minicom appears to open the port without error... I do

neophyte: tcsetattr() gives 22 error in i386, not in amd64?

2008-10-24 Thread Steve Franks
Hi, I'm getting a 22 errno from tcsetattr() on 7-STABLE i386 in code which was working under 7-STABLE amd64. Serial device is a ucom (silabs cp2103). Permissions on /dev/cuaU0 look fine. Cutecom/Minicom appears to open the port without error... Ideas? Thanks, Steve if(cfsetspeed(&IspEnvi

Re: libusb for linux-emulation

2008-10-24 Thread Hans Petter Selasky
Hi Martin, Why can't you use and install: /usr/ports/devel/libusb ? --HPS On Friday 24 October 2008, Martin Laabs wrote: > Hi, > > On Fri, 24 Oct 2008 19:51:31 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > > No, you cannot use the linux libusb on FreeBSD. You need to use the > > Fre

Re: libusb for linux-emulation

2008-10-24 Thread Martin Laabs
Hi, On Fri, 24 Oct 2008 19:51:31 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD > compiled libusb. The USB kernel interfaces are quite different. OK - I see. I'm just trying to build a "hermaphrodite" library

Re: libusb for linux-emulation

2008-10-24 Thread Hans Petter Selasky
On Friday 24 October 2008, Martin Laabs wrote: > Hi, > > I'd like to run a program in linux-emulation (closed source ...) > which uses the libusb. Is the structure (ioctls on devices and so on) > sufficient compatible to use a linux libusb? > Or is there any way to build a simple wrapper library to

libusb for linux-emulation

2008-10-24 Thread Martin Laabs
Hi, I'd like to run a program in linux-emulation (closed source ...) which uses the libusb. Is the structure (ioctls on devices and so on) sufficient compatible to use a linux libusb? Or is there any way to build a simple wrapper library to use the nativ libusb? (IMHO this is not possible.) Do yo

Re: Severe DNS Problems, 6.2-RELEASE, BIND 9.5.2

2008-10-24 Thread Matthew Seaman
[EMAIL PROTECTED] wrote: I'm having severe DNS problems. I'm running 6.2-RELEASE, and I upgraded to the bind9 port (after cvsup) on July 14. Starting yesterday morning, DNS became very, very slow. If I repeated a "dig" command three or four times, I could get an answer after 20-30 seconds. Th

question about sb->st_blksize in src/sys/kern/vfs_vnops.c

2008-10-24 Thread Thierry Herbelot
Hello, the [SUBJ] file contains the following extract (around line 705) : * Default to PAGE_SIZE after much discussion. * XXX: min(PAGE_SIZE, vp->v_bufobj.bo_bsize) may be more correct. */ sb->st_blksize = PAGE_SIZE; which arrived around four years ago, with revision 1.211 (s

Re: zfs & waiting on zio->io_cv

2008-10-24 Thread Dan Nelson
In the last episode (Oct 24), Danny Braniss said: > there is a big delay (probably more than 1 sec.) when doing simple tasks > on this zfs, like ls(1), or 'zfs list', long enough to hit ^T > and get the same [zio->io_cv)], any hints? > > store-01# zfs list > (hitting ^T)load: 0.00 cmd: zfs 88376

Severe DNS Problems, 6.2-RELEASE, BIND 9.5.2

2008-10-24 Thread george+freebsd
I'm having severe DNS problems. I'm running 6.2-RELEASE, and I upgraded to the bind9 port (after cvsup) on July 14. Starting yesterday morning, DNS became very, very slow. If I repeated a "dig" command three or four times, I could get an answer after 20-30 seconds. This morning I cvsupped again

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-24 Thread Peter Jeremy
On 2008-Oct-24 10:43:04 +0200, Wojciech Puchar <[EMAIL PROTECTED]> wrote: >> 6.1-RELEASE-amd64 machine. If I add /usr/lib32 to my LD_LIBRARY_PATH >> it breaks all of my binaries on my 64-bit machine. > >what do you expect else? Well, the rtld should be smart enough to recognize 32-bit .so's and s

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit binaries?

2008-10-24 Thread Wojciech Puchar
6.1-RELEASE-amd64 machine. If I add /usr/lib32 to my LD_LIBRARY_PATH it breaks all of my binaries on my 64-bit machine. what do you expect else? this will make system trying to bind 32-bit libs to 64-bit program. it can't work ___ freebsd-hackers@f

zfs & waiting on zio->io_cv

2008-10-24 Thread Danny Braniss
there is a big delay (probably more than 1 sec.) when doing simple tasks on this zfs, like ls(1), or 'zfs list', long enough to hit ^T and get the same [zio->io_cv)], any hints? store-01# zfs list (hitting ^T)load: 0.00 cmd: zfs 88376 [zio->io_cv)] 0.00u 0.00s 0% 1672k (hitting ^T)load: 0.00 cmd