Re: Request for testing - top 3.8b1 in the base system

2008-09-28 Thread Václav Haisman
Edwin Groothuis wrote, On 28.9.2008 7:46: > I have made an update for the top(1) utility in the FreeBSD base > system to get it from the 3.5b12 version to the 3.8b1 version. > > I have tried them on the amd64 architecture on FreeBSD -current and > FreeBSD 7.0 and on the i386 architecture on FreeBS

Re: Perl application hang in umtxn state

2008-10-30 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dominique Goncalves wrote: > Hi, > > I run FreeBSD 7.1-PRERELEASE and with a Perl GTK2 application, Perl > hang in umtxn state: > > PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND > 76288 dom 1 530 67860K 46

Re: TCP packet out-of-order problem

2008-12-31 Thread Václav Haisman
Lin Jui-Nan Eric wrote, On 30.12.2008 21:06: > Dear listers, > > We recently found our new FreeBSD server (located in some foreign > region) has poor network performance. After doing some tcpdump and > iperf testing, we found that out-of-order TCP packets are not inserted > into queue. > > This i

Mounting / using /dev/ufs/name

2009-01-14 Thread Václav Haisman
Hi, I tried to mount root slice using the device nodes provided in /dev/ufs directory. It works fine for other slices but not for the root slice. If I try it I get prompt asking for root slice at boot time. It this not possible at all or am I doing something wrong? -- VH __

Top, TIME and CPU columns

2008-08-04 Thread Václav Haisman
Hi, I have noticed this weirdness in top. Sometimes I can see no process having more than single percents in the (W)CPU column, yet there is one for that the TIME column is steadily increasing by 1 second per second. How is this (W)CPU column computed? Shouldn't it report something like 1/NCPU

USB memory stick as dump device

2007-11-28 Thread Václav Haisman
Hi, is it possible to use USB memory stick as dump device for panic dumps? I have a 6.2 box with gmirrors and no non-gmirror disks. I have never managed to get dumps work onto the swap partition on the mirror. So...is it possible to use USB stick as a dump device or should I not even try that? --

Re: Weird portmaster behaviour -- everything fails to install

2009-07-28 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andrew Reilly wrote: > Problem solved! > > In case anyone is interested, or has encountered a similar > problem, I believe that my problem was that somehow my > /var/db/pkg directory had a whole pile of near-duplicate entries > corresponding to port

Monitoring tools for mfi0: ?

2009-08-09 Thread Václav Haisman
Hi, I have a server with the "mfi0: " controller. Are there any monitoring tool for this? I tried camcontrol but it doesn't even list the device. -- VH signature.asc Description: OpenPGP digital signature

Re: Monitoring tools for mfi0: ?

2009-08-09 Thread Václav Haisman
Karl Denninger wrote, On 9.8.2009 20:40: > Roland Smith wrote: >> On Sun, Aug 09, 2009 at 08:04:35PM +0200, Václav Haisman wrote: >> >>> Hi, >>> >> >>> I have a server with the "mfi0: " controller. Are there any >>> mo

What does "mfi0: Copy out failed" mean?

2009-08-12 Thread Václav Haisman
I am getting "mfi0: Copy out failed" message in logs, usually several times a day. What does it mean? This is FreeBSD 7.2. -- VH signature.asc Description: OpenPGP digital signature

Re: What does "mfi0: Copy out failed" mean?

2009-08-13 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steve Polyack wrote: > Václav Haisman wrote: >> I am getting "mfi0: Copy out failed" message in logs, usually several >> times a >> day. What does it mean? This is FreeBSD 7.2. > I can't tell you exactly w

Re: What does "mfi0: Copy out failed" mean?

2009-08-13 Thread Václav Haisman
Steve Polyack wrote, On 13.8.2009 18:19: > Václav Haisman wrote: >> Steve Polyack wrote: >> >>> Václav Haisman wrote: >>> >>>> I am getting "mfi0: Copy out failed" message in logs, usually >>>> several times a day. What does it

Re: What does "mfi0: Copy out failed" mean?

