Re: ACPI? problem with release 8.0

2010-04-12 Thread Malcolm Kay
I desperately need to make some progress on this issue.

Is it likely that the issue is real rather than hardware
or disk corruption? Earlier releases are operating OK on the same 
machine.

I have now confirmed that:
 debug.acpi.disabled=acad button cpu lid thermal timer video
still leaves the system crashing and powering down when idle for 
a while. And the more extensive:
 debug.acpi.disabled=acad bus children button cmbat cpu ec isa
 lid pci pci_link sysresource thermal timer video
does the same.

I don't really need power management but with acpi disabled the
disks are not visible to the system.

Are there sysctl variables that can influence this behaviour?
Currently I believe we have:

hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: NONE
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
machdep.idle: amdc1e
machdep.idle_available: spin, amdc1e, hlt, acpi,

However on the earlier RELEASEs that work I note we do not have 
machdep.idle or machdep.idle_available. Instead I find:
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 0

Although I've not been able to relate this directly to my problem 
from Googling it seems that there some issues with amdc1e under
BSD, Linux and perhaps Windows. But all the references seem to 
amd c1e are related to systems in 64 bit mode while I am running 
(or trying to run) i386 so I wonder why I have:
  machdep.idle: amdc1e

Maybe my problem is not acpi as such but this idle mode.

My thought is to change this to
  machdep.idle: hlt
or even
  machdep.idle: acpi

Any comments or ideas please!

Thank you for your attention.

Malcolm Kay


On Sat, 10 Apr 2010 05:22 pm, Malcolm Kay wrote:
 My machine had two SATA 300GB drives
 (WDC WD3200KS-00PFB0 21.00M21) one carrying FreeBSD
 RELEASE-6.3 and the other RELEASE-7.0 all of which worked OK.

 Recently added SATA 1TB (WDC WD10EADS-00P8B0 01.00A01) and
 installed RELEASE 8.0 thereon. When I boot to RELEASE 8.0
 I find after some time, few minutes to rather more minutes
 the system just powers down without warning or any obvious
 cause. It seems to mostly happen when the system is relatively
 quiet.

 Suspecting the ACPI I added:
  hint.acpi.0.disabled=1
 to loader.conf.
 I then found RELEASE 8.0 would not boot -- or at least
 it was unable to mount root. I get a mountroot prompt
 but this seemed not to accept anything I could think of,
 and ? to list available targets yielded nothing. Rebooting
 and overriding this with option 2 (enable ACPI) in the boot
 menu took me back to a bootable but fragile system.

 Changing the loader.conf entry to:
  debug.acpi.disabled=all
 had the same effect as the hint.acpi.0.disabled=1.

 I then thought to be somewhat selective with
 debug.acpi.disabled and intended to try:
  debug.acpi.disabled=acad button cpu lid thermal timer video
 only now as I write this I discover I actually entered:
  debug.acpi.disabled=acadbutton cpu lid thermal timer video

 Now the RELEASE-8.0 booted but remained fragile.

 I've repaired this last entry and will proceed to try it.
 Meanwhile I feel I am fumbling about in the dark without
 sufficient (or any real) knowledge of the range of tasks
 performed by ACPI.

 Is my guess that I have an interaction problem between ACPI
 and RELEASE-8.0 a reasonable one? Where can I go from here?

 The system uses a Gigabyte GA-M55SLI-S4 mother board and the
 prcessor is AMD Athlon(tm) 64 X2 Dual Core Processor 5600+

 Please offer suggestions or comments.

 Malcolm Kay


 ___
 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: ACPI? problem with release 8.0

2010-04-12 Thread Adam Vande More
On Mon, Apr 12, 2010 at 1:01 AM, Malcolm Kay
malcolm@internode.on.netwrote:

 I desperately need to make some progress on this issue.

 Is it likely that the issue is real rather than hardware
 or disk corruption? Earlier releases are operating OK on the same
 machine.

 I have now confirmed that:
  debug.acpi.disabled=acad button cpu lid thermal timer video
 still leaves the system crashing and powering down when idle for
 a while. And the more extensive:
  debug.acpi.disabled=acad bus children button cmbat cpu ec isa
  lid pci pci_link sysresource thermal timer video
 does the same.

 I don't really need power management but with acpi disabled the
 disks are not visible to the system.

 Are there sysctl variables that can influence this behaviour?
 Currently I believe we have:

 hw.acpi.supported_sleep_state: S1 S4 S5
 hw.acpi.power_button_state: S5
 hw.acpi.sleep_button_state: S1
 hw.acpi.lid_switch_state: NONE
 hw.acpi.standby_state: S1
 hw.acpi.suspend_state: NONE
 hw.acpi.sleep_delay: 1
 hw.acpi.s4bios: 0
 hw.acpi.verbose: 0
 hw.acpi.disable_on_reboot: 0
 hw.acpi.handle_reboot: 0
 hw.acpi.reset_video: 0
 hw.acpi.cpu.cx_lowest: C1
 machdep.idle: amdc1e
 machdep.idle_available: spin, amdc1e, hlt, acpi,

 However on the earlier RELEASEs that work I note we do not have
 machdep.idle or machdep.idle_available. Instead I find:
 machdep.cpu_idle_hlt: 1
 machdep.hlt_cpus: 0

 Although I've not been able to relate this directly to my problem
 from Googling it seems that there some issues with amdc1e under
 BSD, Linux and perhaps Windows. But all the references seem to
 amd c1e are related to systems in 64 bit mode while I am running
 (or trying to run) i386 so I wonder why I have:
  machdep.idle: amdc1e

 Maybe my problem is not acpi as such but this idle mode.

 My thought is to change this to
  machdep.idle: hlt
 or even
  machdep.idle: acpi

 Any comments or ideas please!

 Thank you for your attention.


Is there anything in /var/log/messages which indicates the cause?  Can you
monitor cpu temp?


-- 
Adam Vande More
___
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: setting sendmail.mc options?

2010-04-12 Thread Giorgos Keramidas
On Mon, 5 Apr 2010 03:53:18 -0700, Jeff Hamann 
jeff.ham...@forestinformatics.com wrote:
 I'm sure this isn't the correct place for this question, but I'm not
 sure where to go as I only use my FreeBSD Unleashed to admin my
 sendmail.

 I'm a newbie at this and could use a little help.

 I'm trying to configure sendmail, using the freebsd port, to only
 relay mail once a day (I hate emails every few minutes), and if
 possible to hold outbound mail in the que (I think there's some que)
 until some fixed time (like 7am) so that all my mail is transferred
 then.

 I've tried adding:

 #sendmail_flags=-bp -q480m and
 #sendmail_flags=-q120m

 after my

 sendmail_enable=YES

 and that didn't seem to work.

There are different options for each instance of Sendmail:

  $ grep 'sendmail.*flags' /etc/defaults/rc.conf
  sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
  sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
  sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound 
only)
  sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
  $

So you have to set the sendmail_xxx_flags of the daemon you are using,
instead of the global sendmail_flags.

___
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: are the are C [or C++] src sites ....

2010-04-12 Thread Andreas Maechler
Also consider http://www.google.com/codesearch which lets you search
through public code in many different ways.

Andy

On Mon, Apr 12, 2010 at 4:18 AM, Charlie Kester corky1...@comcast.net wrote:

 On Sun 11 Apr 2010 at 15:39:16 PDT Gary Kline wrote:

 On Sat, Apr 10, 2010 at 12:45:15PM -0700, Charlie Kester wrote:

        i used more strict search terms and found around 30 sites.
        none seemed that promising.

        what i am thinking of is functions that work in any of
        several venues:

                math,
                [every] science,
                strings,
                filenames,
                queues,
                stacks,
                arrays,
                whatever.

                thanks for your insights.  i used something like
                c-language functions  :-)

                gary

 Try searching for 'algorithms'.
 One of my favorite sites for that is the Stony Brook Algorithms
 Repositor: http://www.cs.sunysb.edu/~algorith/

 The Algorithm Design book associated with that site is also quite good.

 But most good algorithms sites and books will have something on the
 topics you list.
 ___
 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: Auto update

