Repeated polling of CD/DVD-ROM.

2004-06-21 Thread Lewis Thompson
Hi, I have written some code that does some rather nasty stuff to determine whether or not there is media in the drive. It is basically this: open('/dev/dvd', 'rb') read(1) at which point if I get an exception (in Python) I know there is no media (or it is blank). If it throws no exception

Re: Installing FreeBSD on Sparc Ultra II clone

2004-06-21 Thread Charles Swiger
On Jun 21, 2004, at 3:23 PM, Matthew Seaman wrote: I admit I had never heard of a sparc clone made by them. Seeing as the sparc based models listed on the www.tsti.com site look kind of old hat nowadays, I don't thing it's safe to assume 'Tatung' means 'Sparc Clone' any more... A client of ours

wpc54g pcmcia

2004-06-21 Thread Anatoliy Romanko
Heya, I'm trying to get linksys wireless adapter to work with my laptop. I have Compaq Evo n610c. Linksys WPC54G pcmcia adapter. So far I have seen many hints on how this stuff works, but coudn't put it all together. uname FreeBSD evo 5.2.1-RELEASE #1: Mon Jun 14 17:53:54 EDT 2004 [EMAIL

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Matthew Dillon
: := pre-faulting is best done by a worker thread or child process, or it := will just slow you down.. : :Read is also used for large files sometimes, and never tries to prefetch :the whole file at once. Why can't the same smarts/heuristics be employed :by the page-fault handling code --

maxproc limit reached with trivial exec() in cgi script

2004-06-21 Thread Peter Risdon
apache+mod_ssl-1.3.29+2.8.16 (suexec), PHP 4.3.4 (cgi), FreeBSD 4.10-STABLE exec(ls -l) in a php cgi script works the first time it is run after a reboot Every subsequent invocation gives /kernel: maxproc limit exceeded by uid 1208, please see tuning(7) and login.conf(5) in /var/log/messages

Msn Voice conversation

2004-06-21 Thread Dj Uwins
Hello! I'm trying to get msn voice conversation working through NATD. I've been reading alot of posts and there are others who can't seem to get this working by trying to forward ports in natd.conf. I guess NATD does not recognize the voice protocol properly and cannot alias it. This is a link

[OT] Re: Overly brief answers (was Re: Terminal Server)

2004-06-21 Thread Nico Meijer
Hi Bill! I am joyfully amazed at how much one simple yes can stir up, other than at weddings. ;-) First off: I didn't mean to put OP or anyone else off. Yes, I must admit, there is a 'smart @$$' element in my answer, which is totally my bad. Please take note that I am a nice guy, usually

Ports make search broken

2004-06-21 Thread Jason Oakley
$ cd /usr/ports $ make search name=centericq Makefile:67: *** missing separator. Stop. I got the Makefile from a friend as well (he has the same version FreeBSD as I do) but I get the same error. -

Re: blocking internally

2004-06-21 Thread Kevin Stevens
Was there any followup on this, John? -- KeS On Sat, 19 Jun 2004, Kevin Stevens wrote: On Jun 19, 2004, at 06:11, John Lee wrote: hi, i have 7 ips on one box, however they can't connect internally to each other IP ports. please advise. Counting below, you only reference 6 IP addresses

Installworld errors with mtree

2004-06-21 Thread Timms, Simon
Hi, I was just helping a friend through an install world and, as seems to be the way with his computer, we ran into problems. We were updating an early 5 series (possibly 5.0 release) to 5.2_1. We went through all the steps as outlined in UPDATING and everything seemed to be working fine right

Re: Ports make search broken

2004-06-21 Thread Kent Stewart
On Monday 21 June 2004 01:32 pm, Jason Oakley wrote: $ cd /usr/ports $ make search name=centericq Makefile:67: *** missing separator. Stop. I got the Makefile from a friend as well (he has the same version FreeBSD as I do) but I get the same error. Your system is broken someplace. Your

Re: Redirection with a bridge ?

