Re: bsnmpd vs net-snmp

2009-04-28 Thread Mel Flynn
On Monday 27 April 2009 20:19:33 Anton Yuzhaninov wrote:
 On Mon, 27 Apr 2009 12:28:01 -0400, Maxim Khitrov wrote:
 MK I'm setting up a firewall and would like to monitor certain system
 MK parameters like network, cpu, and memory usage. SNMP is an obvious
 MK choice to do the monitoring and I'm planning to set up rrdtool to
 MK generate graphs of captured data. The question is what SNMP agent to
 MK use. I found net-snmp and bsnmpd (which is included in the base
 MK system). Has anyone here used both implementations, and if so, what
 MK are the basic differences?

 main difference is the set of supported MIBs.

 In general net-snmp supports more MIBs than bsnmpd.

 E. g. BEGEMOT-PF-MIB supported only by bsnmpd and useful for monitoring
 pf(4), UCD-SNMP-MIB supported only by net-snmp and useful for monitoring
 CPU load (ssCpuRaw* counters).

There is the GoC 2008 project:
% cat /usr/ports/net-mgmt/bsnmp-ucd/pkg-descr
bsnmp-ucd is a module for bsnmpd which allows you to get memory, load
average, cpu utilization and other system statistics. It implements parts
of UCD-SNMP-MIB for this.

WWW: http://bsnmp-ucd.googlecode.com/
Author: Mikolaj Golub to.my.troc...@gmail.com

Maybe if more people started testing/using this, it could some day be in base.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ruby18 or Portupgrade error?

2009-04-28 Thread Klaus Friis Østergaard
Hi,

While upgrade gnome I have run into to this error, is it related to
portupgrade or Ruby18 or something different.

k...@prod01% sudo portupgrade -aOW -x x11/gdm  /home/kfo
mktemp: mkdtemp failed on /var/tmp/portupgradedtlzuto6: Too many links
/usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:140:in `init_tmpdir':
Could not create temporary directory in /var/tmp (RuntimeError)
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:in
`init_pkgtools_global'
from /usr/local/sbin/portupgrade:529:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2208
k...@prod01%
/home/kfo

I am not experience any other problems on the system.

I have tried to csup and manually done make deisntall and make install
of both portupgrade and ruby18.

It seems that I something are able to run portupgrade right after
Reboot, but second time or is not run right after reboot this failure
occure.

Any help apriciated.

/Klaus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Hello guys and gurus

I am keep getting this error after a while *1135: Can't create a new thread
(errno 35); if you are not out of available memory, you can consult the
manual for a possible OS-dependent bug*

Even though, I have 16GB memory and 32GB swap. But mysqlserver stops
answering. Could you please help me to fix this problem?

I am running FreeBSD on a Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz
Intel Xeon L5450 Quad-Core 2x6MB cache WITH 16 GB RAM

Here is a snapshot from using top to have a overview of system resources...

last pid: 27056;  load averages:  1.05,  1.04,
1.01
up 3+16:22:44  09:01:53
3038 processes:2 running, 3036 sleeping
CPU: 12.4% user,  0.0% nice,  0.1% system,  0.0% interrupt, 87.4% idle
Mem: 6237M Active, 4005M Inact, 925M Wired, 40K Cache, 214M Buf, 4491M Free
Swap: 32G Total, 32G Free

  PID USERNAMETHR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 3010 mysql  1500  510  1643M   822M ucond  2   0:01 100.00% mysqld
27030 sshUser   1  440 16304K  8316K CPU0   0   0:01  0.39% top
26838 sshUser   1  450 26448K  2464K select 5   0:22  0.20% sshd
  853 root   1  440   114M 19060K select 0   0:32  0.00%
httpd
  790 postfix   1   40  4600K  2120K kqread 2   0:12  0.00% qmgr
23542 apache1   40   118M 46520K sbwait 3   0:09  0.00% httpd
23420 apache1   40   118M 42340K sbwait 7   0:08  0.00% httpd
23543 apache1   40   118M 51032K sbwait 2   0:08  0.00% httpd
22853 apache1   40   118M 48384K sbwait 4   0:07  0.00% httpd
23768 apache1   40   118M 35432K sbwait 0   0:07  0.00% httpd
23748 apache1   40   118M 36560K sbwait 2   0:07  0.00% httpd
22861 apache1   40   118M 48420K sbwait 2   0:07  0.00% httpd
23618 apache1   40   117M 45696K sbwait 2   0:06  0.00% httpd
23222 apache1   40   118M 46080K sbwait 3   0:06  0.00% httpd
23700 apache1   40   118M 39572K sbwait 0   0:06  0.00% httpd
23534 apache1   40   118M 43984K sbwait 0   0:06  0.00% httpd
23439 apache1   40   118M 42980K sbwait 4   0:06  0.00% httpd
23480 apache1   40   118M 42724K sbwait 0   0:05  0.00% httpd
  782 root   1   40  4604K  1552K kqread 2   0:05  0.00%
master
26843 sshUser   1  440 21560K  5824K select 1   0:05  0.00%
sftp-server
23066 apache1   40   118M 42328K sbwait 3   0:05  0.00% httpd
23619 apache1   40   118M 48012K sbwait 3   0:05  0.00% httpd
23224 apache1   40   118M 46436K sbwait 3   0:05  0.00% httpd
23220 apache1   40   118M 50776K sbwait 3   0:05  0.00% httpd
23176 apache1   40   118M 44956K sbwait 5   0:04  0.00% httpd
23467 apache1   40   118M 41692K sbwait 0   0:04  0.00% httpd
23294 apache1   40   116M 45552K sbwait 0   0:04  0.00% httpd
22884 apache1   40   118M 48596K sbwait 0   0:04  0.00% httpd
23214 apache1   40   118M 48508K sbwait 4   0:04  0.00% httpd
23177 apache1   40   118M 44844K sbwait 6   0:04  0.00% httpd
23278 apache1   40   117M 44812K sbwait 5   0:04  0.00% httpd
23497 apache1   40   117M 41612K sbwait 0   0:04  0.00% httpd
23477 apache1   40   118M 42332K sbwait 2   0:04  0.00% httpd
23371 apache1   40   118M 42176K sbwait 4   0:04  0.00% httpd
23563 apache1   40   118M 45096K sbwait 2   0:04  0.00% httpd
  629 root  1  440  5688K  1252K select 0   0:04  0.00%
syslogd
23119 apache1   40   118M 42088K sbwait 0   0:03  0.00% httpd

Any help will be appreciated
-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Hi folks

then if I check with the process: I get following output:

# ps ax | grep mysqld
  797 con- I  0:00.00 /bin/sh /usr/local/bin/mysqld_safe
--defaults-extra-file=/var/db/mysql/my.cnf --user=mysql
--datadir=/var/db/mysql --pid-file=/var/db/mysql/localhost.server1.pid
  835 con- S  8:17.81 /usr/local/libexec/mysqld
--defaults-extra-file=/var/db/mysql/my.cnf --basedir=/usr/local
--datadir=/var/db/mysql --pid-file=/var/db/mysql/localhost.server1.pid
--port=3306 --

I am running FreeBSD, Apache, MySQL on a Dell PowerEdge 2950 III having 2 x
CPU 3,0 GHz Intel Xeon L5450 Quad-Core 2x6MB cache WITH 16 GB RAM

Below is the output from my my.cnf, may be that can help to fix this
problem:

-start
# The following options will be passed to all MySQL clients
[client]
port= 3306
socket= /tmp/mysql.sock
default-character-set=utf8

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port= 3306
socket= /tmp/mysql.sock
skip-locking
key_buffer = 1024M
max_allowed_packet = 16M
table_cache = 1024
sort_buffer_size = 3M
read_buffer_size = 12M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M

user=mysql
set-variable=local-infile=0
init_connect='SET collation_connection = utf8_general_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server = utf8
collation-server = utf8_general_ci
bind-address=127.0.0.1
skip-innodb
skip-name-resolve
default-storage-engine = MyISAM
wait_timeout = 60
log_slow_queries = /var/db/mysql/mysqld.slow.log
long_query_time=3
log-queries-not-using-indexes

connect_timeout=10
join_buffer=3M
max_connections = 2000

query_cache_type = 1
query_cache_limit = 2M
query_cache_size = 128M

skip-name-resolve
thread_cache_size = 8
thread_concurrency = 8
interactive_timeout=100
join_buffer_size=2M
key_buffer_size=1024M
max_connect_errors=1000

