Re: Apache + Caching DNS: conflict at bootup? (DNS runs too late)

2005-05-09 Thread Dan Nelson
In the last episode (May 09), Colin Percival said: > Rob wrote: > > Some time ago, there was (or still is) a similar conflict with > > hostname resolution at bootup when using ntpd. > > Yes, but not with named -- the problem was only when using a dns > cache from the ports tree, since those are st

Re: freebsd and asus

2005-05-09 Thread Jared Earle
On 5/10/05, Zoran Kolic <[EMAIL PROTECTED]> wrote: > Dear all! > I'm preparing to build desktop box > with amd64 processor and some GF3 > motherboard and ati9550 video card. > My dealer offers "asus". Is there > any issue with "asus" that should > prevent me from that? Bios, incom- > patibility wit

Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?

2005-05-09 Thread Jonathan Noack
On 05/10/05 00:21, Billy Newsom wrote: Jonathan Noack wrote: > On 05/09/05 23:14, Billy Newsom wrote: > From the fstab(5) man page: > "The fourth field, (fs_mntops), describes the mount options associated > with the file system. It is formatted as a comma separated list of > options. It con

Re: Performance issue

2005-05-09 Thread Daniel Eischen
On Tue, 10 May 2005, Suleiman Souhlal wrote: > Hi, > > On May 10, 2005, at 1:24 AM, Daniel Eischen wrote: > > > No, libc_r wraps execve() and a lot of other syscalls that libpthread > > or libthr don't need to. Take a look at libc_r/uthread/ > > uthread_execve.c > > and you will see it sets the s

Re: Performance issue

2005-05-09 Thread Suleiman Souhlal
Hi, On May 10, 2005, at 1:24 AM, Daniel Eischen wrote: No, libc_r wraps execve() and a lot of other syscalls that libpthread or libthr don't need to. Take a look at libc_r/uthread/ uthread_execve.c and you will see it sets the signal mask before exec()ing. Couldn't we do the same thing in libpthr

Re: Apache + Caching DNS: conflict at bootup? (DNS runs too late)

2005-05-09 Thread Colin Percival
Rob wrote: > Some time ago, there was (or still is) a similar > conflict with hostname resolution at bootup when > using ntpd. Yes, but not with named -- the problem was only when using a dns cache from the ports tree, since those are started later in the boot sequence. Colin Percival ___

Apache + Caching DNS: conflict at bootup? (DNS runs too late)

2005-05-09 Thread Rob
Hi, I'm running 5-Stable as of today. The PC is a dual-homed gateway to a local network, a caching nameserver, httpd server, firewall etc. In /etc/rc.conf, I have: named_enable="YES" apache2_enable="YES" The nameserver works fine after bootup, so I suppose that the named.conf is properly c

Re: Performance issue

2005-05-09 Thread Daniel Eischen
On Tue, 10 May 2005, Suleiman Souhlal wrote: > Hello, > > On May 9, 2005, at 7:21 PM, Daniel Eischen wrote: > > > I don't think that patch is correct. You need the signal mask > > in the kernel to match in case of an exec() after a fork() > > for instance. If the application fork()'s, then chang

Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?

2005-05-09 Thread Billy Newsom
Jonathan Noack wrote: > On 05/09/05 23:14, Billy Newsom wrote: > > From the fstab(5) man page: > "The fourth field, (fs_mntops), describes the mount options associated > with the file system. It is formatted as a comma separated list of > options. It contains at least the type of mount (see fs_t

Re: Performance issue

2005-05-09 Thread Daniel Eischen
On Mon, 9 May 2005, Jonathan Noack wrote: > On 05/09/05 18:47, Daniel Eischen wrote: > >>If the process wasn't linked to libpthread, then the longjmp() > >>and setjmp() would still be calling the syscall, so it isn't > >>the syscall itself that is making things slower. You'll notice > >>that ther

freebsd and asus

2005-05-09 Thread Zoran Kolic
Dear all! I'm preparing to build desktop box with amd64 processor and some GF3 motherboard and ati9550 video card. My dealer offers "asus". Is there any issue with "asus" that should prevent me from that? Bios, incom- patibility with freebsd in this moment? Best regards Zoran _

Re: FreeBSD 5.4-RELEASE is now available

2005-05-09 Thread Byung-Hee HWANG
On Mon, May 09, 2005 at 05:04:58PM -0400, Ken Smith wrote: > > The Release Engineering Team is happy to announce the availability > of FreeBSD 5.4-RELEASE, the latest release of the FreeBSD Stable > development branch. Since FreeBSD 5.3-RELEASE in November 2004 we have > made many improvements in

Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?