2009-08-13 Thread Václav Haisman
Mike Andrews wrote, On 13.8.2009 19:24: > Václav Haisman wrote: >> I am getting "mfi0: Copy out failed" message in logs, usually several >> times a >> day. What does it mean? This is FreeBSD 7.2. > > For what it's worth, I've noticed that running

GCC -m32 option on FreeBSD/AMD64 7.2

2009-09-01 Thread Václav Haisman
Hi, is C++ + GCC -m32 option officially supported by FreeBSD/AMD64 7.2? I am getting the following errors for simplest input: shell::wilx:~/tmp> cat >m32.cxx #include shell::wilx:~/tmp> g++ -c m32.cxx shell::wilx:~/tmp> g++ -m32 m32.cxx In file included from /usr/include/c++/4.2/ext/new_allocator

en_GB.UTF-8 locale

2006-07-29 Thread Václav Haisman
Hi, I have problems using this locale. As far as I know, it should be valid, but programmes like Perl of Firefox complain that it doesn't exist. I have FreeBSD 6.1 and I set it through .login_conf together with charset parameter. The Perl problem looks like this: perl: warning: Setting locale fai

GEOM stacking

2006-08-09 Thread Václav Haisman
Hi, I have a running gmirror. Somewhere in its docs there is a mentioning about writing meta data to the last sector of a disk. Now, I would like to add PJD's gjournal journaling on top of the mirror. As far as I understand, it does write some meta data to the last sector of the journaled device, t

malloc(M_WAITOK) of "g_bio", forcing M_NOWAIT with non-sleepable locks held:

2006-08-30 Thread Václav Haisman
Hi, I found this in logs of 6.1 box that I admin this morning. The machine keeps running after that. -- wilx +malloc(M_WAITOK) of "g_bio", forcing M_NOWAIT with the following non-sleepable locks held: +exclusive sleep mutex inp (tcpinp) r = 0 (0xc50c5d38) locked @ /usr/src/sys/netinet/tcp_usrreq

Re: malloc(M_WAITOK) of "g_bio", forcing M_NOWAIT with non-sleepable locks held:

2006-09-01 Thread Václav Haisman
Robert Watson wrote, On 1.9.2006 11:46: > > On Thu, 31 Aug 2006, Václav Haisman wrote: > >> I found this in logs of 6.1 box that I admin this morning. The machine >> keeps running after that. > > Indeed, there does appear to be a problem in the TCP socket op

Problems with OpenVPN+routing and creating tun0 interface

2006-09-22 Thread Václav Haisman
Hi, I want to set up OpenVPN to create and configure tun0 interface and connect to OpenVPN server. The main obstacle seems to be my inability to configure either OpenVPN or FreeBSD to actually create that tun0 interface. If I try to create it manually I get this: $ ifconfig -v tun create inet 192

Re: Problems with OpenVPN+routing and creating tun0 interface

2006-09-22 Thread Václav Haisman
Václav Haisman wrote, On 22.9.2006 14:41: > Hi, > I want to set up OpenVPN to create and configure tun0 interface and > connect to OpenVPN server. The main obstacle seems to be my inability to > configure either OpenVPN or FreeBSD to actually create that tun0 interface. > >

(Wrong) CPU utilization reported by top

2006-09-23 Thread Václav Haisman
Hi, I have noticed that top reports strange values for CPU utilization. The problem is that while it reports this for overall utilization... CPU states: 40.8% user, 0.0% nice, 3.7% system, 4.5% interrupt, 50.9% idle ...it doesn't show a single process that would have over 1% of WCPU or CPU!

Re: (Wrong) CPU utilization reported by top

2006-09-23 Thread Václav Haisman
Ricardo Nabinger Sanchez wrote, On 23.9.2006 23:42: > On Sat, 23 Sep 2006 21:16:23 +0200 > Václav Haisman <[EMAIL PROTECTED]> wrote: > >> ...it doesn't show a single process that would have over 1% of WCPU or CPU! >> >> PID USERNAME THR PRI N

kqueue LOR