ft_min_word_len=2
ft_max_word_len=15

skip-networking

log-bin=mysql-bin
expire_logs_days=7

server-id= 1

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
default-character-set=utf8

[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout
-end
-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread Wojciech Puchar
#define EAGAIN  35  /* Resource temporarily 
unavailable */



check your process count limit.

On Tue, 28 Apr 2009, VeeJay wrote:


Sorry Folks,

I should have provided complete information in order to get help...

I am running

DB:  Server version: 5.0.77-log FreeBSD port: mysql-server-5.0.77_1
OS:  FreeBSD 7.1

And I am keep getting this error after a while *1135: Can't create a new
thread (errno 35); if you are not out of available memory, you can consult
the manual for a possible OS-dependent bug*

Then I am unable to shutdown the server or kill the processes not even
connect through mysql client...

--
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: a couple things....

2009-04-28 Thread Polytropon
On Mon, 27 Apr 2009 14:55:28 -0700, Gary Kline kl...@thought.org wrote:
 hey guys,
 
 i just found OOo.Math.  since i did all my math in college on an electric
 typewriter, this new find would've been a serious ++win.  but ok, where
 is the INSERT?  

The INSERT is not in OpenOffice, it's in LaTeX. Or more precise,
it's in your favourite text editor. :-)



 also, now that i've got OOo-3.0.1 installed, how do I pkg_delete 2.4.1
 safely?  i don't want to mess up my old 2.4 .files

The pkg_delete won't touch anything in your ~ directory, it just
deletes what the installer has put onto the disk (this is stuff
in /usr/local/).



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
I am rather surprised and disappointed that no one has any ideas about
using and/or installing a French-Canadian keyboard on FreeBSD. That is a
terrible bug in FreeBSD and a worse slur on the Québecois (or
Quebeckers) or are we being neglected and still considered The White
Niggers of America? ;-)
Anyway, everything I have tried does not work on FreeBSD or on xorg.
Cannot set it up or switch.
Somebody, please help.

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread Peter
VeeJay wrote:
 Thanks Wojciech
 
 How can I find out the process count limit and how can I change it?
 
 And what is the maximum limit I can give with this hardware?
 
 


Hello Veejay,

Add thise to your loader.conf

mysql# cat /boot/loader.conf
kern.maxdsiz=4096M
kern.dfldsiz=2048M
kern.maxssiz=1024MB


and reboot the system. This should help.

These are values from one my  mysql boxes.

It is also also in mysql notes for freebsd(see bottom)

http://dev.mysql.com/doc/refman/5.1/en/freebsd.html


Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get older version of php5-mbstring

2009-04-28 Thread Odhiambo ワシントン
On Tue, Apr 28, 2009 at 3:05 PM, Pieter Donche pieter.don...@ua.ac.bewrote:

 I updated via the ports collection php5-mbstring
 to the latest version 5.2.9. Previously I had 5.2.8

 Also updated php5 from 5.2.8 to 5.2.9
 and php5-extensions from 1.2 to 1.3

 installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8:
 # pkg_info | grep mbstring
 php5-mbstring-5.2.8 The mbstring shared extension for php
 php5-mbstring-5.2.9 The mbstring shared extension for php

 Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer)
 # pkg_delete php5-mbstring-5.2.8

 But now it seems that my Drupal 6.9 continues to look for
 php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)

 How can I install php5-mbstring-5.2.8 again via the ports ??


Either recompile drupal against  php5-mbstring-5.2.9 or do

portdowngrade php5-mbstring



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Hello Peter

Thanks... I have tried the values but even after rebooting, I am still
getting the same old values as:

server1# sysctl -a | grep maxdsiz
compat.ia32.maxdsiz: 536870912

server1# sysctl -a | grep maxssiz
compat.ia32.maxssiz: 67108864

Even I tried both methods i.e.

kern.maxdsiz=4096M
kern.dfldsiz=2048M
kern.maxssiz=1024MB

and later

kern.maxdsiz=4294967296
kern.dfldsiz=2147483648
kern.maxssiz=1073741824

but still no change :(


-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Sorry Folks,

I should have provided complete information in order to get help...

I am running

DB:  Server version: 5.0.77-log FreeBSD port: mysql-server-5.0.77_1
OS:  FreeBSD 7.1

And I am keep getting this error after a while *1135: Can't create a new
thread (errno 35); if you are not out of available memory, you can consult
the manual for a possible OS-dependent bug*

Then I am unable to shutdown the server or kill the processes not even
connect through mysql client...

-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread Wojciech Puchar

[r...@wojtek ~]# sysctl -a |grep maxpr
kern.maxproc: 5266
kern.maxprocperuid: 4739


i don't know if there is limit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to get older version of php5-mbstring

2009-04-28 Thread Pieter Donche

I updated via the ports collection php5-mbstring
to the latest version 5.2.9. Previously I had 5.2.8

Also updated php5 from 5.2.8 to 5.2.9
and php5-extensions from 1.2 to 1.3

installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8:
# pkg_info | grep mbstring
php5-mbstring-5.2.8 The mbstring shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php

Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer)
# pkg_delete php5-mbstring-5.2.8

But now it seems that my Drupal 6.9 continues to look for 
php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)


How can I install php5-mbstring-5.2.8 again via the ports ??

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get older version of php5-mbstring

2009-04-28 Thread Proskurin Kirill

Pieter Donche пишет:

I updated via the ports collection php5-mbstring
to the latest version 5.2.9. Previously I had 5.2.8

Also updated php5 from 5.2.8 to 5.2.9
and php5-extensions from 1.2 to 1.3

installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8:
# pkg_info | grep mbstring
php5-mbstring-5.2.8 The mbstring shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php

Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer)
# pkg_delete php5-mbstring-5.2.8

But now it seems that my Drupal 6.9 continues to look for 
php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)


How can I install php5-mbstring-5.2.8 again via the ports ??



I think you problem can be solved by:

1) pkgdb -F
or
2) reinstalling a Drupal


--
Best regards,
Proskurin Kirill
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Thanks Wojciech

How can I find out the process count limit and how can I change it?

And what is the maximum limit I can give with this hardware?


-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Modern FreeBSD Installer?

2009-04-28 Thread Graham Bentley

[Sorry Rolf]

One of the things I absolutely love about FreeBSD
is the 'Minimal Install' option. I can't tell you how
fast you can install and boot the base system but
its F-A-S-T! Then, I can fetch latest ports and
install _what_I_Want_ - not what someone else
thinks I *might* want. This gets top marks in my
opinion.

I guess for desktop users there might be an option
X-Windows + KDE or Gnome or XFCE and
you get base plus X plus GUI ~ there probably is
but I never used them at all :)

Sorry if this has been said before ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get older version of php5-mbstring

2009-04-28 Thread Pieter Donche

Pieter Donche ?:
 # pkg_delete php5-mbstring-5.2.8

 But now it seems that my Drupal 6.9 continues to look for
 php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)

 How can I install php5-mbstring-5.2.8 again via the ports ??


I think you problem can be solved by:

1) pkgdb -F


This I don't understand, how can a pkgdb -F restore a package which
you have deleted ? From the man page of pkgdb, -F seems only to 
resolve stale dependencies, unlink cyclic dependencies, complete stale or 
missing origins and remove duplicates.


Isn't there a way to find in the ports collection an older version of 
a package somewhere ??

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread Mel Flynn
On Tuesday 28 April 2009 14:29:42 Wojciech Puchar wrote:
 [r...@wojtek ~]# sysctl -a |grep maxpr
 kern.maxproc: 5266
 kern.maxprocperuid: 4739


 i don't know if there is limit

Not relevant. See pthread_create(): EAGAIN is returned for lack of kernel 
memory or going over PHTREAD_THREADS_MAX which is ULONG_MAX. 1500 threads 
isn't even close to USHORT_MAX.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread Mel Flynn
On Tuesday 28 April 2009 14:21:45 VeeJay wrote:
 Hello Peter

 Thanks... I have tried the values but even after rebooting, I am still
 getting the same old values as:

 server1# sysctl -a | grep maxdsiz
 compat.ia32.maxdsiz: 536870912

 server1# sysctl -a | grep maxssiz
 compat.ia32.maxssiz: 67108864