2010-04-12 Thread krad
On 11 April 2010 18:32, Randal L. Schwartz mer...@stonehenge.com wrote:

  Jos == Jos Chrispijn ker...@webrz.net writes:

 Jos In order to find out if someone logged in, I should then first copy
 auth.log
 Jos to auth2.log, and do a compare and then do the tail trick. Have to
 cron that
 Jos every half a minute.

 No, just track it with tail -f as was already suggested.

 tail -f /var/log/authlog | while read aline; do; ... ; done

 The code in the middle will get executed as each line appears in the
 file.  This even survives authlog renaming when you logroll.

 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
 See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
 discussion
 ___
 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


no use -F not -f as log rotation will break it otherwise
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to make man pages

2010-04-12 Thread Fbsd1

For the questions list archives:
I wrote an How To  Creating a manpage from scratch.

You can read it here.

http://www.daemonforums.org/showthread.php?t=4602

Thanks to all the people who replied to my post.

Joe

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


Re: How to make man pages

2010-04-12 Thread Giorgos Keramidas
On Mon, 12 Apr 2010 16:49:04 +0800, Fbsd1 fb...@a1poweruser.com wrote:
 For the questions list archives:
 I wrote an How To  Creating a manpage from scratch.

 You can read it here.

 http://www.daemonforums.org/showthread.php?t=4602

 Thanks to all the people who replied to my post.

Nice post.  This is exactly the sort of post that raises the signal to
noise ratio in web-based forums.  Good job writing it :-)

You should probably try to grok some of the semantic markup requests
like .Op too though.  For example this part:

: SYNOPSIS
:  jail [-dhi] [-J jid_file] [-l -u username | -U username] [-c | -m]
:  jail [-hi] [-n jailname] [-J jid_file] [-s securelevel]
:   [-l -u username | -U username] [path hostname [ip[,..]]

Is commonly written in several lines.  If you try to read each line
separately they do make sense, e.g.:

.Nm
.Op Fl dhi

Will render as:

jail [-dhl]

with the flag letters displayed in bold text.

The .Op macro wraps everything in [...] brackets.

The .Fl macro marks up 'command flags'.

It takes a bit of practice to write manpages using this sort of markup,
but the displayed output looks great in ascii, PostScript or HTML output
modes.  So it's worth trying to learn more about it.

___
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


fetchmail - problems with ssl since upgrade to 6.3.16

2010-04-12 Thread Ewald Jenisch
Hi,

Recently during portupgrades fetchmail also got upgraded to
6.3.16. Since then I'm experiencing problems when trying to fetch
mails from a pop server via ssl.

Here's the error message I'm getting:

fetchmail: Issuer Organization: anonymized
fetchmail: Issuer CommonName: anomymized
fetchmail: Server CommonName: anomymized
fetchmail: anonymized key fingerprint: anonymized
fetchmail: anonymized fingerprints match.
fetchmail: Server certificate verification error: self signed certificate
34381474120:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 
verify failed:s3_clnt.c:1056:
fetchmail: SSL connection failed.

The above message normally indicates that the cert on the server might
have changed. This however is definitely not the case (I'm managing
the server myself).

Asking google I found a similar report relating to fetchmail 6.3.16
(as in my case) under Linux:

http://bugs.archlinux.org/task/19043

So my questions are:

o) Has anybody else, using fetchmail with ssl, experienced the same
problems after a recent upgrade of fetchmail under FreeBSD?

o) Any known cure against it?

Last but not least, here's my config:

FreeBSD 7.3 recent as per April 09,2010. Fetchmail 6.3.16, openssl 1.0.0

Thanks much in advance for any clue,
-ewald
___
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: Online school for FreeBSD

2010-04-12 Thread herbert langhans
I sign here too - Lucas' Absolute FreeBSD covers practically all the aspects 
when you new to Unix. Its a good choice. A seperate computer for trying out and 
break'n'reinstall is also a good idea for a start. 

Its like learning a foreign language. At the beginning you may wonder how 
anybody can ever understand this mumbo jumbo. Then you will get an idea of it 
and go into an experimental stage where many things go wrong. And after some 
years you wonder that there was a time before where you could not understand 
such an obvious, logical concept.

Good luck!
herb langhans


On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:
 I've been doing searches for online schools that teach FreeBSD. I've been 
 trying to learn on an off for years but when it starts getting complicated, I 
 get stuck. The handbook don't do allot of good.
 
 My goal is simply this. I want to open a small business, A server, To lease 
 out web space, domains, etc etc. I want to start small and possibly expand to 
 a rack of servers and so on.
 
 I've been searching all say and cannot find ANY online schools that teach 
 FreeBSD.  From what I understand, FreeBSD is the best for security and 
 control. I'll be leasing out shell space too so I need security like 
 sh3lls.net. A company like that is eventually what Id like to accomplish. But 
 I need to know the ground up. I don't want to trust an employee with root 
 access to my server.
 
 I remember seeing a book out there specific to what I'm trying to do.
 
 Anyway, I hope you can hook me up with a school. Or the proper books anyway. 
 FreeBSD for dummies or something.
 
 You guys do excellent work. I hope not only to learn but someday contribute 
 back to the freebsd community.
 
 Thanks  for you're 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

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

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


Re: fetchmail - problems with ssl since upgrade to 6.3.16

2010-04-12 Thread Jerry
On Mon, 12 Apr 2010 11:56:19 +0200, Ewald Jenisch a...@jenisch.at
articulated:

 Hi,
 
 Recently during portupgrades fetchmail also got upgraded to
 6.3.16. Since then I'm experiencing problems when trying to fetch
 mails from a pop server via ssl.
 
 Here's the error message I'm getting:
 
 fetchmail: Issuer Organization: anonymized
 fetchmail: Issuer CommonName: anomymized
 fetchmail: Server CommonName: anomymized
 fetchmail: anonymized key fingerprint: anonymized
 fetchmail: anonymized fingerprints match.
 fetchmail: Server certificate verification error: self signed
 certificate 34381474120:error:14090086:SSL
 routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
 failed:s3_clnt.c:1056: fetchmail: SSL connection failed.
 
 The above message normally indicates that the cert on the server might
 have changed. This however is definitely not the case (I'm managing
 the server myself).
 
 Asking google I found a similar report relating to fetchmail 6.3.16
 (as in my case) under Linux:
 
 http://bugs.archlinux.org/task/19043
 
 So my questions are:
 
 o) Has anybody else, using fetchmail with ssl, experienced the same
 problems after a recent upgrade of fetchmail under FreeBSD?
 
 o) Any known cure against it?
 
 Last but not least, here's my config:
 
 FreeBSD 7.3 recent as per April 09,2010. Fetchmail 6.3.16, openssl
 1.0.0

You have obfuscated all of the data so there is no way for anyone to
verify your conclusions. The message indicates that you are using a
self-signed certificate. That warning message is normal. Are you
attempting to verify the certificate with fetchmail? If so, remove the
check an retry the process.

You might be better served on the fetchmail forum.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Anger kills as surely as the other vices.
___
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


cups 1.3.9 (from ports) Cyrillic fonts

2010-04-12 Thread Matthias Apitz

Hello,

I want to print via CUPS (from the ports 1.3.9) in FreeBSD 8-CURRENT
UTF-8 text files with Cyrillic (and other) chars; see the very small
attached file; the conversion of the UTF-8 textfile is done by CUPS's
texttops and someone can simulate this without wasting paper with this
command:

$ CHARSET=utf-8 /usr/local/libexec/cups/filter/texttops 1 rleigh myfile 1   
testfile.utf8  ps

and check the resulting PostScript file with a viewer, for example
Ghostview. 

The mapping between the Unicode codepoints and fonts for CUPS is done in
/usr/local/share/cups/charsets/utf-8 which has for Cyrillic chars 
U-0400...U+04FF:

