ahd(4) poor performance

2006-06-23 Thread Volodymyr Kostyrko
Hi all. uname -a FreeBSD someserver 6.1-STABLE FreeBSD 6.1-STABLE #13: Thu Jun 22 20:55:06 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE i386 I have: ahd0: Adaptec (Dell OEM) 39320 Ultra320 SCSI adapter port 0xdc00-0xdcff,0xd800-0xd8ff mem 0xdfbfe000-0xdfbf irq 66 at

CPUTYPE:=athlon problem on RELENG_7

2007-11-21 Thread Volodymyr Kostyrko
When I moved to RELENG_7 on my machine i have experienced some SIGILL's on graphic applications. Looking into the cause I found this in gcc docs: _athlon, athlon-tbird_ AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and SSE prefetch instructions support. But my

vm_page_unwire: invalid wire count: 0

2008-03-31 Thread Volodymyr Kostyrko
Got a coredump each time when playing FLAC files through xmms2 with pulseaudio output plugin. cairn# kgdb /boot/kernel.old/kernel vmcore.9 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free

Re: /var with capacity -1%

2008-04-02 Thread Volodymyr Kostyrko
Ingeborg Hellemo wrote: ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done similar installations on 2 other servers, and suddenly: Any ideas? fsck -B /var -- Sphinx of black quartz judge my vow. ___

Re: nVidia driver update today: renders X11 unusable

