Re: The book of pf...

2011-01-18 Thread Christer Solskogen
On Tue, Jan 18, 2011 at 7:35 PM, Kevin Wilcox wrote: > 1) Definitely get the first version > Oh, why? -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: use of menus crashes Firefox?

2011-01-18 Thread Chuck Swiger
On Jan 18, 2011, at 8:29 PM, Keith Seyffarth wrote: > I did this: > $ gdb /usr/local/lib/firefox3/firefox-bin 10388 > > This results in Firefox being locked and non-responsive to the user interface. Enter "run", or "c" for continue. If and when Firefox crashes, you will be able to gain more use

Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
> Right - firefox3 is a script that sets up a couple environment > variables and runs the real binary. You need to gdb the real binary > (which is in /usr/local/lib/firefox or somesuch - its not in any > remotely normal $PATH). Since the environment stuff the script does is > required for it to sta

Re: use of menus crashes Firefox?

2011-01-18 Thread Rob Farmer
On Tue, Jan 18, 2011 at 18:53, Keith Seyffarth wrote: > > Chuck Swiger writes: > >> On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote: >>> $ gdb --exec=firefox3 >>> This GDB was configured as >>> "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable >>> format: File format not recog

Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
Chuck Swiger writes: > On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote: >> $ gdb --exec=firefox3 >> This GDB was configured as >> "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable >> format: File format not recognized > > What does "file /usr/local/bin/firefox3" say? $ file

Re: use of menus crashes Firefox?

2011-01-18 Thread Chuck Swiger
On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote: > $ gdb --exec=firefox3 > This GDB was configured as > "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable > format: File format not recognized What does "file /usr/local/bin/firefox3" say? If it's a Linux binary, then you might n

Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
> Run it under gdb, look at the backtrace. Bad system call implies a > mismatch between your shared libraries and kernel, or maybe you are > loading some plugin or something which has been compiled for a > different version of the platform. Chuck, Thanks for the suggestion. I can't figure out

Re: rusage and pthreads

2011-01-18 Thread Chuck Swiger
On Jan 18, 2011, at 5:01 PM, Mark Terribile wrote: > and continues further down > >ru = &td->td_ru; >ru->ru_ixrss += pgtok(vm->vm_tsize); >ru->ru_idrss += pgtok(vm->vm_dsize); >ru->ru_isrss += pgtok(vm->vm_ssize); > > This looks to me like it's accumulating the dat

Re: rusage and pthreads

2011-01-18 Thread Mark Terribile
Chuck, I forgot to add: > Nope.  statclock() is fired off periodically (with > some fuzz, to avoid clever games by processes trying to > avoid being sampled) to update the stats for the currently > running process. Which would mean that a process that is occupying memory but doesn't happen to

Re: rusage and pthreads

2011-01-18 Thread Mark Terribile
Chuck, > > I'm trying to figure out the interactions between > rusage and pthreads. > > There largely isn't any-- struct rusage is per-process, not > per thread. > > Peeking around in the kernel (7.2) I see updates > occurring in various places.  kern_clock.c, for > instance, appears to increme

Re: harddrive encryption

2011-01-18 Thread RW
On Tue, 18 Jan 2011 08:10:40 -0800 Chip Camden wrote: > It seems prudent to me to reduce the attack surface to that which > really needs to be defended -- "When you defend everything, you > defend nothing". Not to mention avoiding the overhead of encrypting > OS files. I don't think the plain t

Re: rusage and pthreads

2011-01-18 Thread Chuck Swiger
On Jan 18, 2011, at 4:07 PM, Mark Terribile wrote: > I'm trying to figure out the interactions between rusage and pthreads. There largely isn't any-- struct rusage is per-process, not per thread. > Peeking around in the kernel (7.2) I see updates occurring in various places. > kern_clock.c, for

rusage and pthreads

2011-01-18 Thread Mark Terribile
Hi, I'm trying to figure out the interactions between rusage and pthreads. Peeking around in the kernel (7.2) I see updates occurring in various places. kern_clock.c, for instance, appears to increment the memory occupancy (*rss) counters. This would make it appear that every thread gets pa

Re: use of menus crashes Firefox?

