Re: hardware Dell or BSDi

2000-12-13 Thread Jamie Heckford
http://www.psi-domain.co.uk/ alot cheaper and better. -- Jamie Heckford Chief Network Engineer Psi-Domain - Innovative Linux Solutions. Ask Us How. = email: [EMAIL PROTECTED] web:http://www.psi-domain.co.uk/ tel:+44 (0)1737 789 246 fax:+44

Re: very big mail spool directory

2000-12-13 Thread Dag-Erling Smorgrav
Gustavo Vieira Goncalves Coelho Rios [EMAIL PROTECTED] writes: The functions that will hash the id, accepts an id as input and returns a string for the user dir, like: IdString returned 0 0/0/0/0/0/0/0/0 [..] That gives you 2^32 leaf directories plus approximately

Tun driver?

2000-12-13 Thread Dan Phoenix
[root@elrond conf]# ifconfig tun0 1.1.1.1 up ifconfig: interface tun0 does not exist [root@elrond conf]# ls -al /dev/tun0 crw--- 1 uucp dialer52, 0 Dec 12 13:30 /dev/tun0 [root@elrond conf]# this is confusing metrying to get vtund working in ports collection. tun device is

Re: Tun driver?

2000-12-13 Thread Poul-Henning Kamp
You need to open the "device-side" of the tunnel (/dev/tun0) before the interface is created. Poul-Henning In message [EMAIL PROTECTED], Dan Phoenix writes: [root@elrond conf]# ifconfig tun0 1.1.1.1 up ifconfig: interface tun0 does not exist [root@elrond conf]# ls -al /dev/tun0 crw---

New European Promotional Contest

2000-12-13 Thread office
Dear Sirs, We are very pleased to welcome you and present a new economic initiative for producers from all European countries - both western and eastern. FOR THE FIRST TIME - ON SUCH A LARGE SCALE - IN THE VERY HEART OF EUROPE! "EURO LEADER 2001" This is an honourable title and prestigious

RE: Accessing the Video Bios on a PCI card?? (vm_map ?)

2000-12-13 Thread Steve Shoecraft
Well, I never did get that to work last night. Any maps outside of the memory range on the machine (which only has 128 meg) turned up all 1s in all bits. I dropped the issue for the moment and looked at AGP ... I'm currently doing DMA transfers, but it's an AGP card, and I'm wondering

RE: hardware Dell or BSDi

2000-12-13 Thread Matt Simerson
We've got a couple BSDI machines in our lab in addition to Micron's, HP's, and some black boxes we build ourselves. The BSDI box is by far the most economical (as far as buying rackmount) and perform as well as anything else. They are also using good "standard" parts which means you can find

PPP failures in 4.2-STABLE

2000-12-13 Thread Giovanni P. Tirloni
Hi all, After updating to 4.2-STABLE (previous version was 4.1.1-RELEASE) I'm having some strange problem with ppp. When I try to connect for the first time to an ISP the following occurs: ppp[177]: tun0: Chat: Send: ATDT22334455^M ppp[177]: tun0: Chat: Expect(120): CONNECT

changing the way mail spools are permissioned (for using web-based email service)

2000-12-13 Thread Nathan Vidican
I'm currently messing around with neomail, and it seems to do everything I need it to, but it doesn't read the mail spools properly. It needs to establish a write lock on /var/mail/someuser. I currently have the script set to run suid/sgid 'mail', but all the spools are set to user:logingroup for

su root hangs when logged in via SSH

2000-12-13 Thread Andre Oppermann
I've got a strange problem on two of my FreeBSD machines (4.1R and 4.2-STABLE 20001207). Whenever I try to su to root it (su) just hangs and does not execute the login. Also when supplying the wrong password after emitting the message it will just hang and I have to kill it with ^C. Su'ing to

Re: Patches available (was Re: Extreme high load with 12/7 4-releng)

2000-12-13 Thread News Accountant
[ freebsd-stable removed from cc: list just cuz ] : sysctl -w vm.debug_pageout_stats=1 : This output would be invaluable to me coming from people who still have : major performance problems on heavily loaded machines. : :Okay, I'm gathering data as we speak, but, would you

syscall assembly

2000-12-13 Thread Marc Tardif
Considering the following C code: #include fcntl.h int main() { open("file", O_RDONLY); return 0; } compiled with gcc -S -O2, the following assembly code is generated: main: pushl %ebp movl %esp,%ebp subl $8,%esp addl $-8,%esp pushl $0 pushl