2005-05-09 Thread Jonathan Noack
On 05/09/05 23:14, Billy Newsom wrote: Details: * FreeBSD 5.3. Updated and compiled in mid-February. I froze it there and may soon upgrade to 5.4, but I don't count on this fixing this issue. * I needed to make sure I had an nfs drive mounted properly, even after a reboot, but didn't want to

Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?

2005-05-09 Thread Kris Kennaway
On Mon, May 09, 2005 at 11:14:51PM -0500, Billy Newsom wrote: > Here's something pretty stupid about either the code in mount, df, or > both. I'm on the verge of a denial of service if this lasts much > longer. Why do you think so? > When I mount an nfs device more than once, I get this > rid

Re: Performance issue

2005-05-09 Thread Suleiman Souhlal
Hello, On May 9, 2005, at 7:21 PM, Daniel Eischen wrote: I don't think that patch is correct. You need the signal mask in the kernel to match in case of an exec() after a fork() for instance. If the application fork()'s, then changes the signal mask in the child (which is now single threaded), th

nfs bug & df: Can I lock up my kernel and overflow this buffer?

2005-05-09 Thread Billy Newsom
Here's something pretty stupid about either the code in mount, df, or both. I'm on the verge of a denial of service if this lasts much longer. When I mount an nfs device more than once, I get this ridiculous output from df and mount: #df Filesystem 1K-blocksUsed Avail Capacity Mounted

Re: Outdated lib*_p.a files

2005-05-09 Thread Dan Nelson
In the last episode (May 09), Jason C. Wells said: > I run a homegrown script after upgrades to find outdated binaries. I have > a bunch of files name /usr/lib/lib*_p.a that predate my recent upgrade to > 5.4-RELEASE. What are these? Can they be deleted without harm? Those are versions of lib

Re: Performance issue

2005-05-09 Thread Jonathan Noack
y use threads, and libpthread assumes non-threaded processes are system scope. So, it would end up using the sigprocmask syscall, even though it doesn't really need to. The diff at http://people.freebsd.org/~ssouhlal/testing/ thr_sigmask-20050509.diff fixes this, by making sure the process i

Outdated lib*_p.a files

2005-05-09 Thread Jason C. Wells
I run a homegrown script after upgrades to find outdated binaries. I have a bunch of files name /usr/lib/lib*_p.a that predate my recent upgrade to 5.4-RELEASE. What are these? Can they be deleted without harm? Thanks, Jason C. Wells ___ freebsd-sta

gvinum RAID5 stable in 5.4-RELEASE?

2005-05-09 Thread Michael L. Squires
I tried to install a RAID5 array using both vinum and gvinum under 5.3-RELEASE and couldn't get a reliable system running. I reinstalled using 4.11-STABLE and so far the system (and vinum) have been error-free. The 5.4-RELEASE documentation only mentions that "geom_vinum" provides a GEOM compa

Re: ep/X11 problems

2005-05-09 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: I have a Dell Inspiron 7500 on which I have put FreeBSD Release 5.4. The 3Com Megahertz 574B pccard ethernet card works well with the ep driver, except that after I run X11, it simply stops working. I am guessing that it is an interupt conflict. I have tried every

ep/X11 problems

2005-05-09 Thread Stephen Montgomery-Smith
I have a Dell Inspiron 7500 on which I have put FreeBSD Release 5.4. The 3Com Megahertz 574B pccard ethernet card works well with the ep driver, except that after I run X11, it simply stops working. I am guessing that it is an interupt conflict. I have tried everything I can think of so that sp

Re: Performance issue

2005-05-09 Thread Daniel Eischen
se threads, and libpthread assumes > > non-threaded processes are system scope. So, it would end up using > > the sigprocmask syscall, even though it doesn't really need to. > > The diff at http://people.freebsd.org/~ssouhlal/testing/ > > thr_sigmask-20050509.diff fixes t

Re: twa0: INFO: (0x04: 0x000c): Background initialize started: unit=0

2005-05-09 Thread Marc G. Fournier
Ya, this looks like it might be a problem ... server just crashed, and fsck is once more dog slow, and I suspect its in the 'initialization mode' again ... Looking at the following that I've also found, things appear to be pointing to ACPI as the 'trigger' ... does anyone else have any experie

Re: Performance issue

