dlopen() and friends from a statically-linked binary?

2000-07-21 Thread Raymond Wiker
[ Re-sent, as it seemed to get lost on my first try. ] Is it possible, at all, to use dlopen etc from a statically-linked executable? My experiments with FreeBSD-4.0 (see below) indicate that it's not possible. The reason that I'd like this to work is that SBCL (a Common

open() error

2000-07-21 Thread Andrey Sverdlichenko
Hello. I've noticed a strange error in open() syscall: when system booted with a CD as root (boot -C) the following code fails with EINVAL: fd = open(c, O_RDONLY | O_NONBLOCK | O_EXLOCK, 0) When root is hdd with UFS (mounted read-only), this works fine. Is it a bug or i missed something? To

Re: dlopen() and friends from a statically-linked binary?

2000-07-21 Thread Martin Hopkins
> "Raymond" == Raymond Wiker <[EMAIL PROTECTED]> writes: Raymond> raw : ~ $ cat dltest.c Raymond> #include Raymond> #include Raymond> main() Raymond> { Raymond> void *handle; Raymond> void *sym; Raymond> handle = dlopen(0, RTLD_LAZY); Raymond> if

RE: dlopen() and friends from a statically-linked binary?

2000-07-21 Thread Daniel O'Connor
On 20-Jul-00 Raymond Wiker wrote: > Is it possible, at all, to use dlopen etc from a > statically-linked executable? My experiments with FreeBSD-4.0 (see > below) indicate that it's not possible. You can't do it from a statically linked binary, however you can create a dynamic executable w

Intel 840 Chipset Discontinue

2000-07-21 Thread Essenz Consulting
I was told by several of my distributors that all motherboards based off of the Intel 840 chipset are being discontinued. That means the Supermicro PIIDM3 and PIIIDME, and any other 840 board. Supermicro has two new boards, 370DL3 and 370DLE. Identical in specs to the 840 boards, but using some k

Re: Intel 840 Chipset Discontinue

2000-07-21 Thread Kenneth D. Merry
On Fri, Jul 21, 2000 at 12:31:58 -0400, Essenz Consulting wrote: > I was told by several of my distributors that all motherboards based off > of the Intel 840 chipset are being discontinued. That means the Supermicro > PIIDM3 and PIIIDME, and any other 840 board. Are you sure they don't just mean

Re: Intel 840 Chipset Discontinue

2000-07-21 Thread Essenz Consulting
Apparently it affects all boards that the Intel 840 chipset. Yeah, it does suck that the 370DLx boards dont have AGP, but for a server you can still find old PCI video cards. On Fri, 21 Jul 2000, Kenneth D. Merry wrote: > On Fri, Jul 21, 2000 at 12:31:58 -0400, Essenz Consulting wrote: > > I wa

Re: Intel 840 Chipset Discontinue

2000-07-21 Thread sthaug
> Supermicro has two new boards, 370DL3 and 370DLE. Identical in specs to > the 840 boards, but using some kind of "ServerWork LE" chipset. However, I > have also been hearing bad news about these boards as well. The IBM Netfinity 3500 servers (possibly other Netfinity models also) use the Server

Re: clearing pages in the idle loop

2000-07-21 Thread Lars Eggert
(Cort, the reason I'm CCing you is that I'm interested in using some of the mechanism described in your OSDI'99 paper for FreeBSD, and I've some questions about your Linux implementation, see below.) Alan Cox wrote: > Last year, I tried to reproduce some of the claims/results > in this paper on F

Re: clearing pages in the idle loop

2000-07-21 Thread cort
We started losing performance with the idle page clearing so I've disabled it and haven't done much with it in quite a while. The code has fallen into disrepair and some has been removed in the latest versions. I'd suggest looking at the early 2.3.x and 2.2.1[23] series of Linux kernels. That's

Intel 815E

2000-07-21 Thread David B
I was wondering if anyone is using a motherboard with the Intel 815E chipset. If so did you get the onboard video and sound to work?(not that is overly important, I would popin an ATI xpert 98 8MB if need be). And if so, which frebsd 3.4S, 5.0C or somewhere in between? I was thinking of the A

Re: clearing pages in the idle loop

2000-07-21 Thread Lars Eggert
[EMAIL PROTECTED] wrote: > We started losing performance with the idle page clearing so > I've disabled it and haven't done much with it in quite a while. The code > has fallen into disrepair and some has been removed in the latest > versions. I'd suggest looking at the early 2.3.x and 2.2.1[23]

Re: clearing pages in the idle loop

2000-07-21 Thread cort
Darn. I was hoping you had some mechanism for tracking that. Have you seen how quicklists work on Linux? They setup page directories after they've been freed so the whole things don't need to be cleared when allocated. I thought you could do something like that with page clearing instead if yo

Re: clearing pages in the idle loop

2000-07-21 Thread Matt Dillon
:Alan Cox wrote: :> Last year, I tried to reproduce some of the claims/results :> in this paper on FreeBSD/x86 and couldn't. I also tried :> limiting the idle loop to clearing pages of one particular :... : :> Finally, it's possible that having these pre-zeroed pages :> in your L2 cache might be

Re: Intel 840 Chipset Discontinue

2000-07-21 Thread Matt Dillon
:Apparently it affects all boards that the Intel 840 chipset. : :Yeah, it does suck that the 370DLx boards dont have AGP, but for a server :you can still find old PCI video cards. Voodoo 3 2000's (available for PCI or AGP) make great workstation video cards. About $100 and you get all th

Re: clearing pages in the idle loop

2000-07-21 Thread Lars Eggert
Matt Dillon wrote: > > :Alan Cox wrote: > :> Last year, I tried to reproduce some of the claims/results > :> in this paper on FreeBSD/x86 and couldn't. I also tried > :> limiting the idle loop to clearing pages of one particular > :... > : > :> Finally, it's possible that having these pre-zeroed

Re: memory type and its size

2000-07-21 Thread Zhihui Zhang
On Thu, 20 Jul 2000, Zhihui Zhang wrote: > > Does kernel memory of the same type (e.g., M_TEMP) must be allocated > (using malloc()) with the same (range of) size? BTW, how to display mbuf > cluster usages info. Thanks. A memory type can have memory blocks with different sizes. Use netstat -

Re: KLD, kernel threads, zone allocator

2000-07-21 Thread Zhihui Zhang
On Mon, 17 Jul 2000, Zhihui Zhang wrote: > > I am writing a KLD that gives me kernel fault each time I run 'ps' command > after 'make unload'. The KLD has a system call to create several kernel > threads by calling kthread_create(). During unload, I set flags to each > threads so that they wil

Re: Maybe OT, maybe not

2000-07-21 Thread Ulf Zimmermann
On Tue, Jul 18, 2000 at 03:20:44PM -0700, Ulf Zimmermann wrote: > Hello, > > I got a problem I need to get "solved" as fast as possible. I have here > a firewall box (FreeBSD based, yeah!) and need to test this in conjunction > with web crawling. Our current FW1 based Sun firewalls die very fast.

Re: Intel 840 Chipset Discontinue

2000-07-21 Thread Mike Smith
> I was told by several of my distributors that all motherboards based off > of the Intel 840 chipset are being discontinued. That means the Supermicro > PIIDM3 and PIIIDME, and any other 840 board. I have mixed feelings about this, but on the whole I think it's probably for the best. I've had

/etc/defaults/make.conf:LEAPSECONDS= true?

2000-07-21 Thread Mario Sergio Fujikawa Ferreira
Hi, I was wondering if this should go inside /etc/defaults/make.conf. --- /usr/src/etc/defaults/make.conf Sun Jul 16 05:30:30 2000 +++ /tmp/make.conf Fri Jul 21 18:42:35 2000 @@ -41,6 +41,9 @@ # To build perl with thread support #PERL_THREADED=true # +# Compile zonein

Please Remove

2000-07-21 Thread Selina
Please remove [EMAIL PROTECTED], or [EMAIL PROTECTED] from you list.. Thank you. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Fwd: /etc/defaults/make.conf:LEAPSECONDS= true?

2000-07-21 Thread Selina
>Please remove To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Specific video hardware support with the advent of the Linux A|W Maya port.

2000-07-21 Thread Mike Muir
Recently, Alias|Wavefront announced they would port Maya to Linux. Assuming FreeBSD can emulate the linux binary's (and I have no reason to think that it won't) then what about support for video hardware (high, mid and consumer -end) which requires more than just a suitable X server? Take the

