Re: CARP related trivial question

2011-11-03 Thread Snoop
Thanks guys. I think Julian gave me the answer I was looking for.

On the other hand I believe that CARP handbook/man pages are inaccurate.
I'm not supposed to look for these kind of things on a mailing list.
Working instructions are the most important information and have to be
there. I also think that the arp load balancing section of CARP is not
that complete. But anyway, it's just my point of view on this very
specific case as I'm generally very happy about the quality of Free/Open
BSD man pages.

Thank you all for your time, have a good day.

On Wed, 2011-11-02 at 17:28 +0100, Julian H. Stacey wrote:
 Hi,
 Reference:
  From:   Damien Fleuriot m...@my.gd 
  Date:   Wed, 02 Nov 2011 16:44:50 +0100 
  Message-id: 4eb16572.4080...@my.gd 
 
 Damien Fleuriot wrote:
  On 11/1/11 8:19 AM, Snoop wrote:
   Sorry but I have to re-post my question as I didn't get any exhaustive 
   reply. I can't believe that nobody is aware of this anyhow.
   P.S. Nop, there aren't related loadable modules in /boot/kernel.
 
 Snoop is not on CC line, I hope he's on this list.
 Snoop wrote :
   There aren't related loadable modules in /boot/kernel
 So Snoop must install modules !
   # cd /sys/`uname -m`/conf  config GENERIC
   cd /usr/src/sys/modules ; make ; make install
 
 
   
   
   Hi everybody,
   I've got a pretty trivial question but I'm kind of disoriented.
   
   In the CARP man pages is clearly stated
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/carp.html: 
   __
   To enable support for CARP, the FreeBSD kernel must be rebuilt as
   described in Chapter 9 with the following option:
   device carp
   
   Alternatively, the if_carp.ko module can be loaded at boot time. Add the
   following line to the /boot/loader.conf:
   if_carp_load=YES 
   __
   
   I'm not new to FreeBSD but I didn't manage to load that as a module, not
   while the OS is running neither at the startup adding the param on
   loader.conf.
   I'd love to do that instead of recompiling the kernel to get that
   working on any node.
   I'm talking about FreeBSD 8.1.
   
   Am I missing something?
   Any tip would be appreciated.
   
  
  
  You have already receive a reply on-list, which asked if you had
  /boot/kernel/if_carp* files .
  I haven't followed further so I'm not sure if you ever replied to it or not.
  
  
  Find below the same output from a 8.2-STABLE box:
  
  
  mybsd root  /boot/kernel
  
   # uname -a
  FreeBSD mybsd 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Oct 12 16:58:51 CEST
  2011 root@mybsd:/usr/obj/usr/src/sys/DAM  amd64
  
  
   mybsd
  root  /boot/kernel
  
 # ls -la
  /boot/kernel/if_carp*
  -r-xr-xr-x  1 root  wheel   44384 Oct 12 17:11 /boot/kernel/if_carp.ko
  -r-xr-xr-x  1 root  wheel  197856 Oct 12 17:11
  /boot/kernel/if_carp.ko.symbols
  
  
  ___
  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
  
 
 
 Cheers,
 Julian


 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Halloween a Rimini, hotel+parco, con i Torre Pedrera Hotels, Euro 90 a coppia 
in bed  breakfast, con ingresso ai parchi tematici della romagna
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11896d=3-11
___
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: DNS config help

2011-11-03 Thread Matthew Seaman
On 02/11/2011 20:52, AN wrote:
 I have a question about how to configure DNS.  My local network is 10.x,
 and I sometimes need to connect to a remote VPN.  My question is how do
 I configure BIND to forward queries to a different server only for a
 specific domain.

This sounds like a job for a static-stub domain.  That's a fairly new
feature in BIND, so you may well need to install bind98 from ports.  See
the documentation here:

http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#zone_statement_grammar

 When I am connected to the VPN, vpn.example.com, I want queries for
 anything going to example.com  to go a specific DNS, and everything else
 on 10.x to go to my regular DNS.  Please let me know if I need to
 provide more info.  Thanks in advance for any help.

Hmmm I don't think you're going to have much fun at all if you try
and modify your named configuration depending on whether your VPN is up
or not.  DNS TTLs are generally of the order of days -- that should be
taken as a measure of the minimum time that should go between restarts
of a recursive DNS (ideally, and as a long term average).  Better to
just fail the lookup when the VPN is down.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: DNS config help

2011-11-03 Thread Damien Fleuriot


On 11/3/11 8:51 AM, Matthew Seaman wrote:
 On 02/11/2011 20:52, AN wrote:
 I have a question about how to configure DNS.  My local network is 10.x,
 and I sometimes need to connect to a remote VPN.  My question is how do
 I configure BIND to forward queries to a different server only for a
 specific domain.
 
 This sounds like a job for a static-stub domain.  That's a fairly new
 feature in BIND, so you may well need to install bind98 from ports.  See
 the documentation here:
 
 http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#zone_statement_grammar
 

You can simply create a forward zone.

If this should only apply to your VPN clients, then create a view that
matches only their IP, for example:


acl trusted { 127.0.0.1; ::1; 192.168.0.0/24; };

view internal_in in {
match-clients { trusted; };
recursion yes;
additional-from-auth yes;
additional-from-cache yes;

zone . {
type hint;
file named.root;
};

zone avocat-conseil.fr
{
  type forward;
  forwarders { 192.168.252.252; };
  forward only;
};
};



I have the exact one setup here, allow me to explain.

There's a server at my parents' office (wow this sounds so awkward, when
I re-read it) that handles:
- dhcp
- dns
- firewalling
- smb shares
- routing

There's also a small VPN box that's, so to speak, outside our perimeter
because it's an appliance and I have 0 level of control over it, it runs
at 192.168.252.252 in its own separate VLAN and establishes a VPN with
some law organization thingy, using an IP range of 172.30.*

From the server, I route 172.30.* to the VPN box, and I also make that
box authoritative for a few domains, including the one quoted above.

I'm not certain what you're trying to accomplish, but this works like a
charm here.

 When I am connected to the VPN, vpn.example.com, I want queries for
 anything going to example.com  to go a specific DNS, and everything else
 on 10.x to go to my regular DNS.  Please let me know if I need to
 provide more info.  Thanks in advance for any help.
 
 Hmmm I don't think you're going to have much fun at all if you try
 and modify your named configuration depending on whether your VPN is up
 or not.  DNS TTLs are generally of the order of days -- that should be
 taken as a measure of the minimum time that should go between restarts
 of a recursive DNS (ideally, and as a long term average).  Better to
 just fail the lookup when the VPN is down.
 

Actually, using a view that matches only the VPN's IP range would do the
trick easily and efficiently.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: nfs client speed lower than expected.

2011-11-03 Thread Vincent Hoffman
iperf
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-60.2 sec  6.22 GBytes   887 Mbits/sec

transfers in via ssh are nice and nifty too.


Vince

On 02/11/2011 23:55, Gary Gatten wrote:
 Is the interface really at 1Gb?  Have you tested with iperf, ftp, or anything 
 other than nfs?

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Vincent Hoffman
 Sent: Wednesday, November 02, 2011 6:52 PM
 To: FreeBSD-Questions@freebsd.org
 Subject: nfs client speed lower than expected.

 Hi all,
 What kind of speed should I be expecting over an NFS mount from
 a linux box using a gig interface (igb)? I'm seeing linux clients
 getting approx 2 or 3 times the throughput rsyncing files from a linux
 nfs server that i get from a 8-stable FreeBSD client.
 representative results
 7.26MB/s - Freebsd client
 21.10MB/s liunx client
 I've tried a variety of files to try and take caching out of the
 equation, I've tweaked a few sysctls after much googling

 kern.ipc.maxsockbuf=400
 net.inet.tcp.sendbuf_max=16777216
 net.inet.tcp.recvbuf_max=16777216
 net.inet.tcp.sendbuf_inc=16384
 net.inet.tcp.recvbuf_inc=524288
 net.inet.udp.recvspace=65535
 net.local.stream.recvspace=65535
 net.local.stream.sendspace=65535

 with no obvious improvement.
 freebsd mount options
 ro,noatime,noexec,nosuid,udp,nfsv3,rsize=1024,wsize=1024,bg,hard,intr,timeout=4,retrans=4
 linux mount options
 _netdev,ro,noatime,nodev,noexec,nosuid,proto=udp,vers=3,rsize=1k,wsize=1k,bg,hard,intr,timeo=4,retrans=4

 I have seen that using the linux server as an nfs client to write to the
 NFS server on the freebsd box gives similar performance to a linux
 client pulling from the linux server so I'm guessing its something to do
 with the freebsd nfs client?

 Any suggestions/clues welcome.

 Thanks,
 Vince
 ___
 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





 font size=1
 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 
 0in 1.0pt 0in'
 /div
 This email is intended to be reviewed by only the intended recipient
  and may contain information that is privileged and/or confidential.
  If you are not the intended recipient, you are hereby notified that
  any review, use, dissemination, disclosure or copying of this email
  and its attachments, if any, is strictly prohibited.  If you have
  received this email in error, please immediately notify the sender by
  return email and delete this email from your system.
 /font


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


Re: nfs client speed lower than expected.

2011-11-03 Thread Vincent Hoffman
I'll give it a try when i get a moment, These servers are all on gigabit
LAN (sadly 1500 mtu until I can get the network guy to schedule an
outage to reboot the switches and enable jumbo frames,) same subnet so i
would expect UDP to have similar or better performance.