It's a kenv(1) variable. Either way I don't think it's the problem. mysqld 
uses 1500 threads and many apache processes waiting for mysql to reply. You 
should figure out why that is, cause that sounds like a query that's holding a 
table lock and needing to sort the intermediate result set, stalling all other 
queries.
If you really have ~1500 connections and consider that normal operation, then 
you may need more kernel memory.
amd64 doesn't have a process memory limit (feature or bug I'm undecided on), 
so you can delete those.
Instead set:
vm.kmem_size_max=1024M
vm.kmem_size=1024M

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fatal error from /usr/ports/Mk/bsd.linux-apps.mk

2009-04-28 Thread Boris Samorodov
On Sun, 26 Apr 2009 09:55:27 -0400 William Bulley wrote:

 On Friday I ran the following:

   # cd /usr/local/etc/cvsup
   # csup -L2 ports-supfile
   # csup -L2 doc-supfile
   # csup -L2 stable-supfile   (tag=RELENG_7)

 I then rebuilt the world and installed it.  When I rebooted,
 I was very pleasantly surprised to find:

   % uname -a
   FreeBSD freebsd 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0:
   Fri Apr 24 16:13:56 EDT 2009 [snip] i386

 I began the process of rebuilding my all ports on Saturday:

   # pkg_delete -a
   # \rm -rf /usr/ports/*/work

 Things progressed fine until I started building any ports
 having some dependency on Linux emulation:

   [this is true for /usr/ports/print/acroread8 and 9
astro/google-earth, multimedia/linux-realplayer,
www/opera-linuxplugins, etc.]

   # make install clean
   /usr/ports/Mk/bsd.linux-apps.mk, line 72: Malformed conditional
   (${LINUX_DIST_SUFFIX}==)
   /usr/ports/Mk/bsd.linux-apps.mk, line 130: Malformed conditional
   (${LINUX_DIST_SUFFIX} == -f8)
   Error expanding embedded variable.

 Here are the relevant settings in the indicated files:

/etc/fstab
linprocfs   /compat/linux/proc   linprocfs   rw  0  0

# kldstat
Id Refs AddressSize Name
1   12 0xc040 48d204   kernel
21 0xc088e000 6a45cacpi.ko
31 0xc5403000 7000 linprocfs.ko
41 0xc540f000 22000linux.ko

/etc/rc.conf
linux_enable=YES

/etc/make.conf
OVERRIDE_LINUX_BASE_PORT=f9
OVERRIDE_LINUX_NONBASE_PORTS=f9

The last variable may take a value of f8 only. For more
information you may take a look at /usr/ports/UPDATING,
/usr/ports/Mk/bsd.linux-apps.mk.

/etc/sysctl.conf
compat.linux.osrelease=2.6.16

 I don't know what to do to fix this problem.  I don't
 know whether I should submit a pr or try to determine
 what is going on myself.  Not sure I would succeed at
 the latter.  Please advise.  If more information or
 detail is required, let me know.

 The next thing I will try is changing /etc/make.conf
 to override f8 instead of f9

As for OVERRIDE_LINUX_BASE_PORT it can be assigned a value f9.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where am I wasting resources? How to fix this problem?

2009-04-28 Thread VeeJay
Hej Mel

Well, I have removed these values

kern.maxdsiz=4096M
kern.dfldsiz=2048M
kern.maxssiz=1024MB

and have added:

vm.kmem_size_max=1024M
vm.kmem_size=1024M

having crossed my fingers and hoping, I don't get this error again

Thanks for your help!
-- 
Thanks!

BR / vj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Lowell Gilbert
Steven Friedrich stevenfriedr...@insightbb.com writes:

 I've been having trouble with X11 ports, so I deleted all my packages
 and tried to install xorg fresh.

 xorg port failed trying to build cairo, cairo failed because it
 couldn't build libdrm, libdrm failed because cairo's headers weren't
 installed.

 So in summary, I can't install cairo because it wants to build libdrm,
 which won't build/install because it wants cairo.

 And I tried to install packages or the X11 distro from the ftp site
 and also from my 7.2 RC-1 media.  I tried setting the Options for
 any as well as RELEASE_7_2_0, to no avail.  My system is up and
 running multi-user, so sysinstall failed to install any packages.

 I built cairo with make -k install, so it would brute force past the
 error, and after that I built libdrm and cairo again with portupgrade
 -fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: quick vfs tuning

2009-04-28 Thread Ghirai
On Tue, 28 Apr 2009 01:59:43 +0200
Roland Smith rsm...@xs4all.nl wrote:

snip

 
 I dropped gmirror in favor of running an rsync to the second disk at
 night because gmirror is kinda slow. I saw the same performance as you
 did with the combination of gmirror and geli.
 
 Roland
 -- 

Thanks for the numbers.

-- 
Regards,
Ghirai.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get older version of php5-mbstring

2009-04-28 Thread Jerry
On Tue, 28 Apr 2009 14:05:47 +0200 (CEST)
Pieter Donche pieter.don...@ua.ac.be wrote:

I updated via the ports collection php5-mbstring
to the latest version 5.2.9. Previously I had 5.2.8

Also updated php5 from 5.2.8 to 5.2.9
and php5-extensions from 1.2 to 1.3

installing php5-mbstring-5.2.9 installed it alongside
php5-mbstring-5.2.8: # pkg_info | grep mbstring
php5-mbstring-5.2.8 The mbstring shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php

Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer)
# pkg_delete php5-mbstring-5.2.8

But now it seems that my Drupal 6.9 continues to look for 
php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)

How can I install php5-mbstring-5.2.8 again via the ports ??

cd /usr/ports/www/drupal6
make clean  make deinstall  make reinstall

There is no need to install the older version of php5-mbstring. In
fact, doing so might cause problems at some point.

-- 
Jerry
ges...@yahoo.com

For large values of one, one equals two, for small values of two.


signature.asc
Description: PGP signature


Re: how to get older version of php5-mbstring

2009-04-28 Thread Pieter Donche

On Tue, 28 Apr 2009, Jerry wrote:


On Tue, 28 Apr 2009 14:05:47 +0200 (CEST)

I updated via the ports collection php5-mbstring
to the latest version 5.2.9. Previously I had 5.2.8
Also updated php5 from 5.2.8 to 5.2.9
and php5-extensions from 1.2 to 1.3
installing php5-mbstring-5.2.9 installed it alongside
php5-mbstring-5.2.8: # pkg_info | grep mbstring
php5-mbstring-5.2.8 The mbstring shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer)
# pkg_delete php5-mbstring-5.2.8
But now it seems that my Drupal 6.9 continues to look for
php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)
How can I install php5-mbstring-5.2.8 again via the ports ??


cd /usr/ports/www/drupal6
make clean  make deinstall  make reinstall

There is no need to install the older version of php5-mbstring. In
fact, doing so might cause problems at some point.


Problem is that our drupal-6.9 was installed from a tar file, not
from freebsd ports and in some location different than where 
FreeBSD drupal6 port installs it (i think FreeBSD's place is 
/usr/local/www/drupal ?)


We had it unpacked in /usr/local/www/apache22/data/drupal.

If I install drupal6-10 from the ports, how will the affect things?
Of would it be safe to make a soft-link /usr/local/www/drupal -
/usr/local/www/apache22/data/drupal before installing from ports?

Also since the first drupal (6.9) was not installed from ports, then
what is needed might be:
# cd /usr/ports/www/drupal6
# make install clean

is that correct?

Also, I do not understand well why a package can not handle a higher
version of php5-mbstring-5.2.9 instead of 5.2.9 since it is only a
security issue patch?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread Daniel Bye
On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:

 Anyway, everything I have tried does not work on FreeBSD or on xorg.

What have you tried already? Are you using hald to autoconfigure Xorg, or
are you still using the static xorg.conf file?

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpsbLhxu3Hys.pgp
Description: PGP signature


Chicken and egg

2009-04-28 Thread Steven Friedrich

I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it couldn't
build libdrm, libdrm failed because cairo's headers weren't installed.

So in summary, I can't install cairo because it wants to build libdrm,
which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site and
also from my 7.2 RC-1 media.  I tried setting the Options for any as
well as RELEASE_7_2_0, to no avail.  My system is up and running
multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make installworld is failing

2009-04-28 Thread Steven Friedrich

It's trying to install zh locale stuff.

In make.conf, I set DOC to en_something, so why is it doing other languages?

This has been occurring for a short while and I've been getting around 
it with make -k installworld. But that no longer works.


Any ideas?
--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make installworld is failing

2009-04-28 Thread Steven Friedrich

It's trying to install zh locale stuff.