Re: syscall assembly

2000-12-13 Thread Alfred Perlstein
* Marc Tardif [EMAIL PROTECTED] [001213 13:30] wrote: Considering the following C code: #include fcntl.h int main() { open("file", O_RDONLY); return 0; } compiled with gcc -S -O2, the following assembly code is generated: main: pushl %ebp movl %esp,%ebp

Re: syscall assembly

2000-12-13 Thread Marc Tardif
On Wed, 13 Dec 2000, Alfred Perlstein wrote: * Marc Tardif [EMAIL PROTECTED] [001213 13:30] wrote: [ snip ] subl $8,%esp addl $-8,%esp pushl $0 pushl $.LC0 call open FreeBSD passes syscall args on the stack, Linux uses registers. So why is

Re: syscall assembly

2000-12-13 Thread Alfred Perlstein
David, can you look at this? #include fcntl.h int foo() { open("file", O_RDONLY); return 0; } int main() { int x; x = foo(); return 0; } results in: foo: pushl %ebp movl %esp,%ebp subl $8,%esp addl $-8,%esp pushl $0 pushl $.LC0

Re: syscall assembly

2000-12-13 Thread Iain Templeton
On Wed, 13 Dec 2000, Alfred Perlstein wrote: David, can you look at this? #include fcntl.h int foo() { open("file", O_RDONLY); return 0; } int main() { int x; x = foo(); return 0; } results in: foo: pushl %ebp movl %esp,%ebp subl $8,%esp

Re: syscall assembly

2000-12-13 Thread Warner Losh
In message [EMAIL PROTECTED] Marc Tardif writes: : So why is %esp displaced by 16 bytes when only 8 bytes : are necessary (4 for $0 and 4 for $.LC0)? And couldn't : the compiler use a single instruction such as : subl $16,%esp or addl $-16,%esp? Are two instructions : used for pipelining

Re: syscall assembly

2000-12-13 Thread Marc Tardif
On Thu, 14 Dec 2000, Iain Templeton wrote: On Wed, 13 Dec 2000, Alfred Perlstein wrote: subl $8,%esp addl $-8,%esp pushl $0 pushl $.LC0 call open why the subl then addl? Well, as a thoroughly rough guess, the subl is probably to create

Re: syscall assembly

2000-12-13 Thread Drew Eckhardt
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes: In message [EMAIL PROTECTED] Marc Tar dif writes: : So why is %esp displaced by 16 bytes when only 8 bytes : are necessary (4 for $0 and 4 for $.LC0)? And couldn't : the compiler use a single instruction such as : subl $16,%esp or addl

Re: syscall assembly

2000-12-13 Thread Drew Eckhardt
In message [EMAIL PROTECTED], intmktg@ CAM.ORG writes: Perhaps, but no matter the degree of optimisation, the 16 byte of space is performed in two instructions. This leads me to believe is it most likely a pipelining issue for the following pushl instructions. As for subl'ing and addl'ing 8 bytes

Re: syscall assembly

2000-12-13 Thread Matt Dillon
: :gcc tries to align stack to 16 byte boundaries as a speed :optiminzation. Why it doesn't do this in one instruction is beyond :me. : :Kocking 16 bytes off the stack pointer won't put it any closer to a :16 byte boundary. This is precisely my problem with gcc's 'optimization'. It's

Re: su root hangs when logged in via SSH

2000-12-13 Thread Andre Oppermann
Mike Tancsa wrote: Yeah, I had a similar problem to this in the past where syslogd was kind of hung, and the su was blocking waiting for I guess syslog to return. If you can login as root on the console, kill syslogd, restart it and see if su works once again. Nope, it does not work

Re: syscall assembly

2000-12-13 Thread Drew Eckhardt
drew writes: My best guess (if it isn't a bug) would be that it's there to keep the stack on a 32 byte (IIRC, this sounds like cache line size for the newer Intel chips) This discussion piqued my curiosity, so I popped up the Pentium III optomization manual. To quote it: On Pentium II

Re: syscall assembly

2000-12-13 Thread Bakul Shah
#include fcntl.h int foo() { open("file", O_RDONLY); return 0; } int main() { int x; x = foo(); return 0; } results in: foo: pushl %ebp movl %esp,%ebp subl $8,%esp addl $-8,%esp pushl $0 pushl

StrongARM support?

2000-12-13 Thread Devin Butterfield
Hi all, Is there any work in progress to support running FreeBSD on ARM processors? If not, are there any plans to? I would be very interested in helping out with such an effort. I would love to have FreeBSD running on my iPAQ PocketPC. :) I know that linux is already running well on ARM but I