Vince

On 02/11/2011 23:53, Michael Sierchio wrote:
 Mount via tcp.

 On Wed, Nov 2, 2011 at 4:51 PM, Vincent Hoffman vi...@unsane.co.uk wrote:
 Hi all,
What kind of speed should I be expecting over an NFS mount from
 a linux box using a gig interface (igb)? I'm seeing linux clients
 getting approx 2 or 3 times the throughput rsyncing files from a linux
 nfs server that i get from a 8-stable FreeBSD client.
 representative results
 7.26MB/s - Freebsd client
 21.10MB/s liunx client
 I've tried a variety of files to try and take caching out of the
 equation, I've tweaked a few sysctls after much googling

 kern.ipc.maxsockbuf=400
 net.inet.tcp.sendbuf_max=16777216
 net.inet.tcp.recvbuf_max=16777216
 net.inet.tcp.sendbuf_inc=16384
 net.inet.tcp.recvbuf_inc=524288
 net.inet.udp.recvspace=65535
 net.local.stream.recvspace=65535
 net.local.stream.sendspace=65535

 with no obvious improvement.
 freebsd mount options
 ro,noatime,noexec,nosuid,udp,nfsv3,rsize=1024,wsize=1024,bg,hard,intr,timeout=4,retrans=4
 linux mount options
 _netdev,ro,noatime,nodev,noexec,nosuid,proto=udp,vers=3,rsize=1k,wsize=1k,bg,hard,intr,timeo=4,retrans=4

 I have seen that using the linux server as an nfs client to write to the
 NFS server on the freebsd box gives similar performance to a linux
 client pulling from the linux server so I'm guessing its something to do
 with the freebsd nfs client?

 Any suggestions/clues welcome.

 Thanks,
 Vince
 ___
 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


Burning CDs or DVDs with SATA drive?

2011-11-03 Thread Thomas Mueller
What software, base or ports, is used to burn a CD or DVD on a SATA drive, 
/dev/cd0 ?

Would burncd be appropriate, or do I need cdrtools?  Or cdrkit?

This is on FreeBSD 9.0-RC1 amd64.

I built and installed sysutils/cdrtools when there was a thread on burncd and 
SATA, but cdrecord can't see anything (running cdrecord -scanbus):


cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot 
open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.0) Copyright (C) 
1995-2010 Jörg Schilling


Running cdrecord dev=help or cdrecord dev=HELP: did no better.

I had a similar problem on the older computer (i386 with ATA, not SATA) in 
NetBSD, but cdrecord ran well in Linux.  CD-RW drive there is ATAPI.

Tom

___
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: DNS config help

2011-11-03 Thread Matthew Seaman
On 03/11/2011 10:00, Damien Fleuriot wrote:

 You can simply create a forward zone.

Actually, yes, that's a good idea too.  Should have much the same effect
and it's been available in BIND approximately forever.  There's
difference in the niggling details of how it all works, so worth
experimenting with the different possibilities.

 When I am connected to the VPN, vpn.example.com, I want queries for
  anything going to example.com  to go a specific DNS, and everything else
  on 10.x to go to my regular DNS.  Please let me know if I need to
  provide more info.  Thanks in advance for any help.
  
  Hmmm I don't think you're going to have much fun at all if you try
  and modify your named configuration depending on whether your VPN is up
  or not.  DNS TTLs are generally of the order of days -- that should be
  taken as a measure of the minimum time that should go between restarts
  of a recursive DNS (ideally, and as a long term average).  Better to
  just fail the lookup when the VPN is down.
  
 Actually, using a view that matches only the VPN's IP range would do the
 trick easily and efficiently.

Views are a way of giving a different answer depending on who is asking
the question -- how does that help the OP when he's always querying from
within his 10.0.0.0/8 network?  He's the client connecting to the VPN here.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: CARP related trivial question

2011-11-03 Thread Julian H. Stacey
Hi,
Reference:
 From: Snoop sn...@email.it 
 Date: Thu, 03 Nov 2011 08:18:30 +0100 
 Message-id:   1320304710.17303.11.ca...@blackfriar.inhio.eu 

Snoop wrote:
 Thanks guys. I think Julian gave me the answer I was looking for.
 
 On the other hand I believe that CARP handbook/man pages are inaccurate.
 I'm not supposed to look for these kind of things on a mailing list.
 Working instructions are the most important information and have to be
 there. I also think that the arp load balancing section of CARP is not
 that complete. But anyway, it's just my point of view on this very
 specific case as I'm generally very happy about the quality of Free/Open
 BSD man pages.

Man pages are easy to fix !
Just edit the source  send in a diff with send-pr.

Handbook pages are harder to edit, cos it uses a tool chain that always breaks 
for me, so editing source for that is harder,
but you can still use send-pr.

If necessary let the www@ team reverse your HTML diffs back to their
SGML or whatever ;-)


 
 Thank you all for your time, have a good day.
 
 On Wed, 2011-11-02 at 17:28 +0100, Julian H. Stacey wrote:
  Hi,
  Reference:
   From: Damien Fleuriot m...@my.gd 
   Date: Wed, 02 Nov 2011 16:44:50 +0100 
   Message-id:   4eb16572.4080...@my.gd 
  
  Damien Fleuriot wrote:
   On 11/1/11 8:19 AM, Snoop wrote:
Sorry but I have to re-post my question as I didn't get any exhaustive 
reply. I can't believe that nobody is aware of this anyhow.
P.S. Nop, there aren't related loadable modules in /boot/kernel.
  
  Snoop is not on CC line, I hope he's on this list.
  Snoop wrote :
  There aren't related loadable modules in /boot/kernel
  So Snoop must install modules !
  # cd /sys/`uname -m`/conf  config GENERIC
  cd /usr/src/sys/modules ; make ; make install
  
  


Hi everybody,
I've got a pretty trivial question but I'm kind of disoriented.

In the CARP man pages is clearly stated
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/carp.html: 
__
To enable support for CARP, the FreeBSD kernel must be rebuilt as
described in Chapter 9 with the following option:
device carp

Alternatively, the if_carp.ko module can be loaded at boot time. Add the
following line to the /boot/loader.conf:
if_carp_load=YES 
__

I'm not new to FreeBSD but I didn't manage to load that as a module, not
while the OS is running neither at the startup adding the param on
loader.conf.
I'd love to do that instead of recompiling the kernel to get that
working on any node.
I'm talking about FreeBSD 8.1.

Am I missing something?
Any tip would be appreciated.

   
   
   You have already receive a reply on-list, which asked if you had
   /boot/kernel/if_carp* files .
   I haven't followed further so I'm not sure if you ever replied to it or 
   not.
   
   
   Find below the same output from a 8.2-STABLE box:
   
   
   mybsd root  /boot/kernel
   
# uname 
   -a
   FreeBSD mybsd 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Oct 12 16:58:51 CEST
   2011 root@mybsd:/usr/obj/usr/src/sys/DAM  amd64
   
   
mybsd
   root  /boot/kernel
   
  # ls -la
   /boot/kernel/if_carp*
   -r-xr-xr-x  1 root  wheel   44384 Oct 12 17:11 /boot/kernel/if_carp.ko
   -r-xr-xr-x  1 root  wheel  197856 Oct 12 17:11
   /boot/kernel/if_carp.ko.symbols
   
   
   ___
   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
   
  
  
  Cheers,
  Julian
 
 
  
  
  --
  Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
 autenticato? GRATIS solo con Email.it http://www.email.it/f
  
  Sponsor:
  Vuoi arredare casa con stile? MisterCupido.com realizza perfette 
 Riproduzioni d'Opere d'Arte! Scopri subito le nostre migliori proposte in 
 offerta!
  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11451d=3-11
 


Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below, not above;  Indent with  ;  Cumulative like a play script.
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
___
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: Burning CDs or DVDs with SATA drive?

2011-11-03 Thread Polytropon
On Thu, 3 Nov 2011 10:32:16 + (GMT), Thomas Mueller wrote:
 What software, base or ports, is used to burn a CD or DVD on
 a SATA drive, /dev/cd0 ?
 
 Would burncd be appropriate, or do I need cdrtools?  Or cdrkit?
 
 This is on FreeBSD 9.0-RC1 amd64.

I can imagine that in 9.0 where acd is obsoleted by cd,
burncd will either be rewritten, or be useless. In that
case, using tools that work with old-fashioned and
now modern cd should work fine.



 I built and installed sysutils/cdrtools when there was a
 thread on burncd and SATA, but cdrecord can't see anything
 (running cdrecord -scanbus):
 
 
 cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot 
 open or use SCSI driver.
 cdrecord: For possible targets try 'cdrecord -scanbus'.
 cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
 Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.0) Copyright (C) 
 1995-2010 Jörg Schilling
 
 
 Running cdrecord dev=help or cdrecord dev=HELP: did no better.

Do you have permissions set properly? Maybe it still
tries to access per ATAPICAM, which may be non-working
just like acd - just a wild guess, I'm not using 9-RC
here so I can't be more specific.



 I had a similar problem on the older computer (i386 with ATA,
 not SATA) in NetBSD, but cdrecord ran well in Linux.  CD-RW
 drive there is ATAPI.

I've been using cdrecord and cdrdao now since burncd
stopped working for me somewhere in v5. For DVDs,
growisofs should work.

While cdrecord and cdrdao address th SCSI device
by n:n:n, growisofs uses /dev/cdN.



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