suprising mount root behavior

2000-07-21 Thread Doug White
Hello all, Some new root mount behavior in 4.0 just saved my bacon, but I'm curious as to how it's implemented. My custom installer accidentally created fstab entries for IDE disks on a SCSI-only system. Thus, fstab point to /dev/ad0s1a for / and /dev/ad0s1b for swap. I rebooted the system t

Re: suprising mount root behavior

2000-07-21 Thread Mike Smith
> Some new root mount behavior in 4.0 just saved my bacon, but I'm curious > as to how it's implemented. 8) > My custom installer accidentally created fstab entries for IDE disks on a > SCSI-only system. Thus, fstab point to /dev/ad0s1a for / and /dev/ad0s1b > for swap. > > I rebooted the sy

Re: dlopen() and friends from a statically-linked binary?

2000-07-21 Thread Raymond Wiker
> raw : ~ $ gcc dltest.c -o dltest > raw : ~ $ ./dltest > Handle: 0x2805e000, main: 0x0 > Handle: 0x0, main: 0x0 > > [ Note: this seems wrong; according to the manpage for dlsym, the > second call should give the same output as the first. ] Sorry about the confusion... the "main" symbol

sysutils/memtest and FreeBSD

2000-07-21 Thread Mario Sergio Fujikawa Ferreira
Hi, I just added sysutils/memtest to the FreeBSD ports tree a couple of days ago. It is a utility to test for faulty memory subsystem. However, I've been having some problems with it. They are not fatal, but really annoying. I am in contact with the author to try working them out.