In make.conf, I set DOC to en_something, so why is it doing other languages?

This has been occurring for a short while and I've been getting around
it with make -k installworld. But that no longer works.

I'm tracking the 7.2 (RELENG_7).

Any ideas?
--

Steven Friedrich
Lexington, KY 40509

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ruby18 or Portupgrade error?

2009-04-28 Thread ill...@gmail.com
2009/4/28 Klaus Friis Østergaard farremo...@gmail.com:
 Hi,

 While upgrade gnome I have run into to this error, is it related to
 portupgrade or Ruby18 or something different.

 k...@prod01% sudo portupgrade -aOW -x x11/gdm                          
 /home/kfo
 mktemp: mkdtemp failed on /var/tmp/portupgradedtlzuto6: Too many links
 /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:140:in `init_tmpdir':
 Could not create temporary directory in /var/tmp (RuntimeError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:260:in
 `init_pkgtools_global'
        from /usr/local/sbin/portupgrade:529:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
        from /usr/local/sbin/portupgrade:229:in `new'
        from /usr/local/sbin/portupgrade:229:in `main'
        from /usr/local/sbin/portupgrade:2208
 k...@prod01%
                                                    /home/kfo

 I am not experience any other problems on the system.

 I have tried to csup and manually done make deisntall and make install
 of both portupgrade and ruby18.

 It seems that I something are able to run portupgrade right after
 Reboot, but second time or is not run right after reboot this failure
 occure.

Try running pkgdb -fFu

If that doesn't help, after making sure you've upgraded
ruby, try rebuilding databases/db41 and databases/ruby-bdb
(in that order)
and then running pkgdb -fFu

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
Daniel Bye wrote:
 On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:

   
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 

 What have you tried already? Are you using hald to autoconfigure Xorg, or
 are you still using the static xorg.conf file?

 Dan

   
I rather prefer to keep things simple and do them with the console, if
possible. :-)

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update and 7.1-RELEASE-p5

2009-04-28 Thread Jim Vanderveen
I updated a fresh 7.1-RELEASE to (I thought) 7.1-RELEASE-p5 using
freebsd-update; however, uname shows me at 7.1-RELEASE-p4 after
rebooting:

$ uname -v
FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 12:35:36 UTC 2009
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
$ sudo freebsd-update fetch
Password:
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.1-RELEASE-p5.
$ sudo freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
$

I was expecting uname to show 7.1-RELEASE-p5. Is this incorrect? Or
have I done something wrong?

--
Jim Vanderveen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get older version of php5-mbstring

2009-04-28 Thread Jerry
On Tue, 28 Apr 2009 16:30:04 +0200 (CEST)
Pieter Donche pieter.don...@ua.ac.be wrote:

On Tue, 28 Apr 2009, Jerry wrote:

 On Tue, 28 Apr 2009 14:05:47 +0200 (CEST)
 I updated via the ports collection php5-mbstring
 to the latest version 5.2.9. Previously I had 5.2.8
 Also updated php5 from 5.2.8 to 5.2.9
 and php5-extensions from 1.2 to 1.3
 installing php5-mbstring-5.2.9 installed it alongside
 php5-mbstring-5.2.8: # pkg_info | grep mbstring
 php5-mbstring-5.2.8 The mbstring shared extension for php
 php5-mbstring-5.2.9 The mbstring shared extension for php
 Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any
 longer) # pkg_delete php5-mbstring-5.2.8
 But now it seems that my Drupal 6.9 continues to look for
 php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9)
 How can I install php5-mbstring-5.2.8 again via the ports ??

 cd /usr/ports/www/drupal6
 make clean  make deinstall  make reinstall

 There is no need to install the older version of php5-mbstring. In
 fact, doing so might cause problems at some point.

Problem is that our drupal-6.9 was installed from a tar file, not
from freebsd ports and in some location different than where 
FreeBSD drupal6 port installs it (i think FreeBSD's place is 
/usr/local/www/drupal ?)

We had it unpacked in /usr/local/www/apache22/data/drupal.

If I install drupal6-10 from the ports, how will the affect things?
Of would it be safe to make a soft-link /usr/local/www/drupal -
/usr/local/www/apache22/data/drupal before installing from ports?

Also since the first drupal (6.9) was not installed from ports, then
what is needed might be:
# cd /usr/ports/www/drupal6
# make install clean

is that correct?

Also, I do not understand well why a package can not handle a higher
version of php5-mbstring-5.2.9 instead of 5.2.9 since it is only a
security issue patch?

If it were me, I would uninstall your present version of drupal and
install the version available in the ports tree.  CD to the
correct directory, and then run: make config first to insure it is
configured to your liking. The run:

make install distclean

That should correct the situation. You might have to make some
configuration changes from your original installation though. That is
one of the major problems when installing sans the ports system.


-- 
Jerry
ges...@yahoo.com

Piece of cake!
-- G. S. Koblas


signature.asc
Description: PGP signature


Re: acroread run problem

2009-04-28 Thread Peter Ulrich Kruppa
I am very sorry:

I mixed up the acroread versions: you won't be able to run acroread9
stably on FreeBSD 7.x .
You will have to wait for FreeBSD 8 . Until then you have to use
acroread8 :-(

Greetings

Uli.



Am Dienstag, den 28.04.2009, 07:44 +0200 schrieb Pieter Donche:
 Hi,
 
 yes I do have in my /etc/rc.conf
   linux_enable=YES
 
  2) Do you get
  # df
  [...]
  linprocfs4   4 0  100%/usr/compat/linux/proc
 No, this I do not have, but I wonder what that is ...
 
 I find nothing about linprocfs in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
 
 I also checked (from that book chapter 10.2)
 # kldstat
 Id Refs AddressSize Name
   17 0x8010 ac7708   kernel
   21 0xb08e 18aealinux.ko
   31 0xb09cb000 496  star_saver.ko
 
 Also, I have a another PC with FreeBSD7 (i386) with Acrobat Reader 7.0
 (/usr/local/bin/acroread) which works and there I do not not have
 a linprocfs ... in a df output...
 
 
 On Mon, 27 Apr 2009, Peter Ulrich Kruppa wrote:
 
  Am Montag, den 27.04.2009, 11:16 +0200 schrieb Pieter Donche:
  FreeBSD7/amd64 with linux_base-fc-4_14  Base set of packages needed
  in Linux mode (for i386/amd64)
  I installed acroread9-9.1.0_2 (no errors)
  # cd /usr/ports/print/acroread9
  # make install clean
  OK.
 
  but at
  $ acroread 
  I get:
 
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
  `GDK_IS_PIXBUF (pixbuf)' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 
  `pixbuf != NULL' failed
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module 
  file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
  (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: 
  Image type 'xpm' is not supported
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion 
  `G_IS_OBJECT (object)' failed
  (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
  `GDK_IS_PIXBUF (pixbuf)' 

Re: freebsd-update and 7.1-RELEASE-p5

2009-04-28 Thread Andreas Rudisch
On Tue, 28 Apr 2009 09:31:15 -0700
Jim Vanderveen jim.vanderv...@gmail.com wrote:

 I updated a fresh 7.1-RELEASE to (I thought) 7.1-RELEASE-p5 using
 freebsd-update; however, uname shows me at 7.1-RELEASE-p4 after
 rebooting:

Afaik -p5 did not require rebuilding the kernel. That is why it only
shows -p4. The string is only updated if the kernel is recompiled using
the recent source.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpnauVxdID1Y.pgp
Description: PGP signature


Re: make installworld is failing

2009-04-28 Thread Giorgos Keramidas
On Tue, 28 Apr 2009 12:06:49 -0400, Steven Friedrich 
stevenfriedr...@insightbb.com wrote:
 It's trying to install zh locale stuff.

 In make.conf, I set DOC to en_something, so why is it doing other languages?

 This has been occurring for a short while and I've been getting around
 it with make -k installworld. But that no longer works.

 I'm tracking the 7.2 (RELENG_7).

 Any ideas?

Show us both your make.conf file and the error please.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Steven Friedrich

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build libdrm,
which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.


Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario, 
i.e., deleting all installed packages and trying to install xorg, I 
think you'll find it.


I have two identical systems that I have mobile racks in, allowing me to 
swap out the hard drives. So I have 4 sets of drives, Lightning, Daemon, 
FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I need to 
update FreakinBSD and Gandalf, so I'll try this again and get it in a 
log file.


libdrm doesn't build without cairo.h in /usr/local/include, but it won't 
be there until you're built cairo, which depends on libdrm.


--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make installworld is failing

2009-04-28 Thread Steven Friedrich

It's trying to install zh locale stuff.

In make.conf, I set DOC to en_something, so why is it doing other languages?

This has been occurring for a short while and I've been getting around
it with make -k installworld. But that no longer works.

I'm tracking the 7.2 (RELENG_7).

Here's an excerpt from the log:

=== share/timedef (install)
install -C -o root  -g wheel -m 444  nb_NO.ISO8859-1.out 
/usr/share/locale/nb_NO.ISO8859-1/LC_TIME
install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of 
symbolic links

*** Error code 71

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

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

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

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

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

Stop in /usr/src.

I am able to work around this issue by placing WITHOUT_LOCALES=yes in 
/etc/src.conf, but I hate to do that 8o)