Re: DNS config help

2011-11-03 Thread Damien Fleuriot


On 11/3/11 11:35 AM, Matthew Seaman wrote:
 On 03/11/2011 10:00, Damien Fleuriot wrote:
 Actually, using a view that matches only the VPN's IP range would do the
 trick easily and efficiently.
 
 Views are a way of giving a different answer depending on who is asking
 the question -- how does that help the OP when he's always querying from
 within his 10.0.0.0/8 network?  He's the client connecting to the VPN here.
 

I didn't understand his problem like that, my bad.

I remember hearing at work that dnsmasq could do that, perhaps with a
little bit of scripting.
___
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


Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Jon Schipp
Is there a program to check physical memory usage in FreeBSD(using 8.2
RELEASE)?
In vain of 'free' in Linux.

I know you can check the values with sysctl, I was just checking if anyone
has a cleaner option.
I was always curious.

Thanks
Jon
___
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


Fwd: i386/162270: I need to install freebsd 7.4 manual

2011-11-03 Thread Rares Aioanei



 Original Message 
Subject:i386/162270: I need to install freebsd 7.4 manual
Resent-Date:Thu, 3 Nov 2011 12:50:05 GMT
Resent-From:freebsd-gnats-sub...@freebsd.org (GNATS Filer)
Resent-To:  freebsd-i...@freebsd.org
Date:   Thu, 3 Nov 2011 12:47:53 GMT
From:   Mahmoud Dadah ad...@asr-it.com
To: freebsd-gnats-sub...@freebsd.org




Number: 162270
Category:   i386
Synopsis:   I need to install freebsd 7.4 manual
Confidential:   no
Severity:   non-critical
Priority:   high
Responsible:freebsd-i386
State:  open
Quarter:
Keywords:
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Thu Nov 03 12:50:05 UTC 2011
Closed-Date:
Last-Modified:
Originator: Mahmoud Dadah
Release:7.4
Organization:

ASR-IT.COM

Environment:
Description:

Hello

I need install freebsd 7.2 VIA : SSH or sysinstall

and I need you to install it Pls

and I have now v7.4

The accsess details of the server

IP : 176.9.1.125
User : root
Password : asr2011
port : 22

Thank you

How-To-Repeat:



Fix:




Release-Note:
Audit-Trail:
Unformatted:

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

Is this the bug report of the day or what? :P

___
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: Fwd: i386/162270: I need to install freebsd 7.4 manual

2011-11-03 Thread David Kinyua
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/11/11 00:22, Rares Aioanei wrote:
 
 
  Original Message 
 Subject: i386/162270: I need to install freebsd 7.4 manual
 Resent-Date: Thu, 3 Nov 2011 12:50:05 GMT
 Resent-From: freebsd-gnats-sub...@freebsd.org (GNATS Filer)
 Resent-To: freebsd-i...@freebsd.org
 Date: Thu, 3 Nov 2011 12:47:53 GMT
 From: Mahmoud Dadah ad...@asr-it.com
 To: freebsd-gnats-sub...@freebsd.org
 
 
 
 Number: 162270
 Category:   i386
 Synopsis:   I need to install freebsd 7.4 manual
 Confidential:   no
 Severity:   non-critical
 Priority:   high
 Responsible:freebsd-i386
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Thu Nov 03 12:50:05 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Mahmoud Dadah
 Release:7.4
 Organization:
 ASR-IT.COM
 Environment:
 Description:
 Hello
 
 I need install freebsd 7.2 VIA : SSH or sysinstall
 
 and I need you to install it Pls
 
 and I have now v7.4
 
 The accsess details of the server
 
 IP : 176.9.1.125
 User : root
 Password : asr2011
 port : 22
 
 Thank you
 How-To-Repeat:
 
 Fix:
 
 
 Release-Note:
 Audit-Trail:
 Unformatted:
 ___
 freebsd-i...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-i386
 To unsubscribe, send any mail to freebsd-i386-unsubscr...@freebsd.org
 
 Is this the bug report of the day or what? :P
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I thought what was being queried was a manual install but then I read
on. Bug report report of the day in deed.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOspeAAAoJEHhm85pbqJ26/4EH/2j2I2gcXIKgP7PiVpH4n2/b
71nNfj5nL9kWdFxvVj0IYcOWLTPmOPlXG3EK+6QhlGNx6+3AXOasF9HJAYQoeRuS
0+kxFRYc4fbl//5CPViCh4s+PBKZg/6NofdGrSJhVX64ZqyQQHAYFh68Ci+gWJ/E
cFLgyKpbC5ni2jpL47wm5cykbeKrsHDRfJcBVNvCx305shaIT+HtxdmpTds59/mr
pp0mT5YQuQPV1jQHP915QcwVUzVhBarba+NwTLAMnMShmVoz2sG7tYe9a9AjSaH7
tZScFq2KcNMmqWHkmgds+vhQvhM+gkdz9bs0Oaf//WcVTMBPQW5apREcAvJRe14=
=paOH
-END PGP SIGNATURE-
___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Edward
On 11/3/11 9:18 PM, Jon Schipp wrote:
 Is there a program to check physical memory usage in FreeBSD(using 8.2
 RELEASE)?

Hi Jon,

Check out the port /usr/ports/sysutils/sysinfo .

HTH
___
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: Fwd: i386/162270: I need to install freebsd 7.4 manual

2011-11-03 Thread Damien Fleuriot
On 11/3/11 2:22 PM, Rares Aioanei wrote:
 
 
  Original Message 
 Subject: i386/162270: I need to install freebsd 7.4 manual
 Resent-Date: Thu, 3 Nov 2011 12:50:05 GMT
 Resent-From: freebsd-gnats-sub...@freebsd.org (GNATS Filer)
 Resent-To: freebsd-i...@freebsd.org
 Date: Thu, 3 Nov 2011 12:47:53 GMT
 From: Mahmoud Dadah ad...@asr-it.com
 To: freebsd-gnats-sub...@freebsd.org
 
 
 
 Number: 162270
 Category:   i386
 Synopsis:   I need to install freebsd 7.4 manual
 Confidential:   no
 Severity:   non-critical
 Priority:   high
 Responsible:freebsd-i386
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Thu Nov 03 12:50:05 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Mahmoud Dadah
 Release:7.4
 Organization:
 ASR-IT.COM
 Environment:
 Description:
 Hello
 
 I need install freebsd 7.2 VIA : SSH or sysinstall
 
 and I need you to install it Pls
 
 and I have now v7.4
 
 The accsess details of the server
 
 IP : 176.9.1.125
 User : root
 Password : asr2011
 port : 22
 
 Thank you
 How-To-Repeat:
 
 Fix:
 

Posting in a legendary thread.


Also:
freebsd# w
 2:43PM  up  1:26, 2 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   82.205.103.21 1:18PM22 sysinstall
root p1   83.167.62.196 2:43PM - w


sigh...
___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Jon Schipp
On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei bsdlis...@gmail.com wrote:

 On 11/03/2011 03:18 PM, Jon Schipp wrote:

 Is there a program to check physical memory usage in FreeBSD(using 8.2
 RELEASE)?
 In vain of 'free' in Linux.

 I know you can check the values with sysctl, I was just checking if anyone
 has a cleaner option.
 I was always curious.

 Thanks
 Jon
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

  top?


Crap, I forgot mention that it needs to be non-interactive, it will be for
e-mail alerts.

So that rules out top as for as I know.
___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Mike Jeays
On Thu, 3 Nov 2011 10:06:19 -0400
Jon Schipp jonsch...@gmail.com wrote:

 On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei bsdlis...@gmail.com wrote:
 
  On 11/03/2011 03:18 PM, Jon Schipp wrote:
 
  Is there a program to check physical memory usage in FreeBSD(using 8.2
  RELEASE)?
  In vain of 'free' in Linux.
 
  I know you can check the values with sysctl, I was just checking if anyone
  has a cleaner option.
  I was always curious.
 
  Thanks
  Jon
  __**_
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-**
  unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org
 
   top?
 
 
 Crap, I forgot mention that it needs to be non-interactive, it will be for
 e-mail alerts.
 
 So that rules out top as for as I know.
 ___
 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

top -n 1 followed by grep or awk might do what you want.

___
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


postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
Could you comment on the pros and cons of using INST_BASE=on in postfix
on a production server?

-- 
Janos Dohanics
___
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: postfix INST_BASE option

2011-11-03 Thread Alejandro Imass
On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


Great question! I know there has been some discussion to be able to
choose your base MTA upon install but I don't know how far this has
gone.
I don't use that option but rather install it as a regular port,
register it in mailer.conf when it asks you to and then do this in
your rc.conf

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
postfix_enable=YES

I haven't used the INST_BASE option out of fear that it might give me
trouble on building world and upgrading. Also a new approach I'm
taking is using EzJail for service jails so use a pure MTA jail and
use the base sendmail as a relay to that. For the time being I'm using
posfix on the base system to relay  but in the future I plan to do it
with the native sendmail and only use postfix on the MTA service jail.

-- 
Alejandro Imass


 --
 Janos Dohanics
 ___
 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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread mrkvrg
Hello Jon,

Perhaps the port sysutils/freecolor.

Cheers ...

Mark

Is there a program to check physical memory usage in FreeBSD(using 8.2
RELEASE)?
In vain of 'free' in Linux.