2005-05-09 Thread Daniel Eischen
, even though it doesn't really need to. > The diff at http://people.freebsd.org/~ssouhlal/testing/ > thr_sigmask-20050509.diff fixes this, by making sure the process is > threaded, before using the syscall. I don't think that patch is correct. You need the signal mask in the k

Re: loader causes reboot

2005-05-09 Thread Jonathan Noack
On 5/8/2005 10:57 PM, Jonathan Noack wrote: On 05/08/05 14:29, David Gurvich wrote: cdrom /boot/loader from 5.3 has no problem. However, after updating world from kernel, /boot/loader is replaced with cvs version. This one goes into endless cycle of reboots. When replaced with /boot/loader fr

Re: Performance issue

2005-05-09 Thread Suleiman Souhlal
ting point operations. The python script does not actually use threads, and libpthread assumes non-threaded processes are system scope. So, it would end up using the sigprocmask syscall, even though it doesn't really need to. The diff at http://people.freebsd.org/~ssouhlal/testing/ thr_sig

Re: FreeBSD 5.4-RELEASE is now available

2005-05-09 Thread Emanuel Strobl
Am Montag, 9. Mai 2005 23:04 schrieb Ken Smith: > The Release Engineering Team is happy to announce the availability > of FreeBSD 5.4-RELEASE, the latest release of the FreeBSD Stable > development branch. Since FreeBSD 5.3-RELEASE in November 2004 we have > made many improvements in functionality

Re: Performance issue

2005-05-09 Thread Jonathan Noack
On 5/9/2005 1:30 PM, Jonathan Noack wrote: On 5/9/2005 12:31 PM, Pete French wrote: 5.3 ships with SMP turned on, which makes lock operations rather expensive on single-processor machines. 4.x does not have SMP turned on by default. Would you be able to re-run your test with SMP turned off? I ju

FreeBSD 5.4-RELEASE is now available

2005-05-09 Thread Ken Smith
The Release Engineering Team is happy to announce the availability of FreeBSD 5.4-RELEASE, the latest release of the FreeBSD Stable development branch. Since FreeBSD 5.3-RELEASE in November 2004 we have made many improvements in functionality, stability, performance, and device driver support for

Common disk format between 2.4.current linux and FreeBSD 5.3 and later

2005-05-09 Thread secmgr
I'm building a usb harddrive and i'll be using it under both linux and FreeBSD. vfat is not a contender due to a 2gb limit of file size (I'm using it as a dump disk and I don't want to deal with multiple volumes). It seems that BSD can talk to ext2 partitions and Linux can talk to the older U

Re: Performance issue

2005-05-09 Thread Matthias Buelow
Daniel Eischen wrote: > {sig}setjmp(), {sig}longjmp(), A very wild guess.. python is using setjmp/longjmp to implement continuations, tailcalls, or any mechanism similar to that and using that in a loop? mkb. ___ freebsd-stable@freebsd.org mailin

Re: Performance issue

2005-05-09 Thread Daniel Eischen
On Tue, 10 May 2005, Peter Jeremy wrote: > On Mon, 2005-May-09 11:00:18 -0400, Ewan Todd wrote: > >I have what I think is a serious performance issue with fbsd 5.3 > >release. I've read about threading issues, and it seems to me that > >that is what I'm looking at, but I'm not confident enough to

Re: Performance issue

2005-05-09 Thread Peter Jeremy
On Mon, 2005-May-09 11:00:18 -0400, Ewan Todd wrote: >I have what I think is a serious performance issue with fbsd 5.3 >release. I've read about threading issues, and it seems to me that >that is what I'm looking at, but I'm not confident enough to rule out >that it might be a hardware issue, a ke

Re: Performance issue

2005-05-09 Thread Jonathan Noack
On 5/9/2005 12:31 PM, Pete French wrote: 5.3 ships with SMP turned on, which makes lock operations rather expensive on single-processor machines. 4.x does not have SMP turned on by default. Would you be able to re-run your test with SMP turned off? I just ran a test here with SMP turned of on 5

Re: unexpected panic in idle process (RELENG_5 2005/04/25UTC)

2005-05-09 Thread Adrian Steinmann
On Thu, 28 Apr 2005, I wrote: > Fatal trap 9: general protection fault while in kernel mode > instruction pointer = 0x8:0xc05e8ca2 > stack pointer = 0x10:0xc7499d10 > frame pointer = 0x10:0xc7499d10 > code segment= base 0x0, limit 0xf, type 0x1

Re: Performance issue