2006-11-26 Thread Václav Haisman
Hi, the attached lor.txt contains LOR I got this yesterday. It is FreeBSD 6.1 with relatively recent kernel, from last week or so. -- VH +lock order reversal: + 1st 0xc537f300 kqueue (kqueue) @ /usr/src/sys/kern/kern_event.c:1547 + 2nd 0xc45c22dc struct mount mtx (struct mount mtx) @ /usr/src/sys

Re: kqueue LOR

2006-11-27 Thread Václav Haisman
Kostik Belousov wrote: > On Sun, Nov 26, 2006 at 09:30:39AM +0100, V??clav Haisman wrote: [...] > > Thank you for the report. The LOR is caused by my commit into > sys/ufs/ufs/ufs_vnops.c, rev. 1.280. > > What application you run that triggers the LOR ? Patch below is one I have no idea, I just

Unable to boot on ASUS Vintage-PE1

2006-12-03 Thread Václav Haisman
Hi, I have been given new hw to move one of our servers to, the ASUS Vintage-PE1. Last two times I have been changing hw for the server I only needed to move disks to new box and everything worked, the OS booted without any complications. Not this time with this new hw. When I put the disks into th

Re: Unable to boot on ASUS Vintage-PE1

2006-12-03 Thread Václav Haisman
[EMAIL PROTECTED] wrote, On 3.12.2006 23:33: >> From asus's page about the vintage pe1: > > : Recover Pro is an always available recovery tool. It > : stores user data, applications and the operating > : system in the host-protected area of the hard drive. > : Users can easily recover system to

Re: Unable to boot on ASUS Vintage-PE1

2006-12-04 Thread Václav Haisman
Bruce M. Simpson wrote, On 4.12.2006 21:27: > Please see my thread from last week. I am unable to boot FreeBSD 6.2 on > an ASUS Vintage w/o using an additional PCI-express SATA card. > > BMS I've read it. At least you were able to boot the kernel. But for me it doesn't even find the partitions.

negative runtime etc.

2006-12-16 Thread Václav Haisman
Hi, I have loads of following messages in newly installed virtual server (under MS Virtual Server 2005 R2) running 6.2 RC1, I am even using the stock kernel. Can I fix this? Dec 16 18:33:27 shell kernel: calcru: negative runtime of -553620 usec for pid 76484 (zsh) Dec 16 18:33:27 shell kernel: cal

negative runtime etc., the story continues

2006-12-19 Thread Václav Haisman
Hi, I wrote about how FreeBSD 6.1 RC1, with latest RELENG_6 kernel, prints loads of "calcru: runtime went backwards..." and "calcru: negative runtime..." messages when the FreeBSD runs as virtual server under Microsoft Virtual Server 2006 R2. When I wrote this I was compiling and installing lots of

Duplicate IPFW rules

2006-12-21 Thread Václav Haisman
Hi, I have just noticed that ipfw list shows one rule twice. It could be that I have run a script that adds it twice: shell::root:~> ipfw list 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 01999 deny ip from table(1) to any 01999

Re: Duplicate IPFW rules

2006-12-21 Thread Václav Haisman
Kevin Downey wrote, On 21.12.2006 20:44: > > > On 12/21/06, *Václav Haisman* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > I have just noticed that ipfw list shows one rule twice. It could be > that I > have run a sc

Re: Duplicate IPFW rules

2006-12-21 Thread Václav Haisman
Scott Ullrich wrote, On 21.12.2006 21:05: > On 12/21/06, Václav Haisman <[EMAIL PROTECTED]> wrote: >> Huh, really? How is it useful? Please, explain. > > One example feature is to be able to delete many rules at once. If > you know that a specific rule number holds ru

Re: any real documentation of the boot2 prompt?

2007-01-12 Thread Václav Haisman
Jo Rhett wrote: > So I've been searching for hours now, and it appears that short of > reading the C code, there's no documentation of the boot2 menu prompt. > > Sure, it says drive:driver(unit,slice,part) > > But no combination of those three that I can find actually works. > > There's two LUNs

gjournal patch