I know you can check the values with sysctl, I was just checking if 
anyone
has a cleaner option.
I was always curious.

Thanks
Jon
___
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


Timing of FreeBSD 9.0-RC2?

2011-11-03 Thread Brett Glass
I've been working with FreeBSD 9.0-RC1, and it's good but still has 
a few rough edges. I understand that since RC1, llvm and Clang have 
been updated and can now successfully compile the world (an 
un-GNUed toolchain at last!) and that some disk bugs have been 
fixed. Is there an ETA for RC2? Need to build servers, and since 
freebsd-update can't do binary updates between release candidates 
I'd like a version that has the latest fixes.


--Brett Glass

___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Lowell Gilbert
Jon Schipp jonsch...@gmail.com writes:

 On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei bsdlis...@gmail.com wrote:

 On 11/03/2011 03:18 PM, Jon Schipp wrote:

 Is there a program to check physical memory usage in FreeBSD(using 8.2
 RELEASE)?
 In vain of 'free' in Linux.

 I know you can check the values with sysctl, I was just checking if anyone
 has a cleaner option.
 I was always curious.

 Thanks
 Jon
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

  top?


 Crap, I forgot mention that it needs to be non-interactive, it will be for
 e-mail alerts.

 So that rules out top as for as I know.

No, you could script it out of top(1), but I'm going to guess that
you're trying to be warned when the system is close to running out of
memory.  That is silly -- you paid for the memory; why would you *want* 
it to sit around doing nothing?

Also note that the definition of free is somewhat complicated.

Maybe if you described the actual problem you want to solve, we could
suggest a more appropriate answer.

A literal answer to your question might be: 
 top -d 1|grep '^Mem:'|cut -d ',' -f 6
assuming the format of the line of top doesn't change.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update (custom kernel)

2011-11-03 Thread masayoshi
I would like to know about freebsd-update command.
It is rumoured that freebsd-update command does not work well with custom 
kernel.
First question is the following :

 su -
#freebsd-update fetch
#freebsd-update install

Does this command work well?

The answer is .
[A].Always work, [B]Depend on my computer.


Second question is ...
For example,if I upgrade from FreeBSD 7.4 to 8.2 by freebsd-update command.
Can I upgrade without failure?
I would like to know only success rate?

The answer is 
[A].about 100%, [B].about 80%,[C].about 75%,[D] less than 50%

Thanks in advance.

---
Inexperienced FreeBSD user: Level 1
pow 1, spd 1, vit 1,int 1,luck 1
___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Jon Schipp
On Thu, Nov 3, 2011 at 11:35 AM, Robert Bonomi bon...@mail.r-bonomi.comwrote:

  From owner-freebsd-questi...@freebsd.org  Thu Nov  3 08:17:46 2011
  Date: Thu, 3 Nov 2011 09:18:06 -0400
  From: Jon Schipp jonsch...@gmail.com
  To: freebsd-questions@freebsd.org
  Subject: Check Memory Usage, program like 'free' in Linux
 
  Is there a program to check physical memory usage in FreeBSD(using 8.2
  RELEASE)?
  In vain of 'free' in Linux.

 Having *NO* idea what linux 'free' does, your question is hard to answer.
 
  I know you can check the values with sysctl, I was just checking if
 anyone
  has a cleaner option.
  I was always curious.

 If you're just looking for the amount of 'free' memory, the 3rd field of
 the third line of the  output of vmstat(8) has that value.


I'm under the impression that virtual memory and physical memory usage are
very different.

e.g. vmstat and top report very different memory values.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Michael Sierchio
It will work fine - it won't attempt to update the kernel.

On Thu, Nov 3, 2011 at 8:49 AM, masayoshi rocksta...@y7mail.com wrote:
 I would like to know about freebsd-update command.
 It is rumoured that freebsd-update command does not work well with custom 
 kernel.
 First question is the following :

 su -
 #freebsd-update fetch
 #freebsd-update install

 Does this command work well?

 The answer is .
 [A].Always work, [B]Depend on my computer.


 Second question is ...
 For example,if I upgrade from FreeBSD 7.4 to 8.2 by freebsd-update command.
 Can I upgrade without failure?
 I would like to know only success rate?

 The answer is 
 [A].about 100%, [B].about 80%,[C].about 75%,[D] less than 50%

 Thanks in advance.

 ---
 Inexperienced FreeBSD user: Level 1
 pow 1, spd 1, vit 1,int 1,luck 1
 ___
 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: freebsd-update (custom kernel)

2011-11-03 Thread Michael Sierchio
On Thu, Nov 3, 2011 at 9:13 AM, Jason Helfman jhelf...@e-e.com wrote:

 I does work fine with a custom kernel, as long as you are running and
 maintaining the actual update server that distributes.

I don't think that's relevant.  It works fine with the public servers.
___
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Jon Schipp
On Thu, Nov 3, 2011 at 11:55 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Jon Schipp jonsch...@gmail.com writes:

  On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei bsdlis...@gmail.com
 wrote:
 
  On 11/03/2011 03:18 PM, Jon Schipp wrote:
 
  Is there a program to check physical memory usage in FreeBSD(using 8.2
  RELEASE)?
  In vain of 'free' in Linux.
 
  I know you can check the values with sysctl, I was just checking if
 anyone
  has a cleaner option.
  I was always curious.
 
  Thanks
  Jon
  __**_
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-**
  unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org
 
   top?
 
 
  Crap, I forgot mention that it needs to be non-interactive, it will be
 for
  e-mail alerts.
 
  So that rules out top as for as I know.

 No, you could script it out of top(1), but I'm going to guess that
 you're trying to be warned when the system is close to running out of
 memory.  That is silly -- you paid for the memory; why would you *want*
 it to sit around doing nothing?


While this isn't my intention...

I'm curious:

You wouldn't want to know when your machine has reached periods of high
memory utilization?
Occurrence/frequency information seems pretty valuable.
More importantly, at specific times, noticing patterns, use during/after
business hours
If you didn't want to use memory, it wouldn't be purchased. I don't think
keeping track of the utility of
your purchases is silly.

Also note that the definition of free is somewhat complicated.

 Maybe if you described the actual problem you want to solve, we could
 suggest a more appropriate answer.

 A literal answer to your question might be:
  top -d 1|grep '^Mem:'|cut -d ',' -f 6
 assuming the format of the line of top doesn't change.


That does the trick. I didn't think it was possible to grab data from
interactive programs without throwing in some garbage.
Should've tested.
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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Adam Vande More
On Thu, Nov 3, 2011 at 11:12 AM, Jon Schipp jonsch...@gmail.com wrote:

 I'm under the impression that virtual memory and physical memory usage are
 very different.

 e.g. vmstat and top report very different memory values.


If I assume this is an XY problem, and your true goal is find out what
memory pressure a system is under then my answer would be to track the
percent of swap used.  Free memory is a useful utility on Windows XP, not
so much on FreeBSD.

So to answer your question in another way, there is a reason free doesn't
exist on FreeBSD.  It's not very meaningful.



-- 
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: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 08:49:16AM -0700, masayoshi thus spake:

I would like to know about freebsd-update command.
It is rumoured that freebsd-update command does not work well with custom 
kernel.
First question is the following :


su -

#freebsd-update fetch
#freebsd-update install

Does this command work well?

The answer is .
[A].Always work, [B]Depend on my computer.


Second question is ...
For example,if I upgrade from FreeBSD 7.4 to 8.2 by freebsd-update command.
Can I upgrade without failure?
I would like to know only success rate?

The answer is 
[A].about 100%, [B].about 80%,[C].about 75%,[D] less than 50%

Thanks in advance.



I does work fine with a custom kernel, as long as you are running and
maintaining the actual update server that distributes.

1. Always work
2. Can never account for 100 percent... I've not run into a problem, though.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 09:19:29AM -0700, Michael Sierchio thus spake:

On Thu, Nov 3, 2011 at 9:13 AM, Jason Helfman jhelf...@e-e.com wrote:


I does work fine with a custom kernel, as long as you are running and
maintaining the actual update server that distributes.


I don't think that's relevant.  It works fine with the public servers.


I beg to differ. If you run a kernel called CUSTOM, it won't work. And if
you run a custom kernel called GENERIC, the moment you upgrade, you custom
kernel is no longer custom.

All of this aside, I would be interested in hearing how you are able to
avoid non-custom updates to your custom kernel when the kernel or os patches
are distributed by the update servers.


--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Michael Sierchio
This is simply not the case.  freebsd-update works on the basis of
cryptographic hashes on the binaries. It is, after all, a binary
update program.  If it detects a custom kernel, it will not update the
kernel, but updates userland programs.  It doesn't *care* what your
kernel config name is, it really doesn't matter.

Kernel update becomes a manual operation, which requires fetching
sources from the SECURITY branch.

On Thu, Nov 3, 2011 at 9:26 AM, Jason Helfman jhelf...@e-e.com wrote:


 I beg to differ. If you run a kernel called CUSTOM, it won't work. And if
 you run a custom kernel called GENERIC, the moment you upgrade, you custom
 kernel is no longer custom.

 All of this aside, I would be interested in hearing how you are able to
 avoid non-custom updates to your custom kernel when the kernel or os patches
 are distributed by the update servers.


 --
 Jason Helfman
 System Administrator
 experts-exchange.com
 http://www.experts-exchange.com/M_4830110.html
 E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5

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


Re: freebsd-update (custom kernel)