2005-05-09 Thread Daniel Eischen
On Mon, 9 May 2005, Suleiman Souhlal wrote: > Hello, > > > I ran ktrace(1) on it, and it appears that python keeps calling > sigprocmask() continually: > > 673 python 0.07 CALL sigprocmask(0x3,0,0x811d11c) > 673 python 0.05 RET sigprocmask 0 > 673 python 0.09 CALL

Re: Performance issue

2005-05-09 Thread Mike Jakubik
On Mon, May 9, 2005 1:06 pm, Scott Long said: > 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP turned on by > default. Would you be able to re-run your test with SMP turned off? This is what i get on my system, wh

Re: Performance issue

2005-05-09 Thread Suleiman Souhlal
Hello, On May 9, 2005, at 1:31 PM, Pete French wrote: 5.3 ships with SMP turned on, which makes lock operations rather expensive on single-processor machines. 4.x does not have SMP turned on by default. Would you be able to re-run your test with SMP turned off? I just ran a test here with SMP tur

Re: Performance issue

2005-05-09 Thread Alexander S. Usov
Scott Long wrote: > First of all, make sure that you have WITNESS and INVARIANTS off in your > kernel. You might also want to recompile your kernel with the SMP > option turned off. I can confirm this. I just rerun it on RELENG_5_4 as of yesterday and got 136.52 real80.29 user

Re: Performance issue

2005-05-09 Thread Pete French
> 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP > turned on by default. Would you be able to re-run your test with > SMP turned off? I just ran a test here with SMP turned of on 5.4-RC4 (GENERIC) I got the follow

Re: Performance issue

2005-05-09 Thread Scott Long
Ewan Todd wrote: 5.3 ships with SMP turned on, which makes lock operations rather expensive on single-processor machines. 4.x does not have SMP turned on by default. Would you be able to re-run your test with SMP turned off? I'm pretty sure there's no SMP in this kernel. #cd /usr/src/sys/i38

Re: Performance issue

2005-05-09 Thread Ewan Todd
> > 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP > turned on by default. Would you be able to re-run your test with > SMP turned off? > I'm pretty sure there's no SMP in this kernel. #cd /usr/src/sys/i386/c

Re: Performance issue

2005-05-09 Thread Scott Long
Ewan Todd wrote: Whereas, the typical result for the new rig looked more like 105.36 real71.10 user33.41 sys ... 10548 involuntary context switches First of all, make sure that you have WITNESS and INVARIANTS off in your kernel. You might also want to recompile your ker

Re: Performance issue

2005-05-09 Thread Ewan Todd
> > > >Whereas, the typical result for the new rig looked more like > > > > 105.36 real71.10 user33.41 sys > > ... > > 10548 involuntary context switches > > > > > > First of all, make sure that you have WITNESS and INVARIANTS off in your > kernel. You might also wan

RE: Performance issue

2005-05-09 Thread Kipp Holger
Same test on a 5.3-STABLE from 31.01.2005: 81,90 real77,05 user 3,51 sys 22908 maximum resident set size 620 average shared memory size 20083 average unshared data size 128 average unshared stack size 5379 page reclaims 26 page fau

Re: problems with Maestro sound card

2005-05-09 Thread Igor Pokrovsky
On Sat, May 07, 2005 at 04:29:19PM +0200, Kirill Ponomarew wrote: > The same troubles I got on FreeBSD 5.3-RELEASE. Any tips and > advices ? Thanks. Try using driver from http://www.opensound.com/ -ip -- Never tell them what you wouldn't do. ___ fre

Re: Performance issue

2005-05-09 Thread Pete French
> Whereas, the typical result for the new rig looked more like > > 105.36 real71.10 user33.41 sys ... > 10548 involuntary context switches Now I just ran this test myself. This machine is a 2.4 gig P4 with hyperthreading enabled. Much as I am an AMD fan, I would expect

Re: Performance issue

2005-05-09 Thread Mike Tancsa
At 11:00 AM 09/05/2005, Ewan Todd wrote: Here's the background. I just got a new (to me) AMD machine and put 5.3 release on it. I'd been very happy with the way my old Intel There have been quite a few changes since 5.3. If you are starting fresh, I would strongly recommend going to 5.4 RC4. The

Re: bin/56558: [PATCH] locate(1) cannot be safely used with xargs(1)

