Re: 'real mem' in dmesg much lower than expected?
On 18-08-2011 20:16, Dave Anderson wrote: I've been looking at a bunch of notebook dmesgs (i386, single processor) recently and have noticed that the value reported for 'real mem' is almost always much lower than the amount of memory actually installed. A typical example is OpenBSD 5.0 (GENERIC) #39: Mon Aug 8 14:53:43 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC real mem = 2900148224 (2765MB) spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM I understand that i386 cannot see more than 4GB due to architecture restrictions, but even allowing for that well over a gigabyte has vanished here. A quick look at the code that generates this number shows that it's skipping various areas reserved by the BIOS, etc., but the total amount being skipped seems absurd. Is there really supposed to be this much reserved space, or is something wrong? Thanks, Dave Have you checked if the Video Card uses shared memory ? Regards, Pedro de Oliveira
Re: tmux vs wake
window was removed and tmux was added. -Mensagem original- De: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] Em nome de Pawlowski Marcin Piotr Enviada: sexta-feira, 5 de Junho de 2009 16:29 Para: misc@openbsd.org Assunto: tmux vs wake Hi all, I'm a little bit curious about why there is place in bin for tmux(1) and there is no place for wake(8). In my opinion it's a little bit unfair. Could someone explain it? Information about why wake(8) was removed: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/wake/Attic/Makefile?hidea ttic=0;only_with_tag=HEAD Cheers!
Re: love me love me, fool me fool me
| GNU/BIRD_..._ TO CONFIGURE SOMETHING | IS NOW .-' '-. ON LINUX ALL YOU HAVE TO | BOOTING / __\ DO IS TYPE IN A MILLION | /':. (o) /__) COMMANDS AND SIT BACK | /':. .,_| | WHILE IT COMPILES | STARTING GNU |': ; / \ /_/ | FAGGOTRY / ; ``} LINUX IS THE FUTURE NOT | [ OK ] ; ':., \ THE PAST |/ ; \ | ; '::. ;\/\ /\/\ \ MICROSOFT MORE LIKE | |. ':. ;`` `\ MICRO$OFT | / '::'::'/ `. ||':::' '::' /; \ \ MY KERNEL IS COMPILED |\ '::' _.-`; ( o_)_ o) WITH -O2 AND I CAN |/`-..--;` ; | `---'` `'\ REALLY NOTICE THE SPEED | ; ; ; ; ; | \ DIFFERENCE | ; ; ; ; ; ; / |,--,, | |; ; ; ; ;/ | .' -='. | | ; ; ; ; / : x) _\ : | | ; ; /` '\ _,== \ .' | \; ; ; .'. '_'' '\.\~ //`. \ .' | | ; . ' ' \ \-'| |/,\ ` \ _.' | ~ ; ; ;/ ._,.-~'|`| | | _,-''\..--' | ~ /; ;/= |`| |`| _.-' | ~..==` \\ |`| / /.-'I USE GNOME, THE BEST | ~` ~ /,\ / /_,)) GUI ON ANY SYSTEM, AND ALL | ~ ~~ _,.-))YOU IDIOTS OUT THERE ARE | ~ ~ _,=~| USING WINDOWS WHICH IS | ~ =~|; ;| GNU/bird POOR IN MY EXPERT OPINION | ~ ~ | ; | | ~ ~ |;|\ | YOU SHOULD USE LINUX EVEN | |/ \| RMS 4 LYFE THOUGH IT IS HARDER TO USE | AND RUNS LIKE SHIT -Mensagem original- De: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] Em nome de frantisek holop Enviada: quarta-feira, 1 de Abril de 2009 16:50 Para: OpenBSD Assunto: love me love me, fool me fool me hey there, so no 1st of april fools this year, hm? how about we start a big flamewar about something? oh wait... happy fools' day fools! :] -f -- plus puto, minus scio -- the more i learn, the less i know
Re: Parallel build in ports - make -j4
Yes, both the kernel and userland compile with make -j. On Tue, Mar 24, 2009 at 09:51:10AM +0100, Marc Espie wrote: Yep, does not work with all ports. And I still have stuff I need to fix in make itself before we even think of fixing the ports that don't work with make -j: some of them don't work because the makefiles are wrong, and some of them don't work because make -j does not equate targets which leads to the same file. E.g., make -j does not know (yet) that a and ./a are the same file... Is it supported to compile a kernel (or make build) with -j ? Maurice
Re: Parallel build in ports - make -j4
Thanks for that, it worked! I added the following to my root .profile: export PARALLEL_BUILD=Yes export MAKE_JOBS=4 Someone should add this to bsd.port.mk(5). Regards, Pedro de Oliveira On Sun, Mar 22, 2009 at 2:34 PM, Pedro de Oliveira fa...@rdk.homeip.net wrote: Hello, I was wondering if there's any way to use make -j4 when building ports from source? Any obscure option on mk.conf? Currently if I run on a port, for example: make -j4 install it just uses one thread on the makefile of the port. Is there any way to pass the -j4 option to make command inside the port? My guess is you want to use the MAKE_JOBS environment variable. Take a look in bsd.port.mk -- Jason
Parallel build in ports - make -j4
Hello, I was wondering if there's any way to use make -j4 when building ports from source? Any obscure option on mk.conf? Currently if I run on a port, for example: make -j4 install it just uses one thread on the makefile of the port. Is there any way to pass the -j4 option to make command inside the port?
Virtual Consoles in OpenBSD/macppc
Hi, Anyone here using OpenBSD/macppc knows if its possible to enable more than one virtual console? I cant seem to find any info about that in the FAQ. Thanks in advance, Pedro de Oliveira
Re: Virtual Consoles in OpenBSD/macppc
Is it possible to implement it, its something that may be available in the future ? Or its really impossible to have multiple consoles ? From what i understand, the console in macppc just works in Framebuffer, is FB limited to just one console, it just doesnt support yet multiple? -Mensagem original- De: Peter Kay - Syllopsium [mailto:[EMAIL PROTECTED] Enviada: quinta-feira, 13 de Novembro de 2008 12:44 Para: Pedro de Oliveira; misc@openbsd.org Assunto: Re: Virtual Consoles in OpenBSD/macppc From: Pedro de Oliveira [EMAIL PROTECTED] Hi, Anyone here using OpenBSD/macppc knows if its possible to enable more than one virtual console? I cant seem to find any info about that in the FAQ. http://www.openbsd.org/faq/faq7.html It's not supported. Use 'screen' from packages instead. PK
Re: ascii bandwidth report
Also check this: http://humdi.net/vnstat/ i dont know if its currently working on openbsd, but theres some patches, making it work shoulnt be difficult, and this surely is what youre looking for, heres what the output looks like: Database updated: Wed Sep 17 16:57:02 2008 eth0 received:5813558 MB (87.5%) transmitted: 834246 MB (12.5%) total:6647805 MB rx | tx | total ---++--- yesterday 26487 MB |1478 MB | 27965 MB today 22870 MB |1007 MB | 23878 MB ---++--- estimated 32382 MB |1425 MB | 33807 MB -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Joe S Enviada: quarta-feira, 17 de Setembro de 2008 16:20 Para: misc@openbsd.org Assunto: ascii bandwidth report Now that my ISP is imposing bandwidth caps, I need to start measuring my usage. Graphs are nice, but I've found that graphs are not really that useful to me. I need something to report what my cummalative usage is in a 30 day period. I'd like the data in some sort of ascii format, but html is ok too. I think I need something that can poll snmp stats from fxp0, which is attached to my cable modem. Something small would be preferred. I'm not interested in cacti or other large installations. My needs are very modest...I hope. After googling for a little bit, I only found 2 apps that might work on my OpenBSD 4.3-stable firewall, vmnet and rtg. There is port or package available for either though. The output of vmnet -m is what I'm looking for, so I'll try that first. I was happy to see that rtg is now in current-ports, so I should be able to use it once I get my preordered CDs. If you have any suggestions, or you have a perl/python script that you would like to share, it would be appreciated.
Problems with apache vhosts
Hello, I'm having a little problem with vhosts with OpenBSD apache, not really a problem, more a Warning cause everything is working nicely, i just dont like the warnings. I created a vhosts.conf in /var/www/conf/modules with the following: -vhosts.conf- NameVirtualHost *:80 VirtualHost *:80 DocumentRoot /htdocs ServerName domain1.com /VirtualHost VirtualHost *:80 DocumentRoot /htdocs/stats ServerName sub.domain2.com /VirtualHost VirtualHost *:80 DocumentRoot /htdocs/blog ServerName domain2.com ServerAlias www.domain2.com /VirtualHost -vhosts.conf- Everything works as expected, but when I do a apachectl configtest I get the following: # apachectl configtest Processing config directory: /var/www/conf/modules/*.conf Processing config file: /var/www/conf/modules/php5.conf Processing config file: /var/www/conf/modules/vhosts.conf Warning: DocumentRoot [/htdocs] does not exist Warning: DocumentRoot [/htdocs/stats] does not exist Warning: DocumentRoot [/htdocs/blog] does not exist [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive [Fri May 16 12:03:50 2008] [warn] NameVirtualHost *:80 has no VirtualHosts Syntax OK Can anyone help me out figuring a way to remove those warnings?
Re: Problems with apache vhosts
I'm running -current from Mon May 12 10:57:47 WEST 2008. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Marc Balmer Enviada: sexta-feira, 16 de Maio de 2008 12:11 Para: Pedro de Oliveira Cc: misc@openbsd.org Assunto: Re: Problems with apache vhosts Pedro de Oliveira wrote: Hello, I'm having a little problem with vhosts with OpenBSD apache, not really a problem, more a Warning cause everything is working nicely, i just dont like the warnings. On which version do you see this problem? Are you running -current? If so, from when does your system date exactly? I created a vhosts.conf in /var/www/conf/modules with the following: -vhosts.conf- NameVirtualHost *:80 VirtualHost *:80 DocumentRoot /htdocs ServerName domain1.com /VirtualHost VirtualHost *:80 DocumentRoot /htdocs/stats ServerName sub.domain2.com /VirtualHost VirtualHost *:80 DocumentRoot /htdocs/blog ServerName domain2.com ServerAlias www.domain2.com /VirtualHost -vhosts.conf- Everything works as expected, but when I do a apachectl configtest I get the following: # apachectl configtest Processing config directory: /var/www/conf/modules/*.conf Processing config file: /var/www/conf/modules/php5.conf Processing config file: /var/www/conf/modules/vhosts.conf Warning: DocumentRoot [/htdocs] does not exist Warning: DocumentRoot [/htdocs/stats] does not exist Warning: DocumentRoot [/htdocs/blog] does not exist [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive [Fri May 16 12:03:50 2008] [warn] NameVirtualHost *:80 has no VirtualHosts Syntax OK Can anyone help me out figuring a way to remove those warnings?
Re: Problems with apache vhosts
Yes, the DocumentRoot ones I know that are because of the chroot. But the VirtualHosts warnings shoulnt appear, and yes, it is working correctly. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Stuart Henderson Enviada: sexta-feira, 16 de Maio de 2008 12:55 Para: misc@openbsd.org Assunto: Re: Problems with apache vhosts On 2008-05-16, Pedro de Oliveira [EMAIL PROTECTED] wrote: Everything works as expected, but when I do a apachectl configtest I get the following: Warning: DocumentRoot [/htdocs] does not exist Warning: DocumentRoot [/htdocs/stats] does not exist Warning: DocumentRoot [/htdocs/blog] does not exist These are because of the chroot handling. You can just use the full path /var/www/htdocs in the config file, httpd will do the right thing. [Fri May 16 12:03:50 2008] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive These are probably bogus warnings, the vhosts almost certainly still function correctly.
Re: Problems with apache vhosts
Hum, so I should just ignore it! Well, at least it is now *reported*. Thanks Marc and Stuart -Mensagem original- De: Stuart Henderson [mailto:[EMAIL PROTECTED] Enviada: sexta-feira, 16 de Maio de 2008 13:43 Para: Pedro de Oliveira Assunto: Re: Problems with apache vhosts On 2008/05/16 13:03, Pedro de Oliveira wrote: Yes, the DocumentRoot ones I know that are because of the chroot. But the VirtualHosts warnings shoulnt appear, and yes, it is working correctly. btw, it's fallout from the v6 support, I noticed it too.
Problems updating glib2
Hello, Can anyone explain me why it is impossible to upgrade /devel/glib2/ via ports without complettly removing it first? If you make a normal make update it fails during compilation, but if you pkg_del the current version, and try to build it, it compiles. ...snip... /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -L/usr/local/lib -o gtester gtester.o libglib-2.0.la -lintl -liconv cc -O2 -pipe -Wall -o .libs/gtester gtester.o -L/usr/local/lib -L./.libs -lglib-2.0 -lpcre -lintl -liconv -Wl,-rpath,/usr/local/lib /usr/local/lib/libglib-2.0.so.1400.3: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/libglib-2.0.so.1400.3: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libglib-2.0.so.1400.3: warning: strcat() is almost always misused, please use strlcat() gtester.o(.text+0x56c): In function `child_report_cb': : undefined reference to `g_test_log_buffer_push' gtester.o(.text+0x574): In function `child_report_cb': : undefined reference to `g_test_log_buffer_pop' gtester.o(.text+0x592): In function `child_report_cb': : undefined reference to `g_test_log_msg_free' gtester.o(.text+0x8f1): In function `launch_test_binary': : undefined reference to `g_test_log_buffer_new' gtester.o(.text+0x9fe): In function `launch_test_binary': : undefined reference to `g_test_log_buffer_free' gtester.o(.text+0x14ff): In function `fixture_setup': : undefined reference to `g_assertion_message_cmpnum' gtester.o(.text+0x152e): In function `fixture_test': : undefined reference to `g_test_message' gtester.o(.text+0x153a): In function `fixture_test': : undefined reference to `g_test_bug_base' gtester.o(.text+0x1546): In function `fixture_test': : undefined reference to `g_test_bug' gtester.o(.text+0x1552): In function `fixture_test': : undefined reference to `g_test_bug_base' gtester.o(.text+0x15b1): In function `fixture_test': : undefined reference to `g_assertion_message_cmpnum' gtester.o(.text+0x1626): In function `fixture_teardown': : undefined reference to `g_assertion_message_cmpnum' gtester.o(.text+0x1645): In function `main_selftest': : undefined reference to `g_test_init' gtester.o(.text+0x1664): In function `main_selftest': : undefined reference to `g_test_add_vtable' gtester.o(.text+0x166c): In function `main_selftest': : undefined reference to `g_test_run' gtester.o(.text+0x1565): In function `fixture_test': : undefined reference to `g_test_bug' collect2: ld returned 1 exit status gmake[4]: *** [gtester] Error 1 ...snip... My problem is that to remove glib2, I also have to remove all the packages that depend on it. So, can anyone tell me why does this happen? Thanks
License Violation - ksh
Hello, Someone on IRC just posted this link http://www.delilinux.de/oksh/ , seems like someone ported OpenBSD ksh to Linux and licensed it under GPLv3. Isn't this a license violation?
Compiling pcc
Hi, Has anyone had luck compiling the pcc that comes in the source tree? I've been trying everyday after syncronizing, but im having the same error over and over. It always fails on the directory ccom/i386 with this error: cc -O2 -pipe -DPCC_DEBUG -DGCC_COMPAT -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror -DLIBEXECDIR=\/usr/local/libexec\ -I. -I/usr/src/usr.bin/pcc/ccom/i386/.. -I/usr/src/usr.bin/pcc/ccom/i386 -I/usr/src/usr.bin/pcc/ccom/i386/../../mip -I/usr/src/usr.bin/pcc/ccom/i386/../../i386 -I/usr/src/usr.bin/pcc/ccom/i386/../.. -c /usr/src/usr.bin/pcc/ccom/i386/../trees.c In file included from /usr/src/usr.bin/pcc/ccom/trees.c:70: /usr/src/usr.bin/pcc/mip/pass2.h:40:22: external.h: No such file or directory In file included from /usr/src/usr.bin/pcc/ccom/trees.c:70: /usr/src/usr.bin/pcc/mip/pass2.h:375: error: syntax error before bittype *** Error code 1 Am I doing something wrong or it still doesnt build yet? Thanks in advance, Pedro de Oliveira.
Re: Compiling pcc
Tried what you guys said... and now it fails on make with another error, well, its not even an error, its a few warnings. cc -O2 -pipe -DPCC_DEBUG -DGCC_COMPAT -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror -DLIBEXECDIR=\/usr/local/libexec\ -I. -I/usr/src/usr.bin/pcc/ccom/i386/.. -I/usr/src/usr.bin/pcc/ccom/i386 -I/usr/src/usr.bin/pcc/ccom/i386/../../mip -I/usr/src/usr.bin/pcc/ccom/i386/../../i386 -I/usr/src/usr.bin/pcc/ccom/i386/../.. -c /usr/src/usr.bin/pcc/i386/local.c /usr/src/usr.bin/pcc/i386/local.c: In function `picsymtab': /usr/src/usr.bin/pcc/i386/local.c:69: warning: implicit declaration of function `strlen' /usr/src/usr.bin/pcc/i386/local.c:72: warning: implicit declaration of function `strlcpy' /usr/src/usr.bin/pcc/i386/local.c:73: warning: implicit declaration of function `strlcat' *** Error code 1 Stop in /usr/src/usr.bin/pcc/ccom/i386. *** Error code 1 Stop in /usr/src/usr.bin/pcc/ccom. *** Error code 1 Stop in /usr/src/usr.bin/pcc.
Re: Compiling pcc
It worked now! Thanks everyone! -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Otto Moerbeek Enviada: sabado, 17 de Novembro de 2007 12:41 Para: Pedro de Oliveira Cc: misc@openbsd.org Assunto: Re: Compiling pcc On Sat, Nov 17, 2007 at 12:21:46PM -, Pedro de Oliveira wrote: Tried what you guys said... and now it fails on make with another error, well, its not even an error, its a few warnings. cc -O2 -pipe -DPCC_DEBUG -DGCC_COMPAT -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror -DLIBEXECDIR=\/usr/local/libexec\ -I. -I/usr/src/usr.bin/pcc/ccom/i386/.. -I/usr/src/usr.bin/pcc/ccom/i386 -I/usr/src/usr.bin/pcc/ccom/i386/../../mip -I/usr/src/usr.bin/pcc/ccom/i386/../../i386 -I/usr/src/usr.bin/pcc/ccom/i386/../.. -c /usr/src/usr.bin/pcc/i386/local.c /usr/src/usr.bin/pcc/i386/local.c: In function `picsymtab': /usr/src/usr.bin/pcc/i386/local.c:69: warning: implicit declaration of function `strlen' /usr/src/usr.bin/pcc/i386/local.c:72: warning: implicit declaration of function `strlcpy' /usr/src/usr.bin/pcc/i386/local.c:73: warning: implicit declaration of function `strlcat' *** Error code 1 Stop in /usr/src/usr.bin/pcc/ccom/i386. *** Error code 1 Stop in /usr/src/usr.bin/pcc/ccom. *** Error code 1 Stop in /usr/src/usr.bin/pcc. Your source is not up to date. local.c includes pass1.h which includes manifest.h which includes string.h. -Otto
Re: postfix-2.2.8 with sasl2 and ldap support
1. cd /usr/ports/mail/postfix/snapshot 2. export FLAVOR=sasl2 ldap 3. make install clean 4. ? 5. PROFIT -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Antonis Faragitakis Enviada: quarta-feira, 9 de Maio de 2007 12:20 Para: misc@openbsd.org Assunto: postfix-2.2.8 with sasl2 and ldap support Hi, How can i install postfix-2.2.8 with ldap and sasl2 support? I've searched the web but couldnt find any usefull information. Can you please guide me? thanks atno