Any ideas?
--

Steven Friedrich
Lexington, KY 40509


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make installworld is failing

2009-04-28 Thread Steven Friedrich

It's trying to install zh locale stuff.

In make.conf, I set DOC to en_something, so why is it doing other languages?

This has been occurring for a short while and I've been getting around
it with make -k installworld. But that no longer works.

I'm tracking the 7.2 (RELENG_7).

Here's an excerpt from the log:

=== share/timedef (install)
install -C -o root  -g wheel -m 444  nb_NO.ISO8859-1.out
/usr/share/locale/nb_NO.ISO8859-1/LC_TIME
install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
symbolic links
*** Error code 71

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

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

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

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

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

Stop in /usr/src.

I am able to work around this issue by placing WITHOUT_LOCALES=yes in
/etc/src.conf, but I hate to do that 8o)

Greg found the issue back in February, but no one has fixed it...

Date:  Fri, 20 Feb 2009 16:45:10 -0800
From:  Gregory W. MacPherson g...@netpublishing.com
To:freebsd-questions@freebsd.org
Subject:   Re: Re: installworld fails - nb_NO.ISO8859-1/LC_TIME: too 
many levels of symbolic links

Message-ID:  20090221004510.gb92...@b2.datasieve.net

Next in thread | Raw E-Mail | Index | Archive | Help

The problem is that both of the files:

/usr/share/locale/nb_NO.ISO8859-1/LC_TIME

and

/usr/share/locale/no_NO.ISO8859-1/LC_TIME

... are symbolic links ... to each other.

The solution is to remove one symlink and replace it with a real file as
shown below:

rm -f /usr/share/locale/no_NO.ISO8859-1/LC_TIME
touch /usr/share/locale/no_NO.ISO8859-1/LC_TIME

Now /usr/share/locale/nb_NO.ISO8859-1/LC_TIME is a symbolic link and
/usr/share/locale/no_NO.ISO8859-1/LC_TIME is a real (albeot zero length)
file.

And, yes, someone ought to fix this in CVS.

-- Greg


--

Steven Friedrich
Lexington, KY 40509



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Manolis Kiagias
Steven Friedrich wrote:
 Lowell Gilbert wrote:
 Steven Friedrich stevenfriedr...@insightbb.com writes:

 I've been having trouble with X11 ports, so I deleted all my packages
 and tried to install xorg fresh.

 xorg port failed trying to build cairo, cairo failed because it
 couldn't build libdrm, libdrm failed because cairo's headers weren't
 installed.

 So in summary, I can't install cairo because it wants to build libdrm,
 which won't build/install because it wants cairo.

 And I tried to install packages or the X11 distro from the ftp site
 and also from my 7.2 RC-1 media.  I tried setting the Options for
 any as well as RELEASE_7_2_0, to no avail.  My system is up and
 running multi-user, so sysinstall failed to install any packages.

 I built cairo with make -k install, so it would brute force past the
 error, and after that I built libdrm and cairo again with portupgrade
 -fr libdrm cairo.

 Not only have I not seen or heard of this problem before, I can't see
 any direct dependency of either libdrm or cairo on the other.

 pkg_info -r cairo\* shows that cairo needs libdrm.
 Information for cairo-1.8.6_1,1:

 Depends on:
 ...
 Dependency: libdrm-2.4.9
 ...

 If anyone has a has a test system, where they could try my scenario,
 i.e., deleting all installed packages and trying to install xorg, I
 think you'll find it.

 I have two identical systems that I have mobile racks in, allowing me
 to swap out the hard drives. So I have 4 sets of drives, Lightning,
 Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
 need to update FreakinBSD and Gandalf, so I'll try this again and get
 it in a log file.

 libdrm doesn't build without cairo.h in /usr/local/include, but it
 won't be there until you're built cairo, which depends on libdrm.

As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread Michael Powell
PJ wrote:

 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.
 

Probably should start here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html

The command locale -a will show all available locales, and the command
locale -m will show all charmaps. You probably want one of:

fr_CA.ISO8859-1   
fr_CA.ISO8859-15  
fr_CA.UTF-8
   

and a charmap to match above choice:

ISO8859-1
ISO8859-15
UTF-8

I don't have direct experience with your situation, but I suspect you may
want ISO8859-1 for what you described. More knowledgeable people may know.

As far as the attitude is concerned, can't help with that. But you should
know that such things just turn people off, i.e, someone who may have
wanted to try and help you will not, just because. Please keep it about 
FreeBSD, ask technical questions, and leave the rest somewhere else if you
truly do want help. This kind of thing can be offensive to others.

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread Frank Shute
On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:

 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.
 

Have you tried:

Option XkbLayout ca(fr)

in your keyboard/inputdevice section of xorg.conf?

For the console you want to have a look at kbdmap(1) and the list of
maps.

Looks like you want:

keymap=fr_CA.iso.acc

in /etc/rc.conf


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Thinkpad APS in FreeBSD

2009-04-28 Thread Cipta H
Hi all, I have a question.

I have a Thinkpad T500 that is going to be installed with FreeBSD.
Does the Active Protection System (HDD protection) work in FreeBSD?
I've tried searching about it in google and found HDAPS for linux, and
a FreeBSD version seems to be available but I haven't heard anything
since 2005. If anyone can give my any new info on this I'll greatly
appreciate it.

Thanks!

Cipta
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Running Apache with as few modules as possible

2009-04-28 Thread Charles Howse

Hi,
I ran across this web page the other day, and it seems like a  
reasonable choice for me (running on kinda low-end hardware).


http://httpd.apache.org/docs/2.0/misc/perf-tuning.html#compiletime

I have these modules in my config for my development server, and I  
use the term loosely, it's really my make your mistakes here, instead  
of on the REAL web server machine.
I researched each module on the Apache site, and to the extent that I  
understood, chose whether to comment them or not.
It loads without any syntax errors, and I have tested the things that  
I can think of that might require a module.
I'm not doing any user authentication, no dynamic pages, no forms,  
some cgi scripts, all but 2 in SSI, the other 2 in Perl.

Can anyone see anything that I've commented that I'll be sorry for?
Can anyone suggest any more testing I should do?


LoadModule security2_module libexec/apache22/mod_security2.so
##LoadModule authn_file_module libexec/apache22/mod_authn_file.so
##LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
##LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
##LoadModule authz_groupfile_module libexec/apache22/ 
mod_authz_groupfile.so

##LoadModule authz_user_module libexec/apache22/mod_authz_user.so
##LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
##LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
##LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
##LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
##LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
##LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
##LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
##LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
##LoadModule expires_module libexec/apache22/mod_expires.so
##LoadModule headers_module libexec/apache22/mod_headers.so
##LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
##LoadModule setenvif_module libexec/apache22/mod_setenvif.so
#LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
##LoadModule dav_module libexec/apache22/mod_dav.so
##LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
##LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
##LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
##LoadModule actions_module libexec/apache22/mod_actions.so
##LoadModule speling_module libexec/apache22/mod_speling.so
##LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
##LoadModule rewrite_module libexec/apache22/mod_rewrite.so



--
Thanks,
Charles
http://bubbabbq.homeunix.net
Personal web site, Apache 2.2.11, FreeBSD-6.4-STABLE

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Running Apache with as few modules as possible

2009-04-28 Thread Tom Worster
On 4/28/09 3:14 PM, Charles Howse cho...@charter.net wrote:

 Can anyone see anything that I've commented that I'll be sorry for?
 Can anyone suggest any more testing I should do?

unfortunately i can't but i'd like to ask you to tell us, once you're done
with removing modules, how much memory you saved relative to where you
started.