2008-09-02 Thread Volodymyr Kostyrko
O. Hartmann wrote: Just upgraded my ports and installed the new xf86-video-nv driver. Well, loggin out works now without crashing the Xorg server, but most fonts now show up as balck bars - unreadable and ugly :-( Same for me, just some transparent pictures render transparency as black, good

Re: nVidia driver update today: renders X11 unusable

2008-09-02 Thread Volodymyr Kostyrko
O. Hartmann wrote: Volodymyr Kostyrko wrote: O. Hartmann wrote: Just upgraded my ports and installed the new xf86-video-nv driver. Well, loggin out works now without crashing the Xorg server, but most fonts now show up as balck bars - unreadable and ugly :-( Same for me, just some

Re: AHCI and ZFS: root mount error

2010-01-15 Thread Volodymyr Kostyrko
On Sat, 16 Jan 2010 00:29:23 +0100 Oliver Brandmueller o...@e-gitt.net wrote: Check with zpool status if your zpool refers to diskslices like ad0s1. I use gpt have setup the ZFS mirror to refer to gptids: pool: silver state: ONLINE scrub: none requested config: NAME

Re: AHCI and ZFS: root mount error

2010-01-15 Thread Volodymyr Kostyrko
On Fri, 15 Jan 2010 21:13:39 +0100 Romain Garbage romain.garb...@gmail.com wrote: After setting ahci_load=YES in /boot/loader.conf, I get a root mount error. ahci seems to attach to disk correctly (I get ada0 messages with no error) Without ahci_load=YES, system boots fine, with ata module

Re: Using GTP and glabel for ZFS arrays

2010-07-22 Thread Volodymyr Kostyrko
22.07.2010 06:05, Dan Langille wrote: Create a new partition within that scheme: gpart add -b 34 -s SOMEVALUE -t freebsd-zfs ad0 Why '-b 34'? Randi pointed me to http://en.wikipedia.org/wiki/GUID_Partition_Table where it explains what the first 33 LBA are used for. It's not for us to use here.

Re: zpool destroy causes panic

2010-07-25 Thread Volodymyr Kostyrko
25.07.2010 23:18, Jeremy Chadwick wrote: Footnote: can someone explain to me how ZFS would, upon reboot, know that /tmp/sparsefile[12].img are part of the pool? How would ZFS taste metadata in this situation? Just hacking it. Each ZFS device which is part of the pool tracks all other devices

Re: zpool destroy causes panic

2010-07-25 Thread Volodymyr Kostyrko
25.07.2010 20:58, Dan Langille wrote: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz2 ONLINE 0 0 0 gpt/disk01 ONLINE 0 0 0 gpt/disk02 ONLINE 0 0 0 gpt/disk03 ONLINE 0 0 0 gpt/disk04 ONLINE 0 0 0 gpt/disk05 ONLINE 0 0 0 /tmp/sparsefile1.img UNAVAIL 0 0 0 corrupted data

Re: HEADS UP: ZFS v28 merged to 8-STABLE

2011-06-10 Thread Volodymyr Kostyrko
06.06.2011 13:53, Martin Matuska написав(ла): Hi, I have merged ZFS version 28 to 8-STABLE (revision 222741) New major features: - data deduplication Am I missing something? How about using fletcher[24] for dedup? -- Sphinx of black quartz judge my vow.

Re: xterm - truetype fonts and missing underscore

2011-08-24 Thread Volodymyr Kostyrko
24.08.2011 12:01, Tony Maher wrote: Hello, recently (not sure exactly when) my xterms no longer showed the underscore character. In my .Xresources I had (and have had this setting for years): XTerm*faceName: Monospace XTerm*faceSize: 10 I noticed when experimenting and modifying values that

stable fails to build for me

2011-11-14 Thread Volodymyr Kostyrko
I'm running into this: === gnu/lib/libsupc++ (install) clang -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.bin/lex/lib/libyywrap.c install -C -C -o root -g wheel -m 444 libsupc++.a

Re: stable fails to build for me [bad setup]

2011-11-14 Thread Volodymyr Kostyrko
14.11.2011 10:06, Volodymyr Kostyrko wrote: I'm running into this: === gnu/lib/libsupc++ (install) clang -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.bin/lex/lib/libyywrap.c install -C -C -o root -g wheel -m

Re: SCHED_ULE should not be the default

2011-12-09 Thread Volodymyr Kostyrko
09.12.2011 13:03, George Mitchell wrote: dnetc is an open-source program from http://www.distributed.net/. It tries a brute-force approach to cracking RC4 puzzles and also computes optimal Golomb rulers. It starts up one process per CPU and runs at nice 20 and is, for all intents and purposes,

Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server

2011-12-15 Thread Volodymyr Kostyrko
15.12.2011 15:48, Jeremy Chadwick wrote: I'm getting to the point where I'm considering formulating a private mail to Jeff Roberson, requesting that he be aware of the discussion that's happening (not that he necessarily follow or read it), and that based on what I can tell we're at a roadblock

minor regression after patching

2011-12-26 Thread Volodymyr Kostyrko
Hi all. Am I the only one seeing this on RELENG_9? === libexec/ftpd (all) clang -O2 -pipe -DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -I/usr/src/libexec/ftpd -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls -DINET6 -DUSE_PAM -std=gnu99 -fstack-protector -Wsystem-headers -Wall

Re: minor regression after patching

2011-12-26 Thread Volodymyr Kostyrko
26.12.2011 17:57, Sergey Kandaurov wrote: Hi all. Am I the only one seeing this on RELENG_9? === libexec/ftpd (all) clang -O2 -pipe -DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -I/usr/src/libexec/ftpd -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls -DINET6 -DUSE_PAM -std=gnu99

Re: minor regression after patching

2011-12-27 Thread Volodymyr Kostyrko
27.12.2011 03:58, Dimitry Andric wrote: ftpd.o: In function `pass': /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to `__FreeBSD_libc_enter_restricted_mode' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 This means that linker

Re: minor regression after patching

2011-12-27 Thread Volodymyr Kostyrko
27.12.2011 03:58, Dimitry Andric wrote: ftpd.o: In function `pass': /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to `__FreeBSD_libc_enter_restricted_mode' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 This means that linker

Re: minor regression after patching

2011-12-28 Thread Volodymyr Kostyrko
28.12.2011 02:03, Dimitry Andric wrote: .if (empty(.CURDIR:N*/usr/src/*) || empty(.CURDIR:N*/usr/obj/*)) !defined(NOCCACHE) The problem is this test, it doesn't return true when you are exactly in /usr/src. The result is that clang doesn't get built in the cross-tools stage, and /usr/bin/clang

Re: x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf

2012-01-03 Thread Volodymyr Kostyrko
03.01.2012 12:15, O. Hartmann wrote: On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. 9-STABLE,

Re: FreeBSD 9 recompile ports

2012-01-13 Thread Volodymyr Kostyrko
George Kontostanos wrote: Greetings all and my apologies for cross posting! There seems to be a confusion regarding the ABI change in FreeBSD 9 and if this affects the usual upgrade path which includes a full port rebuild. The relevant post is here:

Re: FB9-stable: bridge0 doesn't come up via rc

2012-01-17 Thread Volodymyr Kostyrko
Denny Schierz wrote: hi, I have problems starting the bridge via rc.d: rc.conf: cloned_interfaces=bridge0 ifconfig_bge0=up ifconfig_bridge0=addm bge0 up ifconfig_bridge0=inet 192.168.1.0 netmask 255.255.255.0 up Remember that rc.conf is a pure shell script. The line above overwrites one

Re: Strange 'hangs' with RELENG_9

2012-01-19 Thread Volodymyr Kostyrko
László KÁROLYI wrote: Hello, Recently I updated my RELENG_8 to RELENG_9. Since then, the server hangs from time to time for 5 minutes. When I run a top in a remote terminal, I can see that it hangs so strong, that the clock hangs too. When it continues to run , the time continues from the when

Re: Strange 'hangs' with RELENG_9

2012-01-19 Thread Volodymyr Kostyrko
László KÁROLYI wrote: Volodymyr Kostyrko wrote: Obtaining kernel dump is the way to go. You can occasionally find that obtaining dump on world built with clang is much easier than on gcc-compiled one. I remember at least one such case with broken zfs directory when trying to read

Re: Reducing the need to compile a custom kernel

2012-02-10 Thread Volodymyr Kostyrko
Alexander Leidinger wrote: during some big discussions in the last monts on various lists, one of the problems was that some people would like to use freebsd-update but can't as they are using a custom kernel. With all the kernel modules we provide, the need for a custom kernel should be small,

Re: Reducing the need to compile a custom kernel

2012-02-13 Thread Volodymyr Kostyrko
Jeremy Chadwick wrote: I want to note here: the pf ALTQ options are a pain in the butt, quite honestly. I've found in the past that removing the ones you don't use won't result in a successful build, thus one must include them all. We do need ALTQ support though, for rate-limiting capability.

Re: Reducing the need to compile a custom kernel

2012-02-13 Thread Volodymyr Kostyrko
Jeremy Chadwick wrote: On Mon, Feb 13, 2012 at 05:05:41PM +0200, Volodymyr Kostyrko wrote: Jeremy Chadwick wrote: I want to note here: the pf ALTQ options are a pain in the butt, quite honestly. I've found in the past that removing the ones you don't use won't result in a successful build

Re: Reducing the need to compile a custom kernel

2012-02-13 Thread Volodymyr Kostyrko
Alexander Leidinger wrote: Feasible: depend upon your definition of feasible. You would have to add all keymaps statically into the kernel. No idea which parts exactly we talk about, but: ---snip--- % du -h /usr/share/syscons/ 40k /usr/share/syscons/scrnmaps 570k /usr/share/syscons/fonts 1.1M

mutex problem: adding address to pf table results in uma_zallog_arg: zone pfrktable

2012-03-21 Thread Volodymyr Kostyrko
Hi all. I have troubles running one server and recompiled kernel with DDB/WITNESS. I'll post some LOR's I can find. This one is highly reproducible as this happens each time sshguard adds address to the table. Mar 21 09:26:07 kohrah sshguard[5196]: Blocking 222.246.132.247:4 for 945secs: 40

Re: mutex problem: adding address to pf table results in uma_zallog_arg: zone pfrktable

2012-03-21 Thread Volodymyr Kostyrko
Volodymyr Kostyrko wrote: Hi all. I have troubles running one server and recompiled kernel with DDB/WITNESS. I'll post some LOR's I can find. Sorry, forgot to describe machine: FreeBSD kohrah.xim.bz 9.0-RELEASE FreeBSD 9.0-RELEASE #0 r229375: Tue Mar 20 17:48:58 EET 2012 arc

Re: Time Clock Stops in FreeBSD 9.0 guest running under ESXi 5.0

2012-03-22 Thread Volodymyr Kostyrko
Andriy Gapon wrote: on 22/03/2012 15:19 Mike Tkachuk said the following: kern.eventtimer.periodic: 0 It might make sense to try 1 here. Also you could attempt to involve mav@ directly - here is an author of the code and an expert on it. Better ask before setting as this doubles hpet0 (with

Re: Time Clock Stops in FreeBSD 9.0 guest running under ESXi 5.0

2012-03-22 Thread Volodymyr Kostyrko
Andriy Gapon wrote: on 22/03/2012 17:33 Volodymyr Kostyrko said the following: Andriy Gapon wrote: on 22/03/2012 15:19 Mike Tkachuk said the following: kern.eventtimer.periodic: 0 It might make sense to try 1 here. Also you could attempt to involve mav@ directly - here is an author

Re: Time Clock Stops in FreeBSD 9.0 guest running under ESXi 5.0

2012-03-22 Thread Volodymyr Kostyrko
Andriy Gapon wrote: As everything related to timing/freq/acpi can be unpredictive I wouldn't recommend this to anyone. I own at least two Intel CPU's failing somewhere near timing/apic when loading cpufreq and enabling powerd. What exactly you wouldn't recommend? Let's not introduce

trap 12 on 9.0 when memcache gets some load

2012-03-27 Thread Volodymyr Kostyrko
Hi all. I'm just puzzled with this. At first I though this happens because of some memory problems. But now project was moved to another server with some other brands for motherboard/memory and different cpu's. And still once in an hour this happens again: == screenshot current_process =

Re: trap 12 on 9.0 when memcache gets some load [resolved] ZERO_COPY trap

2012-03-29 Thread Volodymyr Kostyrko
Andriy Gapon wrote: on 27/03/2012 18:48 Volodymyr Kostyrko said the following: Hi all. I'm just puzzled with this. At first I though this happens because of some memory problems. But now project was moved to another server with some other brands for motherboard/memory and different cpu's

Re: lowest C-state changes

2012-04-05 Thread Volodymyr Kostyrko
Любомир Григоров wrote: Hello all, I am using FreeBSD 9.0-STABLE with Konstantin's patch from March 22nd. Everything else is stock. However, after heavy load, or compiling, C-states go to C1 as lowest. I think once they pass the threshold, they don't go back. ThinkPad X220 i5 2520M with

Re: lowest C-state changes

2012-04-05 Thread Volodymyr Kostyrko
Любомир Григоров wrote: Have you checked http://wiki.freebsd.org/TuningPowerConsumption? I have. It was kind of confusing and didn't know about: 1. For CX states to function correctly you better disable throttling and powerd. I also witnessed at least one machine that hitting any CX mode

Re: ServeRAID BR10il (LSISAS1064E)

2012-05-16 Thread Volodymyr Kostyrko
Alexey V. Panfilov wrote: I try to boot from CDROM with FreeBSD on IBM xServer x3250 M4 (P/N 2583-72G), but it always crash with message: NMI ISA b8, EISA ff RAM parity error, likely hardware failure. This can be RAM error. -- Sphinx of black quartz judge my vow.

Re: ServeRAID BR10il (LSISAS1064E)

2012-05-16 Thread Volodymyr Kostyrko
Alexey V. Panfilov wrote: P.S. my case is the same as http://forums.freebsd.org/showthread.php?t=11222 And this is strange, on the machine where I have this one installed (as all other machines) I keep a MINIMAL kernel loading everything possible from modules. Distilled kernel config looks

Re: [CFT] radeon_suspend/resume patch

2012-06-25 Thread Volodymyr Kostyrko
Mitsuru IWASAKI wrote: I created the patches for drm/radeon in order to restore the graphic state on resuming (ported from NetBSD code). http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff Unfortunately, I don't have the machine to test the patches. Can anyone test this?

Re: [CFT] radeon_suspend/resume patch

2012-06-25 Thread Volodymyr Kostyrko
Mitsuru IWASAKI wrote: I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume on that one manually? It's depends on whether the system support S3. Please check it like this; # sysctl hw.acpi.supported_sleep_state hw.acpi.supported_sleep_state: S1 S3 S4 S5 If supported, to

Re: [CFT] radeon_suspend/resume patch

2012-06-26 Thread Volodymyr Kostyrko
Mitsuru IWASAKI wrote: I created the patches for drm/radeon in order to restore the graphic state on resuming (ported from NetBSD code). http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff Unfortunately, I don't have the machine to test the patches. Can anyone test this?

9-STABLE (238719) compilation fails on i386

2012-07-24 Thread Volodymyr Kostyrko
Hi all. When building procstat I get this: clang -O2 -pipe -march=athlon-xp -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings

Re: 9-STABLE (238719) compilation fails on i386

2012-07-25 Thread Volodymyr Kostyrko
Volodymyr Kostyrko wrote: When building procstat I get this: clang -O2 -pipe -march=athlon-xp -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual

Re: Clang as default compiler

2012-09-12 Thread Volodymyr Kostyrko
12.09.2012 00:49, Andreas Nilsson wrote: On another clang note: Is there a page specifying valid settings for -march, my google-foo is failing me. Ie, I'm looking for the equivalent of http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options I'm

Missing lib on linking libc WITH_LIBCPLUSPLUS

2012-10-02 Thread Volodymyr Kostyrko
Hi all. When enabling WITH_LIBCPLUSPLUS libc build fails with: /usr/local/libexec/ccache/clang++ -O2 -pipe -march=native -I/usr/src/lib/libc++/../../contrib/libc++/include -I/usr/src/lib/libc++/../../contrib/libcxxrt -nostdlib -DLIBCXXRT -Qunused-arguments -fstack-protector -Wno-empty-body

Re: Missing lib on linking libc WITH_LIBCPLUSPLUS

2012-10-02 Thread Volodymyr Kostyrko
02.10.2012 12:12, Dimitry Andric wrote: On 2012-10-02 09:53, Volodymyr Kostyrko wrote: When enabling WITH_LIBCPLUSPLUS libc build fails with: /usr/local/libexec/ccache/clang++ -O2 -pipe -march=native -I/usr/src/lib/libc++/../../contrib/libc++/include -I/usr/src/lib/libc++/../../contrib

Re: Missing lib on linking libc WITH_LIBCPLUSPLUS

2012-10-02 Thread Volodymyr Kostyrko
03.10.2012 00:48, Dimitry Andric wrote: Bingo. Yes, disabling ccache makes everything work. please ping the ccache folk about this. It *shouldn't* matter. :) In this case, ccache apparently does not realize that the world stage is using the toolchain built during the cross-tools stage, which

lang/gcc fails building on old processor

2012-10-03 Thread Volodymyr Kostyrko
Hello. It seems that lang/gcc starts producing incorrect binaries after some point. Right now it stops building with: checking whether to build static libraries... yes libtool.m4: error: problem compiling FC test program checking for /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran

kern.maxswzone is gone... what next?

2012-10-11 Thread Volodymyr Kostyrko
Hi all. I prefer to build all ports in /tmp, which is actually a tmpfs filesystem. I have 8G partition. But when I tried to compile Apache OpenOffice system starts shooting processes when I was near 6G of swap. Oct 11 18:12:32 ar1l0u kernel: swap zone exhausted, increase kern.maxswzone Oct

Re: kern.maxswzone is gone... what next?

2012-10-11 Thread Volodymyr Kostyrko
11.10.2012 18:37, Sergey Kandaurov wrote: On 11 October 2012 19:32, Volodymyr Kostyrko c.kw...@gmail.com wrote: Hi all. I prefer to build all ports in /tmp, which is actually a tmpfs filesystem. I have 8G partition. But when I tried to compile Apache OpenOffice system starts shooting processes

Re: kern.maxswzone is gone... what next?

2012-10-11 Thread Volodymyr Kostyrko
11.10.2012 18:50, Andreas Nilsson wrote: I can chime in with the exact same error. I was using poudriere to build some ports, and on apache-oo the machine actually had a kernel panic. Machine has 16gb of ram and 16gb swap. I had top running (update every 1 sec) and there was 10gb of swap free

Re: kern.maxswzone is gone... what next?

2012-10-12 Thread Volodymyr Kostyrko
11.10.2012 19:27, Andriy Gapon wrote: On 11 October 2012 19:32, Volodymyr Kostyrko c.kw...@gmail.com wrote: Hi all. I prefer to build all ports in /tmp, which is actually a tmpfs filesystem. I have 8G partition. But when I tried to compile Apache OpenOffice system starts shooting processes

kern.maxswzone warning on boot

2012-10-12 Thread Volodymyr Kostyrko
Hi all. I updated my old i386 machine and now it says: Oct 8 16:57:12 limbo kernel: warning: total configured swap (2100821 pages) exceeds maximum recommended amount (2041984 pages). Oct 8 16:57:12 limbo kernel: warning: increase kern.maxswzone or reduce amount of swap. I though someone

wine, gcc and clang with CPUTYPE

2012-10-24 Thread Volodymyr Kostyrko
Hi all. I just have taken some time to inspect CPUTYPE support for clang. It seems to me that clang generates incorrect code in some cases. The first failure point I discovered was inability to build gcc from sources or compile something with gcc. Code produced by gcc seem to fail whether

Re: wine, gcc and clang with CPUTYPE

2012-10-24 Thread Volodymyr Kostyrko
24.10.2012 11:12, Konstantin Belousov wrote: My conclusion is: clang incorrectly produces code within one of core libraries (I haven't tested which one yet, but I suspect libgcc_s.so) when optimizing for athlon-4 or athlon-xp. I am not versed in the AMD marketing monikers. I guess that

Re: wine, gcc and clang with CPUTYPE

2012-10-24 Thread Volodymyr Kostyrko
24.10.2012 13:05, Dimitry Andric wrote: I just have taken some time to inspect CPUTYPE support for clang. It seems to me that clang generates incorrect code in some cases. The first failure point I discovered was inability to build gcc from sources or compile something with gcc. Code produced

Re: wine, gcc and clang with CPUTYPE

2012-10-24 Thread Volodymyr Kostyrko
24.10.2012 14:00, Dimitry Andric wrote: On the problematic athlons, can you please post the exact CPUIDs from dmesg? If you have WITH_CLANG_EXTRAS enabled, please also post the output of opt -version. Oct 24 01:47:20 limbo kernel: CPU: AMD Athlon(tm) XP 2500+ (1833.95-MHz 686-class CPU) Oct

buildworld fails on recent stable

2012-11-05 Thread Volodymyr Kostyrko
Hi all. When CLANG_IS_CC build fails at sys/boot/i386/boot2: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b

Re: buildworld fails on recent stable

2012-11-05 Thread Volodymyr Kostyrko
05.11.2012 17:42, Andriy Gapon wrote: on 05/11/2012 16:51 Dimitry Andric said the following: On 2012-11-05 12:41, Volodymyr Kostyrko wrote: When CLANG_IS_CC build fails at sys/boot/i386/boot2: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src

Re: buildworld fails on recent stable

2012-11-05 Thread Volodymyr Kostyrko
05.11.2012 18:00, Andriy Gapon wrote: I bet on clang 3.2. Thank you for checking. So how do we proceed from here? I could just revert the MFC-es, but the functionality could be desirable to some users. Are there any alternatives? Dunno, clang 3.2 is still pending so I guess it wouldn't be

Re: wine, gcc and clang with CPUTYPE

2012-11-05 Thread Volodymyr Kostyrko
05.11.2012 17:47, Howard Goldstein wrote: Volodymyr, your initial email in this thread regarding clang's being stuck on native code generation allowed me to wrap up a week of fighting with an updated production box with a weird wine issue - thank you! FWIW I filed a pr on this. You've done

Re: Logging of installed packages.

2012-11-20 Thread Volodymyr Kostyrko
20.11.2012 11:24, Peter Ankerstål wrote: In the light of this: http://www.freebsd.org/news/2012-compromise.html It would be nice if there was default way to log all package installations from both pkgs and ports. Is there? If not, what would you recommend for doing this? pkgng logs all

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 10:59, Beeblebrox: 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be functional? I think I read somewhere that buildworld + clang - ccache was working fine now. Any info on date ccache will work with clang and when to try? Define CCACHE_CPP2 as otherwise clang will

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:20, Beeblebrox: Care to not specify CCACHE_CPP2 for virtualbox and friends. Not true for Jails I assume? No, it's just that virtualbox still doesn't build with clang and gcc doesn't really like some -MD (?) flags. Define CCACHE_CPP2 as otherwise clang will yell at ccache Is

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:30, Beeblebrox: Is this the same reason CMAKE yells at CCACHE? Haven't seen this before. Can you share? I meant for ports, not buildworld... I use bsdadminscripts and specify preferences in /usr/local/etc/buildflags.conf. I tried these and did not work. What is the setting for

Re: Latest for buildworld + clang + ccache

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 11:46, Beeblebrox: I think I made a mistake: clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [tblgen] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 in

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 15:45, Beeblebrox: I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. 1. I have to keep re-starting buildworld at different points of break. When re-started the build continues past the last break-point and goes on to break somewhere

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 16:14, Beeblebrox: Thanks for the suggestion. Build progressed a little further then had other problem: === gnu/lib/libstdc++ (all) building shared library libstdc++.so.6 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. clang: error: linker command

Re: Help review the FAQ

2012-11-26 Thread Volodymyr Kostyrko
26.11.2012 16:49, Jakub Lach: Absolutely not, it's a heavily stripped custom kernel on this machine on /boot/. Do you call this heavily stripped? :) ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 5757970 Nov 26 10:57 /boot/kernel/kernel However it's very hard to strip kernel further

-stdlib=libc++ fails for some ports

2012-11-29 Thread Volodymyr Kostyrko
Hi all. When compiling databases/db5 with CFLAGS+= -stdlib=libc++ I got this: libtool: compile: c++ -c -I. -I./../src -D_THREAD_SAFE -O2 -pipe -march=native -fno-strict-aliasing -stdlib=libc++ ../lang/cxx/cxx_db.cpp -fPIC -DPIC -o .libs/cxx_db.o In file included from

Re: -stdlib=libc++ fails for some ports

2012-11-30 Thread Volodymyr Kostyrko
29.11.2012 23:38, Dimitry Andric: I merged the snapshot to stable/9 in r243683. Thank you. -- Sphinx of black quartz, judge my vow. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe,

Re: No more torrents.....

2012-12-19 Thread Volodymyr Kostyrko
19.12.2012 01:22, Peter Wemm: I would be very much be willing to assist with seeding if we make dht torrent files available from my nodes located in downtown Los Angeles for west-coast and APAC network presence. as an aside: I have been running libtorrent/rtorrent for a bit and it seems like a

Re: xorg-server patch error

2013-02-01 Thread Volodymyr Kostyrko
01.02.2013 10:07, Andriy Kornatskyy: # make install clean -sC /usr/ports/x11/xorg-minimal === Installing for xorg-minimal-7.5.2 === xorg-minimal-7.5.2 depends on file: /usr/local/bin/Xorg - not found === Verifying install for /usr/local/bin/Xorg in /usr/ports/x11-servers/xorg-server ===

Re: Ports and WITH_LIBCPLUSPLUS

2013-02-04 Thread Volodymyr Kostyrko
03.02.2013 15:28, Dimitry Andric: Thanks for trying this out. Is there also a list of ports that *do* compile (and hopefully run) successfully? :-) I already switched to libc++ on my unstable STABLE-9 machines. Currently I'm using this config: *: CXXFLAGS= -stdlib=libc++ -std=c++11 |

Re: Ports and WITH_LIBCPLUSPLUS

2013-02-05 Thread Volodymyr Kostyrko
05.02.2013 13:59, Andreas Nilsson: Thanks for trying this out. Is there also a list of ports that *do* compile (and hopefully run) successfully? :-) I already switched to libc++ on my unstable STABLE-9 machines. Currently I'm using this config: *: CXXFLAGS=

Re: Ports and WITH_LIBCPLUSPLUS

2013-02-05 Thread Volodymyr Kostyrko
05.02.2013 15:06, Andreas Nilsson: Ah, sorry for being unclear. I meant which config files :) I'm using ports-mgmt/portconf to keep track of all knobs. -- Sphinx of black quartz, judge my vow. ___ freebsd-stable@freebsd.org mailing list

Re: zfs v28 solaris compatibility

2013-02-07 Thread Volodymyr Kostyrko
07.02.2013 14:16, Eugene M. Zheganin: Hi. Is the FreeBSD v28 zfs fully compatible with solaris zfs ? I need to switch disks between servers, these disks are SAN disks, and it's about 20T of data. I don't want to lose them. I am aware that our zfs is compatible with Solaris, but I just want to

Re: Musings on ZFS Backup strategies

2013-03-01 Thread Volodymyr Kostyrko
01.03.2013 16:24, Karl Denninger: Dabbling with ZFS now, and giving some thought to how to handle backup strategies. ZFS' snapshot capabilities have forced me to re-think the way that I've handled this. Previously near-line (and offline) backup was focused on being able to handle both

Re: Musings on ZFS Backup strategies

2013-03-04 Thread Volodymyr Kostyrko
02.03.2013 03:12, David Magda: On Mar 1, 2013, at 12:55, Volodymyr Kostyrko wrote: Yes, I'm working with backups the same way, I wrote a simple script that synchronizes two filesystems between distant servers. I also use the same script to synchronize bushy filesystems (with hundred

Re: Musings on ZFS Backup strategies

2013-03-04 Thread Volodymyr Kostyrko
04.03.2013 19:04, David Magda: On Mon, March 4, 2013 11:07, Volodymyr Kostyrko wrote: 02.03.2013 03:12, David Magda: There are quite a few scripts out there: http://www.freshports.org/search.php?query=zfs A lot of them require python or ruby, and none of them manages synchronizing

Re: Help! :( ZFS panic on boot, importing pool after server crash.

2013-06-14 Thread Volodymyr Kostyrko
14.06.2013 12:55, Dr Josef Karthauser: Hi, I'm a bit at the end of my tether. We had a ZFS panic last night on a machine that hosts all my mail and web; it was rebooted and it now panics mounting the ZFS root filesystem. The call stack info is: solaris assert: ss == NULL, file:

Re: Help! :( ZFS panic on boot, importing pool after server crash.

2013-06-14 Thread Volodymyr Kostyrko
14.06.2013 15:51, Dr Josef Karthauser: On 14 Jun 2013, at 12:00, Volodymyr Kostyrko c.kw...@gmail.com wrote: 14.06.2013 12:55, Dr Josef Karthauser: Hi, I'm a bit at the end of my tether. p.s. the config, btw, is a ZFS mirror on two ad devices. It's got a ZFS root file system. If you

can't build stable with clang after tcpdump import

2013-06-27 Thread Volodymyr Kostyrko
Hi all. After recent tcpdump update I get this: cc -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -DINET6 -DLBL_ALIGN -I/usr/obj/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO

stable/9 fails to compile: kmem_alloc_contig bad definition

2013-07-11 Thread Volodymyr Kostyrko
Hello. /usr/local/libexec/ccache/world/cc -c -O -pipe -march=native -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs

Re: [resolved] stable/9 fails to compile: kmem_alloc_contig bad definition - radeon kms patches

2013-07-12 Thread Volodymyr Kostyrko
12.07.2013 08:51, Volodymyr Kostyrko wrote: vm_extern.h: vm_offset_t kmem_alloc_contig(vm_map_t map, vm_size_t size, int flags, vm_paddr_t low, vm_paddr_t high, unsigned long alignment, unsigned long boundary, vm_memattr_t memattr); Why boundary is unsigned long and not vm_paddr_t

Re: 9.2PRERELEASE ZFS panic in lzjb_compress

2013-07-19 Thread Volodymyr Kostyrko
19.07.2013 07:04, olivier wrote: Hi, Running 9.2-PRERELEASE #19 r253313 I got the following panic Fatal trap 12: page fault while in kernel mode cpuid = 22; apic id = 46 fault virtual address = 0xff827ebca30c fault code = supervisor read data, page not present instruction

Re: ZFS: can't read MOS of pool

2013-08-02 Thread Volodymyr Kostyrko
22.07.2013 19:18, Łukasz Wąsikowski wrote: I've got a problem with booting zfs-on-root FreeBSD 9.2-PRERELEASE. I'm getting: ZFS: i/o error - all block copies unavailable ZFS: can't read MOS of pool klawisz gptzfsboot: failed to mount default pool klawisz Machine is VM running under KVM on

Re: ZFS: can't read MOS of pool

2013-08-02 Thread Volodymyr Kostyrko
02.08.2013 17:40, Łukasz Wąsikowski wrote: Any hints how to go from here? First, how did you update bootcode? `ls -la /boot` also wood help. Second, what is your /etc/make.conf and /etc/src.conf? I'm updating bootcode with: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

Re: ZFS: can't read MOS of pool

2013-08-02 Thread Volodymyr Kostyrko
02.08.2013 17:56, Łukasz Wąsikowski wrote: Can you also try what Trond suggests about boot order? You can also list your boot fs in /boot/loader.conf like I listed ROOTFS in /boot/loader.conf, didn't helped. I'm using this boot order on 20+ boxes and never had any issues with it, but I'll

can't build ^/releng/9.2 from ^/releng/9.1

2013-08-27 Thread Volodymyr Kostyrko
Hi all. Just tried building 9.2 on one of my servers: === usr.bin/makewhatis (obj,depend,all,install) install -C -s -o root -g wheel -m 555 makewhatis /usr/obj/usr/src/tmp/legacy/usr/bin/makewhatis install -C -o root -g wheel -m 555 /usr/src/usr.bin/makewhatis/makewhatis.local.sh

Re: can't build ^/releng/9.2 from ^/releng/9.1 (resolved)

2013-08-29 Thread Volodymyr Kostyrko
27.08.2013 21:03, Volodymyr Kostyrko wrote): Was my local glitch, defining INSTALL=install -C in /etc/make.conf shadows install.sh -- Sphinx of black quartz, judge my vow. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: can't build ^/releng/9.2 from ^/releng/9.1 (resolved)

2013-08-29 Thread Volodymyr Kostyrko
29.08.2013 18:25, ill...@gmail.com wrote: On 29 August 2013 07:44, Volodymyr Kostyrko c.kw...@gmail.com wrote: 27.08.2013 21:03, Volodymyr Kostyrko wrote): Was my local glitch, defining INSTALL=install -C in /etc/make.conf shadows install.sh This is good to know, as bits of my /etc/make.conf

Re: Possible kqueue related issue on STABLE/RC.

2013-09-11 Thread Volodymyr Kostyrko
11.09.2013 18:07, Jimmy Olgeni wrote: Perhaps I found something weird while running 9.2-RC3 FreeBSD 9.2-RC3 #0 r255393 (ZFS-only setup). Unfortunately I'm not able to get a minidump for the latest RC, but at this point I suspect that something is going on with glib20 and kqueue on both

LOR's in 9.2-RC4, anyone?

2013-09-14 Thread Volodymyr Kostyrko
Hello. That's from one of my machines running RC4: Sep 14 11:19:36 slylandro kernel: lock order reversal: Sep 14 11:19:36 slylandro kernel: 1st 0xfe002e41b878 tmpfs (tmpfs) @ /usr/src/sys/modules/unionfs/../../fs/unionfs/union_vnops.c:1907 Sep 14 11:19:36 slylandro kernel: 2nd

Re: Rescuing a GPT ZFS boot setup

2013-09-19 Thread Volodymyr Kostyrko
19.09.2013 09:36, Andrew Moran wrote: 3 years ago I followed https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror for a FreeBSD 8.1 system (which has since been upgraded to 9.1).A couple days ago I had massive hardware failure, and wound up having to put the two drives into an entirely

Re: Rescuing a GPT ZFS boot setup

2013-09-19 Thread Volodymyr Kostyrko
19.09.2013 16:43, Andrew Moran wrote: Alas, that did not work. But it does look to be BIOS related. I think this new system has a UEFI bios. I just read from https://wiki.freebsd.org/UEFI: * Partitions not seen. When using GPT, FreeBSD will create a protective MBR. This MBR has

  1   2   >