2007-02-12 Thread Václav Haisman
Hi, yesterday, I tried to build kernel and world with the gjournal patch. It does not apply cleanly. This brings me to question, are there some outstanding issues that prevent it from being commited to RELENG_6? I tried to search ml archives but I did not find any. -- Vaclav Haisman signature

Deadlock with gjournal installed on 6.2.

2007-03-10 Thread Václav Haisman
Hi, I have experimentally installed PJD's GEOM Journal patch on 6.2. It seems to work except that I got deadlock tonight, probably during periodic snapshot. Post mortem ps output is attached. -- VH pidproc uid ppid pgrp flag stat comm wchan 97212 c26a64300 41639 97212 4000

Re: Deadlock with gjournal installed on 6.2.

2007-03-12 Thread Václav Haisman
Václav Haisman wrote: > Hi, > I have experimentally installed PJD's GEOM Journal patch on 6.2. It seems to > work except that I got deadlock tonight, probably during periodic snapshot. > Post mortem ps output is attached. Definitely repeatable, tonight it locked up again. -- VH

Re: imap-uw on FreeBSD 6.2

2007-03-15 Thread Václav Haisman
Willy Offermans wrote: > Dear FreeBSD friends, > > The following error appears regularly on my FreeBSD 6.2 server called > sun. The frequency of appearance is higher than on FreeBSD 6.1, where I > had this error from time to time. The error is not critical, since a > new instance of the imap progr

GCC in 6.0 fails to compile latest MySQL port

2006-04-08 Thread Václav Haisman
Hi, today I tried to update to MySQL server 5.0.19 but GCC failed with ICE on one file. The FreeBSD is version 6.0. The error is reproducible with the linked preprocessed source and the command line bellow. This is a base GCC bug. Preprocessed source: http://logout.sh.cvut.cz/~wilx/item_subselect.

Re: GCC in 6.0 fails to compile latest MySQL port

2006-04-08 Thread Václav Haisman
Kris Kennaway wrote: > On Sat, Apr 08, 2006 at 03:49:08PM +0200, V??clav Haisman wrote: >> Hi, >> today I tried to update to MySQL server 5.0.19 but GCC failed with ICE >> on one file. The FreeBSD is version 6.0. The error is reproducible with >> the linked preprocessed source and the command lin

Re: GCC in 6.0 fails to compile latest MySQL port

2006-04-08 Thread Václav Haisman
Stanislaw Halik wrote: > On Sat, Apr 08, 2006, Václav Haisman wrote: > >> It could help me confirm/exclude that possibility if somebody could >> try to compile the preprocessed source with the pasted command. > > doesn't ICE on 6.1-PRERELEASE from Apr 3. Yup,

Too old GDB in 6.0

2006-04-20 Thread Václav Haisman
Hi, I have been having problems with base GDB. I have posted two PRs about it but so far I haven't gotten any response. http://www.freebsd.org/cgi/query-pr.cgi?pr=95691 http://www.freebsd.org/cgi/query-pr.cgi?pr=95692 I have looked at devel/gdb6 port but its structure seems odd enough that I don'

LOR in vnode interlock and system map