2004-06-21 Thread Charles Swiger
On Jun 21, 2004, at 4:48 PM, [EMAIL PROTECTED] wrote: Is it possible to redirect packets that are being passed through a bridge based on their protocol/port, so that if a HTTP packet (port 80) goes through the bridge, no matter what its destination is, it will be redirected to IP address 4.3.2.1.

Re: wierd router crashes...

2004-06-21 Thread Alison Lloyd
Jorn Argelo said: Alison Lloyd wrote: I'm trying to get a FreeBSD box set up as a router between my cable internet connection and my home LAN. I'm using a Compaq Professional Workstation 5000 (yes, the Pentium Pro thingy), which I've installed an extra NIC into. The output from uname -a is:

Re: CURRENT does not build (annotate.texi)

2004-06-21 Thread Kris Kennaway
On Mon, Jun 21, 2004 at 02:48:16PM +0200, Axel S. Gruner wrote: Hi, i got some problems building CURRENT maybe someone can tell me what the problem is: One problem is that you're tracking -current without reading or posting to the corresponding mailing list. Kris pgpBISwOuUG0u.pgp

Re: Msn Voice conversation

2004-06-21 Thread Charles Swiger
On Jun 21, 2004, at 4:21 PM, Dj Uwins wrote: I'm trying to get msn voice conversation working through NATD. I've been reading alot of posts and there are others who can't seem to get this working by trying to forward ports in natd.conf. Yes, the H.323 protocol family is a nightmare in terms of

Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Andy Harrison [EMAIL PROTECTED] wrote: On Mon, 21 Jun 2004 13:20:06 -0400, Bill Moran [EMAIL PROTECTED] wrote: Hey, I know questions like this get asked a lot, but I'm going to be really specific. I know how to set up failover with a backup MX. That's not what I'm looking for.

LRZ bug?

2004-06-21 Thread Alex Mitchell
We have clients that have HHP Dolphin scanners that are connected directly to modems through the com port. The scanners dial into a modem pool (radius server), which then authenticates based on username and password and forwards the upload data files to our server via an rlogin connection.

Re: iSCSI support in FreeBSD?

2004-06-21 Thread K. Greenwood
--- Forrest Aldrich [EMAIL PROTECTED] wrote: Is there planned iSCSI support in FreeBSD 4 or 5. Well... no one else has responded. Considering I have nil experience, all I can do is offer links. http://docs.FreeBSD.org/cgi/mid.cgi?20040405125530.14f97d7a And you can navigate to...

Re: missing ports; portsdb problem

2004-06-21 Thread Jim Arnold
Jim, You mentioned that you didn't have a refuse file. You might want to double check that /usr/local/etc/cvsup/sup/refuse or [other_default_base_specified_by_your_ports_supfile]/sup/refuse does indeed not exist. find / -name refuse -print#also a handy way, providing your user

Re: Msn Voice conversation

2004-06-21 Thread Bill Moran
Charles Swiger [EMAIL PROTECTED] wrote: On Jun 21, 2004, at 4:21 PM, Dj Uwins wrote: I'm trying to get msn voice conversation working through NATD. I've been reading alot of posts and there are others who can't seem to get this working by trying to forward ports in natd.conf. Yes, the

Re: Redirection with a bridge ?

2004-06-21 Thread Charles Swiger
On Jun 21, 2004, at 5:10 PM, Matt Juszczak wrote: [ ... ] So basically, I either have to use some other form of redirecting web packets (a bogus DNS server maybe), or switch to a NAT instead of a bridge. Correct? Yes, more or less. There are other approaches which could be taken which are

Re: What's the best possible email failover solution