i'm curious because i went through a similar exercise not long ago and would
be interested to compare notes. 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Myths about Power Over Ethernet

2009-04-28 Thread Midspan Manager
Myths about Power Over Ethernet
 April 27, 2008
Power-over-Ethernet (PoE) technology integrates power and data across standard 
Cat5/5e/6 network cabling and provides more flexibility in today’s workplace. 
PoE enables power to be supplied to network devices, such as IP phones, network 
cameras, and wireless access points through a single, most often existing, 
network cable. When combined with an uninterruptable power supply (UPS) a PoE 
network delivers continuous operation and minimizes business downtime by 
eliminating most power interruptions. With the ability to install endpoints in 
any location PoE technology provides a scalable and flexible networking 
infrastructure geared for growth and efficiency.

 
 PoE Switches can provide all the power I need or will need.
Today most switches are merely PoE-enabled.  This means the majority rely on 
power management to share available power across the switch ports. The switches 
are designed with a smaller power supply that is typically capable of powering 
the switch itself and providing the required 15.4 watts of power over a limited 
number of ports. 
For example:  A 24-port PoE Switch with power management typically has a 
195-watt power supply. After the 40 watts needed to power the switch, you have 
approximately 155 watts remaining. If 12 of the 24 ports are used to connect 
end devices using 11.5 watts each, you would only have 17 watts remaining to 
provide power on the last 12 ports.  The math doesn’t match the ports: 195W – 
40W (switch) – 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports 
Myth Busted: A PoE Switch is often not the best and most cost effective 
solution.
 
  
 A midspan and a PoE switch are the same.
A PoE Midspan is not a switch.  A Midspan is an additional PoE power source 
that can be used to offer full power to all endpoint devices.  PoE Midspans 
(Power Hub or Power Injector) pass data from a switch and ‘inject’ safe power 
acting as a patch panel of sorts.  Midspans are commonly used with either a 
non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In 
addition to offering full power across all available ports, midspans costs 
substantially less per port and overall than a new PoE enabled switch.
Myth Busted: Midspans do not switch – they make use of existing best-in-class 
switches.  They inject safe power across all ports and cost less than PoE 
switches. . 
  
 Only a switch that has PoE built in should be used to power devices like IP 
Phones, Access Points, and IP Security Cameras. 
Switches were designed to, well, switch.  PoE Switches are designed with power 
management and have to distribute different power as required to ports but 
there is often not enough power for all devices plus the power required to 
complete the primary task - switching.  Networks that have multiple devices 
like IP phones, IP cameras, wireless access points quickly go beyond the 
limited capacity of managed power PoE switches.  As more PoE devices continue 
to grow in capabilities and market share this managed power limitation will 
become more and more evident.  Midspans, in contrast to switches, were designed 
to provide full power on every port and deliver safe and reliable power based 
on the industry standards (IEEE802.3af/at). 
Myth Busted: Rather than relying on power management in a switch use a midspan 
that can deliver full power (15.4W) to every port for all PoE-enabled devices 
now and in the future.   
  
 Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered 
using PoE technology. 
Many devices do not directly accept Power-over-Ethernet but can still use PoE 
technology. If the device uses less than 12.5 watts (802.3af) or less than 50 
watts (802.3at+) and connects to an IP Ethernet network you can use a PoE 
splitter.  PoE splitters enable you to accept PoE power from any IEEE 
802.3af/at compliant switch or midspan then separates the data and power on to 
two seprate cables.  The data is connected to the end device through a standard 
RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm 
Adapter Plug.  Splitters can also convert the input voltage to the required 
voltage for a non-PoE device. Splitters are traditionally used with older 
network products which only accept power through their (DC) jack and data 
through their RJ-45 jack.
Myth Busted: PoE splitters can be used in conjunction with PoE midspans and 
switches to provide both the data connectivity and power required by most 
endpoint devices. 
  
 I need/will need additional PoE switch ports to power my IP cameras and 
high-power pan, tilt, and zoom (PTZ) cameras. 
Today, many devices have evolved into more advanced solutions with higher power 
requirements. The traditional approach was to endure a “forklift upgrade”. This 
meant buying new PoE switches at considerable cost and physically swapping out 
the existing switches to meet higher power requirements or add more powered 
ports. 

archive search working?

2009-04-28 Thread Chris Whitehouse
I'm not getting any replies when searching the freebsd questions 
archives at http://lists.freebsd.org/pipermail/freebsd-questions/


That's the page I get to if I google freebsd questions archives (and 
then a couple of clicks to get to the archives)

.
That page says the archives are rebuilt every 24 hours but also says 
last time it was rebuilt was Thursday, 08 Feb 2007.


Also in passing, a failed search gives me three hints:

Check the spelling of the search word(s) you used. If the spelling is 
correct and you only used one word, try using one or more similar search 
words with Any.


If the spelling is correct and you used more than one word with Any, 
try using one or more similar search words with Any.


If the spelling is correct and you used more than one word with All, 
try using one or more of the same words with Any.


But the end of the second suggestion is the same as the end of the first 
and the third is a non-sequitor. I suspect the last word of the second 
hint should be All.


While writing this I have discovered that going to www.freebsd.org and 
following the mailing lists link then the link to search I get to 
http://www.freebsd.org/search/search.html#mailinglists which does seem 
to work.


Chris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
Frank Shute wrote:
 On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:
   
 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.

 

 Have you tried:

 Option XkbLayout ca(fr)

 in your keyboard/inputdevice section of xorg.conf?

 For the console you want to have a look at kbdmap(1) and the list of
 maps.

 Looks like you want:

 keymap=fr_CA.iso.acc

 in /etc/rc.conf


 Regards,

   
