Re: bsnmpd vs net-snmp
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 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"
Re: acroread run problem
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)' 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_
bind-sdb ldap loading zone: creating database: failure
Have anyone been able to successfully setup bind-sdb with ldap backend? I've tried for couple days without luck! I have a fully working ldap server, and a working traditional bind/dns setup. I installed bind-sdb (rpm package); changed my named.conf according to the docs; but I am not able to get the bind-sdb to connnect to my ldap server. Below is my named.conf: cut ... zone "example.com" IN { type master; database "ldap ldap:// 127.0.0.1/zoneName=example.com,ou=dns,dc=mydomain,dc=com"; }; zone "1.168.192.in-addr.arpa" IN { type master; database "ldap ldap:// 127.0.0.1/zoneName=1.168.192.in-addr.arpa,ou=dns,dc=mydomain,dc=com"; }; When I start named-sdb (bind-sdb), its log shows it loaded the db-drivers fine ... cut ... 27-Apr-2009 22:19:15.884 starting BIND 9.5.0b2 -d 3 -u named -g 27-Apr-2009 22:19:15.888 found 1 CPU, using 1 worker thread 27-Apr-2009 22:19:15.930 Registering DLZ postgres driver. 27-Apr-2009 22:19:15.930 Registering SDLZ driver 'postgres' 27-Apr-2009 22:19:15.930 Registering DLZ driver 'postgres' 27-Apr-2009 22:19:15.931 Registering DLZ mysql driver. 27-Apr-2009 22:19:15.931 Registering SDLZ driver 'mysql' 27-Apr-2009 22:19:15.931 Registering DLZ driver 'mysql' 27-Apr-2009 22:19:15.931 Registering DLZ filesystem driver. 27-Apr-2009 22:19:15.931 Registering SDLZ driver 'filesystem' 27-Apr-2009 22:19:15.931 Registering DLZ driver 'filesystem' 27-Apr-2009 22:19:15.931 Registering DLZ ldap driver. 27-Apr-2009 22:19:15.931 Registering SDLZ driver 'ldap' 27-Apr-2009 22:19:15.932 Registering DLZ driver 'ldap' 27-Apr-2009 22:19:15.932 Registering DLZ odbc driver. 27-Apr-2009 22:19:15.932 Registering SDLZ driver 'odbc' 27-Apr-2009 22:19:15.932 Registering DLZ driver 'odbc' 27-Apr-2009 22:19:15.932 SDB ldap zone database module loaded. 27-Apr-2009 22:19:15.932 SDB postgreSQL DB zone database module loaded. 27-Apr-2009 22:19:15.932 SDB sqlite3 DB zone database module loaded. 27-Apr-2009 22:19:15.932 SDB directory DB zone database module loaded. 27-Apr-2009 22:19:15.942 loading configuration from '/etc/named.conf' cut ... BUT, when it gets to loading zone "example.com", it logged: 27-Apr-2009 22:19:16.005 zone gis.com/IN: loading zone: creating database: failure Same failure for ARPA of zone gis.com/IN: 27-Apr-2009 22:19:16.003 zone 1.168.192.in-addr.arpa/IN: loading zone: creating database: failure I checked my LDAP server's log and NO contact attemp was made by named-sdb (bind-sdb). I can retrieve my LDAP's zone entries fine with ldapsearch. ??? Thanks ___ 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"
bind sdb using ldap: load zone creating database failure
Hi Richard VENNE, *I have the same problem you describe in the thread "bind sdb using ldap: load zone creating database failure". I saw that you replied and said that you got it. Can you post the solution on how you solve this problem. I'm new to the list and don't know how to reply directly to your post. thanks. * ___ 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?
Jerry McAllister schrieb: Second, that no one objects to a parallel installer being made available as long as it is not the default and as long as it does not squeeze out the text based installer.The only problem here is finding someone or some group to work on it. Most FreeBSD developers see other issues as higher priority concerns and will be putting their effort in to those concerns rather than in to a GUI installer. ACK. No one really _needs_ a GUI installer, there are far more important tasks to do. So, don't try to make an argument that doesn't exist. Nobody minds if you write a fantastic GUI installer and submit it for inclusion as long as it works well and doesn't eclipse other necessities. ACK too. ___ 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
On Mon, Apr 27, 2009 at 07:18:24PM +0300, Ghirai wrote: > Hi, > > I'm running a RAID1 setup with gmirror and geli (AES-128) on top of > that. > While searching for ways to improve read performance, i found some > posts (on kerneltrap i think) about vfs.max_read. > > The author suggested that increasing the default value of 8 to 16 > resulted in increased read speed, and that increasing it further > resulted in no noticeable performance gain. > > Results are below. > > Starting with vfs.read_max=32: > > triton# dd if=a.iso of=/dev/null bs=3M > 1129+1 records in > 1129+1 records out > 3554287616 bytes transferred in 176.825898 secs (20100492 bytes/sec) > > triton# sysctl vfs.read_max=64 > vfs.read_max: 32 -> 64 > > triton# dd if=a.iso of=/dev/null bs=3M > 1129+1 records in > 1129+1 records out > 3554287616 bytes transferred in 162.943189 secs (21813048 bytes/sec) > > triton# sysctl vfs.read_max=128 > vfs.read_max: 64 -> 128 > > triton# dd if=a.iso of=/dev/null bs=3M > 1129+1 records in > 1129+1 records out > 3554287616 bytes transferred in 149.313994 secs (23804116 bytes/sec) > > triton# sysctl vfs.read_max=256 > vfs.read_max: 128 -> 256 > > triton# dd if=a.iso of=/dev/null bs=3M > 1129+1 records in > 1129+1 records out > 3554287616 bytes transferred in 150.466241 secs (23621828 bytes/sec) > > Here is seems to have hit a wall. Going a bit down to 192 results in > almost exactly the same numbers, so the best value seems to be 128. > As i read, vfs.read_max means 'cluster read-ahead max block count'. > Does it read ahead the stuff into some memory? If so, can that memory > size be increased via sysctl? IIRC, if it gets a read request, it reads vfs.read_max extra clusters into the vfs cache, to improve subsequent reads. This won't do much if you're reading a lot of small files scattered around the disk. > Does the improvement in performance have to do with my particular setup > (gmirror+geli)? In my experience, gmirror is slow (see below). If you have multiple cores, geli isn't much of an issue. On a single-core machine it can become a bottleneck. > I thought i'd share the results and maybe get a discussion going in > this direction. > > Test was done on a pair of SATA300 HDs spinning at 7200rmp (which are > seen as SATA150 by the OS for some reason; i couldn't fix it from the > BIOS, so it must be the mobo), and 7.1-RELEASE, i386. It doesn't matter much if your disk is seen as SATA 1.5 Gbit/s or 3 Gbit/s. A current rotating harddisk cannot max out a SATA 1.5 Gbit/s connection, see [http://en.wikipedia.org/wiki/Serial_ATA] (A flash-based drive can, though). - Intel ICH7 SATA 3Gbit/s controller - WDC WD5001ABYS-01YNA0 (500,107,862,016 bytes) - FreeBSD 7.2-PRERELEASE amd64 - no mirroring or encryption on this partition. My results: sysctl vfs.read_max=8 dd if=/tmp/var-0-20090426.dump of=/dev/null bs=3M 69+1 records in 69+1 records out 217405440 bytes transferred in 2.762058 secs (78,711,395 bytes/sec) (I added the commas to the bytes/sec figure for readability) Try it again: dd if=/tmp/var-0-20090426.dump of=/dev/null bs=3M 69+1 records in 69+1 records out 217405440 bytes transferred in 0.119592 secs (1,817,893,575 bytes/sec) This large figure on the second try is probably an effect of the disk's and/or vfs cache! All following reads are done after another huge file was read to try and eliminate cache effect. sysctl vfs.read_max=16 dd if=/tmp/usr-0-20090426.dump.bz2 of=/dev/null bs=3M 728+1 records in 728+1 records out 229298 bytes transferred in 29.368194 secs (78,062,532 bytes/sec) sysctl vfs.read_max=32 dd if=/tmp/root-0-20090426.dump of=/dev/null bs=3M 32+1 records in 32+1 records out 101068800 bytes transferred in 1.276318 secs (79,187,799 bytes/sec) sysctl vfs.read_max=64 dd if=/tmp/usr-0-20090426.dump of=/dev/null bs=3M 1753+1 records in 1753+1 records out 5516308480 bytes transferred in 70.226765 secs (78,549,944 bytes/sec) sysctl vfs.read_max=128 dd if=/tmp/usr-0-20090426.dump of=/dev/null bs=3M 1753+1 records in 1753+1 records out 5516308480 bytes transferred in 71.032365 secs (77,659,085 bytes/sec) So, for large reads not much difference. vfs.read_max=32 looks best. Let's try a smaller block size. sysctl vfs.read_max=8 dd if=/tmp/root-0-20090426.dump of=/dev/null bs=256k 385+1 records in 385+1 records out 101068800 bytes transferred in 1.391538 secs (72,631,008 bytes/sec) sysctl vfs.read_max=16 dd if=/tmp/usr-0-20090426.dump.bz2 of=/dev/null bs=256k 8745+1 records in 8745+1 records out 229298 bytes transferred in 29.736135 secs (77,096,623 bytes/sec) sysctl vfs.read_max=32 dd if=/tmp/var-0-20090426.dump of=/dev/null bs=256k 829+1 records in 829+1 records out 217405440 bytes transferred in 2.753552 secs (78,954,544 bytes/sec) sysctl vfs.read_max=64 dd if=/tmp/usr-0-20090426.dump of=/dev/null bs=256k 21043+1 records in 21043+1 records out 5516308480 bytes transferred in 71.165780 secs (77,513,497 bytes/sec) sysctl vfs.read_max=256 dd if=/tmp/var-0-20090426.dump
among my favorite equations....
if anybody had OOO math 3.0.1 installed, they can see one of my favoriite equations. :-) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.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"
a couple things....
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"? 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 tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.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"
switch keyboards
Can't find anything on setting up a correct fr_CA keyboard or keymapping or switching from en_US <---> fr_CA for FreeBSD 7.1 and xorg. What I have found only set up an incorrect french-someting-or-other keyboard which almost prevented me from logging in because of a missing character in the mapping. Somebody out there is permanently out to lunch. The true fr_CA keyboard is an elegant way of using both English and French characters on one keyboard. It works beautifully on an XP. Is there any reason why it shouldn't on FreeBSD & xorg. BTW, I use fluxbox as wm and have no interest in either gnome or the k guy. Est-ce qu'il y a une solution pour cette anomalie? -- 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: Partitioning for multiple systems
On Mon, Apr 27, 2009 at 10:17:47PM +0200, Polytropon wrote: > On Mon, 27 Apr 2009 10:30:43 -0400, Jerry McAllister wrote: > > On Sun, Apr 26, 2009 at 11:45:07AM -0700, Michael David Crawford wrote: > > FreeBSD is not happy with MS 'extended partitions'. But, I don't really > > see your problem. You are not using Microsloth for anything. > > That's why I'm not sure why FAT has been mentioned. As far as The FAT (more likely FAT32) can be the filesystem type that each of the OSen can read/write.I occasionally make one for scratch space that more than one OS on a machine can access. > I understood, the disk should have three operating systems > (Linux, FreeBSD 7, FreeBSD 8) and a partition where all these > systems can have a shared mount point for /home. > > So my idea would be... no, my further questions would be: > 1. Can FreeBSD mount -o rw a file system that is usable >on Linux, maybe ext2? If yes, use this file system type >for the partition that is /home then. > 2. Can Linux mount -o rw a file system that is usable >on FreeBSD, maybe UFS? If yes, use this file system type >for the partition that is /home then. > > Because the /home partition is not intended to be booted > from, it should be possible to add it. > > > Create your Lunix slice first, then one for FreeBSD 7.2 and finally one > > for FreeBSD 8.0. You still logically have one left for something but > > it doesn't seem to be needed and neither does a 'logical partition'. > > Hasn't the fact that Linux needs two primary partitions > (one for itself, one for its boot loader) mentioned? I thought that the fancy MBR went in the extra track space beyond that official single sector that almost no one actually uses any more. I haven't heard of that.The RHEL and SUSE installs I did recently did not look like they were using two primaries.But I didn't make a point of looking for that, so I am not sure. jerry > > FreeBSD might be able to mount the CENTOS slice stuff if you use > > the right type of mount. I don't know about mounting Lunix from FreeBSD. > > But, you can't do it the other way (eg mount a FreeBSD type filesystem > > from Lunix - though maybe, I have never tried it) > > That would be the idea. > > > > > From FreeBSD you can mount other types of filesystems such as MS > > by using the correct mount types. For example, if you want to mount > > an MS FAT or FAT32, you use an 'msdosfs' type in your fstab file or > > mount_msdosfs(8) utility to do the mount. Do some studying to see > > if you can mount any Lunxi type filesystem from FreeBSD. > > Exactly. Or, if not, maybe it works vice-versa: mounting a > FreeBSD partition (within a slice, a "primary partition") > from within this Linux. > > > > > -- > 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"
Re: Modern FreeBSD Installer?
On Mon, Apr 27, 2009 at 08:33:46PM +0200, beni wrote: > On Sunday 26 April 2009 20:11:36 Neo [GC] wrote: > > Just my two cents: > > > > Why a graphical installer? Shure, it looks nice, easy, modern and more > > accessable (examples: Mac OS X, Vista), but on the other hand, for me > > FreeBSD never was intended to be fancy, but to be functional. > > What is wrong with fancy functional ? The two can go together I think. > For you it may not be, but I would like it to be for me. And as to now, > I don't have any choice : there is no fancy, easy, nice, modern and > accessable installer. You are missing the two key things that have been said. First, that a GUI installer will not work on many systems that FreeBSD powers and in some circumstances for which it is used. Those in particular are headless servers - a major use of FreeBSD - and where it is being used by persons who need special communication tools such as the blind. So, for those large number of cases a text based installer needs to be retained, though if someone were able to improve it in some way, that would be OK. Second, that no one objects to a parallel installer being made available as long as it is not the default and as long as it does not squeeze out the text based installer.The only problem here is finding someone or some group to work on it. Most FreeBSD developers see other issues as higher priority concerns and will be putting their effort in to those concerns rather than in to a GUI installer. So, don't try to make an argument that doesn't exist. Nobody minds if you write a fantastic GUI installer and submit it for inclusion as long as it works well and doesn't eclipse other necessities. jerry ___ 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?
On Mon, 27 Apr 2009 09:39:38 -0400, Jerry McAllister wrote: > I have done hundreds of installations and still > find times that I want more information in the middle of things. That > is especially true if I try to add some packages at install time. I agree with this. That's why I always included a F1 Help in my "paintings" of how an improvement of the text mode installer (and a possible GUI installer) should go. Another idea would be to add something of value to the help text. Let it be not only an explaination, but a suggestion, just like "if you have ... then consider using ...; if you want to use ..., then you better set ... and ...". An addition that comes to my mind right now would be a kind of autodetection of existing operating systems on the disk, which obsoletes (or easyfies) the boot manager dialog. For example, if FreeBSD is the only OS, the default choice would surely be "install FreeBSD's MBR", so the only OS will boot. If there are other OSes, the boot manager could be suggested. This idea continues into a "autodetect for partition editor", which could look like this: automount Device Mountpoint No R/O R/W Explaination /dev/ad0s1a / [ ] [ ] [x] FreeBSD's root /dev/ad0s1d /tmp[ ] [ ] [x] Temporary files /dev/ad0s1e /var[ ] [ ] [x] Stuff /dev/ad0s1f /usr[ ] [ ] [x] Much more stuff /dev/ad0s1g /home [ ] [ ] [x] Your stuff other than FreeBSD --- /dev/ad2s1 /blabla [ ] [x] [ ] Linux stuff /dev/ad2s2 /foobar [x] [ ] [ ] FAT32 I've excluded options like "format yes/no" and file system type for easyfication. :-) The idea would be that /etc/fstab would be populated with everything that exist, keeping the default that noauto is chosen, and -o ro, unless the user specifies something else on his own risk. And again, a multi-lingual installer is an idea. In fact, it's NOT an idea, because - and I may speak only based on my experiences in my home country - those who install FreeBSD are familiar with the english language, and those who are not familiar with the english language wouldn't even know FreeBSD. :-) > But, I agree that we must not give up on a 'text based' installer that > is the most generally usable, even if some other options might be made > available.The text based installer could also be massaged a bit > to make it a little easier to understand as well, without losing its > functionality. Completely agree. -- 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"
Re: Modern FreeBSD Installer?
Polytropon wrote: <...> There is NO thing that works for everyone, a one size fits all egg-laying wool milk sow; in Germany, we call this "eierlegende Wollmilchsau", a device (or system) that does everything under any circumstances, for everyone. People are different, that's why there are many ways to go for them to choose from. In the past, I chose DOS for some things, OS/ES for others, and later on, Linux; today, FreeBSD is my choice. I can't tell what I will use in the future, because I don't know my requirements of tomorrow. Things may change. FreeBSD is an operating system that has so much potential, and can be used in many different fields of work (and play, and entertainment, and learning). One of the reasons it's so versatile is the fact that it runs on minimum conditions, still offering the whole power. You run the same OS on a 150 MHz P1 as you run on a 5 million GHz Uber-server. THAT is modern. :-) Well said. As I've come to expect from Polyptron. And by that, I hope this godforsaken discussion has come to an end. As there's no such thing as an "eierlegende Wollmilchsau", there will always be people who object, no matter how things are done, and I cannot see the point in continuing this any further. -- Rolf Nielsen ___ 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?
On Mon, 27 Apr 2009 20:33:46 +0200, beni wrote: > What is wrong with fancy functional ? The two can go together I think. Show me one example from the PC world. > For you > it may not be, but I would like it to be for me. And as to now, I don't have > any choice : there is no fancy, easy, nice, modern and accessable installer. You're mixing terminology again. "Modern"... okay, we already stated that this is depending on defintion. "Accessible"... how accessible is a GUI installer via a serial line or by a blind user? > So why don't use a text mode for server and a GUI for desktop ? Because FreeBSD is for both servers and desktops and mixed forms, and you cannot determine from the hardware present what form the user wants to install, or where the form will develop into. That's why a choice at a very early stage of the installation would be needed, and its default should be fail-safe, read: text mode is default, GUI when ordered. > Oh so all those desktopusers with Gnome/KDE/... will gladly hear this ! As a > desktopuser I can't be a professional who wants a perfectly working system ? > Thanks. Terminology again. What do you understand by "professional"? But let this not be our topic. The point is that many ways of operating and administrating a system highly depend on the knowledge, the experience and the intelligency of the user, as well as on his attitude towards learning things. PC-BSD and DesktopBSD to the right thing for those "lazy" guys: Most things are preconfigured and work out of the box, and when you need configuration changes, there are GUI tools for it. As long as you're fine with this setting, you won't have ANY problem. > Even with pc-bsd not all my hardware is recognized > now. That's not PC-BSD's fault. > But if you want something that works for everyone, I don't think that > *bsd or linux is something for you. There is NO thing that works for everyone, a one size fits all egg-laying wool milk sow; in Germany, we call this "eierlegende Wollmilchsau", a device (or system) that does everything under any circumstances, for everyone. People are different, that's why there are many ways to go for them to choose from. In the past, I chose DOS for some things, OS/ES for others, and later on, Linux; today, FreeBSD is my choice. I can't tell what I will use in the future, because I don't know my requirements of tomorrow. Things may change. FreeBSD is an operating system that has so much potential, and can be used in many different fields of work (and play, and entertainment, and learning). One of the reasons it's so versatile is the fact that it runs on minimum conditions, still offering the whole power. You run the same OS on a 150 MHz P1 as you run on a 5 million GHz Uber-server. THAT is modern. :-) -- 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"
Re: Modern FreeBSD Installer?
On Mon, 27 Apr 2009 20:24:53 +0200, beni wrote: > On Sunday 26 April 2009 19:32:07 Polytropon wrote: > > On Sun, 26 Apr 2009 17:06:58 +0200, beni wrote: > > > Why should a graphical installer have less functionality ? > > > hasn't been claimed. GUI installer just requires more resources, > > more overhead. > > Why should a GUI need more functionality than a text based installer ? Hasn't been claimed, too. > Why > can't both have the same functionality ? A GUI installer is acceptable as long as it has AT LEAST the functionalities that the respective (existing) text mode installer already has. If it offers additional functionalities, well, fine, but it shouldn't be limited. > But why should a GUI be less functional ? I don't see why ! A GUI *IS* less functional if implemented poorly, that's the point. It's not better or worse per se. Keep in mind that it has - by definition - another playing field, so a GUI installer cannot be handled via serial console, and cannot be used by blind users. > I'm not a sysadmin, indeed. But it should surprise me a lot if a admin who > has > to, as you say yourself, keep every server running, need to (re)install a lot > of servers on a regular basis. Then there is something seriously wrong. It > was > my believe that a server needs to be kept running, not being reinstalled > twice > a week (with or without a GUI installer). Exactly. That's why I mentioned that an installer is a very important piece of software, but you don't use it day by day. You only use it occassionally, but in such a situation, it has to offer the functionalities needed and a predictable way of working. > And so a desktop user has to do it with the prehistoric sysinstall... And I > don't value an OS by its installer, but as a desktop user I think I have > already done a bit of (re)installations, be it debian, ubuntu, suse, or > Micros~1 in different flavors. Another polite question: What makes you believe that a GUI installer for FreeBSD - if it existed - would work (read: look and feel) exactly the same as the installers you already know from various Linusi or "Windows"? Maybe a different approach (other than "next, next, next, yes, okay, next, next, reboot) is taken? It's at least possible... > > As I explained in an earlier post: If the GUI installer is > > (a) not the only way, (b) not an auto-default, (c) does work > > well enough even on older hardware and (d) doesn't make things > > more complicated, I wouldn't have any problem with it, I would > > even use it! > > Nice to hear it :-) Me too ! I have some experience with PC-BSD and DesktopBSD. Their installers behave the way MICROS~1 users would expect them to work, and I think most Linusi (with GUI installers) do work the same way. > A pc-bsd is installed in what, 5 or 6 clics (if it is that much). Same for > windows [...] Hahaha! :-) > [...] or ubuntu. Text based installation takes more time i think. Finetuning > and installing programs afterwards takes more time, but that is the same for > all those OS'es, no ? No. The installer of FreeBSD lets you do much more than those "5 click installers". This is neccessary because FreeBSD is, as I already mentioned, a multi-purpose OS that can be run on a server, a desktop, or a mixed form. Because there are not hundreds of different distributions aiming at different groups of users, the installer has to offer everything that is needed - by the desktop user and by the server admin. So, of couse, yes, things are more detailed, more complex. But if you're intending to run FreeBSD anyway, that isn't a problem. Maybe a FreeBSD installer could be implemented with "5 times pressing the ENTER key", but it would imply that there are many decisions to be taken away from the user and substituted by default values, such as: - wipe the entire disk - create one slice with one / partition - put everything into the partition - install everything from the CD - install all services - start all services You know where this is going... > So I think we will agree to disagree... And this is my receipt for your receipt. :-) -- 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"
Re: Partitioning for multiple systems
On Mon, 27 Apr 2009 10:30:43 -0400, Jerry McAllister wrote: > On Sun, Apr 26, 2009 at 11:45:07AM -0700, Michael David Crawford wrote: > FreeBSD is not happy with MS 'extended partitions'. But, I don't really > see your problem. You are not using Microsloth for anything. That's why I'm not sure why FAT has been mentioned. As far as I understood, the disk should have three operating systems (Linux, FreeBSD 7, FreeBSD 8) and a partition where all these systems can have a shared mount point for /home. So my idea would be... no, my further questions would be: 1. Can FreeBSD mount -o rw a file system that is usable on Linux, maybe ext2? If yes, use this file system type for the partition that is /home then. 2. Can Linux mount -o rw a file system that is usable on FreeBSD, maybe UFS? If yes, use this file system type for the partition that is /home then. Because the /home partition is not intended to be booted from, it should be possible to add it. > Create your Lunix slice first, then one for FreeBSD 7.2 and finally one > for FreeBSD 8.0. You still logically have one left for something but > it doesn't seem to be needed and neither does a 'logical partition'. Hasn't the fact that Linux needs two primary partitions (one for itself, one for its boot loader) mentioned? > FreeBSD might be able to mount the CENTOS slice stuff if you use > the right type of mount. I don't know about mounting Lunix from FreeBSD. > But, you can't do it the other way (eg mount a FreeBSD type filesystem > from Lunix - though maybe, I have never tried it) That would be the idea. > From FreeBSD you can mount other types of filesystems such as MS > by using the correct mount types. For example, if you want to mount > an MS FAT or FAT32, you use an 'msdosfs' type in your fstab file or > mount_msdosfs(8) utility to do the mount. Do some studying to see > if you can mount any Lunxi type filesystem from FreeBSD. Exactly. Or, if not, maybe it works vice-versa: mounting a FreeBSD partition (within a slice, a "primary partition") from within this Linux. -- 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"
Re: CVS history access?
On Monday 27 April 2009 03:29:03 pm Giorgos Keramidas wrote: > On Mon, 27 Apr 2009 15:03:30 -0400, John Nielsen wrote: > > I installed the subversion-freebsd port and pulled in "src" from > > "head". This lets me do e.g. "svn log -g --xml" locally and get an > > XML list of commits along the main (head/current) development line > > going back to 1993. > > > > For files changed with each revision I can do "svn diff -c > > NUM --summarize". Is there a way to get this information integrated > > with the "svn log" output short of running the command for each > > revision in the log output? > > It's already part of 'svn log --xml' output if you use the -v option. > When you use -v *and* --xml at the same time, an additional element is > inserted to each changeset listing all the path changes: > > $ svn log -v --xml -c 191585 file:///home/svn/base > > > revision="191585"> > rpaulo > 2009-04-27T18:59:40.453027Z > % > % %kind="" > % > action="M">/projects/mesh11s/sys/net80211/ieee80211_output.c % > > Append Mesh Configuration IE on probe responses and beacons. > > Sponsored by: The FreeBSD Foundation > > > > > I think the list of path changes is what you are after :) Exactly right. Thanks much! JN ___ 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: CVS history access?
On Mon, 27 Apr 2009 15:03:30 -0400, John Nielsen wrote: > I installed the subversion-freebsd port and pulled in "src" from "head". > This lets me do e.g. "svn log -g --xml" locally and get an XML list of > commits along the main (head/current) development line going back to > 1993. > > For files changed with each revision I can do "svn diff -c > NUM --summarize". Is there a way to get this information integrated with > the "svn log" output short of running the command for each revision in > the log output? It's already part of 'svn log --xml' output if you use the -v option. When you use -v *and* --xml at the same time, an additional element is inserted to each changeset listing all the path changes: $ svn log -v --xml -c 191585 file:///home/svn/base rpaulo 2009-04-27T18:59:40.453027Z % % /projects/mesh11s/sys/net80211/ieee80211_output.c % Append Mesh Configuration IE on probe responses and beacons. Sponsored by: The FreeBSD Foundation I think the list of path changes is what you are after :) ___ 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: acroread run problem
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)' 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): Pango-WARNING **: No builtin or dynamically loaded modules > were found. Pango will not work correctly. This probably means > there was an error in the creation of: >'/etc/pango/pango.modules' > You may be able to recreate this file by running pango-querymodules. > (acroread:67581): Pango-CRITICAL **: _pango_engine_shape_shape: assertion > `PANGO_IS_FONT (font)' failed > Pango-ERROR **: file shape.c: line 75 (pango_shape): assertio
Re: CVS history access?
On Monday 27 April 2009 12:39:53 pm Giorgos Keramidas wrote: > On Mon, 27 Apr 2009 11:23:32 -0400, John Nielsen wrote: > > I'm basically looking for a list of all commits over the past N (>2) > > years with committer, timestamp, affected file(s) and/or subsystems > > and possibly diff size information, etc. I don't know anything about > > the "history" file in particular other than that's what cvs > > complained about when I tried the "cvs history" commands against > > anoncvs. It looks like the /pub/FreeBSD/development/FreeBSD-CVS/src > > ftp path may have what I'm looking for (though it may be scattered > > through the individual files). I'll probably (try to) set up a local > > CVS repo and source it from there and see where that gets me. My > > CVS-fu is weak so I'm still open to pointers. > > There are online instructions for mirroring a full CVS copy, so it > should be relatively easy to do that. It mostly boils down to setting > up the necessary disk space somewhere locally, installing one of the > CVSup ports and configuring a `supfile' like this: > > *default host=CHANGE_THIS.freebsd.org > *default base=/path/to/local/cvs/mirror > *default prefix=/path/to/local/cvs/mirror > *default release=cvs > *default delete use-rel-suffix > *default compress > > cvs-all Thanks! I had forgotten about the cvs-all target. [additional helpful info snipped] > >> We also have a Subversion repository now, that you can use to grab > >> commit information. It takes slightly more disk space than the CVS > >> repository, but subversion can export XML formatted commit logs, > >> which may be slightly more useful if you plan to automate parts of > >> the parsing and info-gathering. > > > > Yes, I'll definitely be automating the parsing, etc. Is it safe to > > assume that the cvs2svn migration went successfully? XML logs do > > sound appealing and aggregated (same time, multiple files) commits > > would be more useful than per-file. Can I just check everything out > > from svn://svn.freebsd.org/base/? > > The conversion from CVS to Subversion was ``good enough'' from what I > see in the svn commit logs. So it may be a good idea to use `svnsync' > to mirror the /base/ repository locally and take it from there. I installed the subversion-freebsd port and pulled in "src" from "head". This lets me do e.g. "svn log -g --xml" locally and get an XML list of commits along the main (head/current) development line going back to 1993. For files changed with each revision I can do "svn diff -c NUM --summarize". Is there a way to get this information integrated with the "svn log" output short of running the command for each revision in the log output? > The instructions for mirroring the Subversion repository are a bit more > involved, but if you decide to go that way, let me know and I will > write a short description of how to do it. I checked out base/head and am in the process of checking out base/stable so I can get commit data from -STABLE branches as well. (I'll probably figure out when each branch (in CVS terms) was created and then use svn log to just get commits after that date for each branch). I don't know that I need to mirror the whole SVN repository but at this point I am planning on going the SVN route so if you have additional tips they would be appreciated. Thanks! JN ___ 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"
Chicken and egg
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"
Re: bsnmpd vs net-snmp
Steve Polyack wrote: > Steve Bertrand wrote: >> Maxim Khitrov wrote: >> >>> Hello all, >>> >>> I'm setting up a firewall and would like to monitor certain system >>> parameters like network, cpu, and memory usage. SNMP is an obvious >>> choice to do the monitoring and I'm planning to set up rrdtool to >>> generate graphs of captured data. The question is what SNMP agent to >>> use. I found net-snmp and bsnmpd (which is included in the base >>> system). Has anyone here used both implementations, and if so, what >>> are the basic differences? >>> >> >> I use bsnmpd, because I couldn't measure 64-bit counters otherwise. >> >> > net-snmp has no problems providing 64-bit counters (interface and > disk). You must build it with -DWITH_MFD_REWRITES (passes > --with-mfd-rewrites to ./configure). I do not know why this is not the > default. It works just fine. I also have a PR open to make this define > a ports 'make config' option (therefore a persistent setting), but the > maintainer has ignored this. I did not know this. Thanks for the heads-up! Steve ___ 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: bsnmpd vs net-snmp
Steve Bertrand wrote: Maxim Khitrov wrote: Hello all, I'm setting up a firewall and would like to monitor certain system parameters like network, cpu, and memory usage. SNMP is an obvious choice to do the monitoring and I'm planning to set up rrdtool to generate graphs of captured data. The question is what SNMP agent to use. I found net-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? I use bsnmpd, because I couldn't measure 64-bit counters otherwise. net-snmp has no problems providing 64-bit counters (interface and disk). You must build it with -DWITH_MFD_REWRITES (passes --with-mfd-rewrites to ./configure). I do not know why this is not the default. It works just fine. I also have a PR open to make this define a ports 'make config' option (therefore a persistent setting), but the maintainer has ignored 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: Modern FreeBSD Installer?
On Sunday 26 April 2009 20:11:36 Neo [GC] wrote: > Just my two cents: > > Why a graphical installer? Shure, it looks nice, easy, modern and more > accessable (examples: Mac OS X, Vista), but on the other hand, for me > FreeBSD never was intended to be fancy, but to be functional. What is wrong with fancy functional ? The two can go together I think. For you it may not be, but I would like it to be for me. And as to now, I don't have any choice : there is no fancy, easy, nice, modern and accessable installer. > The text mode installer: > - works on every PC, every graphics card, every screen, with serial > console, with ssh, with screenreader > - is easy enough for people who are able to use it after the installation > - doesn't need a mouse to be usable So why don't use a text mode for server and a GUI for desktop ? > FreeBSD isn't Linux/OSX/Windows, FreeBSD is not for users who want > eyecandy, FreeBSD is for professinals who want perfectly working > systems, who know how to edit .conf-files, which packages the need and > so on. (at least I think so) Oh so all those desktopusers with Gnome/KDE/... will gladly hear this ! As a desktopuser I can't be a professional who wants a perfectly working system ? Thanks. > IMHO, the biggest problem with graphical installers is that they just > don't work for everyone. For example, my last attempts to install Ubuntu > Linux stopped when the installer didn't work with my graphics card or > just choosed a mode my TFT didn't support. This was such a bad > experience, I didn't wanted to try it anymore. Well, my first install of windows/debian/freebsd/... didn't work out as it was supposed to be either. So ? Even with pc-bsd not all my hardware is recognized now. But if you want something that works for everyone, I don't think that *bsd or linux is something for you. -- Beni. ___ 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: netstat doesn't work
On Tue, 28 Apr 2009 01:24:58 +0800, Dsewnr Lu wrote: DL> I've used FreeBSD 8.0-CURRENT for a month. DL> My kernel is: ( FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #6: DL> Mon Apr 13 23:56:04 CST 2009 DL> r...@localhost:/usr/obj/usr/src/sys/FB8 i386 ) DL> Most things work fine, but the "netstat" command shows nothing for me. DL> Could someone help me ? Probably you rebuild only kernel or only world. Try to rebuild both: kernel and world from same source. -- Anton Yuzhaninov ___ 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?
On Sunday 26 April 2009 19:32:07 Polytropon wrote: > On Sun, 26 Apr 2009 17:06:58 +0200, beni wrote: > > Why should a graphical installer have less functionality ? > hasn't been claimed. GUI installer just requires more resources, > more overhead. Why should a GUI need more functionality than a text based installer ? Why can't both have the same functionality ? > > And what is wrong > > with some eye candy ? > > Eye candy is wrong exactly when it reduces functionality > (instead of adding it). For example, if you need more time > for an installation, require a mouse, or can't use your > Braille readout anymore - then it's wrong- Or better: It's > useless. But why should a GUI be less functional ? I don't see why ! > > Guys, please, wake up, we don't live in the 70's anymore > > ! > > That's why FreeBSD is not following strange MICROS~1 concepts > of how to do several things. :-) > > > I'm using pc-bsd. Why ? Cause of the easy and nice installer. It's as > > simple as that. > > You value an operating system by how the installer LOOKS like? > I'm sure you're kidding. :-) > > Honestly: People can't be that stupid. Oh wait... okay, I didn't > say anything. :-) > > The point is - what I would have better said instead of the > previous two paragraphs - a text mode installer LOOKS more > serious. Serious biznis, you know? Servers, and workstations, > and operating system. For work to be done. Lots of work. Ask > people who work as admins, who keep mailservers running, > webservers, application servers. Do they choose the OS by the > amount of eye candy in the INSTALLER? I'm sure they don't. I'm not a sysadmin, indeed. But it should surprise me a lot if a admin who has to, as you say yourself, keep every server running, need to (re)install a lot of servers on a regular basis. Then there is something seriously wrong. It was my believe that a server needs to be kept running, not being reinstalled twice a week (with or without a GUI installer). And so a desktop user has to do it with the prehistoric sysinstall... And I don't value an OS by its installer, but as a desktop user I think I have already done a bit of (re)installations, be it debian, ubuntu, suse, or Micros~1 in different flavors. > > And before anyone says "do it yourself", "get a sponsor" or something > > down those lines : if it is all about choice, why not give the > > people/user the choice ? Now I don't have any choice : sysinstall or > > pc-bsd... > > Or DesktopBSD. :-) > > > I'm for both : text and graphical :-) > > As I explained in an earlier post: If the GUI installer is > (a) not the only way, (b) not an auto-default, (c) does work > well enough even on older hardware and (d) doesn't make things > more complicated, I wouldn't have any problem with it, I would > even use it! Nice to hear it :-) Me too ! > But please note that many users of FreeBSD are scared by the > way other GUI driven installers work. Much time is needed to > do an installation, and there's more emphasize put on how > things look instead of how they work. So I can understand > everyone who says: "When FreeBSD gets a crappy installerjust > like 'Windows' and some Linusi, then I would look around for > another OS that fits my needs." A pc-bsd is installed in what, 5 or 6 clics (if it is that much). Same for windows or ubuntu. Text based installation takes more time i think. Finetuning and installing programs afterwards takes more time, but that is the same for all those OS'es, no ? So I think we will agree to disagree... -- Beni. ___ 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: bsnmpd vs net-snmp
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). -- Anton Yuzhaninov ___ 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: bsnmpd vs net-snmp
Maxim Khitrov wrote: > Hello all, > > I'm setting up a firewall and would like to monitor certain system > parameters like network, cpu, and memory usage. SNMP is an obvious > choice to do the monitoring and I'm planning to set up rrdtool to > generate graphs of captured data. The question is what SNMP agent to > use. I found net-snmp and bsnmpd (which is included in the base > system). Has anyone here used both implementations, and if so, what > are the basic differences? I use bsnmpd, because I couldn't measure 64-bit counters otherwise. Steve ___ 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"
netstat doesn't work
Hi all, I've used FreeBSD 8.0-CURRENT for a month. My kernel is: ( FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Mon Apr 13 23:56:04 CST 2009 r...@localhost:/usr/obj/usr/src/sys/FB8 i386 ) Most things work fine, but the "netstat" command shows nothing for me. Could someone help me ? Thanks, Dsewnr Lu -- // dsewnr ___ 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: mysql hiding from top
> True, although if it's readily reproducible, it would be good to fix. I'd be happy to test but I do not know what to do/where to start. I know it is a permanent issue, because I even restarted the mysql server thinking that something is wrong that it is not being shown in top but the history repeated itself. Thanks Chuck - I appreciate the time you use to help. -- Zbigniew Szalbot ___ 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: mysql hiding from top
--On Monday, April 27, 2009 11:49:55 -0500 Zbigniew Szalbot wrote: hello, Today I have finally upgraded my system to 7.1-RELEASE and just noticing that mysql process is not being shown via the top command. PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1612 root1 200 9212K 6716K pause 2 0:26 0.00% perl5.8.9 966 www 1 80 8236K 5452K nanslp 2 0:22 0.00% perl5.8.9 1594 root1 200 8740K 6220K pause 0 0:12 0.00% perl5.8.9 However, if you grep processes, you can see it should be displayed in the top entries. $ ps ax |grep mysql 32880 p0- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe... 32906 p0- S 1:33.72 /usr/local/libexec/mysqld... I can live with that but maybe there's some explanation for this? Top doesn't show *all* processes. It shows the processes using the most cpu (by default. You can also display by io.) So, if mysqld isn't using a lot of cpu, it's not going to show up in the list. You might be able to force it to show up by giving top a number (of processes you want to see) that includes enough that mysqld will show up. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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: mysql hiding from top
On Apr 27, 2009, at 10:33 AM, Zbigniew Szalbot wrote: Ah-- I've heard rumors that top or something doesn't handle accounting for CPU time used by multithreaded processes very well... OK. Well I have never had any problem with that on FreeBSD 7.0- RELEASE. It started misbehaving today right after an upgrade to 7.1-RELEASE. Like I said, I can really live with that! :) True, although if it's readily reproducible, it would be good to fix. Thank you! You're most welcome, -- -Chuck ___ 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: mysql hiding from top
> Ah-- I've heard rumors that top or something doesn't handle accounting > for CPU time used by multithreaded processes very well... OK. Well I have never had any problem with that on FreeBSD 7.0-RELEASE. It started misbehaving today right after an upgrade to 7.1-RELEASE. Like I said, I can really live with that! :) Thank you! -- Zbigniew Szalbot ___ 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: mysql hiding from top
On Apr 27, 2009, at 10:22 AM, Zbigniew Szalbot wrote: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND [ ... ] 32906 mysql 37 40 76636K 41664K sbwait 1 0:00 0.10% mysqld It does appear at times but it is showing 0:00 TIME. But compare it to the same mysql pid below: $ ps ax |grep mysql 32906 p0- S 1:41.77 /usr/local/libexec/mysqld This is what I find strange... :) Ah-- I've heard rumors that top or something doesn't handle accounting for CPU time used by multithreaded processes very well... -- -Chuck ___ 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: mysql hiding from top
Hi there, > The process is sleeping-- perhaps it isn't using enough CPU to make it > into the list using default sort ordering? Try "top -o time", > perhaps No, this is a different issue. Take a look: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 88268 www 1 470 40260K 29336K select 2 0:03 2.49% httpd 89632 www 1 440 33648K 23352K CPU0 0 0:00 0.78% httpd 89290 www 1 200 25456K 17760K lockf 2 0:01 0.68% httpd 89074 www 1 440 26384K 17696K select 2 0:00 0.20% httpd 32906 mysql 37 40 76636K 41664K sbwait 1 0:00 0.10% mysqld It does appear at times but it is showing 0:00 TIME. But compare it to the same mysql pid below: $ ps ax |grep mysql 32906 p0- S 1:41.77 /usr/local/libexec/mysqld This is what I find strange... :) -- Zbigniew Szalbot ___ 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: mysql hiding from top
Hello, > Top doesn't show *all* processes. It shows the processes using the most > cpu > (by default. You can also display by io.) So, if mysqld isn't using a > lot of > cpu, it's not going to show up in the list. You might be able to force it > to > show up by giving top a number (of processes you want to see) that > includes > enough that mysqld will show up. Thank you Paul! Yes, I know that. Prior to upgrade mysql was always on top as it used most time. And I can see it now when it is active but it is quite strange that it does not get displayed when the system is idle. Not even when I do top -o time. Thanks! -- Zbigniew Szalbot ___ 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: mysql hiding from top
Hi-- On Apr 27, 2009, at 9:49 AM, Zbigniew Szalbot wrote: However, if you grep processes, you can see it should be displayed in the top entries. $ ps ax |grep mysql 32880 p0- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe... 32906 p0- S 1:33.72 /usr/local/libexec/mysqld... I can live with that but maybe there's some explanation for this? The process is sleeping-- perhaps it isn't using enough CPU to make it into the list using default sort ordering? Try "top -o time", perhaps Regards, -- -Chuck ___ 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"
mysql hiding from top
hello, Today I have finally upgraded my system to 7.1-RELEASE and just noticing that mysql process is not being shown via the top command. PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1612 root1 200 9212K 6716K pause 2 0:26 0.00% perl5.8.9 966 www 1 80 8236K 5452K nanslp 2 0:22 0.00% perl5.8.9 1594 root1 200 8740K 6220K pause 0 0:12 0.00% perl5.8.9 However, if you grep processes, you can see it should be displayed in the top entries. $ ps ax |grep mysql 32880 p0- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe... 32906 p0- S 1:33.72 /usr/local/libexec/mysqld... I can live with that but maybe there's some explanation for this? Thanks! -- Zbigniew Szalbot ___ 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: Apache won't start - undefined symbol "libintl_bindtextdomain"
"I did a "make config" in avahi-app (which is where libintl.so.8 came from)" Sorry, I meant avahi-app is where libavahi-common.so.3 came from (which is the thing that's complaining about a lack of libintl_bindtextdomain). On Mon, Apr 27, 2009 at 12:46 PM, Bill Somerson wrote: > Thanks, but I'm not sure what you mean by "recompiling the mentioned ports > with gettext support". I did a "make config" in avahi-app (which is where > libintl.so.8 came from), and it said there were no configuration options. > Apache 2.2 has a whole bunch of configuration options, but I didn't see any > that were obviously related to gettext. Could you (or someone) please give > me a little more detail on how to do this? > > Just to be explicit, I have the following "gettext" packages installed > (which are the latest as of this morning): > > gettext-0.17_1 > p5-gettext-1.05_2 > > Thanks again. > > > > On Mon, Apr 27, 2009 at 12:35 PM, Adam Vande More > wrote: > >> Bill Somerson wrote: >> >>> Hi, >>> >>> I've installed Apache 2.2, but when I try to start it, I get the >>> following >>> error: >>> >>> httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf: >>> Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: >>> /usr/local/lib/libavahi-common.so.3: Undefined symbol >>> "libintl_bindtextdomain" >>> >>> I don't know what "libintl" is (or "libavahi" or "mod_dnssd.so", for that >>> matter), but my /usr/local/lib does contain a bunch of "libintl" files: >>> >>> libintl.a >>> libintl.la >>> libintl.sogettext >>> libintl.so.8 >>> >>> >> Those are gettext libs... essential for many apps. >> If you don't use >> >> /usr/local/libexec/apache22/mod_dnssd.so >> >> it's safe to remove from apaches config to quell those particular errors. >> You can also try recompiling the mentioned ports with gettext support. >> pkg_info -W will also provide more info. >> >>> I have also installed Subversion, and asked it to use Apache, so I assume >>> that affected my Apache config. >>> >>> I have not made any manual modifications to httpd.conf. >>> >>> I am running 7.0 Release, and I have the following versions of various >>> things that may be related (all of them up to date as of today, as are >>> all >>> my other packages): >>> >>> apache-2.2.11_4 >>> avahi-app-0.6.25 >>> avahi-gtk-0.6.25 >>> subversion-1.6.0_2 >>> >>> Any advice would be greatly appreciated. Thanks in advance. >>> ___ >>> 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" >> > > ___ 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: Apache won't start - undefined symbol "libintl_bindtextdomain"
Thanks, but I'm not sure what you mean by "recompiling the mentioned ports with gettext support". I did a "make config" in avahi-app (which is where libintl.so.8 came from), and it said there were no configuration options. Apache 2.2 has a whole bunch of configuration options, but I didn't see any that were obviously related to gettext. Could you (or someone) please give me a little more detail on how to do this? Just to be explicit, I have the following "gettext" packages installed (which are the latest as of this morning): gettext-0.17_1 p5-gettext-1.05_2 Thanks again. On Mon, Apr 27, 2009 at 12:35 PM, Adam Vande More wrote: > Bill Somerson wrote: > >> Hi, >> >> I've installed Apache 2.2, but when I try to start it, I get the following >> error: >> >> httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf: >> Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: >> /usr/local/lib/libavahi-common.so.3: Undefined symbol >> "libintl_bindtextdomain" >> >> I don't know what "libintl" is (or "libavahi" or "mod_dnssd.so", for that >> matter), but my /usr/local/lib does contain a bunch of "libintl" files: >> >> libintl.a >> libintl.la >> libintl.sogettext >> libintl.so.8 >> >> > Those are gettext libs... essential for many apps. > If you don't use > > /usr/local/libexec/apache22/mod_dnssd.so > > it's safe to remove from apaches config to quell those particular errors. > You can also try recompiling the mentioned ports with gettext support. > pkg_info -W will also provide more info. > >> I have also installed Subversion, and asked it to use Apache, so I assume >> that affected my Apache config. >> >> I have not made any manual modifications to httpd.conf. >> >> I am running 7.0 Release, and I have the following versions of various >> things that may be related (all of them up to date as of today, as are all >> my other packages): >> >> apache-2.2.11_4 >> avahi-app-0.6.25 >> avahi-gtk-0.6.25 >> subversion-1.6.0_2 >> >> Any advice would be greatly appreciated. Thanks in advance. >> ___ >> 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" > ___ 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
Ghirai wrote: The author suggested that increasing the default value of 8 to 16 resulted in increased read speed, and that increasing it further resulted in no noticeable performance gain. Personally, I've seen changes in vfs.read_max to provide anywhere from a 50-100% improvement in disk read performance. As you have also found, the "sweet spot" is sometimes higher than 16. I've seen significant benefits up to vfs.read_max=128 on *some* disk controllers. It really seems dependent on the disks/controllers, but setting 16 has always shown a significant improvement over the default 8 for me. ___ 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: CVS history access?
On Mon, 27 Apr 2009 11:23:32 -0400, John Nielsen wrote: > On Saturday 25 April 2009 09:12:50 pm Giorgos Keramidas wrote: >> On Fri, 24 Apr 2009 05:35:34 -0400, John Nielsen > wrote: >> > I'm working on a machine learning project and I'd like to use the >> > FreeBSD src CVS commit history as a datasource. Is there a >> > resource-friendly way for me to download some or all of it? Format >> > isn't too big an issue. >> > >> > I tried a few "cvs history" commands against the anoncvs servers but >> > get this: cvs [history aborted]: cannot open history file: >> > /home/ncvs/CVSROOT/history: No such file or directory >> >> Do you really want just the `CVSROOT/history' file? We allow mirroring >> of the entire repository, which you can then use to extract any sort of >> historical commit data. (Well, _almost_ anything. Some things like >> repo-copies and renames of raw repository files have been done without >> any sort of record, so it may be impossible to recover *those* >> particular bits.) > > I'm basically looking for a list of all commits over the past N (>2) > years with committer, timestamp, affected file(s) and/or subsystems > and possibly diff size information, etc. I don't know anything about > the "history" file in particular other than that's what cvs complained > about when I tried the "cvs history" commands against anoncvs. It > looks like the /pub/FreeBSD/development/FreeBSD-CVS/src ftp path may > have what I'm looking for (though it may be scattered through the > individual files). I'll probably (try to) set up a local CVS repo and > source it from there and see where that gets me. My CVS-fu is weak so > I'm still open to pointers. There are online instructions for mirroring a full CVS copy, so it should be relatively easy to do that. It mostly boils down to setting up the necessary disk space somewhere locally, installing one of the CVSup ports and configuring a `supfile' like this: *default host=CHANGE_THIS.freebsd.org *default base=/path/to/local/cvs/mirror *default prefix=/path/to/local/cvs/mirror *default release=cvs *default delete use-rel-suffix *default compress cvs-all Yo should change `CHANGE_THIS' with the hostname of a CVSup mirror (a full list can be found in the Handbook), and then point the local CVS mirror directory from `/path/to/local/cvs/mirror' to the place you will keep the mirror. To pull over the CVS mirror files, you can then run: # cvsup -g -L 2 supfile Note that this will take quite some time if you are starting from an empty mirror, and it may be a good idea to rerun cvsup 1-2 times after it's done, to make sure you have the latest changes -- including any changes that were committed between the time you started mirroring and the time the first run was done. FYI, my local copy of the repository uses around 4 GB today, so you should plan to keep the mirror on a disk with at least this amount of space (a few extra GB won't hurt either): # du -sh /home/ncvs 4.0G/home/ncvs # >> We also have a Subversion repository now, that you can use to grab >> commit information. It takes slightly more disk space than the CVS >> repository, but subversion can export XML formatted commit logs, which >> may be slightly more useful if you plan to automate parts of the >> parsing and info-gathering. > > Yes, I'll definitely be automating the parsing, etc. Is it safe to > assume that the cvs2svn migration went successfully? XML logs do sound > appealing and aggregated (same time, multiple files) commits would be > more useful than per-file. Can I just check everything out from > svn://svn.freebsd.org/base/? The conversion from CVS to Subversion was ``good enough'' from what I see in the svn commit logs. So it may be a good idea to use `svnsync' to mirror the /base/ repository locally and take it from there. The instructions for mirroring the Subversion repository are a bit more involved, but if you decide to go that way, let me know and I will write a short description of how to do it. pgpray5r6lHUa.pgp Description: PGP signature
Re: Partitioning for multiple systems
ill...@gmail.com skrev: 2009/4/26 Jorg Andersson : On Sun, Apr 26, 2009 at 03:45:33PM -0600, Tim Judd wrote: I don't recall FreeBSD supporting extended partitions... at all I remember reading they aren't in /dev/ but still is mountable. Is this still the case? They show up just fine here (8-current), and I am fairly sure they were visible in /dev when I was running 7.x The "big deal" is that you can't (easily) install FreeBSD on a logical slice. http://forums.freebsd.org/showthread.php?t=3194 I've had my FreeBSD running from a logical slice for a while now. It's not too hard to do if you already have a working FreeBSD on one of the primary slices. To be able to boot the system I use a patched GRUB boot manager and a patched FreeBSD /boot/loader The tricky part is bootstrapping the system to get all this in place. Gyrd ^_^ ___ 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: Apache won't start - undefined symbol "libintl_bindtextdomain"
Bill Somerson wrote: Hi, I've installed Apache 2.2, but when I try to start it, I get the following error: httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: /usr/local/lib/libavahi-common.so.3: Undefined symbol "libintl_bindtextdomain" I don't know what "libintl" is (or "libavahi" or "mod_dnssd.so", for that matter), but my /usr/local/lib does contain a bunch of "libintl" files: libintl.a libintl.la libintl.sogettext libintl.so.8 Those are gettext libs... essential for many apps. If you don't use /usr/local/libexec/apache22/mod_dnssd.so it's safe to remove from apaches config to quell those particular errors. You can also try recompiling the mentioned ports with gettext support. pkg_info -W will also provide more info. I have also installed Subversion, and asked it to use Apache, so I assume that affected my Apache config. I have not made any manual modifications to httpd.conf. I am running 7.0 Release, and I have the following versions of various things that may be related (all of them up to date as of today, as are all my other packages): apache-2.2.11_4 avahi-app-0.6.25 avahi-gtk-0.6.25 subversion-1.6.0_2 Any advice would be greatly appreciated. Thanks in advance. ___ 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"
bsnmpd vs net-snmp
Hello all, I'm setting up a firewall and would like to monitor certain system parameters like network, cpu, and memory usage. SNMP is an obvious choice to do the monitoring and I'm planning to set up rrdtool to generate graphs of captured data. The question is what SNMP agent to use. I found net-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? Thanks, Max ___ 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"
Apache won't start - undefined symbol "libintl_bindtextdomain"
Hi, I've installed Apache 2.2, but when I try to start it, I get the following error: httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: /usr/local/lib/libavahi-common.so.3: Undefined symbol "libintl_bindtextdomain" I don't know what "libintl" is (or "libavahi" or "mod_dnssd.so", for that matter), but my /usr/local/lib does contain a bunch of "libintl" files: libintl.a libintl.la libintl.so libintl.so.8 I have also installed Subversion, and asked it to use Apache, so I assume that affected my Apache config. I have not made any manual modifications to httpd.conf. I am running 7.0 Release, and I have the following versions of various things that may be related (all of them up to date as of today, as are all my other packages): apache-2.2.11_4 avahi-app-0.6.25 avahi-gtk-0.6.25 subversion-1.6.0_2 Any advice would be greatly appreciated. Thanks in advance. ___ 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"
quick vfs tuning
Hi, I'm running a RAID1 setup with gmirror and geli (AES-128) on top of that. While searching for ways to improve read performance, i found some posts (on kerneltrap i think) about vfs.max_read. The author suggested that increasing the default value of 8 to 16 resulted in increased read speed, and that increasing it further resulted in no noticeable performance gain. Results are below. Starting with vfs.read_max=32: triton# dd if=a.iso of=/dev/null bs=3M 1129+1 records in 1129+1 records out 3554287616 bytes transferred in 176.825898 secs (20100492 bytes/sec) triton# sysctl vfs.read_max=64 vfs.read_max: 32 -> 64 triton# dd if=a.iso of=/dev/null bs=3M 1129+1 records in 1129+1 records out 3554287616 bytes transferred in 162.943189 secs (21813048 bytes/sec) triton# sysctl vfs.read_max=128 vfs.read_max: 64 -> 128 triton# dd if=a.iso of=/dev/null bs=3M 1129+1 records in 1129+1 records out 3554287616 bytes transferred in 149.313994 secs (23804116 bytes/sec) triton# sysctl vfs.read_max=256 vfs.read_max: 128 -> 256 triton# dd if=a.iso of=/dev/null bs=3M 1129+1 records in 1129+1 records out 3554287616 bytes transferred in 150.466241 secs (23621828 bytes/sec) Here is seems to have hit a wall. Going a bit down to 192 results in almost exactly the same numbers, so the best value seems to be 128. As i read, vfs.read_max means 'cluster read-ahead max block count'. Does it read ahead the stuff into some memory? If so, can that memory size be increased via sysctl? Does the improvement in performance have to do with my particular setup (gmirror+geli)? I thought i'd share the results and maybe get a discussion going in this direction. Test was done on a pair of SATA300 HDs spinning at 7200rmp (which are seen as SATA150 by the OS for some reason; i couldn't fix it from the BIOS, so it must be the mobo), and 7.1-RELEASE, i386. -- 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"
[compiling & installing FreeBSD]
alligator...@free.fr writes: > does "make installworld " do any backup of the files it touch? is > any way to failback that "installworld"? Have you read the section of the handbook which explains the accepted procedure for updating the system? Robert Huff ___ 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: [compiling & installing FreeBSD]
On Monday 27 April 2009 11:42:15 am alligator...@free.fr wrote: > does "make installworld " do any backup of the files it touch? is any > way to failback that "installworld"? No. Restore from (your own) backups, installation media, or rebuild the world you need from appropriately-dated sources. > I think I have read that "make installkernel" do a backup of the kernel > in kernel.old but for the world I would like to know. That is correct, but it is only the kernel (and modules) that are backed up this way. JN ___ 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"
[compiling & installing FreeBSD]
dear freeBSD's gurus, question is: does "make installworld " do any backup of the files it touch? is any way to failback that "installworld"? I think I have read that "make installkernel" do a backup of the kernel in kernel.old but for the world I would like to know. Regards ___ 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: CVS history access?
On Saturday 25 April 2009 09:12:50 pm Giorgos Keramidas wrote: > On Fri, 24 Apr 2009 05:35:34 -0400, John Nielsen wrote: > > I'm working on a machine learning project and I'd like to use the > > FreeBSD src CVS commit history as a datasource. Is there a > > resource-friendly way for me to download some or all of it? Format > > isn't too big an issue. > > > > I tried a few "cvs history" commands against the anoncvs servers but > > get this: cvs [history aborted]: cannot open history file: > > /home/ncvs/CVSROOT/history: No such file or directory > > Do you really want just the `CVSROOT/history' file? We allow mirroring > of the entire repository, which you can then use to extract any sort of > historical commit data. (Well, _almost_ anything. Some things like > repo-copies and renames of raw repository files have been done without > any sort of record, so it may be impossible to recover *those* > particular bits.) I'm basically looking for a list of all commits over the past N (>2) years with committer, timestamp, affected file(s) and/or subsystems and possibly diff size information, etc. I don't know anything about the "history" file in particular other than that's what cvs complained about when I tried the "cvs history" commands against anoncvs. It looks like the /pub/FreeBSD/development/FreeBSD-CVS/src ftp path may have what I'm looking for (though it may be scattered through the individual files). I'll probably (try to) set up a local CVS repo and source it from there and see where that gets me. My CVS-fu is weak so I'm still open to pointers. > We also have a Subversion repository now, that you can use to grab > commit information. It takes slightly more disk space than the CVS > repository, but subversion can export XML formatted commit logs, which > may be slightly more useful if you plan to automate parts of the > parsing and info-gathering. Yes, I'll definitely be automating the parsing, etc. Is it safe to assume that the cvs2svn migration went successfully? XML logs do sound appealing and aggregated (same time, multiple files) commits would be more useful than per-file. Can I just check everything out from svn://svn.freebsd.org/base/? Thanks! JN ___ 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: Partitioning for multiple systems
On Sun, Apr 26, 2009 at 11:45:07AM -0700, Michael David Crawford wrote: > I have a machine I plan to use solely for testing. I have FreeBSD > 8.0-CURRENT on it right now, and would like to add FreeBSD 7.2-RC2 as > well as CentOS 5.3 Linux. > > Presently I have three Master Boot Record primary partitions - "slices" > in the FreeBSD parlance, if I understand correctly: > > - A Linux slice to be used for CentOS' /boot > - A BSD slice subdivided into partitions that hold 8.0-CURRENT > - A big FAT slice (so to speak) meant to be split up for 7.2 and CentOS > > A PC-style Master Boot Record can hold a maximum of four primary > partitions, or it can hold three primaries and a single extended > partition that is subdivided into logical partitions. > > The geometries of the logical partitions aren't given in the MBR, but > exist as a linked list. > > I *should* be able to split that FAT slice up into a primary for 7.2 and > an extended partition that will hold CentOS' other partitions; however: > > In Googling about this, I have read some dire warnings about FreeBSD > being unable to understand logical partitions; apparently installing > FreeBSD *before* an extended partition will result in all your logicals > getting trashed. One is advised to put all the FreeBSD MBR partitions > *after* the extended partition. > > Is that the case? Have you any advice for me? FreeBSD is not happy with MS 'extended partitions'. But, I don't really see your problem. You are not using Microsloth for anything. Create your Lunix slice first, then one for FreeBSD 7.2 and finally one for FreeBSD 8.0. You still logically have one left for something but it doesn't seem to be needed and neither does a 'logical partition'. Note that FreeBSD will not run from the FAT slice as far as I know. FreeBSD might be able to mount the CENTOS slice stuff if you use the right type of mount. I don't know about mounting Lunix from FreeBSD. But, you can't do it the other way (eg mount a FreeBSD type filesystem from Lunix - though maybe, I have never tried it) > One more thing: if it's possible, I'd like for the /home directory to be > shared between both of my FreeBSD installations. In a normal > installation, there is a real /usr/home directory, with /home being a > symbolic link. > > If I'm running FreeBSD out of one MBR partition (or slice), can I mount > a directory that's in a different one? MBR has nothing to do with the filesystem type. MBR is just a [usually] one block/sector of code that makes a few choices and then reads in a subsequent, OS-specific block of code to begin the actual boot process.MS MBRs are not very friendly. The FreeBSD MBR will boot any OS that follows the official standard for boot code location. Linux wants you to use some fancier, non-standard (but by now, pretty much usable everywhere) MBRs such as Grub. They all do essentially the same thing - ask you which block you want to boot and then go load it in and transfer over control to it. Generally they don't care what is in the block but MS still goes out of its way to pretend that the rest of the world does not exist so it won't play with others, though I have heard rumors that the newest stuff takes a somewhat broader outlook. >From FreeBSD you can mount other types of filesystems such as MS by using the correct mount types. For example, if you want to mount an MS FAT or FAT32, you use an 'msdosfs' type in your fstab file or mount_msdosfs(8) utility to do the mount. Do some studying to see if you can mount any Lunxi type filesystem from FreeBSD. When you create a new __non-root__ account, you can put the home directory anywhere the system can reliably read and write. DO NOT put the home directory for a root account outside of the root (/) filesystem. Since both FreeBSD 7.xx and 8.xx are going to be UFS type file systems, you could put them both in your /etc/fstab for each and pick a single partition for (non root) home directories. I don't know if that is a good idea, but it should work OK. jerry > > Thanks for your help! > > Mike > -- > Michael David Crawford > m...@prgmr.com > >prgmr.com - We Don't Assume You Are Stupid. > > Xen-Powered Virtual Private Servers: http://prgmr.com/xen > ___ > 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: Modern FreeBSD Installer?
On Mon, Apr 27, 2009 at 02:28:53AM -0500, Gary Gatten wrote: > I'm trying to ignore this thread, but as an infrequent installer, I think it > would be nice for those of us with limited experience to have a context > sensitive help to explain the various install options, such as: what it > is/does, how much disk space, how many/which dependancies, estimated install > time, etc. I don't care if its TUI or GUI - just something to help me make > the various selections at install time. With my luck such a thing is already > there and I just don't know about it, but thought I'd throw it out. I would go for this. I have done hundreds of installations and still find times that I want more information in the middle of things. That is especially true if I try to add some packages at install time. But, I agree that we must not give up on a 'text based' installer that is the most generally usable, even if some other options might be made available.The text based installer could also be massaged a bit to make it a little easier to understand as well, without losing its functionality. Read Jordan Hubbard's white paper whose URL was posted a few days ago. It clarifies things a lot. http://people.freebsd.org/~jkh/package-and-install.txt Probably even more could be said, but that gives an essential frame of reference. jerry > > - Original Message - > From: owner-freebsd-questi...@freebsd.org > > To: Mehmet Erol Sanliturk > Cc: Tim Judd ; FreeBSD Questions Mailing List > > Sent: Sun Apr 26 19:00:07 2009 > Subject: Re: Modern FreeBSD Installer? > > On Sun, 26 Apr 2009 14:52:56 -0400, Mehmet Erol Sanliturk > wrote: > > Last week I have installed Solaris 10 ( 2008-10 ) on a PC ( x86 ) > > having an Intel main board . It did not recognize Philips 220WS LCD ( > > 1680 x 1050 ) monitor and selected itself a text-mode install and also > > booted in text mode. > > > > I moved its hard disk to a PC with an Asus main board having an > > attached CRT Philips 109B6 ( maximum resolution : 1920 x 1440 ) > > monitor . Since boards were different , Solaris 10 could not boot . I > > started an upgrade installation . During that time it become necessary > > to leave PC for a while assuming that installation will wait . With > > its count down and start by itself in its GUI mode . it started to > > install automatically . > > > > At the end , the install become useless because its default detections > > were not what parts were there ( I think it used previously detected > > parts without checking the present parts except monitor and perhaps > > some others , I do not know exactly .) . > > That's why there should be at least the option of a text-mode install > (and it should probably be the default, as Polytropon wrote). I also > hate it when an installer fails to autodetect my video adapter and ends > up showing me a useless blank screen or, even worse, an equally useless > 'out of range' monitor message! > > ___ > 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" > > > > > > > > > "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." > > > ___ > 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: Unexpected gmirror behavior: Is this a bug?
> i think it's a bug but only happens with such massive mirror. very few >people do more than 2-way mirrors that's probably it wasn't catched. > >please do report the bug - it's critical. In fact I just confirmed that if we reduce our mirror to just two members the problem does not occur. The returning member, even if it is the first drive, is always re-synced with the data from the other drive and no data is lost. And yes, it's definitely a critical bug. I'm filing a bug report now, but we may have to fix this in-house before we can release our product with this problem. There is too great a risk for customers to lose data. 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: FreeBSd amd64 bit kernel conf
Thanks Neo, I will post back if anything bits my fingers :-) Regards, Mike On Mon, Apr 27, 2009 at 3:12 PM, Neo [GC] wrote: > HAMMER is the right one for Intel CPUs with EMT64 for running FreeBSD in > 64bit mode. > > In /etc/make.conf chose "nocona" in your CPUTYPE > > > Regards, > Neo [GC] > > Mike Barnard schrieb: > > Hi, >> >> I'm trying to get myself around 64 bit custom kernel configuration for >> FreeBSD on Intel Xeon L5430. >> >> Does any one know what cpu option one should use for this? From my >> reading, >> it seems HAMMER is purely for amd64 architectures. What is the Intel >> architecture option. >> >> Regards, >> >> Mike >> >> >> > -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ 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: X-Org problem
On Saturday 25 April 2009 11:57:38 am Paul B. Mahol wrote: > On 4/24/09, Ott Koestner wrote: > > Neal Hogan wrote: > >> On Fri, Apr 24, 2009 at 7:33 AM, Ott Koestner wrote: > >> > >>> Dear list, > >>> > >>> After upgrading Xorg from ports to the latest version > >>> xorg-server-1.6.0,1 > >>> xorg-7.4_1 > >>> > >>> I am experiencing very unpleasant phenomenon, Xorg randomly exiting with > >>> message: > >>> > >>> Apr 24 15:16:16 ott kernel: pid 7445 (Xorg), uid 0: exited on signal 6 > >>> Apr 24 15:16:16 ott kdm-bin[1020]: X server for display :0 terminated > >>> unexpectedly > >>> > >>> Also, there is a strange behavior with dual-head mode -- when moving > >>> cursor from one screen to another, the little white arrow remains on the > >>> other screen. > >>> > >>> Please help! What might it be? Recompiled probably everything related to > >>> Xorg. Using Nvidia driver version > >>> nvidia-driver-96.43.11 > >>> > >> > >> I'm no expert, but to help those that are, I suggest that you post the > >> contents of your /etc/X11/Xorg.0.log (perhaps a dmesg, too). > >> > >> > > After the crash Xorg is instantly restarted. Probably there is no reason > > to copy the whole log here. Everything looks normal for some time and > > then it restarts just at a random moment. No reason to blame hardware. > > It was stable before pre-previous Xorg server update (over 100 days uptime). > > > > Ill-effects started after I upgraded to xorg-server-1.5.3. Mouse buttons > > started to freeze randomly. That is why I chose to upgrade to > > xorg-server-1.6.0. > > Xorg.0.log.old ends like this: > > ... ... > > > > Fatal server error: > > Caught signal 11. Server aborting > > > > > > Please consult the The X.Org Foundation support > > at http://wiki.x.org > > for help. > > Please also check the log file at "/var/log/Xorg.0.log" for additional > > information. > > pid 7797 (Xorg), uid 0: exited on signal 6 > > pid 47182 (PBReg), uid 1001: exited on signal 10 > > pid 47199 (NetworkTray), uid 1001: exited on signal 11 > > pid 47200 (NetworkTray), uid 1001: exited on signal 11 > > > > > > > >> > >>> With best regards, > >>> Ott Koestner > >>> > I saw on svn-head that signal 6 crash is caused by FreeBSD > malloc/libc, and is fixed on CURRENT but that may not be related to > your problem. Now I have isolated the problem with x.org but still not been able to find a solution. X crash is not random, but keyboard associated and appears 100% when pressing any key on keyboard and and letting it auto-repeat. Meanwhile, updated the whole system (kernel and world) to 7.2-PRERELEASE. Recompiled xf86-input-keyboard and xorg-server, but nothing helps in this case. :( With best regards, Ott Köstner ___ 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: FreeBSd amd64 bit kernel conf
HAMMER is the right one for Intel CPUs with EMT64 for running FreeBSD in 64bit mode. In /etc/make.conf chose "nocona" in your CPUTYPE Regards, Neo [GC] Mike Barnard schrieb: Hi, I'm trying to get myself around 64 bit custom kernel configuration for FreeBSD on Intel Xeon L5430. Does any one know what cpu option one should use for this? From my reading, it seems HAMMER is purely for amd64 architectures. What is the Intel architecture option. Regards, 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"
FreeBSd amd64 bit kernel conf
Hi, I'm trying to get myself around 64 bit custom kernel configuration for FreeBSD on Intel Xeon L5430. Does any one know what cpu option one should use for this? From my reading, it seems HAMMER is purely for amd64 architectures. What is the Intel architecture option. Regards, Mike -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ___ 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: NFS slow
>Jan Catrysse wrote: >> Hello all, >> >> I am having some problems with NFS and slow performance. >> This is the scenario: >> >> 2x FreeBSD 7.1. (Raid storage server, MP, the works) >> >> GB Lan interface between them. >> >> When I transfer 1 big file the speed is never higher than 10MB/s with a peak >> to 14MB/s. >> >> When I transfer multiple files at the same time speed is about 10MB/s per >> thread. >> Disk speed > 100MB/s >> >> Network speed using samba > 60MB/s (limited by clients disk speed) >> >> Tried enabling NFSlockd, NFSstatd but that changes nothing. >> >> Any help or hunch would be greatly appreciated. > >Here are some ideas for testing: > >* Any firewall in between them? Do you have network errors? >* Any other network problems, like DNS lookup failures? (not that it >should matter for sustained tranfers but still...) >* Are you using TCP or UDP for NFS? TCP should be better in all cases. >* Have you monitored the system with "top"? Try hitting "S" and "H" in >top while transfering files, see if anything looks suspicious. >* Run "iostat 1", check tps and KB/t. >* What file system are you using? Hello Ivoras, NFS TCP did the trick. I tried it already but I didn't properly dismount the volumes before remounting them on TCP. I did a mount -u -a instead. Using netstat it became clear NFS was still using UDP. A umount and mount -a did the trick! Thnx! Jan ___ 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: Partitioning for multiple systems
2009/4/26 Jorg Andersson : > On Sun, Apr 26, 2009 at 03:45:33PM -0600, Tim Judd wrote: >> I don't recall FreeBSD supporting extended partitions... at all > > I remember reading they aren't in /dev/ but still is mountable. Is this > still the case? They show up just fine here (8-current), and I am fairly sure they were visible in /dev when I was running 7.x The "big deal" is that you can't (easily) install FreeBSD on a logical slice. http://forums.freebsd.org/showthread.php?t=3194 -- -- ___ 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"
acroread run problem
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)' 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): Pango-WARNING **: No builtin or dynamically loaded modules were found. Pango will not work correctly. This probably means there was an error in the creation of: '/etc/pango/pango.modules' You may be able to recreate this file by running pango-querymodules. (acroread:67581): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0) aborting... [1]+ Exit 1 acroread I do have: /usr/compat/linux/etc/pango drwxr-xr-x 2 root wheel512 Apr 24 09:51 i686-redhat-linux-gnu -rw-r--r-- 1 root wheel 11446 Apr 24 09:50 pangox.alia
Re: mergemaster -U overwriting modified files
Peter Schuller wrote: > I recently began testing mergemaster -U since the perpetual "review > diff of file I never touched" grows annoying real quick. > > Unfortunately I recently discovered that it does not seem to do what > you might expect. For example it nuked my mailer.conf on one machine, > and my /etc/namedb/named.conf (!!!) on another machine. > > Is this a bug or intended? What is the intended functionality of -U? It may be useful, prior to running "mergemaster -U", to run mtree -eq -f /var/db/mergemaster.mtree -p / | grep changed to see what mergemaster considers changed. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru ___ 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"
PAM/ldap_pam/NFSv4: How let users of a speicific group log into a specific box?
Hello. I run into a specific problem and for several months of experiments I havn't found a solution, yet. This is what I wish to get and need: A simple capability of selecting users into a specific group. Members of such a group should then log into a set of specific hosts. Infrastructure is FreeBSD 8.0-CURRENT/amd64 and some 7.2-STABLE boxes (acting as server) as well as OpenLDAP backend. Authentication on boxes is done via PAM/ldap_pam. But it is on FreeBSD's side a vanilla configuration, not very sophisticated. Users autheticate and authorize against an OpenLDAP server residing on another box. pam_ldap in its most recent ports-version offers, as the manpage claims, a facility enabling group logins (resides in /usr/local/etc/ldap.conf): # Group to enforce membership of pam_groupdn cn=mygroup,ou=groups,dc=foo,dc=org?sub # Group member attribute #pam_member_attribute uniqueMember pam_member_attribute memberUid Within the DIT of the OpenLDAP server ou=groups exists and contains also a group called 'mygroup' with a multi-value attribute (as required), in this case memberUid. Using pam_ldap.so as a 'required' module is not appreciated, so there seems a problem to me with the stack order - should say: I need a LDAP solution. pam_group doesn't work for me: authrequired/requisite pam_group.sono_warn group=mygroup Can anybody help or do have hints? Please remember I do not belon g to the 'questions' list, so please put me into your mail-cc. Regards, Oliver ___ 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?
I'm trying to ignore this thread, but as an infrequent installer, I think it would be nice for those of us with limited experience to have a context sensitive help to explain the various install options, such as: what it is/does, how much disk space, how many/which dependancies, estimated install time, etc. I don't care if its TUI or GUI - just something to help me make the various selections at install time. With my luck such a thing is already there and I just don't know about it, but thought I'd throw it out. - Original Message - From: owner-freebsd-questi...@freebsd.org To: Mehmet Erol Sanliturk Cc: Tim Judd ; FreeBSD Questions Mailing List Sent: Sun Apr 26 19:00:07 2009 Subject: Re: Modern FreeBSD Installer? On Sun, 26 Apr 2009 14:52:56 -0400, Mehmet Erol Sanliturk wrote: > Last week I have installed Solaris 10 ( 2008-10 ) on a PC ( x86 ) > having an Intel main board . It did not recognize Philips 220WS LCD ( > 1680 x 1050 ) monitor and selected itself a text-mode install and also > booted in text mode. > > I moved its hard disk to a PC with an Asus main board having an > attached CRT Philips 109B6 ( maximum resolution : 1920 x 1440 ) > monitor . Since boards were different , Solaris 10 could not boot . I > started an upgrade installation . During that time it become necessary > to leave PC for a while assuming that installation will wait . With > its count down and start by itself in its GUI mode . it started to > install automatically . > > At the end , the install become useless because its default detections > were not what parts were there ( I think it used previously detected > parts without checking the present parts except monitor and perhaps > some others , I do not know exactly .) . That's why there should be at least the option of a text-mode install (and it should probably be the default, as Polytropon wrote). I also hate it when an installer fails to autodetect my video adapter and ends up showing me a useless blank screen or, even worse, an equally useless 'out of range' monitor message! ___ 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" "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ 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"