Open-vm-tools port available for testing

2008-03-27 Thread Martin Blapp
Hi, I've just made a port for FreeBSD 7 and FreeBSD 6 for the Open-vmware-tools. Any Feedback is welcome. http://antispam.imp.ch/patches/open-vmware-tools-freebsd-port.tgz -- Martin Martin Blapp, <[EMAIL PROTECTED]> <[E

Re: Open-vm-tools port available for testing

2008-03-28 Thread Martin Blapp
Hi, Thanks for doing this, seems to be some problems with the downloading of the tarball though. See below: Just fixed that. The problem was the subdir name. -- Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL

Mimedefang crashes on FreeBSD 6 STABLE, amd64

2007-10-19 Thread Martin Blapp
l, I get smiliar segfaults. libc_r.6 is a userland threading library, so it's definitly not the kernel which has a problem. Are there known bugs with mimedefang on 64bit architectures ? -- Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> --

Re: Mimedefang crashes on FreeBSD 6 STABLE, amd64

2007-10-19 Thread Martin Blapp
GV SIG_DFL 33960 mimedefang CALL kse_thr_interrupt(0,0x4,0xb) 33960 mimedefang NAMI "/var/core/mimedefang-33960.core" -- Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -

Re: [Mimedefang] Re: Mimedefang crashes on FreeBSD 6 STABLE, amd64

2007-10-19 Thread Martin Blapp
Hi, Looks like I found the problem and it was a local patch - ouch. Some casts that worked in i386 didn't work on amd64 ... sigh. Sorry for the noise. -- Martin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

2006-07-18 Thread Martin Blapp
t top is broken (in 6.1 RELEASE too), or if this is a SCHED4BSD bug. Can someone confirm this issue ? We see it on IBL X-Series 346 Boxes, as on IBM 306M Dual Core SMP systems. Martin Martin Blapp, <[EMAIL PROTECTED]> <[E

Re: Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

2006-07-18 Thread Martin Blapp
UN2 0:03 22.81% test 21638 root1 1030 1216K 420K RUN 2 0:03 21.79% test Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln,

Re: Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

2006-07-18 Thread Martin Blapp
Hi, Yes HTT is disabled (by default as I tought also by freebsd). But shouldn't top show then the correct results ? Martin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any

Re: Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

2006-07-18 Thread Martin Blapp
rrects the top usage. On two other boxes where it works I get 'sysctl -a | grep smp | grep kern.smp.cpus' kern.smp.cpus: 2 Here I see CPU-ID's 0 and 1 in top. Here everything works as it should. Martin Martin Blapp, <[EMAIL P

Re: Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

2006-07-19 Thread Martin Blapp
Hi, Disable hyperthreading in your BIOS. Off course this is a solution, but I don't like it. On a untuned, unmodified, unpatched system top(1) should display the correct values IMHO. Martin ___ freebsd-stable@freebsd.org mailing list http://lists.f

TTY patches available for FreeBSD 5

2006-09-24 Thread Martin Blapp
rtual tty codepaths. http://antispam.imp.ch/08-opensource.html Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00

Re: Frequent VFS crashes with RELENG_6

2006-09-30 Thread Martin Blapp
Hi, 1.) Bad ram ? Have you run some memory tester ? 2.) Have you background fsck running on this disk ? If so try to boot into single user and do a full fsck on this disk. Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL

Re: Disappearing IPv6 default route