2011-11-03 Thread Alexandre


  I beg to differ. If you run a kernel called CUSTOM, it won't work. And if
 you run a custom kernel called GENERIC, the moment you upgrade, you custom
 kernel is no longer custom.

 All of this aside, I would be interested in hearing how you are able to
 avoid non-custom updates to your custom kernel when the kernel or os
 patches
 are distributed by the update servers.


Hi,
The freebsd-update tool works fine with GENERIC and CUSTOM kernels. In
fact, GENERIC kernel is upgraded during the upgrade step. With a custom
kernel, you just have to rebuild it. This tool update by default the source
code, the entire base system, and the kernel.
Please read the handbook :
http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Anything like mkmf for foo linux?

2011-11-03 Thread Gary Kline
On Thu, Nov 03, 2011 at 04:38:00AM +0100, Polytropon wrote:
 Date: Thu, 3 Nov 2011 04:38:00 +0100
 From: Polytropon free...@edvax.de
 Subject: Re: Anything like mkmf for foo linux?
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
 X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
 
 On Wed, 2 Nov 2011 17:08:41 -0700, Gary Kline wrote:
  fwiw,i HAVE PORTED A FEW THINGS ACROSS.  dunno what id do w/out the
  src!!
 
 Keep the mkmf source -- seems that is has been removed
 from the ports tree.
 
 Port:   mkmf-4.11
 Path:   /usr/ports/devel/mkmf
 Info:   Creates program and library makefiles for the make(1) command
 Maint:  po...@freebsd.org
 Moved:  
 Date:   2011-08-01
 Reason: Has expired: Looks like an abandonware, no more public distfile
 
 Planned obsolescence in action? :-)
 
 

Wow! dunno what i would do without a tool like this.  it
uses three templates for C/C++, fortran, and pascal[?].
builds neat auto makefiles that seem to work anywhere.  i.e.:
bsd and linux.  probly all nixes.

well, i'll spend a few hours for the weekends ahead and port
to ubuntu.  --note that i do not know how to add anything to
the linux packages and wont even try.

tx, polyt, appreciate it 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.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: Check Memory Usage, program like 'free' in Linux

2011-11-03 Thread Lowell Gilbert
Jon Schipp jonsch...@gmail.com writes:

 You wouldn't want to know when your machine has reached periods of high
 memory utilization?

No, I want to know when my machine would perform better if it had more
memory.  Keeping memory in use when it otherwise would be free means I
get *better* performance.

 Occurrence/frequency information seems pretty valuable.
 More importantly, at specific times, noticing patterns, use during/after
 business hours

 If you didn't want to use memory, it wouldn't be purchased. I don't think
 keeping track of the utility of
 your purchases is silly.

That makes sense, but the amount of free memory does not tell you any
of what you're saying you want to track.  Please start by reading the
FAQ question titled Why does top show very little free memory even when
I have very few programs running?.

 That does the trick. I didn't think it was possible to grab data from
 interactive programs without throwing in some garbage.

Technically, top(1) isn't an interactive program at all if you send its
output to a pipe.  It still could use terminal features, but it
doesn't.  This is described within the first 25 lines of its manual.  In
fact, I notice that the '-d 1' option (that I put in my suggestion) is
redundant. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 09:42:12AM -0700, Michael Sierchio thus spake:

This is simply not the case.  freebsd-update works on the basis of
cryptographic hashes on the binaries. It is, after all, a binary
update program.  If it detects a custom kernel, it will not update the
kernel, but updates userland programs.  It doesn't *care* what your
kernel config name is, it really doesn't matter.

Kernel update becomes a manual operation, which requires fetching
sources from the SECURITY branch.



I'm not disagreeing with you, and I know what it does. I happen to run a
slew of update servers myself, however if you run your own update server
based on your own signatures, it will patch your custom kernel and
distribute it, as well.

I didn't know it would skip it, though, with the main update servers.
Interesting.

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 4:23 PM, Alejandro Imass a...@p2ee.org wrote:
 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf

 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES


You can do this a lot easier with just:
sendmail_enable=NONE
postfix_enable=YES


-- 
chs,
___
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


Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Антон Клесс
Sometimes, while building process of some port or system kernel are in 
progress, you suddenly remember that you did something wrong and have to stop, 
solve your mistake and start one more time.

Is it clear to interrupt the building process just by pressing Ctrl + C?

If it's so, do I need to run make clean before I start make one more time?


Thank you!
___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Thu Nov  3 12:10:08 2011
 From: =?koi8-r?B?4c7Uz84g68zF09M=?= rc5h...@yandex.ru
 To: freebsd-questions@freebsd.org
 Date: Thu, 03 Nov 2011 21:10:19 +0400
 Subject: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

 Sometimes, while building process of some port or system kernel are in 
 progress, you suddenly remember that you did something wrong and have to 
 stop, solve your mistake and start one more time.

 Is it clear to interrupt the building process just by pressing Ctrl + C?

Yes.

 If it's so, do I need to run make clean before I start make one more time?

Authoritative answer:  It depends.

On what you 'did wrong, and what it takes to fix it.

e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
make depend, cd , make',  and realize you left something out of the config
file, after you edit the config file, you have to rerun _all_ those steps.

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


Re: freebsd-update (custom kernel)

2011-11-03 Thread masayoshi

---
Inexperienced FreeBSD user: Level 1
pow 1, spd 1, vit 1,int 1,luck 1


--- On Fri, 4/11/11, Alexandre axel...@ymail.com wrote:

 From: Alexandre axel...@ymail.com
 Subject: Re: freebsd-update (custom kernel)
 To: Jason Helfman jhelf...@e-e.com, Michael Sierchio 
 ku...@tenebras.com, masayoshi rocksta...@y7mail.com
 Cc: freebsd-questions@freebsd.org
 Received: Friday, 4 November, 2011, 3:42 AM
 
 
   I beg to differ. If you run a kernel called
 CUSTOM, it won't work. And if
 Hi,
 The freebsd-update tool works fine with GENERIC and CUSTOM
 kernels. In
 fact, GENERIC kernel is upgraded during the upgrade step.
 With a custom
 kernel, you just have to rebuild it. This tool update by
 default the source
 code, the entire base system, and the kernel.
 Please read the handbook :
 http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html


Thank you very much for the understandable explanations.
I appreciate it very much.


___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Damien Fleuriot


On 11/3/11 6:20 PM, Robert Bonomi wrote:
 From owner-freebsd-questi...@freebsd.org  Thu Nov  3 12:10:08 2011
 From: =?koi8-r?B?4c7Uz84g68zF09M=?= rc5h...@yandex.ru
 To: freebsd-questions@freebsd.org
 Date: Thu, 03 Nov 2011 21:10:19 +0400
 Subject: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

 Sometimes, while building process of some port or system kernel are in 
 progress, you suddenly remember that you did something wrong and have to 
 stop, solve your mistake and start one more time.

 Is it clear to interrupt the building process just by pressing Ctrl + C?
 
 Yes.
 
 If it's so, do I need to run make clean before I start make one more 
 time?
 
 Authoritative answer:  It depends.
 
 On what you 'did wrong, and what it takes to fix it.
 
 e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
 make depend, cd , make',  and realize you left something out of the config
 file, after you edit the config file, you have to rerun _all_ those steps.
 

Is it even advisable to build the kernel the old way ?

I feel safer with cd /usr/src  make buildkernel
___
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: postfix INST_BASE option

2011-11-03 Thread Eric Masson
Christer Solskogen christer.solsko...@gmail.com writes:

Hi,

 You can do this a lot easier with just:
 sendmail_enable=NONE

From rc.sendmail(8) :
RC.CONF VARIABLES
The following variables affect the behavior of rc.sendmail. They are
defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf.

 sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at
 system boot time.  If set to ``NO'', do not run a
 sendmail(8) daemon to listen for incoming network mail.
 This does not preclude a sendmail(8) daemon listening on
 the SMTP port of the loopback interface.
 The ``NONE'' option is deprecated and should not be used.
 It will be removed in a future release.

Regards

Éric Masson

-- 
 CS: Oui mais alors moi je me construis une souris avec autant de boutons
 qu'applis et je fais des racourcis, rena ! :-)
 LP: Ah oui, mais alors là il va falloir acheter des doigts, rerena! ;-p
 -+- LP in Guide du Macounet Pervers : Vous m'en mettrez une poignée -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread masayoshi
Sorry,all.
I will email same message. 
I am not familiar  with this webmail.

Thank you very much for the understandable explanations.
I appreciate it very much.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update: how to understand, what have changed?

2011-11-03 Thread Антон Клесс
I running 8.2-RELEASE-p4.

I have just run freebsd-update and it dave done something I dont't understand:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 1 files... done.

The following files will be updated as part of updating to 8.2-RELEASE-p4:
/boot/GENERIC/kernel

# freebsd-update install
Installing updates... done.

It download something, but doesn't shows any files changes.
So, what have changed? Does I need to rebuild my custom kernel or no? Does I 
need to reboot?
___
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


Fwd: How to get /dev/smb* ?

2011-11-03 Thread Антон Клесс
02.11.2011, 14:01, Conrad J. Sabatier conr...@cox.net:

  I just noticed, looking back at your previous mail, that you don't seem
  to have a device smbios line in your kernel config.  Try adding that
  and see if the smbios facility shows up at boot time.

You're actually right!

Now, with this lines in kernel, SMBIOS looks more alive:

# on-die sensor (added)
device  coretemp