2005-05-09 Thread Eugene Grosbein
Hi! The problem is still here for 5.4-STABLE. http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/56558 Eugene Grosbein ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[E

Re: ehci is broken?

2005-05-09 Thread Mike Tancsa
At 05:22 PM 07/05/2005, Alexander S. Usov wrote: Hi! It looks that somewhere recently something was broken in ehci again. Trying to write something to msdosfs/ext3fs mounted from external usb2 drive blocks quite qickly. Writing process gets stuck in wdrain state, and disk seems unresponsive -- it j

Re: bin/61355: login(1) does not restore terminal ownership on exit

2005-05-09 Thread Eugene Grosbein
Hi! The problem is still here for 4.11-STABLE and 5.4-STABLE: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/61355 Eugene Grosbein ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send

Re: Performance issue

2005-05-09 Thread Scott Long
Ewan Todd wrote: Hi All, I have what I think is a serious performance issue with fbsd 5.3 release. I've read about threading issues, and it seems to me that that is what I'm looking at, but I'm not confident enough to rule out that it might be a hardware issue, a kernel configuration issue, or som

re(4) and half-duplex -- FreeBSD 5.4-RC4

2005-05-09 Thread fandino
Hello, I was trying to connect a FreeBSD box with an integrated realtek network card to a hub but the re driver is unable to set the card in half-duplex: # ifconfig re0 inet 10.20.30.40 netmask 255.255.255.0 mtu 1492 media 10baseT/UTP mediaopt half-duplex up ifconfig: SIOCSIFMEDIA (mediaopt): Dev

Performance issue

2005-05-09 Thread Ewan Todd
Hi All, I have what I think is a serious performance issue with fbsd 5.3 release. I've read about threading issues, and it seems to me that that is what I'm looking at, but I'm not confident enough to rule out that it might be a hardware issue, a kernel configuration issue, or something to do wi

Use PCMCIA instead of CardBus?

2005-05-09 Thread Kirk Strauser
I have an older laptop (AMS TravelTech w/ K6-3+/333) and a Microsoft MN-520 WLAN adapter. I want to put FreeBSD on it, but I'm having a lot of trouble with the card not being recognized after the infamous errors: CIS is too long -- truncating pccard0: Card has no functions! cbb0: PC

Re: bin/64198: init(8) may keep zombies

2005-05-09 Thread Eugene Grosbein
Hi! The problem is still here for 5.4-STABLE: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/64198 Eugene Grosbein ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[E

Re: Fw: 5.4-STABLE panic: kernel trap 12 with interrupts diabled

2005-05-09 Thread Byung-Hee HWANG
On Sun, May 08, 2005 at 03:41:38PM +0200, Fabian Keil wrote: > Hi list, > > forwarding to freebsd-stable (probably the right place anyway), > since I got no further responses on freebsd-questions. > > Subhro <[EMAIL PROTECTED]> wrote: > > > On 5/5/2005 19:43, Fabian Keil wrote: > > > >the day b

ACPI(pci_link) problem in 5.4-STABLE: TIMEOUT - WRITE_DMA retrying

2005-05-09 Thread Eugene Grosbein
>Submitter-Id: current-users >Originator:Eugene Grosbein >Organization: Svyaz Service JSC >Confidential: no >Synopsis: ACPI(pci_link) problem in 5.4-STABLE: TIMEOUT - WRITE_DMA >retrying >Severity: non-critical >Priority: low >Category: kern >Class: sw-bug >Rele

Re: nss_ldap / top startup

2005-05-09 Thread Oliver Brandmueller
Hi Gavin, sorry, took some time to test it, but we're currently very busy moving services to the new machines. On Wed, Apr 27, 2005 at 08:06:38PM +0100, Gavin Atkinson wrote: > Sorry - even with that patch, I suspect you'll have to either run top with > the -u option, or define RANDOM_PW before

RAID 1 with Adaptec SATA 1210SA + FreeBSD 5.4 + ata mkIII OK

2005-05-09 Thread Gheorghe Ardelean
Hi Soeren, I have to thank you for the work you put in the ata driver. After patching the 5.4 sources with the new ata mkIII (http://people.freebsd.org/~sos/ATA) I am able to use the RAID 1 with my Adaptec SATA 1210SA. The dmesg (the Adaptec is recognized as Sil 3112 SATA150): FreeBSD 5.4-RELEASE #

Re: examples/etc/make.conf: nocona?

2005-05-09 Thread Dag-Erling Smørgrav
Damian Gerow <[EMAIL PROTECTED]> writes: > Ack. I just noticed that 'pentiumpro' is also mis-spelled 'penitumpro' as > well... PR time, I think. No, that was fixed two months ago (rev 1.261) DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ freebsd-