2006-10-01 Thread Martin Blapp
Hi, Will you MFC before Beta 2 ? Martin - } else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0) { + } else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0 && + (rt->rt_flags & RTF_HOST) != 0) { ln->ln_state = ND6_LLINFO_INC

Re: problem with old /usr/src/contrib/amd

2006-10-03 Thread Martin Blapp
Hi, I'll do an update of /usr/src/contrib/amd soon, after 6.2 is done. Maybe we will see it then in 6.3 RELEASE :-) Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP

Re: HEADS UP: FreeBSD 5.3, 5.4, 6.0 EoLs coming soon

2006-10-04 Thread Martin Blapp
Hi, In June 2006, I opened a PR (kern/98622) about a regression on CARP with IPv6 addresses: CARP is not usable with IPv6. Since I tracked down the culprit commit (see appropriate info in the PR), I can affirm that this regression appeared before the 6.1-RELEASE. Wouldn't it be better to fix

Re: CALL FOR TESTERS! [Re: 6.2 SHOWSTOPPER - em completely unusable on 6.2]

2006-10-04 Thread Martin Blapp
Hi, What about with just the first change and not the second? Anyways, I'm starting to see a trend here. Problem reports are clustering around UP systems, not SMP systems. I don't know if that's just coincidence or not. We've got also about twenty SMP Systems, seven of them now with 6.1 P

Re: ips(4) in toaster mode

2006-11-18 Thread Martin Blapp
Hi, Also, the only harddisk on that host is the ips(4), so I can not obtain a kernel dump. I'm not sure if this is a hardware failure, at least, no led on the panel is shown red... Hmm ? We do kernel dumps on ips(4) and it works. dumpdev="/dev/ipsd0s1b" Martin __

Re: Status of FreeBSD 6.2?

2006-12-26 Thread Martin Blapp
Build 6.2-RC2 24 December 2006Begin building the second release candidate build for all Tier-1 platforms. http://www.freebsd.org/releases/6.2R/schedule.html Martin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailm

Re: [HEADSUP] New unionfs merged to RELENG_6 (stable)

2007-02-17 Thread Martin Blapp
Hi, I feel the mount_union manpage isn't 100% correct anymore, especially the the BUGS section ? Or do the things there still apply ? Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-02-27 Thread Martin Blapp
Hi, Change the threading lib. It fixed it for us. % cat /etc/libmap.conf [clamd] libc_r.so.5 libthr.so.2 libc_r.so.6 libthr.so.2 libthr.so.2 libthr.so.2 libpthread.so.1 libthr.so.2 libpthread.so.2 libthr.so.2 Even with libthr the CPU usage

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-01 Thread Martin Blapp
Hi, Clamd is currently broken with libpthread for some threading-reason. You definitly need to use libthr (which is still CPU hungry, but works better). /etc/libmap.conf [/usr/local/sbin/clamd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so libc_r.so.6 libpth

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-02 Thread Martin Blapp
Hi, [/usr/local/sbin/clamd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so libc_r.so.6 libpthread.so.2 Correct, just delete the last line. I forgot to delete the only entry. The right side of that last line should probably refer to libthr.so.2. AFAICS, w

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-04 Thread Martin Blapp
Hi all, After adding some debug stuff to clamd running with freebsd libpthread.so I found that: looking at the output value of 'ps -auxH | grep clamd | grep -v grep | wc -l' is always staying at 6 threads, but the number of threadpool->thr_alive is going higher and higher. So threadpool->thr_al

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-04 Thread Martin Blapp
Hi, looking at the output value of 'ps -auxH | grep clamd | grep -v grep | wc -l' is always staying at 6 threads, but the number of threadpool->thr_alive is going higher and higher. So threadpool->thr_alive isn't decreased and is completly incorrect. After setting IdleTimeout very low to 5 se

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-04 Thread Martin Blapp
Hi, Make sure clamd is checking the return value of pthread_create() for errors. You can also set LIBPTHREAD_PROCESS_SCOPE=yes or LIBPTHREAD_SYSTEM_SCOPE=yes in your environment to force process scope or system scope threads (libpthread only) for clamd. Yes, it does check the return value. A

Re: Clamav-90_2 Lockup with freebsd 6.2 (fwd)

2007-03-05 Thread Martin Blapp
time specified in abstime, and the current thread reacquires the lock on mutex. That doesn't seem to work with libpthread.so.2. Any hints ? -- Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-08 Thread Martin Blapp
Hi, No, It's not. Today I added a new server with fresh clamav-0.90_3 package. Sockstat again started to jump to the sky. Clamd with libpthread.so is still broken. Please use libthr.so. I'm currently investigating why libpthreads.so has problems with clamd, and it looks to me like a library b

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-10 Thread Martin Blapp
Hi, Don't use it, it's broken. -trog Nope, it looks like a race in cli_scanmail() which deadlocks somewhere with libpthread.so. This workaround fixes the problem for me. I'm still investigating where the real cause for this problem is. --- libclamav/scanners.cTue Feb 13 02:06:28 200

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-10 Thread Martin Blapp
lock(&body_mutex); /* * Tidy up and quit Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-12 Thread Martin Blapp
Hi, [snip patch] Does this patch make the libmap.conf hack unneeded? I frist thought so, but no, the more threads are running concurrently the slower libpthreads behaves, as it gets more lock contention. Until this is addressed somehow, use libthr.so -- Martin _

Re: Clamav-90_2 Lockup with freebsd 6.2

2007-03-16 Thread Martin Blapp
Hi, I just fixed those issues with the port. Thanks for reporting ! Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 9

RE: Clamav-90_2 Lockup with freebsd 6.2

2007-03-18 Thread Martin Blapp
Hi, I am not sure why. But my dual xeon with libthr on clamav-90.1 still gives very high cpu usage. It's the same case here. What happens if you limit kern.smp.maxcpus to 1 ? Does it still use the same amount cpu time ? What happens if you link clamd against libc_r ? -- Martin __

Panic: vm_page_free: freeing wired page with 6.2 RELEASE

2007-04-22 Thread Martin Blapp
= -349046324})at /usr/src/sys/i386/i386/trap.c:435 #8 0xc0879d4a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #9 0xc088c076 in slow_copyin () at /usr/src/sys/i386/i386/support.s:872 Martin Blapp, <[EMAIL PROTEC

Re: Panic: vm_page_free: freeing wired page with 6.2 RELEASE

2007-04-22 Thread Martin Blapp
Hi, Can you post your kernel configuration file? It's the generic SMP kernel file (which includes GENERIC), with nothing changed. sysctl.conf is: kern.sugid_coredump=1 kern.timecounter.hardware=TSC kern.corefile=/var/core/%N-%P.core kern.maxfiles=64000 kern.maxfilesperproc=32000 The server

Crash with FreeBSD 6.1 STABLE of today

2006-06-21 Thread Martin Blapp
_read: invalid address (0x21) Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint

Hardlock with Reboot option in beastie.4th

2006-06-22 Thread Martin Blapp
S. Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-22 Thread Martin Blapp
Hi, Unfortunaltly I get this with the debug kernel. Does one have to boot with the debug.kernel itself to get a trace which is usable ? Sigh. A recompile helped ! (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc066355e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0663

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-23 Thread Martin Blapp
Hi, (kgdb) p *tp->t_session Cannot access memory at address 0x0 So here the problem is. Why is tp->t_session empty ? Maybe it has been already free() earlier and we have some race here ? "Race" was exactly my conclusion last time I looked into this. http://docs.FreeBSD.org/cgi/mid.cgi?200412

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-23 Thread Martin Blapp
Hi, Maybe this is the solution ? IMHO there is a race window open between the first tp->t_session test and the locking of the proc tree. Martin +++ src/sys/kern/tty.c --- src/sys/kern/tty.c + sx_slock(&proctree_lock); if (tp->t_session) { -

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-23 Thread Martin Blapp
Hi, I'm not sure if t_session is supposed to be protected by the proctree Correct. lock though. With an initial glance of the code, it would seem odd to be protected by the proctree lock, although I can't see any other locks Someone with more knowledge of this code will probably know the a

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-26 Thread Martin Blapp
Hi Max, Robert and Gavin, Note, I am not sure if the patch still applies or is correct at all, but from looking at it (and the name of the file) I seem to remember that there was a problem with t_pgrp and t_session being accessed unlocked in some places. Maybe it helps, maybe it doesn't. [1] h

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-26 Thread Martin Blapp
in the previous patch. I've put the modified one at: http://mx.imp.ch/patch-tty.t_pgrp.diff Thanks for testing ! Martin Martin Blapp, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- ImproWare AG, UNIXSP & ISP, Zurlinde

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-26 Thread Martin Blapp
Hi all, So far so good. A remote stress testing of a tty session over serial cable with a patched kernel worked fine. How to proceed now ? The patch also applies to CURRENT as there where no big changes since the repo has been branched. Should I commit it to CURRENT ? http://mx.imp.ch/patch

Re: Crash with FreeBSD 6.1 STABLE of today

2006-06-26 Thread Martin Blapp
Hi, Is the problem actually understood? Do we know what's racing with what? Given there only ever seems to be a single backtrace involved, as far as I can tell, it's ttymodem racing with tty_close - can those two functions alone be locked? Correct: The only place there tp->t_session is set t

Re: StarOffice woes on 4.4RC

2001-08-31 Thread Martin Blapp
Hi, I suspect a wrong library, thus it is the linux_base port. Can you do some debugging with kdump and strace ? Martin Martin Blapp, [EMAIL PROTECTED] -- Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133

Re: NTPD dumps core in 4.5-PRERELEASE

2001-12-25 Thread Martin Blapp
Hi Keltia, > According to Martin Blapp: > > I see something similar here. Nsrexec, a networker client > > which gets started in rc.d segfaults since 1-2 month here. > > Ask Matt for a 6.0 client. He recompiled one two months ago and it has stopped > segfaulting for me on

Re: double fault with vinum and 4.5 RC3

2002-01-27 Thread Martin Blapp
Hi Greg. > As I've mentioned elsewhere, this is seriously suboptimal. The > "mirror" command is a toy for people getting used to Vinum. You want Why is this suboptimal ? It's fast done. It seems to work. Else you have to say: "not supported, since it can panic your machine". > a proper confi

Re: double fault with vinum and 4.5 RC3

2002-01-27 Thread Martin Blapp
Hi all, > I tried looking, but the net connection was terrible. Anyway, I've > been able to reproduce it here, and I have a patch which should make > it go away: Just tried the patch and it fixes my problem completly. Thanks Thomas for the excelent work you've done. And thank you Greg for pro

Re: double fault with vinum and 4.5 RC3

2002-01-27 Thread Martin Blapp
Greg, > As I've mentioned elsewhere, this is seriously suboptimal. The > "mirror" command is a toy for people getting used to Vinum. You want > a proper config file. Then create one drive per spindle, and choose > your subdisk sizes to match what you want. Specifically, your config > file sh

Re: double fault with vinum and 4.5 RC3

2002-01-27 Thread Martin Blapp
Hi Greg, > So it seems. I've heard of this in a couple of cases. It would be > interesting to see the log output, but if I understand you correctly > you have since found a way to work around the problem. I suspect that > there was something in the disk label which confused the issue, but it

HEADS UP: Broken if_dc NICs with MACs like 08:08[...] or 00:00[...]

2003-02-07 Thread Martin Blapp
dc_link; u_int8_tdc_cachesize; + int dc_romwidth; int dc_pnic_rx_bug_save; unsigned char *dc_pnic_rx_buf; int dc_if_flags

Re: 4.8 PR1 locks up for rm(1) big files

2003-03-05 Thread Martin Blapp
Hi, > Did you notice what the wait channel was? If the machine is still > there, you could hit ^T and see what it says. I just reproduced it on a second faster server. The file is also 80GB big. Unfortunatly I lost the link of my ssh connection. After ~10 mins the server was again running and u