# System management bus
device  smb
device  smbus
device  smbios
device  ichsmb
device  nfsmb
device  intpm
device  alpm
device  viapm
device  nfpm
device  iicbus
device  iicbb
device  ic
device  iic
device  iicsmb
device  amdsmb

# CPU control pseudo-device. Provides access to MSRs, CPUID info and microcode 
update feature.
device  cpuctl

# System Management Bus (SMB)
options ENABLE_ALART    # Control alarm on Intel intpm driver

So, system shows it during boot:

# dmesg -a |grep smb
smbios0: System Management BIOS at iomem 0xf0480-0xf049e on motherboard
smbios0: Version: 2.7, BCD Revision: 2.7

  Although no smbios0 device actually shows up under /dev.  Perhaps
  some more knowledgeable individual might enlighten us as to what
  capabilities having this in your kernel config actually enables.

The same thing.

# ls -la /dev/sm*
ls: /dev/sm*: No such file or directory

  Also, just looking at the (x)mbmon port, the COMMENT line in the
  Makefile states:

  A X motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and
  ADM9240

  So, this port appears to be useful only on a very specific range of
  motherboards.

I hope that those chipsets are kind of generic things, that are compatible with 
modern ones like my Z68. It goes without saying that SOME of modern MB, 
supporting Intel Core(tm) CPUs are still supported by mbmon - it shows state of 
MB (not CPU) thermal sensor, for example. I can't give you exact models, but I 
can give it after some days (need to ask).

   Does it means that it is no way to read temperature sensors on
   motherboard?
  Well, it depends.  :-)

  I'm not at all familiar with your particular processor/motherboard, so I
  can only offer some rather limited advice that may steer you in the
  right direction for further exploration.  There are a number of devices
  you can enable in your kernel config that may provide some of what
  you're looking for.

  Here, on my amd64 box, for instance, device amdtemp, along with
  device cpuctl and device cpufreq makes the following dev.cpu.*
  sysctls available, which are one way to (manually) monitor your
  system.  As you can see below, this provides information on CPU
  temperature and frequency.

  # sysctl dev.cpu
  dev.cpu.0.%desc: ACPI CPU
  dev.cpu.0.%driver: cpu
  dev.cpu.0.%location: handle=\_PR_.P001
  dev.cpu.0.%pnpinfo: _HID=none _UID=0
  dev.cpu.0.%parent: acpi0
  dev.cpu.0.temperature: 47.0C
  dev.cpu.0.freq: 2200
  dev.cpu.0.freq_levels: 2200/23500 1100/14280
  dev.cpu.0.cx_supported: C1/0
  dev.cpu.0.cx_lowest: C1
  dev.cpu.0.cx_usage: 100.00% last 1931us
  dev.cpu.1.%desc: ACPI CPU
  dev.cpu.1.%driver: cpu
  dev.cpu.1.%location: handle=\_PR_.P002
  dev.cpu.1.%pnpinfo: _HID=none _UID=0
  dev.cpu.1.%parent: acpi0
  dev.cpu.1.temperature: 47.0C
  dev.cpu.1.cx_supported: C1/0
  dev.cpu.1.cx_lowest: C1
  dev.cpu.1.cx_usage: 100.00% last 4658us
  dev.cpu.2.%desc: ACPI CPU
  dev.cpu.2.%driver: cpu
  dev.cpu.2.%location: handle=\_PR_.P003
  dev.cpu.2.%pnpinfo: _HID=none _UID=0
  dev.cpu.2.%parent: acpi0
  dev.cpu.2.temperature: 47.0C
  dev.cpu.2.cx_supported: C1/0
  dev.cpu.2.cx_lowest: C1
  dev.cpu.2.cx_usage: 100.00% last 3551us
  dev.cpu.3.%desc: ACPI CPU
  dev.cpu.3.%driver: cpu
  dev.cpu.3.%location: handle=\_PR_.P004
  dev.cpu.3.%pnpinfo: _HID=none _UID=0
  dev.cpu.3.%parent: acpi0
  dev.cpu.3.temperature: 47.0C
  dev.cpu.3.cx_supported: C1/0
  dev.cpu.3.cx_lowest: C1
  dev.cpu.3.cx_usage: 100.00% last 4943us

As I already say, coretemp works fine - I could read CPU thermal sensors with 
 dev.cpu.#CORE_ID.temperature sysctl after I added coretemp device into my 
kernel.

Problem is to read MB sensors, like chasis (system) temperature, fans RPM, 
voltages and so on.

Now, with smbios device enabled, it still doesn't work the perfect way:

# mbmon -V
No VIA686 HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -S
No SMBus HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -I
No ISA-IO HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -A
InitMBInfo: Unknown error: 0
This program needs setuid root!!

# mbmon -D
Probe Request: none

  Testing Reg's at ISA-IO 

[ISA Port IO-Base:0x290]
Probing Winbond/Asus/LM78/79 chip:
  CR40:0x44,  CR41:0x00,  CR42:0x00,  CR43:0x00
  CR44:0x00,  CR45:0x00,  CR46:0x00,  CR47:0x00
  CR48:0x00,  CR49:0x00,  CR4A:0x00,  CR4B:0x00
  CR4C:0x00,  CR4D:0x00,  CR4E:0x80,  CR4F:0x00
  CR56:0xFF,  CR58:0xFF,  CR59:0xFF,  CR5D:0x19
  CR3E:0xFF,  CR13:0x00,  CR17:0xFF, 

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Антон Клесс
03.11.2011, 21:20, Robert Bonomi bon...@mail.r-bonomi.com:

   If it's so, do I need to run make clean before I start make one more 
 time?
  Authoritative answer:  It depends.

  On what you 'did wrong, and what it takes to fix it.

  e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
  make depend, cd , make',  and realize you left something out of the config
  file, after you edit the config file, you have to rerun _all_ those steps.

Does it matter, if I always use make buildkernel make installkernel way to 
rebuild kernels?

  make buildkernel

..
oh! something wrong!
Ctrl + C
..
mistake fixed!

  make buildkernel
  make installkernel

- is right?
___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Robert Bonomi

On Thu, 03 Nov 2011 18:29:06 +0100, Damien Fleuriot m...@my.gd) wrote:
 On 11/3/11 6:20 PM, Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Thu Nov  3 12:10:08 2011
  From: =?koi8-r?B?4c7Uz84g68zF09M=?= rc5h...@yandex.ru
  To: freebsd-questions@freebsd.org
  Date: Thu, 03 Nov 2011 21:10:19 +0400
  Subject: Is it safe to interrupt (Ctrl + C) while building a port or 
  kernel?
 
  Sometimes, while building process of some port or system kernel are in 
  progress, you suddenly remember that you did something wrong and have to 
  stop, solve your mistake and start one more time.
 
  Is it clear to interrupt the building process just by pressing Ctrl + C?
  
  Yes.
  
  If it's so, do I need to run make clean before I start make one more 
  time?
  
  Authoritative answer:  It depends.
  
  On what you 'did wrong, and what it takes to fix it.
  
  e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
  make depend, cd , make',  and realize you left something out of the config
  file, after you edit the config file, you have to rerun _all_ those steps.
  

 Is it even advisable to build the kernel the old way ?

On a slow processor, it makes a *BIG* differnence.
Even more so if you build everything you need into the kernel.

'make buildkernel' always recompiles an relinks *everything*. whether or
not any dependenies for the module have changed.

I've tried 'make buildkernel' on a 'loaded' 486 box, and had it take
close to TWENTY FOUR HOURS to complete.  With one minor tweak to the
config file, e.g. changing one of the 'shared memory' constants,  and
it is _another_ 24+ hours.  *Lots* of it building loadable modules that
I have no need for, nor any intention of ever useing.

Using the 'old' way, a first-time kernel build was under 40 minutes, and
a 'tweak' re-build was under 15.

That box is long gone, but on a 733mhz PIII I can go from editing a config
file to running on the new kernel in less than 5 minutes (wall clock).  The 
largest part of that time is running 'make depend'. (Second-largest is the
rebooting. :)

I don't know about anybody else, but _I_ consider that speed differential
a *big* advantage to the 'old way'. :)

I am likely _not_ the typical user -- I run a monolithic kernel, with 
everything I need 'compiled in'; *no* loadable modules.  Yeah, it can
be a nuisance if I need something that isn't compiled in, but I don't
get ny unexpected surprises.  It also does wonders as far as reducing
the required 'root partition' size.  I run a 64mb(!!) partition, with
less than 1/2 of it occupied by the system install.  With the running
kernel, a copy of the prior running one as a fall-back, and a GENERIC
for worst-case recovery.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to get /dev/smb* ?

2011-11-03 Thread Антон Клесс
02.11.2011, 14:01, Conrad J. Sabatier conr...@cox.net:

   I just noticed, looking back at your previous mail, that you don't seem
   to have a device smbios line in your kernel config.  Try adding that
   and see if the smbios facility shows up at boot time.

You're actually right!

Now, with this lines in kernel, SMBIOS looks more alive:

# on-die sensor (added)
device  coretemp

# System management bus
device  smb
device  smbus
device  smbios
device  ichsmb
device  nfsmb
device  intpm
device  alpm
device  viapm
device  nfpm
device  iicbus
device  iicbb
device  ic
device  iic
device  iicsmb
device  amdsmb

# CPU control pseudo-device. Provides access to MSRs, CPUID info and microcode 
update feature.
device  cpuctl