0400 04FF ltor single Courier Courier-Bold Courier-Italic Courier-Bold-Italic

Using the attached test file all is printed fine, all but the Cyrillic
line. If you run this through Ghostview it says (it seems for the
Cyrillic chars):

$ gs ps
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Substituting .notdef for afii10035 in the font Courier
Substituting .notdef for afii10077 in the font Courier
Substituting .notdef for afii10085 in the font Courier
...

On a real printer all is printed fine, all but the the Cyrillic line.
Any idea what is missing? Is this a problem with CUPS or with the
viewer?

Thanks in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!


   Deutsche Umlaute: äöü AÖÜ ß 
Spanische tilde Zeichen: áéíñóúü ÁÉÍÑÓÚÜ ¿? ¡!
  Russische Zeichen: Случайно заметил, какая штука 
появляется на мгновение при компилляции
Grieschiche Zeichen: Το μεγαλόσταυρο του Αποστόλου
___
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

pgp5-filter-5.3.2, php5-imap-5.3.2, php-extensions-1.4

2010-04-12 Thread n dhert
There have been several updates to php, php-extensions and php5-*
My php is now 5.3.2, most of my php5-* also 5.3.2, but
a portupgrade didn't want to upgrade php5-filter and php-imap (errors)
of php-extensions. They stayed version 5.2.12, 5.2.12 and 1.3 respectively.
I did
# pkg_delete -f php5-filter-5.2.12
# pkg_delete -f php5-imap-5.2.12
# pkg_delete -f php_extensions-1.3
and several pkgdb -F until it reported everything OK

Yet still, I can't compile php5-filter-5.3.2, nor  php5-imap-5.3.2 or
php-extensions-1.4 (which
depends on these)

How to fix it?

This is what I get
-
cc -I. -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter
-DPHP_ATOM_IN
C -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/include
-I/usr/por
ts/security/php5-filter/work/php-5.3.2/ext/filter/main
-I/usr/ports/security/php
5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php
-I/usr/local/include
/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/loc
al/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2
-pi
pe -fno-strict-aliasing -c
/usr/ports/security/php5-filter/work/php-5.3.2/ext/fi
lter/logical_filters.c  -fPIC -DPIC -o .libs/logical_filters.o
In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/
logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
file or
 directory
In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/
logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
';', 'a
sm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
';', 'a
sm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
specifier-qualifi
er-list before 'pcre'
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In
function 'php_filter_validate_regexp':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
 error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
 error: (Each undeclared identifier is reported only once
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
 error: for each function it appears in.)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
 error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
 error: 'pcre_extra' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In
function 'php_filter_validate_email':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
 error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
 error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
 error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/security/php5-filter.
___
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


detachable x session (X11 application that acts like sysutils/screen)

2010-04-12 Thread Jim
Has anyone done anything with a program that acts like sysutils/screen
but with an X11 screen instead of a terminal? x2x and xnest both look
like they have some promise. Basically I work on projects located on
one of two systems, but I may bounce between another set of
workstations where I am physically located. If I am handling something
that I can work on console-only without trouble, I use
sysutils/screen, however some times I either need X, or X would be a
bit more effective for me. I'd like to be able to leave a xsession
running somewhere and be able to detach it and reattach to it between
login sessions.

Has anyone had experience doing this? What programs do you use?

Thanks,
-Jim Stapleton
___
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: detachable x session (X11 application that acts like sysutils/screen)

2010-04-12 Thread krad
On 12 April 2010 12:46, Jim stapleton...@gmail.com wrote:

 Has anyone done anything with a program that acts like sysutils/screen
 but with an X11 screen instead of a terminal? x2x and xnest both look
 like they have some promise. Basically I work on projects located on
 one of two systems, but I may bounce between another set of
 workstations where I am physically located. If I am handling something
 that I can work on console-only without trouble, I use
 sysutils/screen, however some times I either need X, or X would be a
 bit more effective for me. I'd like to be able to leave a xsession
 running somewhere and be able to detach it and reattach to it between
 login sessions.

 Has anyone had experience doing this? What programs do you use?

 Thanks,
 -Jim Stapleton
 ___
 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


x11vnc should be able to do the job
___
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: pgp5-filter-5.3.2, php5-imap-5.3.2, php-extensions-1.4

2010-04-12 Thread Amitabh Kant
On Mon, Apr 12, 2010 at 5:15 PM, n dhert ndhert...@gmail.com wrote:

 There have been several updates to php, php-extensions and php5-*
 My php is now 5.3.2, most of my php5-* also 5.3.2, but
 a portupgrade didn't want to upgrade php5-filter and php-imap (errors)
 of php-extensions. They stayed version 5.2.12, 5.2.12 and 1.3 respectively.
 I did
 # pkg_delete -f php5-filter-5.2.12
 # pkg_delete -f php5-imap-5.2.12
 # pkg_delete -f php_extensions-1.3
 and several pkgdb -F until it reported everything OK

 Yet still, I can't compile php5-filter-5.3.2, nor  php5-imap-5.3.2 or
 php-extensions-1.4 (which
 depends on these)

 How to fix it?

 This is what I get
 -
 cc -I. -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter
 -DPHP_ATOM_IN
 C -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/include
 -I/usr/por
 ts/security/php5-filter/work/php-5.3.2/ext/filter/main
 -I/usr/ports/security/php
 5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php
 -I/usr/local/include
 /php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
 -I/usr/loc
 al/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H
 -O2
 -pi
 pe -fno-strict-aliasing -c
 /usr/ports/security/php5-filter/work/php-5.3.2/ext/fi
 lter/logical_filters.c  -fPIC -DPIC -o .libs/logical_filters.o
 In file included from
 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/
 logical_filters.c:25:
 /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
 file or
  directory
 In file included from
 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/
 logical_filters.c:25:
 /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
 ';', 'a
 sm' or '__attribute__' before '*' token
 /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
 ';', 'a
 sm' or '__attribute__' before '*' token
 /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
 specifier-qualifi
 er-list before 'pcre'

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
 In
 function 'php_filter_validate_regexp':

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
  error: 'pcre' undeclared (first use in this function)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
  error: (Each undeclared identifier is reported only once

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
  error: for each function it appears in.)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
  error: 're' undeclared (first use in this function)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
  error: 'pcre_extra' undeclared (first use in this function)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
 In
 function 'php_filter_validate_email':

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
  error: 'pcre' undeclared (first use in this function)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
  error: 're' undeclared (first use in this function)

 /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
  error: 'pcre_extra' undeclared (first use in this function)
 *** Error code 1
 1 error
 *** Error code 1
 Stop in /usr/ports/security/php5-filter.


If I am not wrong, php5-filter has been removed as it now forms part of the
code PHP. You can confirm by checking /usr/ports/Updating file.

With regards

Amitabh Kant
___
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: detachable x session (X11 application that acts like sysutils/screen)

2010-04-12 Thread Matthias Apitz
El día Monday, April 12, 2010 a las 06:46:43AM -0500, Jim escribió:

 Has anyone done anything with a program that acts like sysutils/screen
 but with an X11 screen instead of a terminal? x2x and xnest both look
 like they have some promise. Basically I work on projects located on
 one of two systems, but I may bounce between another set of
 workstations where I am physically located. If I am handling something
 that I can work on console-only without trouble, I use
 sysutils/screen, however some times I either need X, or X would be a
 bit more effective for me. I'd like to be able to leave a xsession
 running somewhere and be able to detach it and reattach to it between
 login sessions.
 
 Has anyone had experience doing this? What programs do you use?

I did this in the past to monitor from home or over the weekend how
certain long run operations, having xterm as their start env, or even
browsers to run Jelly scripts into some database. I used for this a
normal Linux workstation here in house and connected to this from my own
laptop or from remote with vncviewer. Works fine and without much to
install/configure.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!
___
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: Online school for FreeBSD

2010-04-12 Thread Robert Huff