I probably should have posted all the stuff I tried. My apologies.
Yes, I had tried similar Options as described in a number of sites,
including, I think FreeBSD and Xorg. Only the man pages showed different
inputs. I don't know where you got the fr_CA.iso.acc; my installation
showed the available keymaps as fr_CA.iso.acc.kbd
kbdmap -s returns You are not on a virtual console - expect strange side
effects
lang_default = en
dialect = fr_...ISO8859-1
lang_abk = fr
Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk
=
Interesting, eh? where does fr_CA fit in and how?
For Xorg here is what I had found on
http://markmail.org/messsage/yvq7qqnqhq33hqgf
Option XkbModel pc104
Option XkbLayout us,ca
Option XkbOptions grp:toggle
That is what I had tried; it didn't work.
I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct
keyboard on the console. Except, it spews out French error messages
(tiresome=ennuiyant).
The Option XkbLayout us,ca - I have no idea where it comes from and
I sure would like to know what to enter for that to try it out. And
where does the grp:toggle come from?
I just went through the same routine and I can't find any combination
that works with the information I have been able to gather.
:-(

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
Michael Powell wrote:
 PJ wrote:

   
 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.

 

 Probably should start here:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html

 The command locale -a will show all available locales, and the command
 locale -m will show all charmaps. You probably want one of:

 fr_CA.ISO8859-1   
 fr_CA.ISO8859-15  
 fr_CA.UTF-8


 and a charmap to match above choice:

 ISO8859-1
 ISO8859-15
 UTF-8

 I don't have direct experience with your situation, but I suspect you may
 want ISO8859-1 for what you described. More knowledgeable people may know.

 As far as the attitude is concerned, can't help with that. But you should
 know that such things just turn people off, i.e, someone who may have
 wanted to try and help you will not, just because. Please keep it about 
 FreeBSD, ask technical questions, and leave the rest somewhere else if you
 truly do want help. This kind of thing can be offensive to others.

 -Mike



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

   
I appreciate your response. Thanks for the suggestion.
1. I've already seen that page and a number of other.
2. I have tried the options you suggest, as, obviously, given in the link.
3. About the only thing I got at one point was to get the server to spew
out French, which is not what I want. Xorg did not respond at all to
anything I could throw at it.
4. As to the attitude; I don't have one. And if anyone gets offended, I
could care less as that would only be in their own narrow minds. Did you
see the wink? ;-) ... I love to kid around and of course I like to
provoke a little. It's all in good fun. But then one must understand the
nature of fun or comedy - we do not only laugh because some idiot thinks
it is funny that someone slips on a banana; true comedy stems from
truth: we laugh because we have been exposed to something that is true
or real and after we have laughed we think about why we laughed. Not too
many comics or comedian understand that. And that is why there are so
few that are really funny. :-D
5. If it's about the Quebecois, Boris Vian is the source  author of
that book from the 60's, I believe.
6. If it's about FreeBSD, I think it's the best OS around, but I am
disappointed that fr_CA cannot be set up. I works magnificently on WimpyOS.
I just responded to another suggestion with my explanation of what still
does not work.
Thanks, again.

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
PJ wrote:
 Frank Shute wrote:
   
 On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:
   
 
 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.

 
   
 Have you tried:

 Option XkbLayout ca(fr)

 in your keyboard/inputdevice section of xorg.conf?

 For the console you want to have a look at kbdmap(1) and the list of
 maps.

 Looks like you want:

 keymap=fr_CA.iso.acc

 in /etc/rc.conf


 Regards,

   
 
 I probably should have posted all the stuff I tried. My apologies.
 Yes, I had tried similar Options as described in a number of sites,
 including, I think FreeBSD and Xorg. Only the man pages showed different
 inputs. I don't know where you got the fr_CA.iso.acc; my installation
 showed the available keymaps as fr_CA.iso.acc.kbd
 kbdmap -s returns You are not on a virtual console - expect strange side
 effects
 lang_default = en
 dialect = fr_...ISO8859-1
 lang_abk = fr
 Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk
 =
 Interesting, eh? where does fr_CA fit in and how?
 For Xorg here is what I had found on
 http://markmail.org/messsage/yvq7qqnqhq33hqgf
 Option XkbModel pc104
 Option XkbLayout us,ca
 Option XkbOptions grp:toggle
 That is what I had tried; it didn't work.
 I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct
 keyboard on the console. Except, it spews out French error messages
 (tiresome=ennuiyant).
 The Option XkbLayout us,ca - I have no idea where it comes from and
 I sure would like to know what to enter for that to try it out. And
 where does the grp:toggle come from?
 I just went through the same routine and I can't find any combination
 that works with the information I have been able to gather.
 :-(
   
As I continue to play with this, I think the guy who wrote the
XkbOption us,ca erred if we think about this logically: the
keyboards are not us or ca - there are none that I can find. They are en
or fr (with suffixes for locales, like US or FR,CA, etc.) So, logically
if the sytax were correct, it should be XkbOption fr,en right?
fr for the installed kbd in rc.conf, en for the default? Well. That
doesn't work either.
Now, I'm changing the xorg.conf without rebooting. I close xorg and then
startx again. right? Seems logical, as we're not changing the rc.conf.
This is driving me nuts. :o

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fixit console with sshd

2009-04-28 Thread n j
I was just wondering if someone could give me a quick advice on how
(or at least confirm it's possible) to start sshd in fixit console
i.e. how to boot FreeBSD off the CD1 (6.4-RELEASE) and enable SSH
access to it.

What I have tried (unsuccessfully) so far is:

1) copying sshd startup script (and dependencies like missing
sshd_config, rc.subr, sbin/sysctl)  from /dist directory - sshd script
(with forcestart to ignore rc.conf knob) executes and does nothing

2) chroot the /dist directory, mount_devfs and then start sshd -
script tries to generate host keypair and fails to write them due to
read-only filesystem

I believe booting off a live CD and restoring a backup over network
should be a relatively common recovery scenario, but googling around
produced no usable results other than get FreeSBIE live cd.

TIA,
-- 
Nino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Has SVN server changed ?

2009-04-28 Thread Warren Liddell
I have been trying for the last couple weeks to update my ports etc via 
svn but each time i try i get the below msg, im running latest updated 
ports atm via csup on a FREEBSD7.1-STABLE AMD64 system..