2006-05-28 Thread Václav Haisman
See attached file. The kernel is todays CVS 6.1. -- Vaclav Haisman May 28 19:16:55 logout kernel: lock order reversal: May 28 19:16:55 logout kernel: 1st 0xc3d4bb1c vnode interlock (vnode interlock) @ /usr/src/sys/kern/vfs_subr.c:2218 May 28 19:16:55 logout kernel: 2nd 0xc1043144 system map (sy

Yet another LOR

2006-06-07 Thread Václav Haisman
Hi, I've yet another LOR to report. -- Vaclav Haisman Jun 6 21:14:08 logout kernel: lock order reversal: (sleepable after non-sleepable) Jun 6 21:14:08 logout kernel: 1st 0xc45651f8 inp (tcpinp) @ /usr/src/sys/netinet/tcp_usrreq.c:1029 Jun 6 21:14:08 logout kernel: 2nd 0xc3a2f9a4 user map (us

Re: Yet another LOR

2006-06-07 Thread Václav Haisman
Robert Watson wrote, On 7.6.2006 19:46: > > On Wed, 7 Jun 2006, Bjoern A. Zeeb wrote: > >> On Wed, 7 Jun 2006, Václav Haisman wrote: >> >>> I've yet another LOR to report. >> >>> lock order reversal: (sleepable after non-sleepable) >>

Setting up GEOM mirror

2006-06-25 Thread Václav Haisman
Hi, I want to set up GEOM mirror of whole existing partitioned 250G disk. The procedure described at seems to be rather long/complicated. I thought about using this: # Boot into single user, then... # First change fstab. cp -p /etc/fstab /etc/fstab.orig sed

Re: Setting up GEOM mirror

2006-06-25 Thread Václav Haisman
Matthew Seaman wrote, On 25.6.2006 20:06: > Václav Haisman wrote: >> Hi, >> I want to set up GEOM mirror of whole existing partitioned 250G disk. >> The procedure described at <http://people.freebsd.org/~rse/mirror/> >> seems to be rather long/compli

Re: Setting up GEOM mirror

2006-06-25 Thread Václav Haisman
Mike Jakubik wrote, On 25.6.2006 20:14: > Matthew Seaman wrote: >> Václav Haisman wrote: >> >>> Hi, >>> I want to set up GEOM mirror of whole existing partitioned 250G disk. >>> The procedure described at <http://people.freebsd.org/~rse/mirror

Re: LOR in vnode interlock and system map

2006-06-25 Thread Václav Haisman
Václav Haisman wrote, On 29.5.2006 0:09: > See attached file. The kernel is todays CVS 6.1. > > -- > Vaclav Haisman > > > > > > > May 28 19:16:55 logout kernel: lock order reversal

Re: LOR in vnode interlock and system map

2006-06-25 Thread Václav Haisman
Kostik Belousov wrote, On 26.6.2006 6:17: > On Mon, Jun 26, 2006 at 02:17:20AM +0200, V??clav Haisman wrote: >> >> V??clav Haisman wrote, On 29.5.2006 0:09: >>> See attached file. The kernel is todays CVS 6.1. >>> >>> -- >>> Vaclav Haisman >>> >>> >>> >>> >>> -

Mount related panic with FreeBSD 6?

2005-11-20 Thread Václav Haisman
Hi, I got this panic on freshly installed FreeBSD 6. I did this df -h and noticed that /mnt/oldroot/home is somewhat mangled. The /mnt/oldroot is root of FreeBSD 4.11 system. I successfully copied some settings and all user accounts from that /mnt/oldroot/home earlier today. This is what I did befo

Re: Mount related panic with FreeBSD 6?

2005-11-22 Thread Václav Haisman
Doug White wrote: > On Sun, 20 Nov 2005, [UTF-8] Václav Haisman wrote: > > >>Hi, >>I got this panic on freshly installed FreeBSD 6. I did this df -h and >>noticed that /mnt/oldroot/home is somewhat mangled. The /mnt/oldroot is >>root of FreeBSD 4.11 system. I

Re: FBSD 6 and pthread_testcancel()

2006-01-01 Thread Václav Haisman
I have similar problems with Evolution on after some portupgrades. Though I use 5.4, not 6.0. VH signature.asc Description: OpenPGP digital signature

[6.0] Snapshot removes acls flag from fs.

2006-01-06 Thread Václav Haisman
When I make snapshot of fs it removes "acls" flag from mount. While the command is "mount -u -o snapshot etc." I don't think it should remove the flag because it is not specified besides the snapshot option. Vaclav Haisman signature.asc Description: OpenPGP digital signature

Re: [6.0] Snapshot removes acls flag from fs.

2006-01-06 Thread Václav Haisman
David Malone wrote: > On Fri, Jan 06, 2006 at 10:50:57AM +0100, V??clav Haisman wrote: > >>When I make snapshot of fs it removes "acls" flag from mount. While the >>command is "mount -u -o snapshot etc." I don't think it should remove >>the flag because it is not specified besides the snapshot o