herbert langhans writes:

  I sign here too - Lucas' Absolute FreeBSD covers practically all
  the aspects when you new to Unix. Its a good choice. A seperate
  computer for trying out and break'n'reinstall is also a good idea
  for a start.
  
  Its like learning a foreign language. At the beginning you may
  wonder how anybody can ever understand this mumbo jumbo. Then you
  will get an idea of it and go into an experimental stage where
  many things go wrong. And after some years you wonder that there
  was a time before where you could not understand such an obvious,
  logical concept.

For UNIX novices willing to read, I strongly recomment _UNIX
System Administration Handbook_
(http://www.amazon.com/UNIX-System-Administration-Handbook-3rd/dp/0130206016/ref=sr_1_1?ie=UTF8s=booksqid=1271073058sr=1-1).
 My version, now out of date, covers Solaris, HP-UX, Red Hat, and
FreeBSD.  It's very readable, and while it doesn't cover
everything it teaches enough (including some how and why to be
able to figure things out from the man pages or third-party
documentation.


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


LSI SAS 9211-8i

2010-04-12 Thread Derek Buttineau
We're looking at replacing the HP Raid controller in a HP DL380 G5 with a 
controller that supports JBOD for utilizing ZFS.  We're currently trialling 
this controller, an HP LSI board 
(https://h10057.www1.hp.com/ecomcat/hpcatalog/specs/provisioner/05/347786-B21.htm),
 but we're finding that it has some issues with the mpt driver, namely:

Driver doesn't seem to realize when a drive has been pulled, instead mptutil 
shows that the drive is still there but only 512B in size.
Driver also doesn't seem to realize when a drive has been reinserted

Both of those seem to end up leading to corruption in the zpool.

Another weird thing with that card, is that if a drive is pulled and the card 
reinitialized (for example rebooting), the order of the drives shift (i.e. if 
you pull da2, da3 becomes da2, da4 becomes da3, etc), which again causes 
problems with the zpool.

Anyway, the LSI SAS 9211-8i looks like a nice card, but am having difficulties 
determining if it'll be supported by the mpt driver.  Does anyone know if it'll 
work, or does anyone have any suggestions for a good JBOD controller for ZFS 
and hotswap?

Thanks.

--
Regards,

Derek Buttineau
Internet Systems Developer
Compu-SOLVE Internet Services
Compu-SOLVE Technologies, Inc

Phone:  705-725-1212 x255
E-Mail:  de...@csolve.net

___
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: IPFW and separate data files.

2010-04-12 Thread Steve Bertrand
On 2010.04.11 11:57, Jerry wrote:
 I am using IPFW on a FreeBSD-7.3 machine. Presently, I am loading
 several tables for IPFW. So far, I have just keep the data for the
 tables in the actual ipfw-rules referenced in the 'rc.conf' file
 itself. What I would like to do is keep the data for these tables in
 separate files and just have them imported when the firewall is loaded.
 I have constructed a simple script that is called from the 'ipfw-rules'
 file.
 
 My question is if there is a better way of accomplishing this? Is there
 a downside to doing this way? The data for these tables tends to be
 dynamic and I would rather work with the separate files than edit the
 master one and risk messing it up.

I have a setup that is very similar to this. I 'include' the other files
from the one referenced in /etc/rc.conf by adding lines like this:

. /etc/ipfw.include

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


Promise TX4302 eSATA card doesn't play with a Quantum DLT-v4 tape drive

2010-04-12 Thread Kirk Strauser
I have a FreeBSD 8 server with a Quantum DLT-v4 tape drive. I'd been 
using it over USB but want to switch to eSATA for various reasons. 
Here's the dmesg entry for the drive when connected via USB:


sa0 at umass-sim0 bus 0 scbus0 target 0 lun 0
sa0: QUANTUM DLT-V4 0A00 Removable Sequential Access SCSI-2 device
sa0: 40.000MB/s transfers

Here are snippets of dmesg when connecting the drive via the new Promise 
TX4302 card I just installed:


atapci0: Promise PDC40718 SATA300 controller port 
0xdc80-0xdcff,0xd800-0xd8ff mem 
0xdfbff000-0xdfbf,0xdfbc-0xdfbd irq 66 at device 7.0 on pci3

atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
ata3: SIGNATURE: eb140101
ast0: FAILURE - MODE_SENSE timed out
device_attach: ast0 attach returned 6

...and then device ast0 never appears. Any idea how I can get these two 
pieces of hardware to play nicely together?


--
Kirk Strauser

___
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


What`s mistake in MYKERNEL?

2010-04-12 Thread oleg

Hi all users of Free BSD!

I am really hopeing that someone can assist me here.
Got some mistake in the course of assemblage kernel. Can`t 
understand

myself, what`s wrong?
My system is:
FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
That tree of src directory updated with csup successful.
Look the attached files.
Please, let me know, what mast i do?
Many thanks for the help.


dmesg
Description: Binary data

--
 stage 3.2: building everything
--
cd /usr/obj/usr/src/sys/MYKERNEL; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64 
 

.

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel 
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-Werror  hints.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel 
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-Werror  vnode_if.c
: hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh MYKERNEL
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-Werror  vers.c
linking kernel.debug
*** Error code 1

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

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

Stop in /usr/src.





MYKERNEL
Description: Binary data
___
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: What`s mistake in MYKERNEL?

2010-04-12 Thread Rolf Nielsen

On 2010-04-12 17:24, oleg wrote:

Hi all users of Free BSD!

I am really hopeing that someone can assist me here.
Got some mistake in the course of assemblage kernel. Can`t understand
myself, what`s wrong?
My system is:
FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
That tree of src directory updated with csup successful.
Look the attached files.
Please, let me know, what mast i do?
Many thanks for the help.



___
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



PROCFS requires PSEUDOFS. Either uncomment PSEUDOFS or commernt out 
PROCFS. Moreover, the option COMPAT_IA32 recently was renamed 
COMPAT_FREEBSD32, but I'm not sure exactly when that happened. You might 
want to try changing it.

___
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


Debugging RLIMITs signals: SIGXFSZ and SIGXCPU

2010-04-12 Thread Brian A. Seklecki (CFI NOC)

All:

  I've got a process that is mysteriously receiving a SIGTERM (or other
  signal.  It's a RADIUS daemon; runs a non-Root (not privsep,
  unfortunately).  Identical hardware, identical code, identical
  config on 6.3-PL is fine.

  On 8, the daemon is logging receipt of a non-HUP signal and
  exiting out.

  Our best theory at the moment are changes in default RLIMITs
  between RELENG_6and RELENG_8.

  For example:
  6.3:
  open files  (-n) 11095
  8:
  open files  (-n) 3520

  Either that, or a memory/file handler/other leak that only
  manifests in RELENG_8.

  Either way, I'd like to debug the kernel handling of RLIMITs.

  The best I can find are references to:

  /usr/src/sys/kern/kern_resource.c::lim_cb() to SIGXCPU for RLIMIT_CPU
  /usr/src/sys/ufs/ffs/ffs_vnops.c::ffs_write() to SIGXFSZ or
... RLIMIT_FSIZE

  Not sure about RLIMIT_RSS, RLIMIT_AS, RLIMIT_NOFILE or others.

  Unfortunately, in the two places I see, the call 'psignal()' is
  used in leui of 'killproc()' to pass those custom RLIMIT's
  related signals and psignal() doesn't have any logging like
  killproc().

  It would be really nice if there could be some standardized
  logging for RLIMIT* related resource exhaustion.

  For example:
  /usr/src/sys/vm/vm_pageout.c: killproc(bigproc, out of swap space);


 So my question are:

 1) Anyone else interested in having this feature (RLIMIT
debugging, possibly a sysctl(3))?
 2) Does anyone have any idea how other RLIMIT_ exhaustion is
handled?  A lot of other checks in the code in
kernel_resource.c seems to 'return (error);' on resource
exhaustion.

Thanks,  ~BAS