Re: StrongARM support?

2000-12-13 Thread Pedro F. Giffuni
There was somone looking at the NetBSD code with hungry eyes but I never heard anything more... check the archives. Pedro. Devin Butterfield wrote: Hi all, Is there any work in progress to support running FreeBSD on ARM processors? If not, are there any plans to? I would be very

Re: su root hangs when logged in via SSH

2000-12-13 Thread Louis A. Mamakos
Mike Tancsa wrote: Yeah, I had a similar problem to this in the past where syslogd was kind of hung, and the su was blocking waiting for I guess syslog to return. If you can login as root on the console, kill syslogd, restart it and see if su works once again. Nope, it does not

Re: very big mail spool directory

2000-12-13 Thread Warner Losh
In message [EMAIL PROTECTED] Tony Finch writes: : Dag-Erling Smorgrav [EMAIL PROTECTED] wrote: : : If you only have half a million users, pick a prime number K close to : the square root of the expected number of users (724 in your case - : closest primes are 719 and 727), create that many

Re: StrongARM support?

2000-12-13 Thread Warner Losh
In message [EMAIL PROTECTED] "Pedro F. Giffuni" writes: : There was somone looking at the NetBSD code with hungry eyes but I : never heard anything more... check the archives. Last I heard, only the MIPS based PDAs were supported by NetBSD/hpcmips. I know that there are some efforts to make

Re: PPP failures in 4.2-STABLE

2000-12-13 Thread Brian Somers
Hi, The only thing that comes to mind here is that perhaps you've got something like hylafax or mgetty running against the same port and something's gone wrong with the port locking code. It *looks* like something's writing fax commands to your modem at the same time as you're trying to

Re: su root hangs when logged in via SSH

2000-12-13 Thread Andre Oppermann
"Louis A. Mamakos" wrote: Mike Tancsa wrote: Yeah, I had a similar problem to this in the past where syslogd was kind of hung, and the su was blocking waiting for I guess syslog to return. If you can login as root on the console, kill syslogd, restart it and see if su works

Re: very big mail spool directory

2000-12-13 Thread Tony Finch
Warner Losh [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] Tony Finch writes: : Dag-Erling Smorgrav [EMAIL PROTECTED] wrote: : : If you only have half a million users, pick a prime number K close to : the square root of the expected number of users (724 in your case - : closest primes are

Re: question about fixed headers on FreeBSD

2000-12-13 Thread Bruce Korb
David O'Brien wrote: Hi Bruce, Can you explain why fixinc needs to do this change of stdlib.h? Also why GCC needs to install its own version of assert.h? What is wrong with the base one? Obviously, nothing is really wrong with any of these files. The real question is, "Why is fixincl

Re: StrongARM support?

2000-12-13 Thread Jordan Hubbard
Is there any work in progress to support running FreeBSD on ARM processors? If not, are there any plans to? I would be very interested in helping out with such an effort. I would love to have FreeBSD running on my iPAQ PocketPC. :) No work in progress, no plans. Would you be interested in

Re: StrongARM support?

2000-12-13 Thread Devin Butterfield
Jordan Hubbard wrote: Is there any work in progress to support running FreeBSD on ARM processors? If not, are there any plans to? I would be very interested in helping out with such an effort. I would love to have FreeBSD running on my iPAQ PocketPC. :) No work in progress, no plans.

Re: Patches available (was Re: Extreme high load with 12/7 4-releng)

2000-12-13 Thread News Account
I have made a patchset available for both -current and -stable on my site: http://apollo.backplane.com/FreeBSD4/ sysctl -w vm.debug_pageout_stats=1 The debugging code prints a line to dmesg and /var/log/messages each time the pageout daemon runs a scan, and tells

Re: Patches available (was Re: Extreme high load with 12/7 4-releng)

2000-12-13 Thread Matt Dillon
: : I have made a patchset available for both -current and -stable on my site: : http://apollo.backplane.com/FreeBSD4/ : sysctl -w vm.debug_pageout_stats=1 : The debugging code prints a line to dmesg and /var/log/messages each : time the pageout daemon runs a scan,