2011-01-18 Thread Chuck Swiger
On Jan 18, 2011, at 2:56 PM, Keith Seyffarth wrote: > Core was generated by `firefox-bin'. > Program terminated with signal 12, Bad system call. > #0 0x29d7f16b in ?? () > > Now, again, this is in Firefox 3.5. That message isn't very informative > to me, but maybe it is helpful to someone else?

Re: use of menus crashes Firefox?

2011-01-18 Thread Rolf Nielsen
2011-01-19 00:42, Keith Seyffarth skrev: Rolf, Thanks for the info. Are you by any chance overriding CFLAGS in /etc/make.conf? Or perhaps No, /etc/make.conf is just three lines: WITH_CUPS=yes # added by use.perl 2010-12-22 15:53:20 PERL_VERSION=5.10.1 even compiling using a gcc version

Re: documentation OF FreeBSD

2011-01-18 Thread Polytropon
On Tue, 18 Jan 2011 18:32:36 -0500, Mike Jeays wrote: > I agree about using Kmail with KDE; it is a well-designed > mail program. However, using Kmail with Gnome was a horrible > experience; it drags in and keeps starting up nepomuk and its > friends, and chews up much of one's CPU capacity with a

Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
Rolf, Thanks for the info. > Are you by any chance overriding CFLAGS in /etc/make.conf? Or perhaps No, /etc/make.conf is just three lines: WITH_CUPS=yes # added by use.perl 2010-12-22 15:53:20 PERL_VERSION=5.10.1 > even compiling using a gcc version not in the base system? I had that > exa

Re: documentation OF FreeBSD

2011-01-18 Thread Mike Jeays
On Tue, 18 Jan 2011 20:43:01 +0100 Polytropon wrote: > On Tue, 18 Jan 2011 17:07:12 +0200, Ross Cameron > wrote: > > Considering the wording of the original posting I HIGHLY doubt the OP would > > be willing to use PINE/MUTT/MAIL. > > > > So they hardly count,... 99% chances (my bet anyways) a

Re: harddrive encryption

2011-01-18 Thread User Wojtek
no at installation if you use standard installer. as i don't use standard installer at all, i don't have such a problem. i use any bootable FreeBSD media (actualy my own made pendrive), and then make labels, do newfs, mount, unpack files etc. if you can't do that then you may follow my advice

Re: use of menus crashes Firefox?

2011-01-18 Thread Rolf Nielsen
2011-01-18 23:56, Keith Seyffarth skrev: OK. This is still being a problem. I've removed Firefox 3.6 from my system and installed Firefox 3.5. Use of menus doesn't cause 3.5 to crash, but it sill has problems. On some web sites, the browser dumps core. For example trying to log in, create an ac

Re: Keyboard repeat issues with Dell Optiplex 980s

2011-01-18 Thread Jeremy Chadwick
On Tue, Jan 18, 2011 at 04:40:13PM -0500, Steve Polyack wrote: > > We've recently upgraded a few desktop workstations from Dell > Optiplex 960s to Optiplex 980s. We were running FreeBSD > 8.1-RELEASE. The migration was performed by simply swapping the > drives into the new systems. Immediately

Mounting a recovered disk

2011-01-18 Thread Andrea Venturoli
Hello. I'm trying a rescue on a failing drive. I used ddrescue to get an image (which showed a single unreadable sector). # file myimage myimage: x86 boot sector, LInux i386 boot LOader; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: I

Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
OK. This is still being a problem. I've removed Firefox 3.6 from my system and installed Firefox 3.5. Use of menus doesn't cause 3.5 to crash, but it sill has problems. On some web sites, the browser dumps core. For example trying to log in, create an account, or retrieve a password at forum.para

Keyboard repeat issues with Dell Optiplex 980s

2011-01-18 Thread Steve Polyack
We've recently upgraded a few desktop workstations from Dell Optiplex 960s to Optiplex 980s. We were running FreeBSD 8.1-RELEASE. The migration was performed by simply swapping the drives into the new systems. Immediately after switching people over, they all began to report bizarre keyboa

Re: a few Last qstns on the wordpress installation....

2011-01-18 Thread C. P. Ghost
On Fri, Jan 14, 2011 at 10:20 PM, Gary Kline wrote: >        I've been trying my level best to keep the sharks'teeth of >        reality from knocking me too far ever since last Sunday when the >        murders in Tuscon invaded the news and other parts of life. >        Then, last night, I learne

Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-18 Thread Yuri
On 01/18/2011 06:23, Paul B Mahol wrote: Does reverting: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h fixed problem? Yes it does fix the problem. Yuri ___ freebsd-questions@freebsd.org

Re: documentation OF FreeBSD

2011-01-18 Thread Polytropon
On Tue, 18 Jan 2011 17:07:12 +0200, Ross Cameron wrote: > Considering the wording of the original posting I HIGHLY doubt the OP would > be willing to use PINE/MUTT/MAIL. > > So they hardly count,... 99% chances (my bet anyways) are that hey wanted a > GUI app for this. In this case, out of the

Re: How to adjust man page line length

2011-01-18 Thread Polytropon
On Tue, 18 Jan 2011 06:48:13 -0600, David Kelly wrote: > > On Jan 17, 2011, at 9:40 PM, David J. Weller-Fahy wrote: > > > To expand on the question in the subject: How does one tell `man` not to > > automatically format man pages to 80 columns? I'm looking for a fairly > > easy way to do this,

Re: The book of pf...

2011-01-18 Thread Kevin Wilcox
On 17 January 2011 23:37, Modulok wrote: > Or perhaps someone could suggest something else? I read the examples > and basic handbook for pf, but wanted a bit more. I'm going to be > tacking a firewall project coming up and need to be well prepared. > Suggested readings appreciated. 1) Definitely

Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2011-01-18 Thread Peter Boosten
On 18 jan 2011, at 12:45, C. P. Ghost wrote: > Just guessing: have you missed the following entries in > /usr/ports/UPDATING and messed up your environment? No, I actually performed these. I think it's some very old stuff roaming my machine. For instance, I have no idea how an older version of

Re: How to adjust man page line length

2011-01-18 Thread David Kelly
On Tue, Jan 18, 2011 at 06:11:13PM +0100, Giorgos Keramidas wrote: > On Mon, 17 Jan 2011 21:40:38 -0600, "David J. Weller-Fahy" > wrote: > > To expand on the question in the subject: How does one tell `man` > > not to automatically format man pages to 80 columns? I'm looking > > for a fairly eas

Re: The book of pf...

2011-01-18 Thread Modulok
> No. The second edition also includes the syntax for FreeBSD 8.x.(It > also includes the old sytnax for OpenBSD as well as the new syntax) > > -- > chs, Thank you! That's what I needed to know. -Modulok- ___ freebsd-questions@freebsd.org mailing list h

Re: harddrive encryption

2011-01-18 Thread Bruce Cran
On Mon, 17 Jan 2011 21:30:39 +0100 Alokat wrote: > is it possible to encrypt my full harddrive (excluding /boot) during > a freebsd installation. Or do I have to do this after the > installation manually? The FreeBSD installer (sysinstall) doesn't support anything other than plain UFS but PCBSD'

Re: harddrive encryption

2011-01-18 Thread Roland Smith
On Tue, Jan 18, 2011 at 08:10:40AM -0800, Chip Camden wrote: > It seems prudent to me to reduce the attack surface to that which really > needs to be defended -- "When you defend everything, you defend nothing". > Not to mention avoiding the overhead of encrypting OS files. Indeed. > What do you

Re: How to adjust man page line length

2011-01-18 Thread Giorgos Keramidas
On Mon, 17 Jan 2011 21:40:38 -0600, "David J. Weller-Fahy" wrote: > To expand on the question in the subject: How does one tell `man` not to > automatically format man pages to 80 columns? I'm looking for a fairly > easy way to do this, or confirmation it would involve internal > gymnastics I ma

Re: harddrive encryption

2011-01-18 Thread Chip Camden
Quoth Roland Smith on Tuesday, 18 January 2011: > On Mon, Jan 17, 2011 at 10:05:53PM -0700, Modulok wrote: > > On 1/17/11, Roland Smith wrote: > > > On Mon, Jan 17, 2011 at 09:30:39PM +0100, Alokat wrote: > > >> Hi, > > >> > > >> is it possible to encrypt my full harddrive (excluding /boot) during

mit-scheme

2011-01-18 Thread xinyou yan
Yesterday I make install the mit-scheme. And i use some methods in the repl. However. I don't know how to compile a code file Here is " how to compile " in mit-scheme User’s Manual 4.1 Compilation Procedures cf filename [destination] [procedure] This is the program that transf

Re: documentation OF FreeBSD

2011-01-18 Thread Ross Cameron
Considering the wording of the original posting I HIGHLY doubt the OP would be willing to use PINE/MUTT/MAIL. So they hardly count,... 99% chances (my bet anyways) are that hey wanted a GUI app for this. "Opportunity is most often missed by people because it is dressed in overalls and looks li

Re: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-18 Thread Paul B Mahol
On Mon, Jan 17, 2011 at 5:12 PM, Yuri wrote: > >> Do you load ndis and if_ndis via loader.conf too? >> > > Yes, presense of if_ndis and ndis in loader.conf doesn't change anything. Does reverting: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4

Re: How to adjust man page line length

2011-01-18 Thread David Kelly
On Jan 17, 2011, at 9:40 PM, David J. Weller-Fahy wrote: > To expand on the question in the subject: How does one tell `man` not to > automatically format man pages to 80 columns? I'm looking for a fairly > easy way to do this, or confirmation it would involve internal > gymnastics I may not be

Re: The book of pf...

2011-01-18 Thread Christer Solskogen
On Tue, Jan 18, 2011 at 9:25 AM, Adam Vande More wrote: > On Mon, Jan 17, 2011 at 10:37 PM, Modulok wrote: > >> List, >> >> "The Book of PF: A No-Nonsense Guide to the OpenBSD Firewall" >> >> This book comes in two editions. The first was published in December >> 2007, the second, November, 2010.

Re: documentation OF FreeBSD

2011-01-18 Thread Bas Smeelen
On 01/18/2011 12:04 PM, Ross Cameron wrote: > On Tue, Jan 18, 2011 at 11:57 AM, gs_stol...@juno.com > wrote: > >> I remember that there was a documentation project going on for >> FreeBSD and >> I'd like know its status and URL . Hopefully there is a good index (I >> consider this an >

Re: documentation OF FreeBSD

2011-01-18 Thread Bruce Cran
On Tue, 18 Jan 2011 13:04:58 +0200 Ross Cameron wrote: > All of the above is accomplished using a Mail User Agent (MUA) > application,... there are litterally thousands to choose from so it is > HIGHLY unlikely that any open source OS will include this in the > manual... You mean something like

Re: Updating glib from 2.24.2 to 2.26.1_1 fails

2011-01-18 Thread C. P. Ghost
On Mon, Jan 17, 2011 at 7:07 PM, Peter Boosten wrote: > > On 14 dec 2010, at 09:12, Peter Boosten wrote: > >> Hi all, >> >> In an attempt to update glib on my 8.0-machine, portupgrade stops with >> this message: >> >> >> >> gnome-libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. >> -DG_LOG_DOMAI

Re: documentation OF FreeBSD

2011-01-18 Thread Ross Cameron
On Tue, Jan 18, 2011 at 11:57 AM, gs_stol...@juno.com wrote: > I remember that there was a documentation project going on for > FreeBSD and > I'd like know its status and URL . Hopefully there is a good index (I > consider this an > essential tool in books). On the FRONT PAGE of the

documentation OF FreeBSD

2011-01-18 Thread gs_stol...@juno.com
I remember that there was a documentation project going on for FreeBSD and I'd like know its status and URL . Hopefully there is a good index (I consider this an essential tool in books). Another section I would like to see is one about internet access and also the subsection abou

Bluetooth mouse does not work after reboot

2011-01-18 Thread David Demelier
Hello, I bought a Logitech V470 bluetooth mouse for my laptop. I followed this website to configure mine : http://astralblue.livejournal.com/357664.html It had worked correctly yesterday (when I setup everything) now nothing happens, after the reboot if I put the mouse in the association sta

Re: The book of pf...

2011-01-18 Thread Adam Vande More
On Mon, Jan 17, 2011 at 10:37 PM, Modulok wrote: > List, > > "The Book of PF: A No-Nonsense Guide to the OpenBSD Firewall" > > This book comes in two editions. The first was published in December > 2007, the second, November, 2010. Does anyone have this? And if so > would I be correct to get the