___
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: What`s mistake in MYKERNEL?

2010-04-12 Thread Rolf Nielsen

On 2010-04-12 17:24, oleg wrote:

Hi all users of Free BSD!

I am really hopeing that someone can assist me here.
Got some mistake in the course of assemblage kernel. Can`t understand
myself, what`s wrong?
My system is:
FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010
That tree of src directory updated with csup successful.
Look the attached files.
Please, let me know, what mast i do?
Many thanks for the help.



___
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


You also need to uncomment ppbus, since it's required by all other 
parallel port devices. And if you plan to run X, you should uncomment 
pty as well, but that shouldn't cause linking of the kernel to fail.

___
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: Promise TX4302 eSATA card doesn't play with a Quantum DLT-v4 tape drive

2010-04-12 Thread Kirk Strauser

On 04/12/10 10:50, Mark wrote:

Would you need to load atapicam into the kernel??

   


That doesn't seem to change things. I'll try again later today by 
rebooting with atapicam_load=YES in /boot/loader.conf just for giggles.

--

Kirk Strauser

___
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: are the are C [or C++] src sites ....

2010-04-12 Thread Alejandro Imass
On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline kl...@thought.org wrote:

        Sites of parts of websites that have example C functions?
        [continuing from the ^Subject.

        I have googled around and found practically nothing; yet, wen
        I was looking for a math function I found at least two
        places.

        Rather than re-inventing the wheel over and again, wouldn't
        it be nice to have a library of all kinds of functions?
        --For kernel use, yes, they would need to be BSD specific...

        ideas?


When you install a lib in FBSD (and many other FLOSS OSs) it usually
installs a man page, so apropos and of course man will have it: man
sprintf, so the detailed information is usually there...

The tricky part is having like a table of contents of some sort
especially at the library level which is what _I think_ you are
referring to. For example, to answer the question ¿what library should
I use for X or Y need? . If you use Perl, you have the cpan search
engine (and others) wher you go llook for libs. For C it is many times
not tha obvious, nor is there a single repository of libraries for C
as there is for say Perl.

I find your question very interesting but sadly I have no direct
answer myself. I think is more of a topic thing in C. For example if
you are making a driver, you will usually be involved in mailing lists
related to that, and people will share X or Y lib secrets with you.
You will also hack someone else's code and look at the libs they are
using, and most importangly you will have books and other stuff that
will point to the use of those libs. Now whether there is a directory
of C libraries around, I don't think so, but if you find one, _please_
share it ;)

Best,
Alejandro Imass

        gary

        PS:  As if it weren't obvious, no i haven't had my morning
        jolt of java yet


 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.79a 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

___
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: linux-pango update fails

2010-04-12 Thread ill...@gmail.com
On 11 April 2010 13:35, Chad Perrin per...@apotheon.com wrote:
 I'm having an issue with a linux-pango update on a FreeBSD 7.2 system:

    ---  Upgrading 'linux-pango-1.10.2_3' to 'linux-pango-1.10.2_4'
    (x11-toolkits/linux-pango)
    ---  Building '/usr/ports/x11-toolkits/linux-pango'
    ===  Cleaning for linux-pango-1.10.2_4
    ** Command failed [exit code 1]: /usr/bin/script -qa
    /tmp/portupgrade20100411-69066-1498jpj-0 env UPGRADE_TOOL=portupgrade
    UPGRADE_PORT=linux-pango-1.10.2_3 UPGRADE_PORT_VER=1.10.2_3 make
    ** Fix the problem and try again.
    ** Listing the failed packages (-:ignored / *:skipped / !:failed)
            ! x11-toolkits/linux-pango (linux-pango-1.10.2_3)
    (unknown build error)

 A Google search for information from the above hasn't proven fruitful.
 Any ideas how I could narrow down the exact problem and work out a
 solution would be appreciated.


From your output it looks to be failing on the make clean
stage, which is really weird.  Maybe your upgrade tool is
unexpectedly barfing.

Also, have you tried manually removing the work/ directory
or running make clean from the port directory?

-- 
--
___
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: Promise TX4302 eSATA card doesn't play with a Quantum DLT-v4 tape drive

2010-04-12 Thread Kirk Strauser

On 04/12/10 11:50, Mark wrote:

I have the promise controller, I got it to add dvd burners to the system, but 
it will not work with the dvd drives. The promise site says the card is atapi 
compliant but it did not work that way for me. I had to move hard drives to the 
promise and add the dvd burners to the on board esata. YMMV
   


Good grief. Thanks for the information.

--
Kirk Strauser


___
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: ACPI? problem with release 8.0

2010-04-12 Thread Ian Smith
In freebsd-questions Digest, Vol 306, Issue 1, Message: 18
On Mon, 12 Apr 2010 15:31:33 +0930 Malcolm Kay malcolm@internode.on.net 
wrote:

  I desperately need to make some progress on this issue.

Then I suggest taking it to freebsd-acpi@ without passing go .. maybe 
with a bit more data to hand, as outlined in the ACPI debugging section 
of the handbook.

  Is it likely that the issue is real rather than hardware
  or disk corruption? Earlier releases are operating OK on the same 
  machine.

Sounds like a real issue, but I don't know the hardware.  Does it have 
the latest available BIOS update?  If not, that's step one.  Will it 
stay up long enough to get a verbose dmesg off it?  Do you have a 
verbose dmesg from an earlier working release for comparison?

  I have now confirmed that:
   debug.acpi.disabled=acad button cpu lid thermal timer video
  still leaves the system crashing and powering down when idle for 
  a while. And the more extensive:
   debug.acpi.disabled=acad bus children button cmbat cpu ec isa
   lid pci pci_link sysresource thermal timer video
  does the same.
 
  I don't really need power management but with acpi disabled the
  disks are not visible to the system.

ACPI needs to work on modern hardware, no question.

  Are there sysctl variables that can influence this behaviour?
  Currently I believe we have:
  
  hw.acpi.supported_sleep_state: S1 S4 S5
  hw.acpi.power_button_state: S5
  hw.acpi.sleep_button_state: S1
  hw.acpi.lid_switch_state: NONE
  hw.acpi.standby_state: S1
  hw.acpi.suspend_state: NONE
  hw.acpi.sleep_delay: 1
  hw.acpi.s4bios: 0
  hw.acpi.verbose: 0

May help to set hw.acpi.verbose=1 in /boot/loader.conf while debugging;
especially useful after verbose boot for detail in dmesg and messages.

  hw.acpi.disable_on_reboot: 0
  hw.acpi.handle_reboot: 0
  hw.acpi.reset_video: 0
  hw.acpi.cpu.cx_lowest: C1

Is that with acpi.thermal disabled?  If so, showing hw.acpi and 
debug.acpi with everything enabled might provide more clues.
 
  machdep.idle: amdc1e
  machdep.idle_available: spin, amdc1e, hlt, acpi,
  
  However on the earlier RELEASEs that work I note we do not have 
  machdep.idle or machdep.idle_available. Instead I find:
  machdep.cpu_idle_hlt: 1
  machdep.hlt_cpus: 0
  
  Although I've not been able to relate this directly to my problem 
  from Googling it seems that there some issues with amdc1e under
  BSD, Linux and perhaps Windows. But all the references seem to 
  amd c1e are related to systems in 64 bit mode while I am running 
  (or trying to run) i386 so I wonder why I have:
machdep.idle: amdc1e
  
  Maybe my problem is not acpi as such but this idle mode.

Could well be.  Someone on acpi@ will know about amdc1e, I don't, 
but any BIOS setting re C1E could be relevant to this.

  My thought is to change this to
machdep.idle: hlt
  or even
machdep.idle: acpi

Maybe try setting it to acpi first (without any disabled parts) and try?
Can't do any worse than crash the same?

  Any comments or ideas please!
  
  Thank you for your attention.
  
  Malcolm Kay
 
  On Sat, 10 Apr 2010 05:22 pm, Malcolm Kay wrote:
   My machine had two SATA 300GB drives
   (WDC WD3200KS-00PFB0 21.00M21) one carrying FreeBSD
   RELEASE-6.3 and the other RELEASE-7.0 all of which worked OK.
  
   Recently added SATA 1TB (WDC WD10EADS-00P8B0 01.00A01) and
   installed RELEASE 8.0 thereon. When I boot to RELEASE 8.0
   I find after some time, few minutes to rather more minutes
   the system just powers down without warning or any obvious
   cause. It seems to mostly happen when the system is relatively
   quiet.

Adam's suggestion to check that esp. CPU temperature is within spec is 
worth checking; if you don't have any thermal zones in your ACPI I'd be 
surprised, and maybe concerned.  A finger on the heatsink is next best.

   Suspecting the ACPI I added:
hint.acpi.0.disabled=1
   to loader.conf.
   I then found RELEASE 8.0 would not boot -- or at least
   it was unable to mount root. I get a mountroot prompt
   but this seemed not to accept anything I could think of,
   and ? to list available targets yielded nothing. Rebooting
   and overriding this with option 2 (enable ACPI) in the boot
   menu took me back to a bootable but fragile system.
  
   Changing the loader.conf entry to:
debug.acpi.disabled=all
   had the same effect as the hint.acpi.0.disabled=1.

As it should.

   I then thought to be somewhat selective with
   debug.acpi.disabled and intended to try:
debug.acpi.disabled=acad button cpu lid thermal timer video
   only now as I write this I discover I actually entered:
debug.acpi.disabled=acadbutton cpu lid thermal timer video
  
   Now the RELEASE-8.0 booted but remained fragile.
  
   I've repaired this last entry and will proceed to try it.
   Meanwhile I feel I am fumbling about in the dark without
   sufficient (or any real) knowledge of the range of tasks
   performed by ACPI.
  
   Is my guess that I have an 

Does FreeBSD can run as dom0 XEN?

2010-04-12 Thread Eugen Konkov
Hi, all

Does FreeBSD 9-CURRENT can run as dom0 XEN?


-- 
 mailto:kes-...@yandex.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


Re: RootBSD?

2010-04-12 Thread Brodey Dover
I haven't any experience with rootbsd.net but my friend and I have
dealt with ServerNorth based in Canada if you're interested.

On Fri, Apr 9, 2010 at 2:34 PM, Garance A Drosehn g...@freebsd.org wrote:
 At 9:04 AM -0400 4/6/10, Tom Ierna wrote:

 Hi,

 Anyone have any experience with RootBSD.net?

 I'm looking to move an office-hosted machine's services to the cloud, and
 they seem to be one of the only VPS companies centered around BSD support
 instead of Linux.

 I've been using them for a few years now.  What I have with them is a system
 which is meant to be used as a hot backup for a system which is here in my
 office.  So, the main things I wanted was (1) real freebsd systems, (2)
 which were someplace far away from Troy NY.  I wanted to be pretty sure that
 any problem which took out my main system would NOT take out my hot backup
 system!

 I've had absolutely no trouble with them.  The few times that I've had to
 contact them, they've been happy to provide whatever help I needed.  On the
 other hand, my main system has been working fine for almost three years now,
 so this backup system that I have at rootbsd.net has not seen much activity.
  I just rsync the main system to the backup system once a day, and then
 every few months I upgrade the FreeBSD that I'm running on the system at
 rootbsd.net.

 --
 Garance Alistair Drosehn     =               dros...@rpi.edu
 Senior Systems Programmer               or   g...@freebsd.org
 Rensselaer Polytechnic Institute;             Troy, NY;  USA
 ___
 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


what does boot in safe mode enable / disable?

2010-04-12 Thread Henrik Hudson
I emailed a few days back, to -stable,  about having issues running 8-STABLE in 
a
Xen environment. I solved this, sort of. However, I didn't get any
bites over there.

I have a XEN HVM environment and it was given to me running 8-REL-p2
and it was working fine. I moved up to -STABLE and GENERIC wouldn't
boot. After some fiddling, etc.. I tried booting it in safe mode
and viola it boots fine.

The system doesn't show any errors it just stops on trying to mount
disk: /dev/. Enabling logging mode doesn't show any
difference between the stable kernel and the rel kernel when
booting.

So, I'm guessing there was some sort of regression, but I'm trying
to isolate this. What does booting in safe mode enable / disable
that would allow the system to boot successfully?

Thanks.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?

2010-04-12 Thread cassetti77



Stacey Roberts wrote:
 
 Hello Oliver,
   Thanks for the response.
 
 On Sat, 10 Apr 2010 20:35:27 +0200
 O.Herold oli...@akephalos.de wrote:
 
 Am Sat, 10 Apr 2010 19:22:46 +0100
 schrieb S Roberts sta...@vickiandstacey.com:
 
  Hello,
   The wireless nic on my laptop is the Intel WiFi Link 5100AGN.
  Is this card supported in FreeBSD as present? 
  
  I checked the FreeBSD 8.0-RELEASE Hardware Notes (at
  http://www.freebsd.org/releases/8.0R/hardware.html#WLAN), and I
  don't see the Intel WiFi Link 5100AGN actually listed. 
  
  Looking at the online manpage for iwn, it is actually titled Intel
  Wireless WiFi Link 4965AGN IEEE 802.11n driver, but then again, I
  also noted that that manpage is timestamped April 13, 2008 and is
  tagged for FreeBSD-7.2.
  
  I'd some help, please.
  
  Thanks.
  
  Regards,
  
  S Roberts
  
  ___
  freebsd-hardw...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
  To unsubscribe, send any mail to
  freebsd-hardware-unsubscr...@freebsd.org
 
 
 You have to use 8-stable, then you get support for this kind of
 adapter.
 
 
 Understood - install 8-REL, the cvsup to 8-Stable.
 
 Thanks again.
 
 Regards,
 
 S Roberts
 
 Cheers, 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
 
 
Excuse me. I have a sony vaio vgn-nw21mf too. I read your conversation, but
i have not undertand what i do to configure my intel wifi 5100 agn. I don't
know nothing about MFCED (google do not help me in that case ) . I download
the Freebsd 8-release and i don't know to download a 8-stable.  Can you
please say me what i do ? Thank you in every case  and sorry for my
english!!
Best Regards
adriano 

-- 
View this message in context: 
http://old.nabble.com/Intel-WiFi-Link-5100AGN-Supported-on-FreeBSD-8.0--tp28203916p28219200.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?

2010-04-12 Thread Adam Vande More
On Mon, Apr 12, 2010 at 6:30 PM, cassetti77 adriano.d...@gmail.com wrote:


 Excuse me. I have a sony vaio vgn-nw21mf too. I read your conversation, but
 i have not undertand what i do to configure my intel wifi 5100 agn. I don't
 know nothing about MFCED (google do not help me in that case ) .


For FreeBSD, it means merged from current.  Google will help you with that.
You may also want to use www.google.com/bsd


 I download
 the Freebsd 8-release and i don't know to download a 8-stable.  Can you
 please say me what i do ? Thank you in every case  and sorry for my
 english!!


You would need to update your system from the release branch to the stable
branch.  Basically you need to cvsup sources from STABLE, build world and
kernel then install them.  That part is covered well in the handbook.



-- 
Adam Vande More
___
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: linux-pango update fails

2010-04-12 Thread Chad Perrin
On Mon, Apr 12, 2010 at 01:38:41PM -0400, ill...@gmail.com wrote:
 
 From your output it looks to be failing on the make clean
 stage, which is really weird.  Maybe your upgrade tool is
 unexpectedly barfing.
 
 Also, have you tried manually removing the work/ directory
 or running make clean from the port directory?

Actually, it turns out it was failing on the deciding to install stage.
I had thought the update in linux-pango version was a fix for the
longstanding security issue with 1.10.2_3, and I'd thus have a security
patched version, but it turns out that 1.10.2_4 has security issues as
well and that's why it didn't want to install.

I'm pretty severely disappointed in the state of linux-pango security on
FreeBSD right about now.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgppKnMPIyTQi.pgp
Description: PGP signature


Build error with mplayer

2010-04-12 Thread Neil Short
Am I missing something?


gmake -C stream
gmake[1]: Entering directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/ 
stream'
cc -O2 -pipe -O3 -ffast-math -fomit-frame-pointer -fno-strict-aliasing 
-I./libav   
  codec -I./libavformat -Wdisabled-optimization 
-Wno-pointer-sign -Wdeclaration-af  
   ter-statement -I. -I. -I./libavutil 
-O2 -pipe -O3 -ffast-math -fomit-frame-point
 er -fno-strict-aliasing  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE 
64_SOURCE 
-DHAVE_CONFIG_H -I/usr/local/include/freetype2 -I.. -I../libavutil -I/  
   
usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 
-I/usr/lo   
  cal/include 
-I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/
 
include -I/usr/local/include -I../libavcodec -I../libavformat 
-Wdisabled-optimiz  
   ation -Wno-pointer-sign 
-Wdeclaration-after-statement -I. -I.. -I../libavutil -O
 2 -pipe -O3 
-ffast-math -fomit-frame-pointer -fno-strict-aliasing  -D_LARGEFILE_
 
SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
-I/usr/local
 /include/freetype2 -I... -I.../libavutil 
-I/usr/local/include
 -I/usr/local/inclu 
de  -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/gtk   
  12 
-I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include   -c -o   

   dvb_tune.o dvb_tune.c
dvb_tune.c:33:19: error: error.h: No such file or directory
gmake[1]: *** [dvb_tune.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/s
 tream'
gmake: *** [stream/stream.a] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
carmen# 

==

 What did you do? the man holding the flashlight asked.

 I put down a spider, he said, wondering why the man didn't see; in the beam 
of yellow light the spider bloated up larger than life. So it could get away.


  
___
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: Build error with mplayer

2010-04-12 Thread Charlie Kester

On Mon 12 Apr 2010 at 17:50:58 PDT Neil Short wrote:

Am I missing something?

dvb_tune.c:33:19: error: error.h: No such file or directory


It's a known problem.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145437


___
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: are the are C [or C++] src sites ....

2010-04-12 Thread Gary Kline
On Mon, Apr 12, 2010 at 12:34:32PM -0400, Alejandro Imass wrote:
 On Sat, Apr 10, 2010 at 11:19 AM, Gary Kline kl...@thought.org wrote:
 

[[ ... ]]

 
 When you install a lib in FBSD (and many other FLOSS OSs) it usually
 installs a man page, so apropos and of course man will have it: man
 sprintf, so the detailed information is usually there...
 
 The tricky part is having like a table of contents of some sort
 especially at the library level which is what _I think_ you are
 referring to. For example, to answer the question ¿what library should
 I use for X or Y need? . If you use Perl, you have the cpan search
 engine (and others) wher you go llook for libs. For C it is many times
 not tha obvious, nor is there a single repository of libraries for C
 as there is for say Perl.
 
 I find your question very interesting but sadly I have no direct
 answer myself. I think is more of a topic thing in C. For example if
 you are making a driver, you will usually be involved in mailing lists
 related to that, and people will share X or Y lib secrets with you.
 You will also hack someone else's code and look at the libs they are
 using, and most importangly you will have books and other stuff that
 will point to the use of those libs. Now whether there is a directory
 of C libraries around, I don't think so, but if you find one, _please_
 share it ;)
 
 Best,
 Alejandro Imass
 

I will, of course, share any info i find if it looks useful.
Most of my hacking-type work these days involves messing with
textfiles, and that may be of little interest since it is not
FBSD specific.

I'm still chasing after some sort of 'user-side' program that
will let people use cheap keyboards and produce a nice THUNK.
That said, I did try out one of the small 8.9 notebooks.
The keyboard 'feel' wasn't that bad.  [Still, I didn't press
hard enough on several keys.  Having audio would have been a
great help.]

Okay; enough.  thanks to everybody; really appreciate the
feedback!

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a 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


Does small bsd cd exsit?

2010-04-12 Thread 丁少衡
  Hello, everyone,
  I want to try a bsd distribution. However, after downloading the PC-bsd
(DVD, over 3GB) from the web through all night, my download tool gave me an
error signal... Then I found it may too much big to some extent. Does a
small one exsit, with a full GUI destop? I want use it on my laptop.

  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: Does small bsd cd exsit?

2010-04-12 Thread Antonio Olivares
There are several you may try:

http://www.ghostbsd.org/

http://frenzy.org.ua/en/

http://distrowatch.com/search.php?category=BSDorigin=Allbasedon=FreeBSDdesktop=Allarchitecture=Allstatus=Active

Hope this helps,

Antonio

On 4/12/10, 丁少衡 dshbusin...@gmail.com wrote:
   Hello, everyone,
   I want to try a bsd distribution. However, after downloading the PC-bsd
 (DVD, over 3GB) from the web through all night, my download tool gave me an
 error signal... Then I found it may too much big to some extent. Does a
 small one exsit, with a full GUI destop? I want use it on my laptop.

   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

___
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


Tripwire 1.2

2010-04-12 Thread Doug Hardie
Has anyone successfully got Tripwire 1.2 to work on FreeBSD 8?  It compiles 
fine, but it trips on every file.  It decides that the atime has changed.  The 
report shows the observed and expected times are far different.  Often off by 
10s of years from what the file actually shows.  Even more interesting is that 
it trips on every file in /bin where the config file consists of only:

/binR-2

That should not even be checking the atime - but it does.  It does work fine on 
FreeBSD 7.2.  I have not been able to figure out why it would do this on 
8.0.___
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: ACPI? problem with release 8.0

2010-04-12 Thread Malcolm Kay
On Mon, 12 Apr 2010 04:40 pm, Adam Vande More wrote:
 On Mon, Apr 12, 2010 at 1:01 AM, Malcolm Kay

 malcolm@internode.on.netwrote:
  I desperately need to make some progress on this issue.
 
  Is it likely that the issue is real rather than hardware
  or disk corruption? Earlier releases are operating OK on the
  same machine.
 
  I have now confirmed that:
   debug.acpi.disabled=acad button cpu lid thermal timer video
  still leaves the system crashing and powering down when idle
  for a while. And the more extensive:
   debug.acpi.disabled=acad bus children button cmbat cpu ec
  isa lid pci pci_link sysresource thermal timer video
  does the same.
 
  I don't really need power management but with acpi disabled
  the disks are not visible to the system.
 
  Are there sysctl variables that can influence this
  behaviour? Currently I believe we have:
 
  hw.acpi.supported_sleep_state: S1 S4 S5
  hw.acpi.power_button_state: S5
  hw.acpi.sleep_button_state: S1
  hw.acpi.lid_switch_state: NONE
  hw.acpi.standby_state: S1
  hw.acpi.suspend_state: NONE
  hw.acpi.sleep_delay: 1
  hw.acpi.s4bios: 0
  hw.acpi.verbose: 0
  hw.acpi.disable_on_reboot: 0
  hw.acpi.handle_reboot: 0
  hw.acpi.reset_video: 0
  hw.acpi.cpu.cx_lowest: C1
  machdep.idle: amdc1e
  machdep.idle_available: spin, amdc1e, hlt, acpi,
 
  However on the earlier RELEASEs that work I note we do not
  have machdep.idle or machdep.idle_available. Instead I find:
  machdep.cpu_idle_hlt: 1
  machdep.hlt_cpus: 0
 
  Although I've not been able to relate this directly to my
  problem from Googling it seems that there some issues with
  amdc1e under BSD, Linux and perhaps Windows. But all the
  references seem to amd c1e are related to systems in 64 bit
  mode while I am running (or trying to run) i386 so I wonder
  why I have:
   machdep.idle: amdc1e
 
  Maybe my problem is not acpi as such but this idle mode.
 
  My thought is to change this to
   machdep.idle: hlt
  or even
   machdep.idle: acpi
 
  Any comments or ideas please!
 
  Thank you for your attention.

 Is there anything in /var/log/messages which indicates the
 cause?  Can you monitor cpu temp?

No clues in messages -- seems to just power down without any 
warning.

I don't seem to have any thermal monitoring readily available 
except in the BIOS screens -- which seem to indicate everything 
is fine. But I guess this is not really indicative of what is 
happening with a running system. But the same machine has run
earlier versions of FreeBSD staying up months at a time and only 
going down on power failures or on odd occassions I might want 
to look at BIOS settings or some such, so I feel fairly 
confident it is not a thermal issue.

Hmm, I think there might be a BIOS setting to switch on health 
reporting which I expect would show up under sysctl.

Thanks for the contribution.

The more I think about it the more I believe the issue is 
connected with machdep.idle: amdc1e
I am going to try changing this.

Thanks and regards,

Malcolm



___
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: ACPI? problem with release 8.0

2010-04-12 Thread Malcolm Kay
On Tue, 13 Apr 2010 04:03 am, Ian Smith wrote:
 In freebsd-questions Digest, Vol 306, Issue 1, Message: 18

 On Mon, 12 Apr 2010 15:31:33 +0930 Malcolm Kay 
malcolm@internode.on.net wrote:
   I desperately need to make some progress on this issue.

 Then I suggest taking it to freebsd-acpi@ without passing go
 .. maybe with a bit more data to hand, as outlined in the ACPI
 debugging section of the handbook.

Yes, I have now realised this; but now somewhat reticent to move 
there now and be criticised for cross-posting

   Is it likely that the issue is real rather than hardware
   or disk corruption? Earlier releases are operating OK on
   the same machine.

 Sounds like a real issue, but I don't know the hardware.  Does
 it have the latest available BIOS update?  If not, that's step
 one.  Will it stay up long enough to get a verbose dmesg off
 it?  Do you have a verbose dmesg from an earlier working
 release for comparison?

Probably not; I have considered it. 
But the manufacturer's site warns not to upgrade unless you have 
identifyable problems (or something similar).
And since earlier release work well I'm not anxious to open a new 
can of worms. If I become sufficiently desparate I'll try it.


   I have now confirmed that:
debug.acpi.disabled=acad button cpu lid thermal timer
   video still leaves the system crashing and powering down
   when idle for a while. And the more extensive:
debug.acpi.disabled=acad bus children button cmbat cpu ec
   isa lid pci pci_link sysresource thermal timer video
   does the same.
  
   I don't really need power management but with acpi disabled
   the disks are not visible to the system.

 ACPI needs to work on modern hardware, no question.

   Are there sysctl variables that can influence this
   behaviour? Currently I believe we have:
  
   hw.acpi.supported_sleep_state: S1 S4 S5
   hw.acpi.power_button_state: S5
   hw.acpi.sleep_button_state: S1
   hw.acpi.lid_switch_state: NONE
   hw.acpi.standby_state: S1
   hw.acpi.suspend_state: NONE
   hw.acpi.sleep_delay: 1
   hw.acpi.s4bios: 0
   hw.acpi.verbose: 0

 May help to set hw.acpi.verbose=1 in /boot/loader.conf while
 debugging; especially useful after verbose boot for detail in
 dmesg and messages.

Looks as though it might be useful, but I'm starting to believe 
acpi itself may not be the problem

   hw.acpi.disable_on_reboot: 0
   hw.acpi.handle_reboot: 0
   hw.acpi.reset_video: 0
   hw.acpi.cpu.cx_lowest: C1

 Is that with acpi.thermal disabled?

No, this is run with acpi as default configured. 
Boot | login as root | sysctl -a  sysctl.dump | shutdown -p now
(Get out before crash so that I don't get into trouble with
fsck on reboot, yes it runs in the background but takes forever.)

Rebooting in FreeBSD 7.0 I can now mount the 8.0 partitions and 
look at the dump in my own time -- and also prepare these 
emails. (Fsck also runs under 7.0 on the 8.0 partitions if 8.0 
was allowed to crash.)

 If so, showing hw.acpi 
 and debug.acpi with everything enabled might provide more
 clues.
OK

   machdep.idle: amdc1e
   machdep.idle_available: spin, amdc1e, hlt, acpi,
  
   However on the earlier RELEASEs that work I note we do not
   have machdep.idle or machdep.idle_available. Instead I
   find: machdep.cpu_idle_hlt: 1
   machdep.hlt_cpus: 0
  
   Although I've not been able to relate this directly to my
   problem from Googling it seems that there some issues with
   amdc1e under BSD, Linux and perhaps Windows. But all the
   references seem to amd c1e are related to systems in 64 bit
   mode while I am running (or trying to run) i386 so I wonder
   why I have:
 machdep.idle: amdc1e
  
   Maybe my problem is not acpi as such but this idle mode.

 Could well be.  Someone on acpi@ will know about amdc1e, I
 don't, but any BIOS setting re C1E could be relevant to this.

   My thought is to change this to
 machdep.idle: hlt
   or even
 machdep.idle: acpi

 Maybe try setting it to acpi first (without any disabled
 parts) and try? Can't do any worse than crash the same?

I think this should be my next task.
I have on hand another machine (not mine) running realease 8.0
but using an Intel Core i7 processor. This shows
  machdep.idle: acpi
  machdep.idle_available: spin, mwait, mwait_hlt, hlt, acpi,


   Any comments or ideas please!
  
   Thank you for your attention.
  
   Malcolm Kay
  
   On Sat, 10 Apr 2010 05:22 pm, Malcolm Kay wrote:
My machine had two SATA 300GB drives
(WDC WD3200KS-00PFB0 21.00M21) one carrying FreeBSD
RELEASE-6.3 and the other RELEASE-7.0 all of which worked
OK.
   
Recently added SATA 1TB (WDC WD10EADS-00P8B0 01.00A01)
and installed RELEASE 8.0 thereon. When I boot to RELEASE
8.0 I find after some time, few minutes to rather more
minutes the system just powers down without warning or
any obvious cause. It seems to mostly happen when the
system is relatively quiet.

 Adam's suggestion to check that esp. CPU temperature is within
 

Re: Does NAT require DNS (named)?

2010-04-12 Thread Gary Dunn
On Thu, 2010-04-08 at 20:46 -0400, Brodey Dover wrote:
 If you already have a name server on your network then no, the WAP
 will not need to use DNS. You can tell the clients of the WAP that a
 nameserver exists in the DHCPD.conf file.
 
 I believe you can also set router 10.0.0.1 for example in the dhchpd.conf.
 
 On Thu, Apr 8, 2010 at 8:32 PM, Gary Dunn o...@aloha.com wrote:
  On Thu, 8 Apr 2010 17:05:12 -0400 mikel king mikel.k...@olivent.com wrote:
 
  On Apr 8, 2010, at 4:57 PM, Gary Dunn wrote:
[snip]

Thanks for all the help with this! I got NAT working today by commenting
out my custom menu stuff and doing exactly what the handbook documents,
with adjustments for the outdated ipfw documentation. Now I need to
backtrack to get back to my menu design goals.

I got DNS working by placing my upstream DNS servers in dhcpd.conf.
Works fine as long as the router never moves. It is supposed to be
mobile, so I am working on a simple solution for that. Still might go
with a full DNS, as some suggest, but I need to learn a lot more about
managing those configuration files!

Performance was excellent. No visible delay pulling up oddball Google
image searches.

-- 
Gary Dunn, Honolulu
o...@aloha.com
http://openslate.net/
http://e9erust.blogspot.com/
Sent from Slate001

___
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: Build error with mplayer

2010-04-12 Thread Thomas Zander
On Tue, Apr 13, 2010 at 02:50, Neil Short nesh...@yahoo.com wrote:
 Am I missing something?

Probably not, this is a fairly recent build problem. Please see
http://www.freebsd.org/cgi/query-pr.cgi?pr=145636cat=ports

Best regards,
Riggs
___
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