dbsdlog takes ridiculously long time to load

2012-04-05 Thread elekktretterr
While inspecting the html code to see whats causing it to load for about 3
minutes i found this -

iframe allowtransparency=true frameborder=0 scrolling=no
src=http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;counturl=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;count=horizontalamp;text=ldconfig%20search%20path%20change:
 style=width:97px; height:20px;/iframe

on every post on the page. This is causing slowdowns in both IE and
Chrome, but particularly chrome.

Petr



Can't compile kernel without INVARIANTS

2012-04-05 Thread Andrey N. Oktyabrski

DragonFly 3.0-RELEASE v3.0.1.21.g11c31-RELEASE x86_64

04:20 ano@df:/usr/src:$ diff -uw sys/config/X86_64_GENERIC sys/config/DF
--- sys/config/X86_64_GENERIC   2012-03-07 10:09:19.0 +0400
+++ sys/config/DF   2012-03-18 00:02:29.0 +0400
@@ -8,7 +8,7 @@
 machinex86_64
 machine_arch   x86_64
 cpuHAMMER_CPU
-ident  X86_64_GENERIC
+ident  DF
 maxusers   0

 makeoptionsDEBUG=-g#Build kernel with gdb(1) debug 
symbols

@@ -68,7 +68,7 @@
 # Debugging for Development
 optionsDDB
 optionsDDB_TRACE
-optionsINVARIANTS
+#options   INVARIANTS

 device isa
 device pci
04:27 ano@df:/usr/src:$ make buildkernel KERNCONF=DF
...
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wold-style-definition -std=c99 -Wold-style-declaration -g 
-nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/obj/usr/src/sys/DF -I/usr/src/sys/dev/acpica5 
-I/usr/src/sys/contrib/dev/acpica-unix/include 
-I/usr/src/sys/dev/netif/ath/hal 
-I/usr/src/sys/dev/netif/ath/hal/ath_hal  -D_KERNEL -include 
opt_global.h  -finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -ffreestanding 
-mpreferred-stack-boundary=4 -fno-stack-protector -mcmodel=kernel 
-mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a 
-mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt 
-msoft-float -fno-asynchronous-unwind-tables -fno-omit-frame-pointer 
/usr/src/sys/vfs/ufs/ffs_softdep.c -Werror

cc1: warnings being treated as errors
/usr/src/sys/vfs/ufs/ffs_softdep.c:250: error: 'lock_held' defined but 
not used

*** Error code 1

Stop in /usr/obj/usr/src/sys/DF.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Re: Can't compile kernel without INVARIANTS

2012-04-05 Thread Sascha Wildner
On Thu, 05 Apr 2012 12:37:46 +0200, Andrey N. Oktyabrski a...@bestmx.ru  
wrote:


/usr/src/sys/vfs/ufs/ffs_softdep.c:250: error: 'lock_held' defined but  
not used

*** Error code 1


I've fixed that one, thanks for reporting (sorry, I forgot to give credit  
in the commit msg).


However, there's another issue in iwn(4) without INVARIANTS. I'll look at  
fixing it (or poking sephe about it).


Sascha


Re: Can't compile kernel without INVARIANTS

2012-04-05 Thread Andrey N. Oktyabrski

On 05.04.12 21:14, Sascha Wildner wrote:

/usr/src/sys/vfs/ufs/ffs_softdep.c:250: error: 'lock_held' defined but
not used
*** Error code 1


I've fixed that one, thanks for reporting (sorry, I forgot to give
credit in the commit msg).

However, there's another issue in iwn(4) without INVARIANTS. I'll look
at fixing it (or poking sephe about it).
Thank you. Will you commit these changes in the 3.0? I do not use master 
branch on the servers.


Re: Can't compile kernel without INVARIANTS

2012-04-05 Thread Sascha Wildner
On Thu, 05 Apr 2012 20:07:51 +0200, Andrey N. Oktyabrski a...@bestmx.ru  
wrote:



On 05.04.12 21:14, Sascha Wildner wrote:

/usr/src/sys/vfs/ufs/ffs_softdep.c:250: error: 'lock_held' defined but
not used
*** Error code 1


I've fixed that one, thanks for reporting (sorry, I forgot to give
credit in the commit msg).

However, there's another issue in iwn(4) without INVARIANTS. I'll look
at fixing it (or poking sephe about it).
Thank you. Will you commit these changes in the 3.0? I do not use master  
branch on the servers.


Yeah, thanks for reminding.


Re: dbsdlog takes ridiculously long time to load

2012-04-05 Thread elekktretterr
Just as an addition to my previous post - click on the twitter link and
have a look how much code that single iframe button fetches.



Re: Updating Jails?

2012-04-05 Thread Justin Sherrill
On Wed, Apr 4, 2012 at 10:41 AM, Konrad Neuwirth kon...@fimsch.net wrote:
 Hello everyone,

 the handbook on the website is very helpful in regards to jails, and I was 
 able to set up a jail or three quite quickly following the instructions 
 there. What I do not yet understand, though, is what the process would be to 
 update a jail once you decide to update the hosting system. My presumption is 
 that you are not well-advised to be running a jails userland that differs 
 from the parent; but what would be the most secure (and convenient) way to 
 update? (Maybe this question also might be worthy of addition to the 
 handbook).

The make installworld/distribution steps you used to create it should
also put the updated versions of all the files in there if you do them
again with the new system.

I've never run a jail, so I may be wrong.



Re: dbsdlog takes ridiculously long time to load

2012-04-05 Thread John Marino

On 4/5/2012 10:58, elekktrett...@exemail.com.au wrote:

While inspecting the html code to see whats causing it to load for about 3
minutes i found this -

iframe allowtransparency=true frameborder=0 scrolling=no
src=http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;counturl=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;count=horizontalamp;text=ldconfig%20search%20path%20change:
 style=width:97px; height:20px;/iframe

on every post on the page. This is causing slowdowns in both IE and
Chrome, but particularly chrome.

Petr



I assume it's a temporary problem with Twitter but in any case the 
dbsdlog belongs to Justin Sherrill so it's best to contact him directly.


(As an aside, since I never got caught up in Twitter I wouldn't be upset 
if the Twitter stuff were just removed outright).


John