# System Management Bus (SMB)
options ENABLE_ALART    # Control alarm on Intel intpm driver

So, system shows it during boot:

# dmesg -a |grep smb
smbios0: System Management BIOS at iomem 0xf0480-0xf049e on motherboard
smbios0: Version: 2.7, BCD Revision: 2.7

   Although no smbios0 device actually shows up under /dev.  Perhaps
   some more knowledgeable individual might enlighten us as to what
   capabilities having this in your kernel config actually enables.

The same thing.

# ls -la /dev/sm*
ls: /dev/sm*: No such file or directory

   Also, just looking at the (x)mbmon port, the COMMENT line in the
   Makefile states:

   A X motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and
   ADM9240

   So, this port appears to be useful only on a very specific range of
   motherboards.

I hope that those chipsets are kind of generic things, that are compatible with 
modern ones like my Z68. It goes without saying that SOME of modern MB, 
supporting Intel Core(tm) CPUs are still supported by mbmon - it shows state of 
MB (not CPU) thermal sensor, for example. I can't give you exact models, but I 
can give it after some days (need to ask).

    Does it means that it is no way to read temperature sensors on
    motherboard?
   Well, it depends.  :-)

   I'm not at all familiar with your particular processor/motherboard, so I
   can only offer some rather limited advice that may steer you in the
   right direction for further exploration.  There are a number of devices
   you can enable in your kernel config that may provide some of what
   you're looking for.

   Here, on my amd64 box, for instance, device amdtemp, along with
   device cpuctl and device cpufreq makes the following dev.cpu.*
   sysctls available, which are one way to (manually) monitor your
   system.  As you can see below, this provides information on CPU
   temperature and frequency.

   # sysctl dev.cpu
   dev.cpu.0.%desc: ACPI CPU
   dev.cpu.0.%driver: cpu
   dev.cpu.0.%location: handle=\_PR_.P001
   dev.cpu.0.%pnpinfo: _HID=none _UID=0
   dev.cpu.0.%parent: acpi0
   dev.cpu.0.temperature: 47.0C
   dev.cpu.0.freq: 2200
   dev.cpu.0.freq_levels: 2200/23500 1100/14280
   dev.cpu.0.cx_supported: C1/0
   dev.cpu.0.cx_lowest: C1
   dev.cpu.0.cx_usage: 100.00% last 1931us
   dev.cpu.1.%desc: ACPI CPU
   dev.cpu.1.%driver: cpu
   dev.cpu.1.%location: handle=\_PR_.P002
   dev.cpu.1.%pnpinfo: _HID=none _UID=0
   dev.cpu.1.%parent: acpi0
   dev.cpu.1.temperature: 47.0C
   dev.cpu.1.cx_supported: C1/0
   dev.cpu.1.cx_lowest: C1
   dev.cpu.1.cx_usage: 100.00% last 4658us
   dev.cpu.2.%desc: ACPI CPU
   dev.cpu.2.%driver: cpu
   dev.cpu.2.%location: handle=\_PR_.P003
   dev.cpu.2.%pnpinfo: _HID=none _UID=0
   dev.cpu.2.%parent: acpi0
   dev.cpu.2.temperature: 47.0C
   dev.cpu.2.cx_supported: C1/0
   dev.cpu.2.cx_lowest: C1
   dev.cpu.2.cx_usage: 100.00% last 3551us
   dev.cpu.3.%desc: ACPI CPU
   dev.cpu.3.%driver: cpu
   dev.cpu.3.%location: handle=\_PR_.P004
   dev.cpu.3.%pnpinfo: _HID=none _UID=0
   dev.cpu.3.%parent: acpi0
   dev.cpu.3.temperature: 47.0C
   dev.cpu.3.cx_supported: C1/0
   dev.cpu.3.cx_lowest: C1
   dev.cpu.3.cx_usage: 100.00% last 4943us

As I already say, coretemp works fine - I could read CPU thermal sensors with 
 dev.cpu.#CORE_ID.temperature sysctl after I added coretemp device into my 
kernel.

Problem is to read MB sensors, like chasis (system) temperature, fans RPM, 
voltages and so on.

Now, with smbios device enabled, it still doesn't work the perfect way:

# mbmon -V
No VIA686 HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -S
No SMBus HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -I
No ISA-IO HWM available!!
InitMBInfo: Unknown error: 0

# mbmon -A
InitMBInfo: Unknown error: 0
This program needs setuid root!!

# mbmon -D
Probe Request: none

   Testing Reg's at ISA-IO 

[ISA Port IO-Base:0x290]
Probing Winbond/Asus/LM78/79 chip:
  CR40:0x44,  CR41:0x00,  CR42:0x00,  CR43:0x00
  CR44:0x00,  CR45:0x00,  CR46:0x00,  CR47:0x00
  CR48:0x00,  CR49:0x00,  CR4A:0x00,  CR4B:0x00
  CR4C:0x00,  CR4D:0x00,  CR4E:0x80,  CR4F:0x00
  CR56:0xFF,  

ZFS import/export weird behaviour

2011-11-03 Thread Antonio Vieiro
Hi all,

I created a ZFS filesystem on a freebsd-zfs partition. So far so good.

Now the problem comes when exporting and importing it.

I have two boxes with 9.0-RC1. On one of them zfs import says the
filesystem is corrupt, whereas in the other box zfs import works
fine. How so?

Any ideas appreciated,
Antonio
___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Warren Block

On Thu, 3 Nov 2011, ? ? wrote:


Is it clear to interrupt the building process just by pressing Ctrl + C?

If it's so, do I need to run make clean before I start make one more time?


With ports, a make clean before rebuilding is a good idea.  The build 
might not be able to continue cleanly, or might have to build 
differently, depending on what was changed.


For /usr/src, I just remove /usr/obj/usr and build again, but also use 
devel/ccache so there's not much penalty for doing that.

___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Erik Trulsson
On Thu, Nov 03, 2011 at 01:48:47PM -0500, Robert Bonomi wrote:
 
 On Thu, 03 Nov 2011 18:29:06 +0100, Damien Fleuriot m...@my.gd) wrote:
  On 11/3/11 6:20 PM, Robert Bonomi wrote:
   From owner-freebsd-questi...@freebsd.org  Thu Nov  3 12:10:08 2011
   From: =?koi8-r?B?4c7Uz84g68zF09M=?= rc5h...@yandex.ru
   To: freebsd-questions@freebsd.org
   Date: Thu, 03 Nov 2011 21:10:19 +0400
   Subject: Is it safe to interrupt (Ctrl + C) while building a port or 
   kernel?
  
   Sometimes, while building process of some port or system kernel are in 
   progress, you suddenly remember that you did something wrong and have to 
   stop, solve your mistake and start one more time.
  
   Is it clear to interrupt the building process just by pressing Ctrl + 
   C?
   
   Yes.
   
   If it's so, do I need to run make clean before I start make one more 
   time?
   
   Authoritative answer:  It depends.
   
   On what you 'did wrong, and what it takes to fix it.
   
   e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
   make depend, cd , make',  and realize you left something out of the config
   file, after you edit the config file, you have to rerun _all_ those steps.
   
 
  Is it even advisable to build the kernel the old way ?
 
 On a slow processor, it makes a *BIG* differnence.
 Even more so if you build everything you need into the kernel.
 
 'make buildkernel' always recompiles an relinks *everything*. whether or
 not any dependenies for the module have changed.

If that is a problem then just use 'make -DNO_CLEAN buildkernel' and
it won't reompile stuff that doesn't need to be recompiled.  (Works for
buildworld as well.)


-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 6:19 PM, Eric Masson e...@free.fr wrote:
 From rc.sendmail(8) :

snip

See, know I also learned something today :-)


-- 
chs,
___
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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Conrad J. Sabatier
On Thu, 03 Nov 2011 22:48:26 +0400
Антон Клесс rc5h...@yandex.ru wrote:

 03.11.2011, 21:20, Robert Bonomi bon...@mail.r-bonomi.com:
 
    If it's so, do I need to run make clean before I start make
  one more time?
   Authoritative answer:  It depends.
 
   On what you 'did wrong, and what it takes to fix it.
 
   e.g.,  if you're building a kernel the 'classial' way, that is
  'configure, make depend, cd , make',  and realize you left
  something out of the config file, after you edit the config file,
  you have to rerun _all_ those steps.
 
 Does it matter, if I always use make buildkernel make installkernel
 way to rebuild kernels?
 
   make buildkernel
 
 ..
 oh! something wrong!
 Ctrl + C
 ..
 mistake fixed!
 
   make buildkernel
   make installkernel
 
 - is right?

That's fine, yes.  But I wouldn't do an unconditional installkernel
after buildkernel (suppose buildkernel failed in some way)?

Either include both targets in the same make command:

make buildkernel installkernel

Or make the second conditional on the outcome of the first:

make buildkernel  make installkernel

You might also save yourself some time by using -DNO_CLEAN after
changing your kernel config.

-- 
Conrad J. Sabatier
conr...@cox.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: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread RW
On Thu, 3 Nov 2011 12:20:46 -0500 (CDT)
Robert Bonomi wrote:

  From owner-freebsd-questi...@freebsd.org  Thu Nov  3 12:10:08 2011
  From: =?koi8-r?B?4c7Uz84g68zF09M=?= rc5h...@yandex.ru
  To: freebsd-questions@freebsd.org
  Date: Thu, 03 Nov 2011 21:10:19 +0400
  Subject: Is it safe to interrupt (Ctrl + C) while building a port
  or kernel?

  Is it clear to interrupt the building process just by pressing Ctrl
  + C?
 
 Yes.