2004-06-21 Thread Matthew Seaman
On Mon, Jun 21, 2004 at 05:25:20PM -0400, Bill Moran wrote: The return can be significant. The company I am doing this for provides IMAP mail services for business. If a filesystem crashes and service is down for a while, we can easily lose clients. If we had some sort of failover, we'd be

Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Matthew Seaman [EMAIL PROTECTED] wrote: On Mon, Jun 21, 2004 at 05:25:20PM -0400, Bill Moran wrote: The return can be significant. The company I am doing this for provides IMAP mail services for business. If a filesystem crashes and service is down for a while, we can easily lose

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Mikhail Teterin
=Both read and mmap have a read-ahead heuristic. The heuristic =works. In fact, the mmap heuristic is so smart it can read-behind =as well as read-ahead if it detects a backwards scan. Evidently, read's heuristics are better. At least, for this task. I'm, actually, surprised, they are

Re: [OT] Re: Overly brief answers (was Re: Terminal Server)

2004-06-21 Thread Bill Moran
Hey Nico, Nico Meijer [EMAIL PROTECTED] wrote: Hi Bill! I am joyfully amazed at how much one simple yes can stir up, other than at weddings. ;-) You'll have such stirrings when you deal with people who actually care about what they do. Folks that don't really care generally don't get

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Dan Nelson
In the last episode (Jun 21), Mikhail Teterin said: Both read and mmap have a read-ahead heuristic. The heuristic works. In fact, the mmap heuristic is so smart it can read-behind as well as read-ahead if it detects a backwards scan. Evidently, read's heuristics are better. At least, for

Toshiba Laptop Touch Mouse Problem

2004-06-21 Thread Douglas Korinke
The touch mouse is an Alps Pointing Device with a middle scroll wheel and I have gotten the mouse to work before on FreeBSD4.9 I'm still running fbsd4.9 but the mouse is not functional in xwindows, any ideas what might be going on? ICQ : 26096369 AIM : itss0lidstate

RE: problem installing 4.10, boot hangs after PLIP0

2004-06-21 Thread Bob Johnson
Message: 2 Date: Mon, 21 Jun 2004 11:58:25 -0700 From: White, Sean [EMAIL PROTECTED] Subject: problem installing 4.10, boot hangs after PLIP0 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Help! (please...) I am having a problem

RE: Spamassassin

2004-06-21 Thread Eric Crist
It is possible the default install on RedHat has a lower 'score' necessary for it to be flagged as spam. You can set this in the configuration file. Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

atapi/cam driver

2004-06-21 Thread Gerard Samuel
Im trying to set it up, and Im not getting any real output from camcontrol devlist. Im following instructions from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM. dmesg only shows the devices as atapi devices, and not scsi. Does anyone have an idea where Im

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Matthew Dillon
: :ask for 8k, but the system will fetch the next 64k of data. Problem is :the system does nothing until you read the next 8k past the 64k :alreqady read in, then it jumps up and grabs the next 64k. You're :still waiting on I/O every 8th read. Ideally it would do an async :.. :-- : Dan

Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: It's the mailboxes themselves that are difficult to get. Best we've got right now is backing up the Cyrus mail folders using rsync ... but this is very time- consuming, and (thus) only done once a day. In order for it to be done right, Cyrus has to be shut down while it's

SmartPass VPN Software.

2004-06-21 Thread Minnesota Slinky
Hey all, Is there anyone that's tried installing/porting the VPN software SmartPass? I need it to log into a VPN, and they simply told me, 'yeah, it works on unix.' Problem is, it only supports Solaris and RedHat. When I try to run the binary, I get the following error: %smartpass ELF binary

Printing setup

2004-06-21 Thread Len Zettel
I am trying to set up FreeBSD 4.10 When it comes to printing I am fairly slavishly following the Handbook. Unfortunately, when I try lptest 20 5 | lpr -PLaserjet I get the following message: lpd[297]:Laserjet: cannot execv(/usr/local/libexec/if-simple): no such file or directory

Re: Printing setup

2004-06-21 Thread Richard Stevenson
On Mon, 21 Jun 2004, Len Zettel wrote: I get the following message: lpd[297]:Laserjet: cannot execv(/usr/local/libexec/if-simple): no such file or directory /usr/local/libexec/if-simple is there: Moving it to /usr/local (with corresponding modification of /etc/printcap) doesn't seem to help. My

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Matthew Dillon
:The mmap interface is supposed to be more efficient -- theoreticly -- :because it requires one less buffer-copying, and because it (together :with the possible madvise()) provides the kernel with more information :thus enabling it to make better (at least -- no worse) decisions. Well, I