enterprise# svn up /usr/area51
svn: OPTIONS of 'https://kf.athame.co.uk/kde-freebsd/trunk/area51': 
could not connect to server (https://kf.athame.co.uk)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X windows manager for French-Canadian keyboard

2009-04-28 Thread PJ
Would anyone know of a simple windows manager that supports
French-Canadian keyboard?
Using fr_CA keymapping -
fluxbox is very simple and very nice, but does not support the fr_CA stuff.
This is evident from error messages output when shutting it down. :-(
So, I have to find one that does.
Thanks for any help.

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X Window - how to get the standard font

2009-04-28 Thread herbert langhans
Hi Daemons,
a little question:

I open a shell and invoke:
#xmessage 'hello world'
- it opens the window, but a rather tiny font.

So I invoke:
#xmessage -fn -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-* 'hello world'
- the same appears in the fontsize I like.

Now the question:
Can I set the bigger font somewhere, so that i.e. xmessage appears always in 
the preset, bigger font without typing the whole -fn -*-* string in? 
Somewhere in .xinitrc? 

Checked the man pages, but its a science to find a solution there.

Thanks
herb langhans

-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert.raim...@gmx.net
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Steven Friedrich

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build libdrm,
which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.


--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Adam Vandemore

Steven Friedrich wrote:

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build 
libdrm,

which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?

Yes, you could.


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.





--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Adam Vandemore

Steven Friedrich wrote:

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build 
libdrm,

which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.


my system setup is similar to yours.  cairo depends on libdrm in my 
setup, however I can find nowhere that libdrm depends on cairo.  Does 
the following complete successfully, if not what errors do you see?


update ports eg - portsnap fetch extract
cd /usr/ports/graphics/libdrm
make clean distclean deinstall reinstall

--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: French-Canadian Keyboard keyboard switching

2009-04-28 Thread PJ
PJ wrote:
 Frank Shute wrote:
   
 On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote:
   
 
 I am rather surprised and disappointed that no one has any ideas about
 using and/or installing a French-Canadian keyboard on FreeBSD. That is a
 terrible bug in FreeBSD and a worse slur on the Québecois (or
 Quebeckers) or are we being neglected and still considered The White
 Niggers of America? ;-)
 Anyway, everything I have tried does not work on FreeBSD or on xorg.
 Cannot set it up or switch.
 Somebody, please help.

 
   
 Have you tried:

 Option XkbLayout ca(fr)

 in your keyboard/inputdevice section of xorg.conf?

 For the console you want to have a look at kbdmap(1) and the list of
 maps.

 Looks like you want:

 keymap=fr_CA.iso.acc

 in /etc/rc.conf


 Regards,

   
 
 I probably should have posted all the stuff I tried. My apologies.
 Yes, I had tried similar Options as described in a number of sites,
 including, I think FreeBSD and Xorg. Only the man pages showed different
 inputs. I don't know where you got the fr_CA.iso.acc; my installation
 showed the available keymaps as fr_CA.iso.acc.kbd
 kbdmap -s returns You are not on a virtual console - expect strange side
 effects
 lang_default = en
 dialect = fr_...ISO8859-1
 lang_abk = fr
 Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk
 =
 Interesting, eh? where does fr_CA fit in and how?
 For Xorg here is what I had found on
 http://markmail.org/messsage/yvq7qqnqhq33hqgf
 Option XkbModel pc104
 Option XkbLayout us,ca
 Option XkbOptions grp:toggle
 That is what I had tried; it didn't work.
 I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct
 keyboard on the console. Except, it spews out French error messages
 (tiresome=ennuiyant).
 The Option XkbLayout us,ca - I have no idea where it comes from and
 I sure would like to know what to enter for that to try it out. And
 where does the grp:toggle come from?
 I just went through the same routine and I can't find any combination
 that works with the information I have been able to gather.
 :-(
   
For what it's worth, I have been able to set up the French-Canadian
keyboard in a hap-hazard way so, at least, is works partially.

Option XkbModel pc104
Option XkbLayout us,ca
Option XkbOptions grp:toggle

Using the above xorg parameters, the keyboard limps. The French-CA is a
bastardized mapping which work only if you use 2 keys for è ç à, etc -
in XP these are one stroke keys, but Fbsd you have to hit the ] key
before c to get ccedil; (ç) and the same for the others, except for é
(eacute;)
Oh, well, another day lost... but, I guess it's better to limp than not
to walk at all. :-\

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Running Apache with as few modules as possible

2009-04-28 Thread Charles Howse


On Apr 28, 2009, at 2:29 PM, Tom Worster wrote:


On 4/28/09 3:14 PM, Charles Howse cho...@charter.net wrote:


Can anyone see anything that I've commented that I'll be sorry for?
Can anyone suggest any more testing I should do?


unfortunately i can't but i'd like to ask you to tell us, once  
you're done

with removing modules, how much memory you saved relative to where you
started.

i'm curious because i went through a similar exercise not long ago  
and would

be interested to compare notes.


OK, here we go:
With Apache running on the development machine, modules commented as  
in my first post --

CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1% idle
Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free
Swap: 512M Total, 60K Used, 512M Free

Apache running on the same machine without any modules commented  
except mod_ssl --

CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1% idle
Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free
Swap: 512M Total, 60K Used, 512M Free

I just ran 'top' after starting httpd to get these figures, maybe I  
should have done something different?
'bout the only thing that makes sense to me is I have more Free Memory  
when commenting all those modules.

What is the list's opinion on this?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Running Apache with as few modules as possible

2009-04-28 Thread Adam Vandemore

Charles Howse wrote:


On Apr 28, 2009, at 2:29 PM, Tom Worster wrote:


On 4/28/09 3:14 PM, Charles Howse cho...@charter.net wrote:


Can anyone see anything that I've commented that I'll be sorry for?
Can anyone suggest any more testing I should do?


unfortunately i can't but i'd like to ask you to tell us, once you're 
done

with removing modules, how much memory you saved relative to where you
started.

i'm curious because i went through a similar exercise not long ago 
and would

be interested to compare notes.


OK, here we go:
With Apache running on the development machine, modules commented as 
in my first post --

CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1% idle
Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free
Swap: 512M Total, 60K Used, 512M Free

Apache running on the same machine without any modules commented 
except mod_ssl --

CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1% idle
Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free
Swap: 512M Total, 60K Used, 512M Free

I just ran 'top' after starting httpd to get these figures, maybe I 
should have done something different?
'bout the only thing that makes sense to me is I have more Free Memory 
when commenting all those modules.

What is the list's opinion on this?

You should probably use pmap for a more accurate comparison.  you may 
also want to set CFLAGS= -Os for size considerations(CPUTYPE as well), 
and remove unnecessary modules from kernel if you haven't done so already.


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ndis0 interrrupt storm

2009-04-28 Thread Chris Whitehouse

Hi all

I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a 
Marvell 8335 chip. I've created a module with ndisgen and I can see 
ndis0. When I up it with ifconfig I immediately get repeated messages:


Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on irq11:; 
throttling interrupt source


As soon as I down the interface the messages stop.

I've also tried starting ndis0 with polling

# ifconfig ndis0 inet 192.168.1.20 polling

but still get the messages. I guess this driver doesn't support polling. 
Or I've got the syntax wrong.


According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9

irq9: cbb1 ndis0++

This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE

Any way I can get this thing working?

Thanks

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


cannot get FreeBSD 7.X to load on HP z400

2009-04-28 Thread Derek Ragona
I cannot get FreeBSD 7.X to load on an HP z400.  I have tried 7.1 i386 
release, 7.1 amd64 release, 7.2 amd64 RC2, 8.0 amd64 current.


In all versions the loader stops just after the message:
Trying to mount root from ufs:/dev/md0

I have tried to simplify the setup of this unit to a single SATA drive, and 
a single SATA CD/DVD drive.


I have tried various BIOS settings, turning on and off cores in the CPU, 
changing other IO setting, but still the install hangs.


The z400 has the Intel® X58 Express chipset and a 4 core W3520 Xeon 
CPU.  This particular unit has 4GB RAM.  If I can get the amd64 version to 
load on it, I'd like to run it with more RAM.  But obviously the first 
hurdle is getting the OS to boot to sysinstall.


Any help would be appreciated.



-Derek
derek at computinginnovations.com


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Has SVN server changed ?

2009-04-28 Thread Glen Barber
On Tue, Apr 28, 2009 at 5:16 PM, Warren Liddell shin...@maydias.com wrote:
 I have been trying for the last couple weeks to update my ports etc via svn
 but each time i try i get the below msg, im running latest updated ports atm
 via csup on a FREEBSD7.1-STABLE AMD64 system..



According to a recent post [1], the SVN server has changed [2] since
March 22, 2009.

[1] http://miwi.bsdcrew.de/2009/03/area51-repository-moved-to-pcbsd/
[2] http://area51.pcbsd.org/





-- 
Glen Barber
570.328.0318
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Noisy GEOM_LABEL on boot of 7-STABLE

2009-04-28 Thread Luke Dean


I just upgraded my old laptop from an older 7.1 release to the
latest 7-STABLE for i386, and I started getting a lot of new
GEOM_LABEL noise during the boot process.
It says it's removing and adding labels every time it does the
filesystem checks.
What's that all about?
Should I be concerned?

This is just an old laptop with a simple out-of-the-box UFS
filesystem with no frills or geom features that aren't default.
I have never run tunefs or used glabel.
kern.geom.label.debug=0

FreeBSD 7.2-PRERELEASE #1: Tue Apr 28 12:16:44 PDT 2009

ad0: 57231MB TOSHIBA MK6034GAX AC101A at ata0-master UDMA33
GEOM_LABEL: Label for provider ad0s1a is ufsid/47225356153f5b56.
GEOM_LABEL: Label for provider ad0s1d is ufsid/472253592de7e9f5.
GEOM_LABEL: Label for provider ad0s1e is ufsid/47225356139009e4.
GEOM_LABEL: Label for provider ad0s1f is ufsid/47225356087c310e.
Trying to mount root from ufs:/dev/ad0s1a
.
.
snip
.
.
Starting file system checks:
GEOM_LABEL: Label ufsid/47225356153f5b56 removed.
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 111842 free (1610 frags, 13779 blocks, 0.6% fragmentation)
GEOM_LABEL: Label for provider ad0s1a is ufsid/47225356153f5b56.
GEOM_LABEL: Label ufsid/47225356139009e4 removed.
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 253810 free (34 frags, 31722 blocks, 0.0% fragmentation)
GEOM_LABEL: Label for provider ad0s1e is ufsid/47225356139009e4.
GEOM_LABEL: Label ufsid/47225356087c310e removed.
/dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: clean, 23004564 free (148036 frags, 2857066 blocks, 0.6% 
fragmentation)
GEOM_LABEL: Label for provider ad0s1f is ufsid/47225356087c310e.
GEOM_LABEL: Label ufsid/472253592de7e9f5 removed.
/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: clean, 541653 free (589 frags, 67633 blocks, 0.1% fragmentation)
GEOM_LABEL: Label for provider ad0s1d is ufsid/472253592de7e9f5.
GEOM_LABEL: Label ufsid/47225356153f5b56 removed.
Setting hostuuid: 9f2d90ee-5dba-11dd-b39c-080046044d85.
Setting hostid: 0x51e2e234.
Mounting local file systems:
GEOM_LABEL: Label ufsid/47225356139009e4 removed.
GEOM_LABEL: Label ufsid/47225356087c310e removed.
GEOM_LABEL: Label ufsid/472253592de7e9f5 removed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Noisy GEOM_LABEL on boot of 7-STABLE

2009-04-28 Thread Manolis Kiagias
Luke Dean wrote:

 I just upgraded my old laptop from an older 7.1 release to the
 latest 7-STABLE for i386, and I started getting a lot of new
 GEOM_LABEL noise during the boot process.
 It says it's removing and adding labels every time it does the
 filesystem checks.
 What's that all about?
 Should I be concerned?

 This is just an old laptop with a simple out-of-the-box UFS
 filesystem with no frills or geom features that aren't default.
 I have never run tunefs or used glabel.
 kern.geom.label.debug=0

 FreeBSD 7.2-PRERELEASE #1: Tue Apr 28 12:16:44 PDT 2009

 ad0: 57231MB TOSHIBA MK6034GAX AC101A at ata0-master UDMA33
 GEOM_LABEL: Label for provider ad0s1a is ufsid/47225356153f5b56.
 GEOM_LABEL: Label for provider ad0s1d is ufsid/472253592de7e9f5.
 GEOM_LABEL: Label for provider ad0s1e is ufsid/47225356139009e4.
 GEOM_LABEL: Label for provider ad0s1f is ufsid/47225356087c310e.
 Trying to mount root from ufs:/dev/ad0s1a
 .
 .
 snip
 .
 .
 Starting file system checks:
 GEOM_LABEL: Label ufsid/47225356153f5b56 removed.
 /dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1a: clean, 111842 free (1610 frags, 13779 blocks, 0.6%
 fragmentation)
 GEOM_LABEL: Label for provider ad0s1a is ufsid/47225356153f5b56.
 GEOM_LABEL: Label ufsid/47225356139009e4 removed.

In short, no. These messages have generally caused concern and they may
be removed for 7.2-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org