Whilst it's not strictly-speaking building, I would avoid interrupting
an install.
___
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 10.0-CURRENT/amd64: Weirdness with LOCALE settings: ghostswitching in csh?

2011-11-03 Thread O. Hartmann
Hello.
I realised something weird in FreeBSD 10.-CURRENT/amd64 (CLANG
compiled), build as from today (buildworld).

Working the whole day coding some pyhton scripts and committing the code
to my subversion server (most recent subversion from the ports
collection, the server is a FreeBSD 9.0-RC1/amd64 box, also system
compiled with CLANG, most recent as compiled world of today), suddenly,
oy of the blue, trying again to commit I get this error:

svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_CTYPE is de_DE.ISO-8859-1
svn: warning: please check that your locale name is correct


Checking  csh shell setting with 'locale:
LANG=
LC_CTYPE=C
LC_COLLATE=C
LC_TIME=C
LC_NUMERIC=C
LC_MONETARY=C
LC_MESSAGES=C
LC_ALL=


Checking my settings from /etc/csh.cshrc and ./.cshrc or .login reveals
localised settings for some of the locales as I need those:

(set in $HOME/.cshrc)
setenv  LC_CTYPEde_DE.ISO-8859-1
setenv  LC_TIME de_DE.ISO-8859-1
setenv  LC_MONETARY de_DE.ISO-8859-1

What is going on?

I realised this behaviour now several times, first time I thought I did
something and I couldn't remember, but this time, only two terminal
windows were opened and the whole day committing data to the repository
wasn't an issue.

Is there an explanation for this?

Regards,
Oliver




signature.asc
Description: OpenPGP digital signature


Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Conrad J. Sabatier
On Thu, 3 Nov 2011 13:48:47 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:
[snip] 
 I am likely _not_ the typical user -- I run a monolithic kernel, with 
 everything I need 'compiled in'; *no* loadable modules.  Yeah, it can
 be a nuisance if I need something that isn't compiled in, but I don't
 get ny unexpected surprises.  It also does wonders as far as reducing
 the required 'root partition' size.  I run a 64mb(!!) partition, with
 less than 1/2 of it occupied by the system install.  With the running
 kernel, a copy of the prior running one as a fall-back, and a GENERIC
 for worst-case recovery.

If you don't use modules, why build them at all?  Just set
NO_MODULES=yes in /etc/make.conf and save yourself that much time.

-- 
Conrad J. Sabatier
conr...@cox.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: postfix INST_BASE option

2011-11-03 Thread Lowell Gilbert
Janos Dohanics w...@3dresearch.com writes:

 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?

I wouldn't describe either the pros or the cons as particularly strong.  

If you're not going to use sendmail, you might want to remove it.  If
you do source upgrades, then setting WITHOUT_SENDMAIL in src.conf will
keep it from getting built or installed, and will enable you to remove
the existing sendmail files as part of make delete-old.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 10.0-CURRENT/amd64: Weirdness with LOCALE settings: ghostswitching in csh?

2011-11-03 Thread Jeremy Chadwick
On Thu, Nov 03, 2011 at 11:17:08PM +0100, O. Hartmann wrote:
 Hello.
 I realised something weird in FreeBSD 10.-CURRENT/amd64 (CLANG
 compiled), build as from today (buildworld).
 
 Working the whole day coding some pyhton scripts and committing the code
 to my subversion server (most recent subversion from the ports
 collection, the server is a FreeBSD 9.0-RC1/amd64 box, also system
 compiled with CLANG, most recent as compiled world of today), suddenly,
 oy of the blue, trying again to commit I get this error:
 
 svn: warning: cannot set LC_CTYPE locale
 svn: warning: environment variable LC_CTYPE is de_DE.ISO-8859-1
 svn: warning: please check that your locale name is correct
 
 
 Checking  csh shell setting with 'locale:
 LANG=
 LC_CTYPE=C
 LC_COLLATE=C
 LC_TIME=C
 LC_NUMERIC=C
 LC_MONETARY=C
 LC_MESSAGES=C
 LC_ALL=
 
 
 Checking my settings from /etc/csh.cshrc and ./.cshrc or .login reveals
 localised settings for some of the locales as I need those:
 
 (set in $HOME/.cshrc)
 setenv  LC_CTYPEde_DE.ISO-8859-1
 setenv  LC_TIME de_DE.ISO-8859-1
 setenv  LC_MONETARY de_DE.ISO-8859-1
 
 What is going on?
 
 I realised this behaviour now several times, first time I thought I did
 something and I couldn't remember, but this time, only two terminal
 windows were opened and the whole day committing data to the repository
 wasn't an issue.
 
 Is there an explanation for this?

It sounds like a problem specific to the client end, meaning your
-CURRENT box.  If that's the case: shouldn't this mail have gone to
freebsd-current@ instead of freebsd-stable@ ?  What am I missing?

As for your problem: your locale looks incorrect.  It's
de_DE.ISO8859-1.  Note that yours has an extra hyphen, which probably
explains the error (sort of).

$ ls -ld /usr/share/locale/de_DE*
drwxr-xr-x2 root  wheel 512 Sep 28 14:36 
/usr/share/locale/de_DE.ISO8859-1/
drwxr-xr-x2 root  wheel 512 Sep 28 14:36 
/usr/share/locale/de_DE.ISO8859-15/
drwxr-xr-x2 root  wheel 512 Sep 28 14:36 
/usr/share/locale/de_DE.UTF-8/

As for the fact that it's random: I cannot explain why a sub-shell
might get spawned in some cases but not others.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator   Mountain View, CA, US |
| Making life hard for others since 1977.   PGP 4BD6C0CB |

___
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


smartmontools

2011-11-03 Thread ajtiM
Hi!

Today I installed smartmontools on FreeBSD 8.2-RELEASE-p3. In the 
smartd.conf I changed just DEVICESCAN -a and I have in /var/log/messages:

acd0: FAILURE - ATA_IDENTIFY status=51READY,DSC,ERROR error=4ABORTED

Do I need to setup something else in the smartd.conf or is something wrong 
with my HD, please?

Thanks in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
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: smartmontools

2011-11-03 Thread Adam Vande More
On Thu, Nov 3, 2011 at 6:39 PM, ajtiM lum...@gmail.com wrote:

 Hi!

 Today I installed smartmontools on FreeBSD 8.2-RELEASE-p3. In the
 smartd.conf I changed just DEVICESCAN -a and I have in /var/log/messages:

 acd0: FAILURE - ATA_IDENTIFY status=51READY,DSC,ERROR error=4ABORTED

 Do I need to setup something else in the smartd.conf or is something wrong
 with my HD, please?


That's not your HD complaining, it's your CD drive.  It's probably just
complaining about SMART inquiries to it which aren't supported.  Some way
to exclude scanning that device likely exists in smartd.conf.

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


unable to find device node for /dev/asd0s4 in dev!

2011-11-03 Thread Jacob Minshall
I have been attempting to install breeBSD 8.2 on my 160GB apple tv 1 hard 
drive. I made it so there was a blank space to partition 100GB. In the 
installer I clicked make slice on that empty space, used the auto partition 
sequence, then clicked all for files to install. After this happened I got the 
error message Unable to find device node for /dev/.. in dev!. When I got back 
to my regular startup drive and looked at the apple TV drive(connected by a IDE 
to USB by the way) all other partitions were gone, and just a 100GB blank 
looking partition was left. I did the terminal command gpt -r show on the disk, 
and it still had the framework of all it's original partitions, but nothing in 
the 100GB left blank. After repeated attempts to install, even with trying the 
command to erase the entire drive and install freeBSD over it, it always gave 
me the same response. Then I decided to make a 100GB partition in my intel 
macbook pro to see if a freeBSD install there would work. It did now work 
either, which leads me to my current and main problem. Now my laptop does not 
start, I put in the install disk which shows that there is no macintosh HD like 
it showed there was no other drives on the apple tv disk. I have read online 
now that maybe I needed to add 35 blocks on either side to not return with that 
response, but that doesn't answer where my drive went and I don't quite 
understand how to do that. When I go back to the installer, it shows that all 
partitions are there, except the 165(i think) partition for freeBSD that is the 
only one which shows up on disk utility 
partitioner.___
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: postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
On Thu, 3 Nov 2011 11:23:46 -0400
Alejandro Imass a...@p2ee.org wrote:

 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com
 wrote:
  Could you comment on the pros and cons of using INST_BASE=on in
  postfix on a production server?
 
 
 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES
 
 I haven't used the INST_BASE option out of fear that it might give me
 trouble on building world and upgrading. Also a new approach I'm
 taking is using EzJail for service jails so use a pure MTA jail and
 use the base sendmail as a relay to that. For the time being I'm using
 posfix on the base system to relay  but in the future I plan to do it
 with the native sendmail and only use postfix on the MTA service jail.
 
 -- 
 Alejandro Imass

That's exactly what I have done when setting up systems, as well as
setting WITHOUT_SENDMAIL in src.conf, as Lowell Gilbert mentioned.

With the above options, Sendmail is disabled, is not being built
with buildworld, and Postfix is installed as regular port in /usr/local.

If INST_BASE=off is the default, what's then the usage scenario when I
still would want to change it?

-- 
Janos Dohanics
___
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