Re: Intel graphics card brightness control issue

2013-09-04 Thread Matthias Petermann

Hi Ethan,

Zitat von "Ethan W. House" :


What could be causing my brightness control to not work on my Intel
graphics card. The acpi values change but no effect takes place.

ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.brightness=50
hw.acpi.video.lcd0.brightness: 100 -> 50
ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.active=1
hw.acpi.video.lcd0.active: 0 -> 0

I also have an issue were upon resume by machine reboots. I believe the two
might be related but I am not sure.

I found a couple of other email chains with similar issues but most of them
have been inactive for more then a year.


Which Laptop model do you have? This issue appears a bit familiar to  
me[1] - I have the same on my Thinkpad. As a workaround you could try  
to change the brightness by direct ACPI calls.


Preparation:

* install sysutils/acpi_call
* kldload acpi_call

Change brightness:

* acpi_call -p '\VBRU'   (Brightness Up)
* acpi_call -p '\VBRD'   (Brightness Down)

It might be that these calls are specific to Thinkpads, not sure if  
they work with others. You can try to find out with acpidump[1].


Kind regards,
Matthias

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=amd64/181357
[2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
--
Matthias Petermann 
Ihr Partner für anspruchsvolle IT-Lösungen
www.petermann-it.de - lösungsorientiert, innovativ und erfolgreich

___
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"

Custom release ISO questions.

2013-09-04 Thread Sergey
Hi all!

Is there a way to create custom ISO without buildworld?
I just want to edit some configs and bsdinstall scripts for silent
automated install - why need to recompile whole world?
It will be great if you'll share some useful links about this process.

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"


iconv conversion fails

2013-09-04 Thread Carlos Jacobo Puga Medina
Hi folks,

I have a problem with the iconv(1) conversion, despite it supporting the
encoding charset ISO-8859-1 it throws the following error:

unsupportedrsion from ISO-8859-1
iconv: try 'iconv -l' to get the list of supported encodings

iconv(1) on BSD has:

% iconv -l | grep ISO-8859-1
CP819 IBM819 ISO-8859-1 ISO-IR-100 ISO8859-1 ISO_8859-1 ISO_8859-1:1987 L1
LATIN1 CSISOLATIN1
ISO-8859-10 ISO-IR-157 ISO8859-10 ISO_8859-10 ISO_8859-10:1992 L6 LATIN6
CSISOLATIN6
ISO-8859-11 ISO8859-11 ISO_8859-11
ISO-8859-13 ISO-IR-179 ISO8859-13 ISO_8859-13 L7 LATIN7
ISO-8859-14 ISO-CELTIC ISO-IR-199 ISO8859-14 ISO_8859-14 ISO_8859-14:1998
L8 LATIN8
ISO-8859-15 ISO-IR-203 ISO8859-15 ISO_8859-15 ISO_8859-15:1998 LATIN-9
ISO-8859-16 ISO-IR-226 ISO8859-16 ISO_8859-16 ISO_8859-16:2001 L10 LATIN10

My .cshrc locale variables are:

setenv LANG es_ES.UTF-8
setenv LC_ALL es_ES.UTF-8

This is the full log[1] of  'bash -x google-translate.sh'

What I'm missing?

--CJPM

[1] http://pastebin.com/jjtC7VJk
___
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: Question about a possible missing line/entry for file UPDATING (from http://svnweb.freebsd.org) - 8.4-RELEASE plus branches

2013-09-04 Thread Damien Fleuriot
Note that, as opposed to you, I'm tracking 8-STABLE and not 8.4-RELEASE !

UPDATING:
$FreeBSD: src/UPDATING,v 1.632.2.39 2013/08/23 15:21:39 svnexp Exp $

newvers.sh:
# $FreeBSD: src/sys/conf/newvers.sh,v 1.83.2.25 2013/08/07 08:26:07 svnexp
Exp $



I'll check our clusters of firewalls to see if I've got any 8.4-RELEASE box
lying around, but don't hold your breath, we almost universally track
8-STABLE...



On 4 September 2013 00:49, Pablo Carboni  wrote:

> Hello Damien,
>
> (First at all, thanks for your response).
>
> I do not want to insist too much with this silly thing, but(just in
> case)
>
> I've updated my sources today from svn0.us-west.freebsd.org(base/releng/8.4), 
> - previously to my first e-mail - and:
>
> (Argentina's current TZ is GMT-3)
>
> -rw-r--r--  1 root  wheel  74967 Sep  3 12:11 /usr/src/UPDATING
>
> The 'grepped' lines, shows me:
>
> 8.3-RELEASE
> [...]
> 8.0-RELEASE
>
> (But 8.4 still doesn't appear).
>
> (However, while grepping first lines in /usr/src/sys/conf/newvers.sh shows
> me:
>
> # $FreeBSD: releng/8.4/sys/conf/newvers.sh 254632 2013-08-22 00:51:56Z
> delphij $
>
> TYPE="FreeBSD"
> REVISION="8.4"
> BRANCH="RELEASE-p3"
>
> (Same svn id for UPDATING/newvers.sh).
>
> Any clues? (What's your svn $Id for UPDATING? - I mean, the whole line,
> the last)
>
> Thanks a lot!
>
> Regards,
> Pablo Carboni.
>
> P.S.: The same happens for
> svn0.us-east.freebsd.org/base/releng/8.4/UPDATING.
> 
>
> (Maybe I'm afraid for local syncing problems on my fbsd server)
>
> On Tue, Sep 3, 2013 at 7:13 PM, Damien Fleuriot  wrote:
>
>> From:
>> -rw-r--r--  1 root  wheel  75631 Aug 27 12:46 /usr/src/UPDATING
>>
>>
>> 20130607:
>> 8.4-RELEASE.
>>
>>
>>
>>
>>
>>
>> On 3 September 2013 18:16, Pablo Carboni  wrote:
>>
>>> Dear Sirs,
>>>
>>> Just for curious, today I was looking for the date/entry that belongs to
>>> FreeBSD 8.4-RELEASE inside UPDATING file, with no luck.
>>>
>>> Maybe I've made a mistake and I was looking inside a wrong file/url?
>>>
>>> It doesn't appear, neither
>>>
>>> http://svnweb.freebsd.org/base/release/8.4.0/UPDATING?revision=251259&view=markup
>>> (RELEASE
>>> branch)
>>>
>>> nor
>>>
>>> http://svnweb.freebsd.org/base/releng/8.4/UPDATING?view=markup&pathrev=254632
>>> (RELENG
>>> branch, currently last revision).
>>>
>>> (This 'little detail' includes sources for 8.4-RELEASE and branch
>>> 8.4-RELEASE-p3, which I've downloaded recently).
>>>
>>> A quick & dirty search I've did on a 8.4-RELEASE-p3 box:
>>>
>>> grep "8\..*-RELEASE" /usr/src/UPDATING
>>>
>>> (There is no reference for '8.4')
>>>
>>> Thanks in advance!
>>>
>>> Regards,
>>> Pablo Carboni
>>> ___
>>> 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"


Network startup with age Ethernet device

2013-09-04 Thread Olivier Nicole
Hi,

I want to set-up a small server from an Asus P5L-MX motherboard.

It has an onboard gigabit Ethrnet that works with the driver age. 

Problem is that at boot, I experience the interface to go up and down a
couple of times, and it is usually down when Apache try to start, so
Apache would not start (nor ntpd).

I resolved to add a 5 seconds sleep in /etc/rc.d/netif but there may be
a more elegant way to solve that.

Help is welcome.

Thanks in advance,

Olivier

In the extract of /var/log/message below you can see 6 seconds delay
between the ifconfig and the interface finally up and running. By that
time ntpd and apache have failed starting.

Sep  4 16:36:58 door kernel: Starting Network: lo0 age0 plip0.
Sep  4 16:36:58 door kernel: lo0: flags=8049 met\
ric 0 mtu 16384
Sep  4 16:36:58 door kernel: options=63
Sep  4 16:36:58 door kernel: inet6 ::1 prefixlen 128
Sep  4 16:36:58 door kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
Sep  4 16:36:58 door kernel: inet 127.0.0.1 netmask 0xff00
Sep  4 16:36:58 door kernel: nd6 options=21
Sep  4 16:36:58 door kernel: age0: flags=8843 metric 0 mtu 1500
Sep  4 16:36:58 door kernel: options=c319b
[...]
Sep  4 16:37:00 door kernel: age0: link state changed to UP
Sep  4 16:37:00 door kernel: age0: link state changed to UP
Sep  4 16:37:01 door kernel: age0: link state changed to DOWN
Sep  4 16:37:01 door kernel: age0: link state changed to DOWN
[...]
Sep  4 16:37:04 door kernel: age0: link state changed to UP
Sep  4 16:37:04 door kernel: age0: link state changed to UP

-- 
___
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: Custom release ISO questions.

2013-09-04 Thread Paul Wootton

On 09/04/13 10:27, Sergey wrote:

Hi all!

Is there a way to create custom ISO without buildworld?
I just want to edit some configs and bsdinstall scripts for silent
automated install - why need to recompile whole world?
It will be great if you'll share some useful links about this process.

Thanks.


Hi,

To create a custom ISO, download the ISO you want to use as your base, 
use tar to extract the ISO into a new directory, make the changes you 
want and then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot 
-no-emul-boot -o ../freebsd_custom.iso ." from the new directory.

That will create a bootable CD.

What I did when making a custom install CD for my server (it's 1000s of 
miles away in a datacenter) was a slightly different approach.
I created a sparse file (sparse to save on disk space) the exact size of 
my server harddrive on my running BSD box, used mdconfig to give me a md 
device and pointed VirtualBox at it. Within a VBox session, I did a 
normal install (manually created the ZFS filing systems), made all the 
config changes I wanted, installed the apps I wanted then shut the VBox 
session down. I DD-ed in the md device and piped it to bzip2, creating a 
bz2 file. Added the bz2 file to the custom BSD install ISO and modified 
/etc/rc.local file to un-bzip the bz2 file, pipe it to mbuffer (so the 
opperator could see something was happening) and write the output to the 
harddrive, popping the reset line when complete.
When the server restarted, it was configured with all the right user 
accounts, ip addresses, nameserver settings etc.


Just my 2 pence worth...

Paul
___
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 graphics card brightness control issue

2013-09-04 Thread Ethan W. House
I get a "Unknown object type '0'" error. Which interestingly enough is very
similar to the error I get when I use xbacklight "No outputs have backlight
property".

I have a Lenovo Thinkpad x230.

I will start playing around with acpidump after work.


Ethan House

On Wed, Sep 4, 2013 at 1:30 AM, Matthias Petermann  wrote:

> Hi Ethan,
>
> Zitat von "Ethan W. House" :
>
>
>  What could be causing my brightness control to not work on my Intel
>> graphics card. The acpi values change but no effect takes place.
>>
>> ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.brightness=**50
>> hw.acpi.video.lcd0.brightness: 100 -> 50
>> ehouse@derpy ~ $ sudo sysctl hw.acpi.video.lcd0.active=1
>> hw.acpi.video.lcd0.active: 0 -> 0
>>
>> I also have an issue were upon resume by machine reboots. I believe the
>> two
>> might be related but I am not sure.
>>
>> I found a couple of other email chains with similar issues but most of
>> them
>> have been inactive for more then a year.
>>
>
> Which Laptop model do you have? This issue appears a bit familiar to me[1]
> - I have the same on my Thinkpad. As a workaround you could try to change
> the brightness by direct ACPI calls.
>
> Preparation:
>
> * install sysutils/acpi_call
> * kldload acpi_call
>
> Change brightness:
>
> * acpi_call -p '\VBRU'   (Brightness Up)
> * acpi_call -p '\VBRD'   (Brightness Down)
>
> It might be that these calls are specific to Thinkpads, not sure if they
> work with others. You can try to find out with acpidump[1].
>
> Kind regards,
> Matthias
>
> [1] 
> http://www.freebsd.org/cgi/**query-pr.cgi?pr=amd64/181357
> [2] http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/**
> acpi-debug.html
> --
> Matthias Petermann 
> Ihr Partner für anspruchsvolle IT-Lösungen
> www.petermann-it.de - lösungsorientiert, innovativ und erfolgreich
>
> __**_
> 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"


The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Patrick Dung
Hello,

Do you know what is this logo means, or the story behind it?
I thought the BSD daemon (logo) has been around for many years in the past.

Thanks and regards,
Patrick Dung
___
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: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread  Dhénin Jean-Jacques
2013/9/4 Patrick Dung 

> Hello,
>
> Do you know what is this logo means, or the story behind it?
> I thought the BSD daemon (logo) has been around for many years in the past.
>
> Thanks and regards,
> Patrick Dung
>

http://en.wikipedia.org/wiki/BSD_Daemon

-- 
-
(°>   Dhénin Jean-Jacques
/ ) 48, rue de la Justice 78300 Poissy
^^   dhe...@gmail.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: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-04 Thread alexus
so mean while, I'm thinking adding something like this to cron as @daily,
but I'm getting error(

f9# service bsnmpd status ; if [ $? != 0 ] ; then service bsnmpd start ; fi
bsnmpd is running as pid 4269.
if: Expression Syntax.
then: Command not found.
fi: Command not found.
f9#



On Tue, Sep 3, 2013 at 4:41 PM, Fernando Apesteguía <
fernando.apesteg...@gmail.com> wrote:

>
> El 03/09/2013 21:47, "alexus"  escribió:
>
> >
> > I use bsnmpd w/ mrtg (have been for very long time and everything was
> ok, till recently), mrtg just monitors interface(s) as it always did,
> nothing special..
> >
> > any ideas how to solve it though?
>
> I'm really sorry. I don't use SNMP.
> I would try to configure snmpd to be as verbose as possible and see if it
> can log something interesting before it crashes.
>
> Maybe someone who uses it can step in and help you to debug the problem.
>
> >
> >
> > On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía <
> fernando.apesteg...@gmail.com> wrote:
> >>
> >>
> >>
> >>
> >> On Tue, Sep 3, 2013 at 9:22 PM, alexus  wrote:
> >>>
> >>> #13156 0x in ?? ()
> >>> #13157 0x0001 in ?? ()
> >>> #13158 0x7fffae80 in ?? ()
> >>> #13159 0x00080063c400 in ?? ()
> >>> #13160 0x7fffae90 in ?? ()
> >>> #13161 0x7fffae30 in ?? ()
> >>> #13162 0x00080063c000 in ?? ()
> >>> #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
> >>> Previous frame inner to this frame (corrupt stack?)
> >>> (gdb)
> >>>
> >>> http://pastebin.com/qhQGC5A4
> >>
> >>
> >> It was long indeed :)
> >>
> >> It seems to me you are receiving a very long query from the network and
> somehow, the snmp_input_finish() function is blowing up.
> >>
> >>
> >>
> >>>
> >>>
> >>>
> >>>
> >>> On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía <
> fernando.apesteg...@gmail.com> wrote:
> 
> 
>  El 03/09/2013 21:11, "alexus"  escribió:
> 
> 
>  >
>  > it's _REALLY_ long, but if you want I can upload it somewhere...
>  >
>  > last couple of lines is following:
>  >
>  > #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
>  > Previous frame inner to this frame (corrupt stack?)
> 
>  Not much there.
> 
>  Paste the last 10 or 20 lines please. Let's see if that throws some
> light.
> 
>  >
>  >
>  >
>  > On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía <
> fernando.apesteg...@gmail.com> wrote:
>  >>
>  >>
>  >>
>  >>
>  >> On Tue, Sep 3, 2013 at 9:04 PM, alexus  wrote:
>  >>>
>  >>> can you guide me through to get "whole backtrace" please?
>  >>
>  >>
>  >> After opening the core like you did, type "bt" and press enter.
>  >>
>  >>>
>  >>>
>  >>>
>  >>> On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía <
> fernando.apesteg...@gmail.com> wrote:
>  
>  
>   El 27/08/2013 05:03, "alexus"  escribió:
>  
>  
>   >
>   > f9# gdb `which bsnmpd` /bsnmpd.core
>   > GNU gdb 6.1.1 [FreeBSD]
>   > Copyright 2004 Free Software Foundation, Inc.
>   > GDB is free software, covered by the GNU General Public
> License, and you are
>   > welcome to change it and/or distribute copies of it under
> certain
>   > conditions.
>   > Type "show copying" to see the conditions.
>   > There is absolutely no warranty for GDB.  Type "show warranty"
> for details.
>   > This GDB was configured as "amd64-marcel-freebsd"...(no
> debugging symbols
>   > found)...
>   > Core was generated by `bsnmpd'.
>   > Program terminated with signal 6, Aborted.
>   > Reading symbols from /lib/libbegemot.so.4...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /lib/libbegemot.so.4
>   > Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /usr/lib/libbsnmp.so.6
>   > Reading symbols from /usr/lib/libwrap.so.6...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /usr/lib/libwrap.so.6
>   > Reading symbols from /lib/libc.so.7...(no debugging symbols
> found)...done.
>   > Loaded symbols for /lib/libc.so.7
>   > Reading symbols from /lib/libcrypto.so.6...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /lib/libcrypto.so.6
>   > Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /usr/lib/snmp_mibII.so
>   > Reading symbols from /libexec/ld-elf.so.1...(no debugging
> symbols
>   > found)...done.
>   > Loaded symbols for /libexec/ld-elf.so.1
>   > #0  0x000800f54d6c in kill () from /lib/libc.so.7
>   > (gdb)
>  
>   Is that the whole backtrace?
> >>

Re: Network startup with age Ethernet device

2013-09-04 Thread Lowell Gilbert
Olivier Nicole  writes:

> I want to set-up a small server from an Asus P5L-MX motherboard.
>
> It has an onboard gigabit Ethrnet that works with the driver age. 
>
> Problem is that at boot, I experience the interface to go up and down a
> couple of times, and it is usually down when Apache try to start, so
> Apache would not start (nor ntpd).
>
> I resolved to add a 5 seconds sleep in /etc/rc.d/netif but there may be
> a more elegant way to solve that.

Have you tried using netwait? 
I think that would involve putting enable_netwait in rc.conf, and
configuring an address for it to check; probably the gateway would be
good enough.

___
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: Network startup with age Ethernet device

2013-09-04 Thread Michael Sierchio
On Wed, Sep 4, 2013 at 8:49 AM, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:

>
> Have you tried using netwait?
> I think that would involve putting enable_netwait in rc.conf, and
>

netwait_enable="YES"  would be it.

- M
___
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"


can we port the cesa driver

2013-09-04 Thread Elluru, Krishna
HI Freebsd team,
can we port the cesa(4) driver for the Marvell crypto engine and security 
accelerator that has been added to FREEBSD 9.1 to FREEBSD 8.1 version? are 
there any issues or challenges w.r.t this? we are looking to port it to FREEBSD 
8.1 kernel version for crypto performance improvement.

Thanks
Krishna Mohan.
___
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: Custom release ISO questions.

2013-09-04 Thread Frank Leonhardt

On 04/09/2013 13:17, Paul Wootton wrote:

On 09/04/13 10:27, Sergey wrote:

Hi all!

Is there a way to create custom ISO without buildworld?
I just want to edit some configs and bsdinstall scripts for silent
automated install - why need to recompile whole world?
It will be great if you'll share some useful links about this process.

Thanks.


Hi,

To create a custom ISO, download the ISO you want to use as your base, 
use tar to extract the ISO into a new directory, make the changes you 
want and then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot 
-no-emul-boot -o ../freebsd_custom.iso ." from the new directory.

That will create a bootable CD.


(Found in ports/sysutuls/cdrtools)



What I did when making a custom install CD for my server (it's 1000s 
of miles away in a datacenter) was a slightly different approach. 


Boggle!

___
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: Custom release ISO questions.

2013-09-04 Thread Sergey
Thank you Paul!

> mkisofs ...
It is interesting, does the Linux version of mkisofs fit?

> slightly different approach.
Very nice! Thanks again.

On Wed, Sep 4, 2013 at 4:17 PM, Paul Wootton <
paul-free...@fletchermoorland.co.uk> wrote:

> On 09/04/13 10:27, Sergey wrote:
>
>> Hi all!
>>
>> Is there a way to create custom ISO without buildworld?
>> I just want to edit some configs and bsdinstall scripts for silent
>> automated install - why need to recompile whole world?
>> It will be great if you'll share some useful links about this process.
>>
>> Thanks.
>>
>
> Hi,
>
> To create a custom ISO, download the ISO you want to use as your base, use
> tar to extract the ISO into a new directory, make the changes you want and
> then run "mkisofs -V FreeBSD9 -J -R -b boot/cdboot -no-emul-boot -o
> ../freebsd_custom.iso ." from the new directory.
> That will create a bootable CD.
>
> What I did when making a custom install CD for my server (it's 1000s of
> miles away in a datacenter) was a slightly different approach.
> I created a sparse file (sparse to save on disk space) the exact size of
> my server harddrive on my running BSD box, used mdconfig to give me a md
> device and pointed VirtualBox at it. Within a VBox session, I did a normal
> install (manually created the ZFS filing systems), made all the config
> changes I wanted, installed the apps I wanted then shut the VBox session
> down. I DD-ed in the md device and piped it to bzip2, creating a bz2 file.
> Added the bz2 file to the custom BSD install ISO and modified /etc/rc.local
> file to un-bzip the bz2 file, pipe it to mbuffer (so the opperator could
> see something was happening) and write the output to the harddrive, popping
> the reset line when complete.
> When the server restarted, it was configured with all the right user
> accounts, ip addresses, nameserver settings etc.
>
> Just my 2 pence worth...
>
> Paul
>
___
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: f9 snmpd[4517]: stack overflow detected; terminated

2013-09-04 Thread alexus
nevermind) I forgot I'm using csh, so right syntax is:

service bsnmpd status ; if ( $? != 0 ) service bsnmpd start ; endif


On Wed, Sep 4, 2013 at 11:52 AM, alexus  wrote:

> so mean while, I'm thinking adding something like this to cron as @daily,
> but I'm getting error(
>
> f9# service bsnmpd status ; if [ $? != 0 ] ; then service bsnmpd start ; fi
> bsnmpd is running as pid 4269.
> if: Expression Syntax.
> then: Command not found.
> fi: Command not found.
> f9#
>
>
>
> On Tue, Sep 3, 2013 at 4:41 PM, Fernando Apesteguía <
> fernando.apesteg...@gmail.com> wrote:
>
>>
>> El 03/09/2013 21:47, "alexus"  escribió:
>>
>> >
>> > I use bsnmpd w/ mrtg (have been for very long time and everything was
>> ok, till recently), mrtg just monitors interface(s) as it always did,
>> nothing special..
>> >
>> > any ideas how to solve it though?
>>
>> I'm really sorry. I don't use SNMP.
>> I would try to configure snmpd to be as verbose as possible and see if it
>> can log something interesting before it crashes.
>>
>> Maybe someone who uses it can step in and help you to debug the problem.
>>
>> >
>> >
>> > On Tue, Sep 3, 2013 at 3:40 PM, Fernando Apesteguía <
>> fernando.apesteg...@gmail.com> wrote:
>> >>
>> >>
>> >>
>> >>
>> >> On Tue, Sep 3, 2013 at 9:22 PM, alexus  wrote:
>> >>>
>> >>> #13156 0x in ?? ()
>> >>> #13157 0x0001 in ?? ()
>> >>> #13158 0x7fffae80 in ?? ()
>> >>> #13159 0x00080063c400 in ?? ()
>> >>> #13160 0x7fffae90 in ?? ()
>> >>> #13161 0x7fffae30 in ?? ()
>> >>> #13162 0x00080063c000 in ?? ()
>> >>> #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
>> >>> Previous frame inner to this frame (corrupt stack?)
>> >>> (gdb)
>> >>>
>> >>> http://pastebin.com/qhQGC5A4
>> >>
>> >>
>> >> It was long indeed :)
>> >>
>> >> It seems to me you are receiving a very long query from the network
>> and somehow, the snmp_input_finish() function is blowing up.
>> >>
>> >>
>> >>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Tue, Sep 3, 2013 at 3:18 PM, Fernando Apesteguía <
>> fernando.apesteg...@gmail.com> wrote:
>> 
>> 
>>  El 03/09/2013 21:11, "alexus"  escribió:
>> 
>> 
>>  >
>>  > it's _REALLY_ long, but if you want I can upload it somewhere...
>>  >
>>  > last couple of lines is following:
>>  >
>>  > #13163 0x000800624244 in dlclose () from /libexec/ld-elf.so.1
>>  > Previous frame inner to this frame (corrupt stack?)
>> 
>>  Not much there.
>> 
>>  Paste the last 10 or 20 lines please. Let's see if that throws some
>> light.
>> 
>>  >
>>  >
>>  >
>>  > On Tue, Sep 3, 2013 at 3:08 PM, Fernando Apesteguía <
>> fernando.apesteg...@gmail.com> wrote:
>>  >>
>>  >>
>>  >>
>>  >>
>>  >> On Tue, Sep 3, 2013 at 9:04 PM, alexus  wrote:
>>  >>>
>>  >>> can you guide me through to get "whole backtrace" please?
>>  >>
>>  >>
>>  >> After opening the core like you did, type "bt" and press enter.
>>  >>
>>  >>>
>>  >>>
>>  >>>
>>  >>> On Tue, Aug 27, 2013 at 5:19 PM, Fernando Apesteguía <
>> fernando.apesteg...@gmail.com> wrote:
>>  
>>  
>>   El 27/08/2013 05:03, "alexus"  escribió:
>>  
>>  
>>   >
>>   > f9# gdb `which bsnmpd` /bsnmpd.core
>>   > GNU gdb 6.1.1 [FreeBSD]
>>   > Copyright 2004 Free Software Foundation, Inc.
>>   > GDB is free software, covered by the GNU General Public
>> License, and you are
>>   > welcome to change it and/or distribute copies of it under
>> certain
>>   > conditions.
>>   > Type "show copying" to see the conditions.
>>   > There is absolutely no warranty for GDB.  Type "show
>> warranty" for details.
>>   > This GDB was configured as "amd64-marcel-freebsd"...(no
>> debugging symbols
>>   > found)...
>>   > Core was generated by `bsnmpd'.
>>   > Program terminated with signal 6, Aborted.
>>   > Reading symbols from /lib/libbegemot.so.4...(no debugging
>> symbols
>>   > found)...done.
>>   > Loaded symbols for /lib/libbegemot.so.4
>>   > Reading symbols from /usr/lib/libbsnmp.so.6...(no debugging
>> symbols
>>   > found)...done.
>>   > Loaded symbols for /usr/lib/libbsnmp.so.6
>>   > Reading symbols from /usr/lib/libwrap.so.6...(no debugging
>> symbols
>>   > found)...done.
>>   > Loaded symbols for /usr/lib/libwrap.so.6
>>   > Reading symbols from /lib/libc.so.7...(no debugging symbols
>> found)...done.
>>   > Loaded symbols for /lib/libc.so.7
>>   > Reading symbols from /lib/libcrypto.so.6...(no debugging
>> symbols
>>   > found)...done.
>>   > Loaded symbols for /lib/libcrypto.so.6
>>   > Reading symbols from /usr/lib/snmp_mibII.so...(no debugging
>> symbols
>>   > found)...done.
>>   > Loaded symbols 

Re: Question about a possible missing line/entry for file UPDATING (from http://svnweb.freebsd.org) - 8.4-RELEASE plus branches

2013-09-04 Thread Pablo Carboni
Dear Damien,

I use to install and update 'Releng'  releases (plus patches, but  not
stable releases) in our production servers (Ok, I agree stable is fine, but
my main reason is to be conservative under some circunstances).

(BTW, You're right, on 8-STABLE branch, it appears the 'missing' line I was
looking for)

Just as a last comment, I've found this 'normal line' on stable branch (but
not on release/releng):

http://svnweb.freebsd.org/base/stable/8/UPDATING?view=log

Revision *251500*
-
(view)
(download)
(annotate )
- [select for 
diffs]

Modified *Fri Jun 7 15:52:33 2013 UTC* (2 months, 4 weeks ago) by *pluknet*
File length: 74494 byte(s)
Diff to previous
251026

Add the entry for 8.4-RELEASE.


(I think it should be added by someone to 8.4 releng branch). If this is
the case, shouldn't be sent this 'missing entry' to anyone by the means of
 'PR' ?

Thank you very much for your patience :)

Regards,
Pablo.

On Wed, Sep 4, 2013 at 6:51 AM, Damien Fleuriot  wrote:

> Note that, as opposed to you, I'm tracking 8-STABLE and not 8.4-RELEASE !
>
> UPDATING:
> $FreeBSD: src/UPDATING,v 1.632.2.39 2013/08/23 15:21:39 svnexp Exp $
>
> newvers.sh:
> # $FreeBSD: src/sys/conf/newvers.sh,v 1.83.2.25 2013/08/07 08:26:07 svnexp
> Exp $
>
>
>
> I'll check our clusters of firewalls to see if I've got any 8.4-RELEASE
> box lying around, but don't hold your breath, we almost universally track
> 8-STABLE...
>
>
>
> On 4 September 2013 00:49, Pablo Carboni  wrote:
>
>> Hello Damien,
>>
>> (First at all, thanks for your response).
>>
>> I do not want to insist too much with this silly thing, but(just in
>> case)
>>
>> I've updated my sources today from 
>> svn0.us-west.freebsd.org(base/releng/8.4), - previously to my first e-mail - 
>> and:
>>
>> (Argentina's current TZ is GMT-3)
>>
>> -rw-r--r--  1 root  wheel  74967 Sep  3 12:11 /usr/src/UPDATING
>>
>> The 'grepped' lines, shows me:
>>
>> 8.3-RELEASE
>> [...]
>> 8.0-RELEASE
>>
>> (But 8.4 still doesn't appear).
>>
>> (However, while grepping first lines in /usr/src/sys/conf/newvers.sh
>> shows me:
>>
>> # $FreeBSD: releng/8.4/sys/conf/newvers.sh 254632 2013-08-22 00:51:56Z
>> delphij $
>>
>> TYPE="FreeBSD"
>> REVISION="8.4"
>> BRANCH="RELEASE-p3"
>>
>> (Same svn id for UPDATING/newvers.sh).
>>
>> Any clues? (What's your svn $Id for UPDATING? - I mean, the whole line,
>> the last)
>>
>> Thanks a lot!
>>
>> Regards,
>> Pablo Carboni.
>>
>> P.S.: The same happens for
>> svn0.us-east.freebsd.org/base/releng/8.4/UPDATING.
>> 
>>
>> (Maybe I'm afraid for local syncing problems on my fbsd server)
>>
>> On Tue, Sep 3, 2013 at 7:13 PM, Damien Fleuriot  wrote:
>>
>>> From:
>>> -rw-r--r--  1 root  wheel  75631 Aug 27 12:46 /usr/src/UPDATING
>>>
>>>
>>> 20130607:
>>> 8.4-RELEASE.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 3 September 2013 18:16, Pablo Carboni  wrote:
>>>
 Dear Sirs,

 Just for curious, today I was looking for the date/entry that belongs to
 FreeBSD 8.4-RELEASE inside UPDATING file, with no luck.

 Maybe I've made a mistake and I was looking inside a wrong file/url?

 It doesn't appear, neither

 http://svnweb.freebsd.org/base/release/8.4.0/UPDATING?revision=251259&view=markup
 (RELEASE
 branch)

 nor

 http://svnweb.freebsd.org/base/releng/8.4/UPDATING?view=markup&pathrev=254632
 (RELENG
 branch, currently last revision).

 (This 'little detail' includes sources for 8.4-RELEASE and branch
 8.4-RELEASE-p3, which I've downloaded recently).

 A quick & dirty search I've did on a 8.4-RELEASE-p3 box:

 grep "8\..*-RELEASE" /usr/src/UPDATING

 (There is no reference for '8.4')

 Thanks in advance!

 Regards,
 Pablo Carboni
 ___
 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: Question about a possible missing line/entry for file UPDATING (from http://svnweb.freebsd.org) - 8.4-RELEASE plus branches

2013-09-04 Thread Damien Fleuriot
However minor the issue seems, I think it warrants a PR, if at least so the
entry is added for the next revision of 8.4-RELEASE.


Regarding -STABLE, while I respect your decision to be conservative and run
-RELEASE, I'd like to point out we've not run into any problem here, in
over 3 years with ~40 firewall boxes.



On 4 September 2013 17:48, Pablo Carboni  wrote:

> Dear Damien,
>
> I use to install and update 'Releng'  releases (plus patches, but  not
> stable releases) in our production servers (Ok, I agree stable is fine, but
> my main reason is to be conservative under some circunstances).
>
> (BTW, You're right, on 8-STABLE branch, it appears the 'missing' line I
> was looking for)
>
> Just as a last comment, I've found this 'normal line' on stable branch
> (but not on release/releng):
>
> http://svnweb.freebsd.org/base/stable/8/UPDATING?view=log
>
> Revision 
> *251500* -
> (view)
> (download)
> (annotate)
> - [select for 
> diffs]
>
> Modified *Fri Jun 7 15:52:33 2013 UTC* (2 months, 4 weeks ago) by *pluknet
> *
> File length: 74494 byte(s)
> Diff to previous 
> 251026
>
> Add the entry for 8.4-RELEASE.
>
>
> (I think it should be added by someone to 8.4 releng branch). If this is
> the case, shouldn't be sent this 'missing entry' to anyone by the means of
>  'PR' ?
>
> Thank you very much for your patience :)
>
> Regards,
> Pablo.
>
> On Wed, Sep 4, 2013 at 6:51 AM, Damien Fleuriot  wrote:
>
>> Note that, as opposed to you, I'm tracking 8-STABLE and not 8.4-RELEASE !
>>
>> UPDATING:
>> $FreeBSD: src/UPDATING,v 1.632.2.39 2013/08/23 15:21:39 svnexp Exp $
>>
>> newvers.sh:
>> # $FreeBSD: src/sys/conf/newvers.sh,v 1.83.2.25 2013/08/07 08:26:07
>> svnexp Exp $
>>
>>
>>
>> I'll check our clusters of firewalls to see if I've got any 8.4-RELEASE
>> box lying around, but don't hold your breath, we almost universally track
>> 8-STABLE...
>>
>>
>>
>> On 4 September 2013 00:49, Pablo Carboni  wrote:
>>
>>> Hello Damien,
>>>
>>> (First at all, thanks for your response).
>>>
>>> I do not want to insist too much with this silly thing, but(just in
>>> case)
>>>
>>> I've updated my sources today from 
>>> svn0.us-west.freebsd.org(base/releng/8.4), - previously to my first e-mail 
>>> - and:
>>>
>>> (Argentina's current TZ is GMT-3)
>>>
>>> -rw-r--r--  1 root  wheel  74967 Sep  3 12:11 /usr/src/UPDATING
>>>
>>> The 'grepped' lines, shows me:
>>>
>>> 8.3-RELEASE
>>> [...]
>>> 8.0-RELEASE
>>>
>>> (But 8.4 still doesn't appear).
>>>
>>> (However, while grepping first lines in /usr/src/sys/conf/newvers.sh
>>> shows me:
>>>
>>> # $FreeBSD: releng/8.4/sys/conf/newvers.sh 254632 2013-08-22 00:51:56Z
>>> delphij $
>>>
>>> TYPE="FreeBSD"
>>> REVISION="8.4"
>>> BRANCH="RELEASE-p3"
>>>
>>> (Same svn id for UPDATING/newvers.sh).
>>>
>>> Any clues? (What's your svn $Id for UPDATING? - I mean, the whole line,
>>> the last)
>>>
>>> Thanks a lot!
>>>
>>> Regards,
>>> Pablo Carboni.
>>>
>>> P.S.: The same happens for
>>> svn0.us-east.freebsd.org/base/releng/8.4/UPDATING.
>>> 
>>>
>>> (Maybe I'm afraid for local syncing problems on my fbsd server)
>>>
>>> On Tue, Sep 3, 2013 at 7:13 PM, Damien Fleuriot  wrote:
>>>
 From:
 -rw-r--r--  1 root  wheel  75631 Aug 27 12:46 /usr/src/UPDATING


 20130607:
 8.4-RELEASE.






 On 3 September 2013 18:16, Pablo Carboni  wrote:

> Dear Sirs,
>
> Just for curious, today I was looking for the date/entry that belongs
> to
> FreeBSD 8.4-RELEASE inside UPDATING file, with no luck.
>
> Maybe I've made a mistake and I was looking inside a wrong file/url?
>
> It doesn't appear, neither
>
> http://svnweb.freebsd.org/base/release/8.4.0/UPDATING?revision=251259&view=markup
> (RELEASE
> branch)
>
> nor
>
> http://svnweb.freebsd.org/base/releng/8.4/UPDATING?view=markup&pathrev=254632
> (RELENG
> branch, currently last revision).
>
> (This 'little detail' includes sources for 8.4-RELEASE and branch
> 8.4-RELEASE-p3, which I've downloaded recently).
>
> A quick & dirty search I've did on a 8.4-RELEASE-p3 box:
>
> grep "8\..*-RELEASE" /usr/src/UPDATING
>
> (There is no reference for '8.4')
>
> Thanks in advance!
>
> Regards,
> Pablo Carboni
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe,

Re: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Lowell Gilbert
Patrick Dung  writes:

> Do you know what is this logo means, or the story behind it?
> I thought the BSD daemon (logo) has been around for many years in the past.

It's a movie reference ("Die Hard").

The Beastie logo is still there, in the /boot directory, if you want 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"


Re: Support

2013-09-04 Thread Lowell Gilbert
sopo...@promonitor.com.mx writes:

> Hello, i have a "Server" whith the screen information like attach
> Server.jpg, assumed that are to save the record of IP cameras like
> network folder (see network.jpg), but another IP cameras need a FTP
> folder and other that folder don't have blank spaces.
>
> If possible make this (FTP and other folder network) in the "server"
> whit freeBSD, the person what config and install the machine isn't
> more available so any have the information by they work in this
> plataform or make changes, so i need makes this adds at they exist.

The FreeBSD Handbook includes a section on configuring ftpd. 
There's also a manual for ftpd itself (see 
http://www.freebsd.org/cgi/man.cgi?query=ftpd).
Is that what you're looking for? 

Normally, an FTP client can use any directory ("folder") on the server
if it's logging in as a normal user, or any directory under the home
directory if it's logging in as an "anonymous" user. These details are
covered in the ftpd manual page. You shouldn't have any trouble creating
such a directory with no spaces in its name.

Good luck.
___
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: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Patrick Dung
Oh I see. I have found that the logo was mentioned in news group 
org.freebsd.freebsd-chat back in 1997.





 From: Lowell Gilbert 
To: Patrick Dung  
Cc: "freebsd-questions@freebsd.org"  
Sent: Wednesday, September 4, 2013 11:45 PM
Subject: Re: The logo at boot (Nakatomi Socrates BSD 9.2)
 

Patrick Dung  writes:

> Do you know what is this logo means, or the story behind it?
> I thought the BSD daemon (logo) has been around for many years in the past.

It's a movie reference ("Die Hard").

The Beastie logo is still there, in the /boot directory, if you want 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"


Re: The logo at boot (Nakatomi Socrates BSD 9.2)

2013-09-04 Thread Warren Block

On Wed, 4 Sep 2013, Lowell Gilbert wrote:


Patrick Dung  writes:


Do you know what is this logo means, or the story behind it?
I thought the BSD daemon (logo) has been around for many years in the past.


It's a movie reference ("Die Hard").

The Beastie logo is still there, in the /boot directory, if you want it.


Or the standard "orb", by setting it in /boot/loader.conf: 
loader_logo="orb"

___
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"


using netpgp with mutt

2013-09-04 Thread Chad Perrin
Is there anyone listening (reading) who has gotten netpgp working with
mutt?  I've been trying to sort out how to get it working as a
replacement for GnuPG, and have thus far failed to sort out how to make
it fit, and failed to find anything like a guide to using it for such
purposes on the web.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: Network startup with age Ethernet device

2013-09-04 Thread Olivier Nicole
Thank you, that's what I needed.

Best regards,

Olivier

On Wed, Sep 4, 2013 at 11:04 PM, Michael Sierchio  wrote:
> On Wed, Sep 4, 2013 at 8:49 AM, Lowell Gilbert <
> freebsd-questions-lo...@be-well.ilk.org> wrote:
>
>>
>> Have you tried using netwait?
>> I think that would involve putting enable_netwait in rc.conf, and
>>
>
> netwait_enable="YES"  would be it.
>
> - M
> ___
> 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"