Re: Ports make search broken

2004-06-21 Thread Jonathan Chen
On Tue, Jun 22, 2004 at 06:32:01AM +1000, Jason Oakley wrote: $ cd /usr/ports $ make search name=centericq Makefile:67: *** missing separator. Stop. You should be using the system make in /usr/bin/make and not GNU make. -- Jonathan Chen [EMAIL PROTECTED]

Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Chuck Swiger [EMAIL PROTECTED] wrote: Bill Moran wrote: It's the mailboxes themselves that are difficult to get. Best we've got right now is backing up the Cyrus mail folders using rsync ... but this is very time- consuming, and (thus) only done once a day. In order for it to be done

[OT] Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Chuck Swiger [EMAIL PROTECTED] wrote: snip [ I don't think that stuffing email into a database is a particularly good idea since that means keeping large blobs of non-relational data floating around, something that the filesystem can do a better job of handling... ] Actually ... you got me

Anyone know if this NIC is supported (or even what it is?) Chaintech 7VIF4

2004-06-21 Thread Bill Moran
I guess the subject says it all, here's all the details I can find: http://www.newegg.com/app/viewProductDesc.asp?description=13-152-030depa=0 -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list

Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: Chuck Swiger [EMAIL PROTECTED] wrote: [ ... ] The latter uses one-message-per-file, and ought to work *much* better both in terms of performance and stability, and in terms of playing nice with the way rsync wants to back things up. Doesn't really matter. Fact is, the mail

Re: Printing setup

2004-06-21 Thread Warren Block
On Mon, 21 Jun 2004, Len Zettel wrote: Unfortunately, when I try lptest 20 5 | lpr -PLaserjet I get the following message: lpd[297]:Laserjet: cannot execv(/usr/local/libexec/if-simple): no such file or directory /usr/local/libexec/if-simple is there: Moving it to /usr/local (with corresponding

Re: What's the best possible email failover solution

2004-06-21 Thread Lucas Holt
Keep in mind that storing mail in a RDBMS as a backup requires an efficient method to restore mail into your mail server's format. Would it be possible to have a second mail server internal to your network that would receive copies of the mail from the primary mail server to store them as a

[OT] Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Chuck Swiger [EMAIL PROTECTED] wrote: Bill Moran wrote: Chuck Swiger [EMAIL PROTECTED] wrote: [ ... ] The latter uses one-message-per-file, and ought to work *much* better both in terms of performance and stability, and in terms of playing nice with the way rsync wants to back things

Re: What's the best possible email failover solution

2004-06-21 Thread Bill Moran
Lucas Holt [EMAIL PROTECTED] wrote: Keep in mind that storing mail in a RDBMS as a backup requires an efficient method to restore mail into your mail server's format. I'm looking at RDBMS _being_ the native format. Dovecot has this on the TODO list, but it's low priority for that project.

Compiling Apache (port) apache13-mod_ssl and apache13-mod_perl ... ?

2004-06-21 Thread Forrest Aldrich
This has to be a FAQ, but I've not found it yet. When compiling the port version of Apache, what trick can be used to get both mod_ssl and mod_perl compiled into the server. Regarding mod_php4 .. the port enables a php4_options file, but I don't see provisions anywhere (except for manually

Re: FreeBSD weakness.

2004-06-21 Thread Tom McLaughlin
On Mon, 2004-06-21 at 02:59, Lloyd Hayes wrote: Linux is for people who hate Micro$oft. BSD is for people who love Unix. Under these conditions, I guess that I need to go for Linux... I'f you're going to go with Linux then I'd recommend Mandrake. Many people would also recommend Suse as

Re: Printing setup

2004-06-21 Thread Len Zettel
Warren Block wrote: On Mon, 21 Jun 2004, Len Zettel wrote: Unfortunately, when I try lptest 20 5 | lpr -PLaserjet I get the following message: lpd[297]:Laserjet: cannot execv(/usr/local/libexec/if-simple): no such file or directory /usr/local/libexec/if-simple is there:

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Chuck Swiger
Matthew Dillon wrote: Mikhail Teterin wrote: =Both read and mmap have a read-ahead heuristic. The heuristic =works. In fact, the mmap heuristic is so smart it can read-behind =as well as read-ahead if it detects a backwards scan. Evidently, read's heuristics are better. At least, for

Reinstalling And /usr

2004-06-21 Thread Rishi Chopra
What is the effect on the /usr partition when reinstalling over an installation? I suffered a kernel panic that wiped my MBR; I'd like to simply reinstall with the same partition/slice values - will my /usr partition and the data therein still be accessible after reinstallation? = Rishi

Intel P4 HT Technology

2004-06-21 Thread efc_csmsu
Greetings! Just want to ask if FreeBSD already supports Intel P4 HT Technology. Thank You and More Power! __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail

Re: Intel P4 HT Technology

2004-06-21 Thread Tim Aslat
In the immortal words of [EMAIL PROTECTED]... Just want to ask if FreeBSD already supports Intel P4 HT Technology. Actually yes it does, please note the snippet from my dmesg output CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2600.44-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29

Re: [OT] Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: Chuck Swiger [EMAIL PROTECTED] wrote: [ I don't think that stuffing email into a database is a particularly good idea since that means keeping large blobs of non-relational data floating around, something that the filesystem can do a better job of handling... ] [ ... ] During

Re: Reinstalling And /usr

2004-06-21 Thread Dan Nelson
In the last episode (Jun 21), Rishi Chopra said: What is the effect on the /usr partition when reinstalling over an installation? I suffered a kernel panic that wiped my MBR; I'd like to simply reinstall with the same partition/slice values - will my /usr partition and the data therein

Reinstalling And /usr

2004-06-21 Thread epilogue
On Mon, 21 Jun 2004 19:39:31 -0700 (PDT) Rishi Chopra [EMAIL PROTECTED] wrote: What is the effect on the /usr partition when reinstalling over an installation? I suffered a kernel panic that wiped my MBR; I'd like to simply reinstall with the same partition/slice values - will my /usr

Re: [OT] Re: What's the best possible email failover solution

2004-06-21 Thread Lucas Holt
Just a thought, but couldn't you write the imapd process to act more like a web application server in the RDBMS scenario. You can cache data and limit the number of select statements executed on the actual data store. Although one wouldn't have something like cookies for sessions, the

Re: What's the best possible email failover solution

2004-06-21 Thread Jason Taylor
Bill Moran wrote: Hey, I know questions like this get asked a lot, but I'm going to be really specific. I know how to set up failover with a backup MX. That's not what I'm looking for. We have a cyrus-imap server with lots of users connecting via IMAP, while everything gets backed up, this only

fsck not working / Soft Update error / Can't boot Up

2004-06-21 Thread freebsd
Hey everyone, I booted my system up and it gets an error and goes into single user mode I think. It gives me a /bin/sh question. So, I press enter. I run the command fsck After running that command I get an error about can't clean something and to run fsck again. I've tried many times. Gesh, I

Re: Reinstalling And /usr

2004-06-21 Thread Sergey Zaharchenko
On Mon, Jun 21, 2004 at 10:24:33PM -0500, Dan Nelson probably wrote: In fact, if you know your exact mbr info, you should be able to boot the install floppy, go to the partition editor, set it up, write, reboot, and you're done. sysutils/gpart is A port of a tool which tries to guess the

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Mikhail Teterin
On Monday 21 June 2004 08:15 pm, Matthew Dillon wrote: = :The mmap interface is supposed to be more efficient -- theoreticly = :-- because it requires one less buffer-copying, and because it = :(together with the possible madvise()) provides the kernel with more = :information thus enabling it to

<    1   2