sendmail+saslauthd && verify=FAIL

2011-11-18 Thread Matthias Apitz

Hello,

I have to use SMTP with AUTH to  my ISP, and do this with
sendmail+saslauthd as described in the FreeBSD handbook; it works fine
for me in 9-CURRENT and now 10-CURRENT;

while digging for some other problem in the /var/log/maillog I struggled
about the line:

STARTTLS=client, relay=smtp.1blu.de., version=TLSv1/SSLv3, verify=FAIL

se below; what does the FAIL means exactly?

Thanks

matthias

Nov 18 08:53:30 caracas sendmail[10868]: pAI7rU7P010868: 
Authentication-Warning: caracas.Sisis.de: guru set sender to g...@unixarea.de 
using -f
Nov 18 08:53:30 caracas sendmail[10868]: pAI7rU7P010868: from=g...@unixarea.de, 
size=62, class=0, nrcpts=1, 
msgid=<20180753.pai7ru7p010...@caracas.sisis.de>, relay=guru@localhost
Nov 18 08:53:31 caracas sm-mta[10869]: pAI7rUNQ010869: from=, 
size=422, class=0, nrcpts=1, 
msgid=<20180753.pai7ru7p010...@caracas.sisis.de>, proto=ESMTP, 
daemon=Daemon0, relay=localhost [127.0.0.1]
Nov 18 08:53:31 caracas sendmail[10868]: pAI7rU7P010868: to=g...@xx.org, 
ctladdr=g...@unixarea.de (1001/0), delay=00:00:01, xdelay=00:00:01, 
mailer=relay, pri=30062, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(pAI7rUNQ010869 Message accepted for delivery)
Nov 18 08:53:32 caracas sm-mta[10871]: STARTTLS=client, relay=smtp.1blu.de., 
version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Nov 18 08:53:33 caracas sm-mta[10871]: pAI7rUNQ010869: to=, 
delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=30422, relay=smtp.1blu.de. 
[89.202.0.34], dsn=2.0.0, stat=Sent (OK id=1RRJGf-0001DJ-Gv)

-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: sendmail+saslauthd && verify=FAIL

2011-11-18 Thread Edward Martinez

On 11/18/11 00:12, Matthias Apitz wrote:

STARTTLS=client, relay=smtp.1blu.de., version=TLSv1/SSLv3, verify=FAIL

se below; what does the FAIL means exactly?

   I have been reading on the subject and it appears you do not trust 
the certificate

issuer for   smtp.lblu.de.

___
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: sendmail+saslauthd && verify=FAIL

2011-11-18 Thread Matthew Seaman
On 18/11/2011 10:00, Edward Martinez wrote:
> On 11/18/11 00:12, Matthias Apitz wrote:
>> STARTTLS=client, relay=smtp.1blu.de., version=TLSv1/SSLv3, verify=FAIL
>>
>> se below; what does the FAIL means exactly?
>>
>I have been reading on the subject and it appears you do not trust
> the certificate
> issuer for   smtp.lblu.de.

Which is pretty much normal for SSL certs used for mail transfer.  Most
mail servers use a self-signed certificate, because the important point
is not to verify the identity of the other party but to protect the
messages in transit against snooping.  All that requires is a secure
means of agreeing a symmetric session key between both parties, and the
TLS handshake is the best available way of doing that.

Verifying SSL keys between MTAs is mostly useful only within one
organisation where the keys can be issued from one central authority, or
between a group of tightly integrated organisations.

With the advent of DNSSEC and things like the DANE project
(https://tools.ietf.org/html/draft-ietf-dane-protocol-12) that might
change, but DNSSEC adoption is too patchy yet for it to be effective.

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: LAGG and Jails?

2011-11-18 Thread Damien Fleuriot
On 11/18/11 8:09 AM, Snoop wrote:
> Does anyone know if it's possible to configure lagg for network
> redundancy on a FreeBSD server containing jails? I'm having problems
> with that. I couldn't found much around therefore I'm not even sure it's
> "doable".
> 
> Thanks in advance, any tip will be appreciated.
> 


Show your ifconfig output, I'm curious about how you configure your lagg

Also please post your uname -a output and rc.conf
___
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"


Geom Gate usage and perf

2011-11-18 Thread Jerome Herman

Hello,

Just wondering if anyone is using geom gate and could help me with huge 
perf issue I am having.
Right now the set up is such : 3 drives on the same machine A, exported 
through geom gate and connected to machine B.
On machine B I format the drives as freebsd-vinum and mount them in 
stripping+mirroring.


The end goal is to have High Availability drives.

The setup is working, but the perf are awfull. Thinking It was due to 
software stripping and mirroring slowing the process down I tried with 
only one drive with a standard UFS format.


The perf are still horrible. When the drive is mounted locally on 
machine A and I copy data with rsync from machine B; I have a steady 
12MB/s data transfer rate.
When the same drive is mounted with geom gate on machine B, the copy 
rate is around 6KB/s to 25KB/s


The drive was tested for I/O problems twice, and nothing was found.

Any idea or suggestion as to where the problem might come from ?

Thanks for your help.
Jerome Herman
___
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: Geom Gate usage and perf

2011-11-18 Thread Fabian Keil
Jerome Herman  wrote:

> Just wondering if anyone is using geom gate and could help me with huge 
> perf issue I am having.
> Right now the set up is such : 3 drives on the same machine A, exported 
> through geom gate and connected to machine B.
> On machine B I format the drives as freebsd-vinum and mount them in 
> stripping+mirroring.
> 
> The end goal is to have High Availability drives.
> 
> The setup is working, but the perf are awfull. Thinking It was due to 
> software stripping and mirroring slowing the process down I tried with 
> only one drive with a standard UFS format.
> 
> The perf are still horrible. When the drive is mounted locally on 
> machine A and I copy data with rsync from machine B; I have a steady 
> 12MB/s data transfer rate.
> When the same drive is mounted with geom gate on machine B, the copy 
> rate is around 6KB/s to 25KB/s
> 
> The drive was tested for I/O problems twice, and nothing was found.
> 
> Any idea or suggestion as to where the problem might come from ?

I haven't used ggate in years, but if I remember correctly
I had performance issues as well until I significantly
increased the send and receive buffers for ggatec and ggated.

I think I never reached the performance I had hoped for,
but at least it got good enough to be usable.

Fabian


signature.asc
Description: PGP signature


Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Kirk Strauser
I use Amanda to make nightly backups of a bunch of servers using GNU tar. 
However, gtar doesn't seem to respect its --one-file-system flag with /proc. 
Amanda runs a variation of this command:

# /usr/local/bin/gtar --create --file - --directory / --one-file-system 
--sparse --ignore-failed-read --totals . > /dev/null
/usr/local/bin/gtar: ./proc: file changed as we read it

Before I file a bug report, can anyone think of a legitimate reason why gtar 
would be touching /proc at all?

Kirk

___
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: [OT] but concerns all of us

2011-11-18 Thread C. P. Ghost
On Wed, Nov 16, 2011 at 11:24 PM, Mario Lobo  wrote:
> My apologies to all for this, specially to those who already know about this
> and those who think too little of it.
>
> I am really worried about this:
>
> http://americancensorship.org/

Mario, I couldn't agree more and it's a very important topic.
But PLEASE let's take this thread to freebsd-chat@. It *really*
doesn't belong here.

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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"


net.isr.direct?

2011-11-18 Thread Виталий Владимирович

 I am attempting to set below sysctls
  
/boot/loader.conf
net.isr.direct=1
net.isr.direct_force=1

but after rebut it still

sysctl -a|grep isr

net.isr.direct: 0
net.isr.direct_force: 0
 
 Why it still zero?

 OS: FreeBSD-RC1 amd64
___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Daniel Staal

On Fri, November 18, 2011 10:34 am, Kirk Strauser wrote:
> I use Amanda to make nightly backups of a bunch of servers using GNU tar.
> However, gtar doesn't seem to respect its --one-file-system flag with
> /proc. Amanda runs a variation of this command:
>
> # /usr/local/bin/gtar --create --file - --directory /
> --one-file-system --sparse --ignore-failed-read --totals . > /dev/null
> /usr/local/bin/gtar: ./proc: file changed as we read it
>
> Before I file a bug report, can anyone think of a legitimate reason why
> gtar would be touching /proc at all?

Just a guess, really but:

/proc is a file on /.  /proc/* are files on /proc.  The former is still on
the root filesystem (if only as a directory stub to be used as a
mountpoint), so reading it isn't leaving that filesystem.  Reading
anything *in* it would be.

Just a thought.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Michael Sierchio
On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal  wrote:

> /proc is a file on /.  /proc/* are files on /proc.  The former is still on
> the root filesystem (if only as a directory stub to be used as a
> mountpoint), so reading it isn't leaving that filesystem.  Reading
> anything *in* it would be.
>
> Just a thought.

And a good one.  Yes, that's it.  It isn't crossing the mount point,
but the mount point is part of the root filesystem.

If you really want it to ignore the mount point itself, set the nodump
flag and tell gtar to honor it:

> chflags nodump /proc
> gtar  --nodump
___
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: net.isr.direct?

2011-11-18 Thread Damien Fleuriot


On 11/18/11 5:22 PM, Виталий Владимирович wrote:
> 
>  I am attempting to set below sysctls
>   
> /boot/loader.conf
> net.isr.direct=1
> net.isr.direct_force=1
> 
> but after rebut it still
> 
> sysctl -a|grep isr
> 
> net.isr.direct: 0
> net.isr.direct_force: 0
>  
>  Why it still zero?
> 
>  OS: FreeBSD-RC1 amd64


I'm gonna assume you're running 9.0-RC1

Have you tried setting your vars in /etc/sysctl.conf and rebooting ?

You never 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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Fri Nov 18 09:36:09 2011
> From: Kirk Strauser 
> Date: Fri, 18 Nov 2011 09:34:18 -0600
> To: FreeBSD Questions ML 
> Subject: Shouldn't GNU tar be ignoring /proc with --one-file-system?
>
> I use Amanda to make nightly backups of a bunch of servers using GNU tar. Howe
> ver, gtar doesn't seem to respect its --one-file-system flag with /proc. Amand
> a runs a variation of this command:

Don't blame the software.

It is just doing *exactly* what you told it to. :)

>
> # /usr/local/bin/gtar --create --file - --directory / --one-file-system 
> --sparse --ignore-failed-read --totals . > /dev/null
> /usr/local/bin/gtar: ./proc: file changed as we read it
>
> Before I file a bug report, can anyone think of a legitimate reason why gtar 
> would be touching /proc at all?

Yup.  You (or more properly, Amanda) _told_ it to.

See the output of 'mount(8)' for the names of all the mounted filesystems on
your machine.  

*NOTE*WELL* that '/proc' is *not* a separate filesystem.  It is merely a
_directory_ with a bunch of 'special' files in it.

The 'error message' is accurate -- but it is _just_ a 'warning', and -- in 
*this*
circumstance -- _totally_ innocuous.

If you want to suppress generation of that error, simply add an '--exclude' for
/proc to the Amanda run.


___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Matthew Seaman
On 18/11/2011 17:18, Michael Sierchio wrote:
> On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal  wrote:
> 
>> > /proc is a file on /.  /proc/* are files on /proc.  The former is still on
>> > the root filesystem (if only as a directory stub to be used as a
>> > mountpoint), so reading it isn't leaving that filesystem.  Reading
>> > anything *in* it would be.
>> >
>> > Just a thought.

> And a good one.  Yes, that's it.  It isn't crossing the mount point,
> but the mount point is part of the root filesystem.

I find it quite astonishing that /proc would deliberately behave
differently to *every other* filesystem available.  The mountpoint
should belong to the filesystem mounted on it.

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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Kirk Strauser
On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote:

> See the output of 'mount(8)' for the names of all the mounted filesystems on
> your machine.  

$ mount | grep proc
procfs on /proc (procfs, local)

> 
> *NOTE*WELL* that '/proc' is *not* a separate filesystem.  It is merely a
> _directory_ with a bunch of 'special' files in it.

I'm confused here. In what way isn't /proc a separate filesystem? It's even 
called "procfs".

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

2011-11-18 Thread Calomel Org
Kes,

First, understand that the Realtek (re0) cards have significant
network problems when trying to saturate a network. If you have the
ability try switching to a Intel card (em0) for a lot better
performance, lower interrupts and less CPU usage.

Why interrupts are not handled by more CPUs than one? This is probably
the way the driver was built. It is a single processes which is using
the "big lock" method. This keeps all activity for the drive bound to
a single CPU core.

or One CPU handle interrupts from one card, so I need two NICs?... Two
nics would be a very good idea. You will see better performance a less
IRQ splitting.

Why it is lowered by twice? The CPU load is when the CPU is busy and
can not be used by any other processes. This does _not_ mean that
processing is going on, just that the CPU is unavailable. IRQ's are
like locks and they keep the cpu from being use and hold on to the
cpu. So, irq256 is holding onto the cpu, but not actually processing
any data. This is not very efficient as you can see.

Try changing cards to an Intel variety and use two nics in total; one
for incoming connections and one for outgoing. On the network
performace page we specify the cards we are currently using. Intel
PRO/1000 GT PCI PWLA8391GT can be found on newegg for as little as $31
each.

Hope this helps.

--
   Calomel @ https://calomel.org
   Open Source Research and Reference


On Fri, Nov 18, 2011 at 02:41:15AM -0500, ??? ??? wrote:
>Hi.
>
>FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 
>:/usr/obj/usr/src/sys/PAE_KES  i386
>
>
>I have some quiestions about FreeBSD tunig 
>https://calomel.org/network_performance.html
>
>I have re0 Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c) and core i3 2100
>and two vlans on it: the one for incoming and the other for outgoing packets.
>
>#top -SIHP
>last pid: 14902;  load averages:  1.92,  2.12,  1.96up 0+17:47:31  19:59:04
>226 processes: 12 running, 197 sleeping, 17 waiting
>CPU 0:  0.6% user,  0.0% nice,  1.2% system, 88.3% interrupt,  9.8% idle
>CPU 1:  1.8% user,  0.0% nice, 29.4% system,  0.0% interrupt, 68.7% idle
>CPU 2:  3.7% user,  0.0% nice, 30.7% system,  0.0% interrupt, 65.6% idle
>CPU 3:  3.1% user,  0.0% nice, 25.8% system,  0.0% interrupt, 71.2% idle
>Mem: 264M Active, 1641M Inact, 272M Wired, 832K Cache, 112M Buf, 1721M Free
>Swap: 4096M Total, 4096M Free
>
>  PID USERNAME   PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
>   12 root   -92- 0K   152K CPU00 354:30 96.78% {irq256: re0}
>   11 root   155 ki31 0K32K RUN 1 929:16 77.83% {idle: cpu1}
>   11 root   155 ki31 0K32K RUN 3 922:41 72.95% {idle: cpu3}
>   11 root   155 ki31 0K32K RUN 2 904:02 71.63% {idle: cpu2}
>   13 root   -16- 0K32K CPU31  71:11 18.65% {ng_queue1}
>   13 root   -16- 0K32K RUN 1  71:10 18.36% {ng_queue3}
>   13 root   -16- 0K32K RUN 3  71:18 17.63% {ng_queue0}
>   13 root   -16- 0K32K RUN 1  71:11 17.14% {ng_queue2}
>   11 root   155 ki31 0K32K RUN 0 682:25 10.55% {idle: cpu0}
>55709 root200 13408K  5840K select  2  15:50  1.71% snmpd
>14902 cacti   330 11960K  3480K select  1   0:00  1.12% snmpget
>14864 cacti   460 6K  2836K piperd  3   0:00  1.12% perl5.10.1
>14867 root460  9728K  1956K select  3   0:00  1.12% sudo
>
>as you can see irq256 take all CPU0 time and packets that travel
>through router have a lose about 5-10%, CPU100% loaded when trafic
>achive 400Mbit/s and then lower as twice
>
>Now questions
>1. Why interrupts are not handled by more CPUs than one?
>
>2. or One CPU handle interrupts from one card, so I need two NICs?...
>
>3. Why it is lowered by twice?
>
>Thank you.
>
>-- 
>? ?,
> ???  mailto:kes-...@yandex.ru




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


Webmail for local system mail

2011-11-18 Thread Errol Sayre
Does anyone know of a webmail product that can provide access to local system 
accounts? Even if it's just a script that runs /usr/bin/mail on behalf of the 
user.

I'd like a simple way to access local system emails without having to forward 
them to an actual mailbox 
somewhere.___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Michael Sierchio
On Fri, Nov 18, 2011 at 9:27 AM, Matthew Seaman
 wrote:

> I find it quite astonishing that /proc would deliberately behave
> differently to *every other* filesystem available.  The mountpoint
> should belong to the filesystem mounted on it.

I have an idea what you mean by "belong to" in this case and - if I'm
right, you're wrong :-)

A mount point has an inode in the parent filesystem, right?  Good,
glad we cleared that up.

Unless you set the 'nodump' flag, and tell tar/gtar/tarsnap/dump to
honor the flag, the archive will have an entry for the mount point.
The 'one-file-system' flags tells gtar not to traverse mount points,
but it will certainly see the mount point and include it in the
archive, along with its modes, flags, atime, mtime, etc. etc.  If
those changed between the time if took a peek at the directory and the
time it attempted to include it in the archive, you'll see those
advisory warnings (which may be ignored in this case).
___
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: Webmail for local system mail

2011-11-18 Thread Adam Vande More
On Fri, Nov 18, 2011 at 11:23 AM, Errol Sayre  wrote:

> Does anyone know of a webmail product that can provide access to local
> system accounts? Even if it's just a script that runs /usr/bin/mail on
> behalf of the user.
>
> I'd like a simple way to access local system emails without having to
> forward them to an actual mailbox
> somewhere.___
>

sysutils/webmin will work without much configuration.  Some of the other
more traditional one like squirrelmail will work as well, but some extra
config may be required.

-- 
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: net.isr.direct?

2011-11-18 Thread Виталий Владимирович


 --- Original message ---
 From: "Damien Fleuriot" 
 To: freebsd-questions@freebsd.org
  Date: 18 November 2011, 19:22:36
 Subject: Re: net.isr.direct?
 


> On 11/18/11 5:22 PM, Виталий Владимирович wrote:
> > 
> >  I am attempting to set below sysctls
> >   
> > /boot/loader.conf
> > net.isr.direct=1
> > net.isr.direct_force=1
> > 
> > but after rebut it still
> > 
> > sysctl -a|grep isr
> > 
> > net.isr.direct: 0
> > net.isr.direct_force: 0
> >  
> >  Why it still zero?
> > 
> >  OS: FreeBSD-RC1 amd64
> 
> 
> I'm gonna assume you're running 9.0-RC1

 Yes.

> Have you tried setting your vars in /etc/sysctl.conf and rebooting ?
  But this is not runtime vars. It set only in loader.conf

 See on Calomel.org web site.
 
 https://calomel.org/network_performance.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: net.isr.direct?

2011-11-18 Thread Виталий Владимирович


 --- Original message ---
 From: "Damien Fleuriot" 
 To: freebsd-questions@freebsd.org
  Date: 18 November 2011, 19:22:36
 Subject: Re: net.isr.direct?
 


> On 11/18/11 5:22 PM, Виталий Владимирович wrote:
> > 
> >  I am attempting to set below sysctls
> >   
> > /boot/loader.conf
> > net.isr.direct=1
> > net.isr.direct_force=1
> > 
> > but after rebut it still
> > 
> > sysctl -a|grep isr
> > 
> > net.isr.direct: 0
> > net.isr.direct_force: 0
> >  
> >  Why it still zero?
> > 
> >  OS: FreeBSD-RC1 amd64
> 
  I think this is because I am testing on VirtualBox, not on the live hardware 
machine?
  
 --
___
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: Webmail for local system mail

2011-11-18 Thread Errol Sayre
Are you sure SquirrelMail will do this? I was under the impression (from their 
requirements page) that it needs an IMAP backend.

On Nov 18, 2011, at 12:02 PM, Adam Vande More wrote:

> On Fri, Nov 18, 2011 at 11:23 AM, Errol Sayre  wrote:
> Does anyone know of a webmail product that can provide access to local system 
> accounts? Even if it's just a script that runs /usr/bin/mail on behalf of the 
> user.
> 
> I'd like a simple way to access local system emails without having to forward 
> them to an actual mailbox 
> somewhere.___
> 
> sysutils/webmin will work without much configuration.  Some of the other more 
> traditional one like squirrelmail will work as well, but some extra config 
> may be required.
> 
> -- 
> 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"


Siz aramayın biz sizin için buluruz

2011-11-18 Thread İstanbul Bilişim
Size özel bülteni görmek için aşağıdaki linke tıklayınız: 
 Tıklayınız 

___
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: Webmail for local system mail

2011-11-18 Thread Daniel Staal

On Fri, November 18, 2011 2:30 pm, Errol Sayre wrote:
> Are you sure SquirrelMail will do this? I was under the impression (from
> their requirements page) that it needs an IMAP backend.

In which case you'll want an IMAP server that can serve the local system
accounts.  Not hard to set up.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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: Webmail for local system mail

2011-11-18 Thread Julian H. Stacey
Hi,
Reference:
> From: Errol Sayre  
> Date: Fri, 18 Nov 2011 17:23:26 + 
> Message-id:

Errol Sayre wrote:
> Does anyone know of a webmail product that can provide access to local system 
> accounts? Even if it's just a script that runs /usr/bin/mail on behalf of the 
> user.

Did you try /usr/ports/mail/openwebmail ? (Needs apache) Runs OK here.

> I'd like a simple way to access local system emails without having to forward 
> them to an actual mailbox 
> somewhere.___
> 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
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 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: 8.2-RELEASE-p4

2011-11-18 Thread Tom Carpenter


Is it not possible/not intended for kernels to be updated via
freebsd-update? If kernels can be updated via freebsd-update
will there be a release of an fix/update that will allow systems
to be patched/updated to -p4 or later?

-Tom Carpenter


On 11/14/2011 05:25 AM, Evalyn wrote:

It touches the kernel but you need to do make builkernel/make installkernel
before uname -a shows "8.2-RELEASE-p4".

Regards,
Evalyn


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Matthew Seaman
Sent: 12 November 2011 02:03
To: Robert Simmons
Cc: freebsd-questions@freebsd.org
Subject: Re: 8.2-RELEASE-p4

On 11/11/2011 21:03, Robert Simmons wrote:

Note that if a security update is just to some userland programs,

freebsd-update won't touch the OS kernel, so the reported version
number doesn't change even though the update has been applied.  In
these sort of cases, it's not necessary to reboot, just to restart
any long running processes (if any) affected by the update.  The
security advisory should have more detailed instructions about
exactly what to do.  (The -p2 to
-p3 update was like this, but the -p3 to -p4 update definitely did
affect the kernel so a reboot was necessary.)

I'm not confident that you are correct here.  See above.  Either p3-p4
did not touch the kernel, or the OP has a legitimate question.

Interesting.  I based what I said on the text of the security advisories:

http://security.freebsd.org/advisories/FreeBSD-SA-11:04.compress.asc
http://security.freebsd.org/advisories/FreeBSD-SA-11:05.unix.asc

Specifically the 'Corrected:' section near the top.  I think it's clear that
FreeBSD-SA-11:04.compress (Corrected in 8.2-RELEASE-p3) doesn't involve
anything in the kernel but FreeBSD-SA-11:05.unix (Corrected in
8.2-RELEASE-p4) is entirely within the kernel code.  Except those advisories
aren't telling the whole story.

Lets look at r226023 in SVN.  That's the revision quoted in the 11.05
advisory.  The log for newvers.sh in

http://svnweb.freebsd.org/base/releng/8.2/sys/conf/newvers.sh?view=log&pathr
ev=226023

says that the patches in RELEASE-p4 were not actually the security fix
-- rather they fixed a problem revealed by the actual security fix, which
was applied simultaneously with the patches in FreeBSD-SA-11:04.compress.
11.05 was committed in two blobs spanning
-p3 and -p4.

So, the good news is that if you have at least 8.2-RELEASE-p3 then you don't
have any (known) security holes.  However if you don't have the patches in
8.2-RELEASE-p4 then linux apps run under emulation will crash if they use
unix domain sockets.  The flash plugin for FireFox being the most prominent
example as I recall.

Now the updates for -p4 certainly should have touched the kernel, and
certainly should have resulted in an updated uname string[*].  There should
also be a note about -p4 in /usr/src/UPDATING.  Starting to wonder if the
-p4 patches are actually available via freebsd-update(8)
-- could they have been omitted because it wasn't actually a security fix?
Odd that no one would have commented in a whole month if so.

Cheers,

Matthew



[*] strings /boot/kernel/kernel | grep '8\.2-'   should give the same
results as uname(1): if it's different then the running kernel is not the
same as the one on disk...



___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Daniel Feenberg



On Fri, 18 Nov 2011, Kirk Strauser wrote:


On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote:


See the output of 'mount(8)' for the names of all the mounted filesystems on
your machine.


$ mount | grep proc
procfs on /proc (procfs, local)



*NOTE*WELL* that '/proc' is *not* a separate filesystem.  It is merely a
_directory_ with a bunch of 'special' files in it.


I'm confused here. In what way isn't /proc a separate filesystem? It's 
even called "procfs".


I just went to an 8.1 system as root and did:

   umount /proc

and /proc dismounted leaving an empty directory in route. I then went

   mount /proc

and /proc was mounted again, using the parameters in /etc/fstab. Surely
that means that going from / to /proc is "crossing a filesystem boundary".
To me that suggests it is a separate filesystem, and typically /proc is
filled with stuff that you wouldn't want to recurse through, so I wouldn't
think it a good candidate for special casing as non-mounted.

Daniel Feenberg
NBER



___
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[2]: net.isr.direct?

2011-11-18 Thread Коньков Евгений
Здравствуйте, Виталий.

Вы писали 18 ноября 2011 г., 21:30:38:



ВВ>  --- Original message ---
ВВ>  From: "Damien Fleuriot" 
ВВ>  To: freebsd-questions@freebsd.org
ВВ>   Date: 18 November 2011, 19:22:36
ВВ>  Subject: Re: net.isr.direct?
ВВ>  


>> On 11/18/11 5:22 PM, Виталий Владимирович wrote:
>> > 
>> >  I am attempting to set below sysctls
>> >   
>> > /boot/loader.conf
>> > net.isr.direct=1
>> > net.isr.direct_force=1
>> > 
>> > but after rebut it still
>> > 
>> > sysctl -a|grep isr
>> > 
>> > net.isr.direct: 0
>> > net.isr.direct_force: 0
>> >  
>> >  Why it still zero?
>> > 
>> >  OS: FreeBSD-RC1 amd64
>> 
ВВ>   I think this is because I am testing on VirtualBox, not on the live 
hardware machine?
very similar to, because of I am using that on: CURRENT-10 and have no
problem. See start time output to console and see errors why it can
not set those.

#/etc/syslog.conf
# uncomment this to log all writes to /dev/console to /var/log/console.log
console.info/var/log/console.log

-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru


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


Re: 8.2-RELEASE-p4

2011-11-18 Thread Matthew Seaman
On 18/11/2011 20:12, Tom Carpenter wrote:
> Is it not possible/not intended for kernels to be updated via
> freebsd-update? If kernels can be updated via freebsd-update
> will there be a release of an fix/update that will allow systems
> to be patched/updated to -p4 or later?

freebsd-update will certainly update your kernel for you, so long as you
are using a standard GENERIC kernel from the install media or from a
previous freebsd-update iteration.

If you compile your own kernel, then freebsd-update will patch the
kernel sources, but leave you to rebuild and reinstall your customized
kernel.

I don't know about the -p4 update.  By rights it should have involved
updating the kernel by one or other of the two methods shown.  So far
however, we've seen two reports questioning that[*] and none saying that
the -p4 update did in fact update the kernel.  Which is suspicious, but
hardly conclusive.

Cheers,

Matthew

[*] Stranger things have happened than admins compiling their own
GENERIC kernels and then mistakenly thinking they were actually using
the standard one from the install media[+].  Seeing a positive "it
updated for me" would settle the question definitively.

[+] Not that I believe for one minute that anyone in this thread is
sufferring from that sort of memory lapse.

-- 
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[2]: freebsd tuning

2011-11-18 Thread Коньков Евгений

CO> Kes,

CO> First, understand that the Realtek (re0) cards have significant
CO> network problems when trying to saturate a network. If you have the
CO> ability try switching to a Intel card (em0) for a lot better
CO> performance, lower interrupts and less CPU usage.
I know that problems with realtek.

CO> Why interrupts are not handled by more CPUs than one? This is probably
CO> the way the driver was built. It is a single processes which is using
CO> the "big lock" method. This keeps all activity for the drive bound to
CO> a single CPU core.
# sysctl net.isr
net.isr.maxthreads: 3
net.isr.direct: 0
net.isr.direct_force: 0

# sysctl -a | grep HZ
options HZ=4000
# sysctl -a | grep hz
kern.clockrate: { hz = 4000, tick = 250, profhz = 8128, stathz = 127 }
kern.hz: 4000

#top -SIHP
last pid: 54308;  load averages:  1.08,  1.43,  1.55 up 0+13:17:32  22:49:42
211 processes: 5 running, 187 sleeping, 19 waiting
CPU 0:  4.8% user,  0.0% nice, 14.3% system, 22.2% interrupt, 58.7% idle
CPU 1:  0.0% user,  0.0% nice,  6.3% system, 22.2% interrupt, 71.4% idle
CPU 2:  0.0% user,  0.0% nice, 11.1% system, 20.6% interrupt, 68.3% idle
CPU 3:  0.0% user,  0.0% nice,  9.5% system, 17.5% interrupt, 73.0% idle
Mem: 242M Active, 1731M Inact, 200M Wired, 316K Cache, 112M Buf, 1725M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME   PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root   155 ki31 0K32K CPU11 539:41 80.71% {idle: cpu1}
   11 root   155 ki31 0K32K RUN 2 541:42 79.39% {idle: cpu2}
   11 root   155 ki31 0K32K CPU33 546:52 78.81% {idle: cpu3}
   11 root   155 ki31 0K32K CPU00 532:04 77.39% {idle: cpu0}
   12 root   -72- 0K   152K WAIT1 184:33 24.56% {swi1: netisr 2}
   12 root   -72- 0K   152K WAIT2 281:46 22.07% {swi1: netisr 0}
   12 root   -72- 0K   152K WAIT3  89:43 13.96% {swi1: netisr 3}
   12 root   -92- 0K   152K WAIT0 112:43 13.67% {irq256: re0}
   13 root   -16- 0K32K sleep   1  50:04  4.93% {ng_queue3}
   13 root   -16- 0K32K sleep   1  50:01  4.93% {ng_queue2}
   13 root   -16- 0K32K sleep   3  49:59  4.93% {ng_queue1}
   13 root   -16- 0K32K sleep   2  50:02  4.88% {ng_queue0}
 6989 root210 13408K  5576K select  0  17:37  2.39% snmpd
 5523 root200 76928K 52252K select  2  11:31  0.05% {mpd5}

in this case I get *all* cpu work.

I will watch for it: will it can process speed over 400Mbit. Before
that was limit.

I think this notices will be usefull for people with this NIC


CO> or One CPU handle interrupts from one card, so I need two NICs?... Two
CO> nics would be a very good idea. You will see better performance a less
CO> IRQ splitting.

CO> Why it is lowered by twice? The CPU load is when the CPU is busy and
CO> can not be used by any other processes. This does _not_ mean that
CO> processing is going on, just that the CPU is unavailable. IRQ's are
CO> like locks and they keep the cpu from being use and hold on to the
CO> cpu. So, irq256 is holding onto the cpu, but not actually processing
CO> any data. This is not very efficient as you can see.
this router process 300Mbit ease, but when it rise to 400Mbit and hold
about 5 min it fall to 200Mbit. At 200Mbit can work easy! but it is
like hooked and still 100% loaded. other 3CPUs have many idle time.
twice fall I think binded to TCP stack: it see loses and try to send
data twice slower

CO> Try changing cards to an Intel variety and use two nics in total; one
CO> for incoming connections and one for outgoing. On the network
CO> performace page we specify the cards we are currently using. Intel
CO> PRO/1000 GT PCI PWLA8391GT can be found on newegg for as little as $31
CO> each.

I have Intel, but I you say: it is unnecessary to buy expensive hard
in many cases budged solution work very well. =)

CO> Hope this helps.
Thank you. Hope to see this notices in the article and will happy if
that help to other peoples. Thank you again.

CO> --
CO>Calomel @ https://calomel.org
CO>Open Source Research and Reference


CO> On Fri, Nov 18, 2011 at 02:41:15AM -0500, ??? ??? wrote:
>>Hi.
>>
>>FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 
>>:/usr/obj/usr/src/sys/PAE_KES  i386
>>
>>
>>I have some quiestions about FreeBSD tunig 
>>https://calomel.org/network_performance.html
>>
>>I have re0 Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c) and core i3 
>>2100
>>and two vlans on it: the one for incoming and the other for outgoing packets.
>>
>>#top -SIHP
>>last pid: 14902;  load averages:  1.92,  2.12,  1.96up 0+17:47:31  
>>19:59:04
>>226 processes: 12 running, 197 sleeping, 17 waiting
>>CPU 0:  0.6% user,  0.0% nice,  1.2% system, 88.3% interrupt,  9.8% idle
>>CPU 1:  1.8% user,  0.0% nice, 29.4% system,  0.0% interrupt, 68.7% idle
>>CPU 2:  3.7% user,  0.0% nice, 30.7% system,  0.0% interru

Re: Webmail for local system mail

2011-11-18 Thread Errol Sayre
On Nov 18, 2011, at 1:55 PM, Julian H. Stacey wrote:

> Did you try /usr/ports/mail/openwebmail ? (Needs apache) Runs OK here.

I didn't, but I think Webmin's Read Mail module will do all that I need, plus 
it has some other niceties.

Thanks everyone!___
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: 8.2-RELEASE-p4

2011-11-18 Thread Tom Carpenter

So, I've run freebsd-update fetch/install a few times since I
posed my original question, but my system remains at
8.2-RELEASE-p3. Have I done all that I should to get word to
those that would be able to correct the problem? Is there
communication channel I should use to report this?

On 11/18/2011 03:50 PM, Matthew Seaman wrote:

On 18/11/2011 20:12, Tom Carpenter wrote:

Is it not possible/not intended for kernels to be updated via
freebsd-update? If kernels can be updated via freebsd-update
will there be a release of an fix/update that will allow systems
to be patched/updated to -p4 or later?

freebsd-update will certainly update your kernel for you, so long as you
are using a standard GENERIC kernel from the install media or from a
previous freebsd-update iteration.

If you compile your own kernel, then freebsd-update will patch the
kernel sources, but leave you to rebuild and reinstall your customized
kernel.

I don't know about the -p4 update.  By rights it should have involved
updating the kernel by one or other of the two methods shown.  So far
however, we've seen two reports questioning that[*] and none saying that
the -p4 update did in fact update the kernel.  Which is suspicious, but
hardly conclusive.

Cheers,

Matthew

[*] Stranger things have happened than admins compiling their own
GENERIC kernels and then mistakenly thinking they were actually using
the standard one from the install media[+].  Seeing a positive "it
updated for me" would settle the question definitively.

[+] Not that I believe for one minute that anyone in this thread is
sufferring from that sort of memory lapse.


___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread perryh
Kirk Strauser  wrote:

> On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote:
>
> > See the output of 'mount(8)' for the names of all the mounted 
> > filesystems on your machine.
>
> $ mount | grep proc
> procfs on /proc (procfs, local)
>
> > *NOTE*WELL* that '/proc' is *not* a separate filesystem.  It 
> > is merely a _directory_ with a bunch of 'special' files in it.
>
> I'm confused here. In what way isn't /proc a separate filesystem? 
> It's even called "procfs".
 
It's Bonomi who is confused.  I suspect he doesn't have procfs 
configured -- so of course its mountpoint is just a directory --
*on his system*.  The OP _does_ have procfs configured, or the
question wouldn't have arisen.
___
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: Webmail for local system mail

2011-11-18 Thread perryh
Errol Sayre  wrote:

> Does anyone know of a webmail product that can provide access
> to local system accounts? Even if it's just a script that runs
> /usr/bin/mail on behalf of the user.
>
> I'd like a simple way to access local system emails without
> having to forward them to an actual mailbox somewhere.

Er, /var/mail/$USER _is_ "an actual mailbox".  Depending on what
mechanism the webmail client(s) use to access mailboxes, you might
need to install a POP or IMAP server.
___
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: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Terrence Koeman
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Daniel Staal
> Sent: Friday, November 18, 2011 18:00
> To: freebsd-questions@freebsd.org
> Subject: Re: Shouldn't GNU tar be ignoring /proc with --one-file-
> system?
>
>
> On Fri, November 18, 2011 10:34 am, Kirk Strauser wrote:
> > I use Amanda to make nightly backups of a bunch of servers using GNU
> tar.
> > However, gtar doesn't seem to respect its --one-file-system flag with
> > /proc. Amanda runs a variation of this command:
> >
> > # /usr/local/bin/gtar --create --file - --directory /
> > --one-file-system --sparse --ignore-failed-read --totals . >
> /dev/null
> > /usr/local/bin/gtar: ./proc: file changed as we read it
> >
> > Before I file a bug report, can anyone think of a legitimate reason
> why
> > gtar would be touching /proc at all?
>
> Just a guess, really but:
>
> /proc is a file on /.  /proc/* are files on /proc.  The former is still
> on
> the root filesystem (if only as a directory stub to be used as a
> mountpoint), so reading it isn't leaving that filesystem.  Reading
> anything *in* it would be.
>
> Just a thought.
>

However, the file /proc on fs / should not be changing since a filesystem /proc 
is mounted over it. The message "./proc: file changed as we read it" indicates 
whatever /proc it is trying to read did change...

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote relevant replies in correspondence.



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


where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread William Bulley
I tried to install 9.0RC2 from the DVD ISO today.  This defaults
to using bsdinstall instead of the 8.x sysinstall.

This process gave me an error, but I'm not sure in which forum
to discuss this problem/error.  Thanks in advance.

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
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 9.0 RC-2

2011-11-18 Thread ajtiM
Hi!

I had a problem with memory on y computer with 8.2 and there are some mess. I 
like to install "fresh" FreeBSD 9.0. Is it safe to install RC-2 or is better 
to wait to the final release, 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: [OT] but concerns all of us (FINAL - moving to freebsd-chat)

2011-11-18 Thread Mario Lobo
On Friday 18 November 2011 13:13:33 C. P. Ghost wrote:
> On Wed, Nov 16, 2011 at 11:24 PM, Mario Lobo  wrote:
> > My apologies to all for this, specially to those who already know about
> > this and those who think too little of it.
> > 
> > I am really worried about this:
> > 
> > http://americancensorship.org/
> 
> Mario, I couldn't agree more and it's a very important topic.
> But PLEASE let's take this thread to freebsd-chat@. It *really*
> doesn't belong here.
> 
> Thanks,
> -cpghost.

I'll re-post there. I wasn't subscribed to chat.

Again, my apologies..

Best wishes,
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread Matthew Seaman
On 18/11/2011 21:27, William Bulley wrote:
> I tried to install 9.0RC2 from the DVD ISO today.  This defaults
> to using bsdinstall instead of the 8.x sysinstall.
> 
> This process gave me an error, but I'm not sure in which forum
> to discuss this problem/error.  Thanks in advance.

freesd-questions@ is fine to talk about this sort of problem. At least,
initially.  Give us more detail on exactly what you did, what then
happened, (and maybe why you think that was wrong) and we can probably
help you get your system installed.

If it turns out to be a bug in the new installer rather than operator
error, then freebsd-current@ is the place to take it.

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: FreeBSD 9.0 RC-2

2011-11-18 Thread Matthew Seaman
On 18/11/2011 22:24, ajtiM wrote:
> I had a problem with memory on y computer with 8.2 and there are some mess. I 
> like to install "fresh" FreeBSD 9.0. Is it safe to install RC-2 or is better 
> to wait to the final release, please?

9.0-RC2 is (probably) going to be very similar indeed to the eventual
9.0-RELEASE.  There will be some bug fixes yet to go in, but it is
unlikely these will be show-stoppers.  RC2 is not "unsafe" and there's
no reason not to install it for learning or evaluation or development
purposes.  I wouldn't advise using it for anything your livelihood
depends on though.  Plan on upgrading to -RELEASE as soon as possible if
you do play with -RC2.

However, you're unlikely to have a pleasant experience if you've got
dodgy RAM in your machine.  All bets are off if the computer cannot rely
on getting the correct data back from RAM.  I wouldn't even try booting
up a live CD unless the memory problems have been fixed.

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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread William Bulley
According to Matthew Seaman  on Fri, 11/18/11 
at 17:41:
> On 18/11/2011 21:27, William Bulley wrote:
> > I tried to install 9.0RC2 from the DVD ISO today.  This defaults
> > to using bsdinstall instead of the 8.x sysinstall.
> > 
> > This process gave me an error, but I'm not sure in which forum
> > to discuss this problem/error.  Thanks in advance.
> 
> freesd-questions@ is fine to talk about this sort of problem. At least,
> initially.  Give us more detail on exactly what you did, what then
> happened, (and maybe why you think that was wrong) and we can probably
> help you get your system installed.
> 
> If it turns out to be a bug in the new installer rather than operator
> error, then freebsd-current@ is the place to take it.

Okay, here goes.   :-)

I was loading a decent but somewhat older Dell laptop with FreeBSD
for a friend who bailed since he didn't want to bother configuring
Xorg.  Since this is fairly trivial these days, I said, "sure, I'd
do that for you" - silly me...   :-(

Anyway, do to the user requirements, I found it necessary to load
a version 9.x system on this laptop.  I burned this version to DVD:

   FreeBSD-9.0-RC2-i386-dvd1.iso

The laptop had no trouble booting from this DVD.  Unfortunately, I
forgot about the new bsdinstall program.  I was dubious but it seemed
to start out okay.  I had some User Interface issues with the Manual
disk partition screen, but that is a matter of taste or a feature
request, and not the bug.

Everything progressed just fine as the various *.txz files were
loaded, checked and installed.  Or so it seemed...

As the progress bar moved to the right toward 100% completion, a
window popped up telling me that it (bsdinstall) could not handle
the base.txz (BTW, what does the suffix ".txz" mean?) - it could
not uncompress it and said something about "unable to write" and
the string was something like: "var/base.txz" (note the lack of
a leading slash in front of "var").

It asked me if I wanted to continue or restart and I said "yes",
but the bsdinstall started over from scratch and failed in the
same manner.

Unfortunately I had to bail on the attempt...   :-(

Prior to this, I had loaded and configured 8.2-RELEASE and had
upgraded it to 8.2-STABLE.  I csup'd the ports tree and built
enough ports to run Xorg.  And I got X11 running after a bit.

But when I tried to upgrade again to 9.x (anything) I ran into
problems there (slips my mind why at present) which led me to
trying the FreeBSD-9.0-RC2-i386-dvd1.iso approach.  What a mess...   :-(

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread Edward Martinez

On 11/18/11 15:00, William Bulley wrote:

According to Matthew Seaman  on Fri, 11/18/11 
at 17:41:

On 18/11/2011 21:27, William Bulley wrote:

I tried to install 9.0RC2 from the DVD ISO today.  This defaults
to using bsdinstall instead of the 8.x sysinstall.

This process gave me an error, but I'm not sure in which forum
to discuss this problem/error.  Thanks in advance.

freesd-questions@ is fine to talk about this sort of problem. At least,
initially.  Give us more detail on exactly what you did, what then
happened, (and maybe why you think that was wrong) and we can probably
help you get your system installed.

If it turns out to be a bug in the new installer rather than operator
error, then freebsd-current@ is the place to take it.

Okay, here goes.   :-)

I was loading a decent but somewhat older Dell laptop with FreeBSD
for a friend who bailed since he didn't want to bother configuring
Xorg.  Since this is fairly trivial these days, I said, "sure, I'd
do that for you" - silly me...   :-(

Anyway, do to the user requirements, I found it necessary to load
a version 9.x system on this laptop.  I burned this version to DVD:

FreeBSD-9.0-RC2-i386-dvd1.iso

The laptop had no trouble booting from this DVD.  Unfortunately, I
forgot about the new bsdinstall program.  I was dubious but it seemed
to start out okay.  I had some User Interface issues with the Manual
disk partition screen, but that is a matter of taste or a feature
request, and not the bug.

Everything progressed just fine as the various *.txz files were
loaded, checked and installed.  Or so it seemed...

As the progress bar moved to the right toward 100% completion, a
window popped up telling me that it (bsdinstall) could not handle
the base.txz (BTW, what does the suffix ".txz" mean?) - it could
not uncompress it and said something about "unable to write" and
the string was something like: "var/base.txz" (note the lack of
a leading slash in front of "var").

It asked me if I wanted to continue or restart and I said "yes",
but the bsdinstall started over from scratch and failed in the
same manner.

Unfortunately I had to bail on the attempt...   :-(

Prior to this, I had loaded and configured 8.2-RELEASE and had
upgraded it to 8.2-STABLE.  I csup'd the ports tree and built
enough ports to run Xorg.  And I got X11 running after a bit.

But when I tried to upgrade again to 9.x (anything) I ran into
problems there (slips my mind why at present) which led me to
trying the FreeBSD-9.0-RC2-i386-dvd1.iso approach.  What a mess...   :-(

Regards,

web...


   Have you tried installing with "ACPI" disabled.
   
http://www.freebsd.org/doc/handbook/bsdinstall-install-trouble.html#Q3.10.2.1.


 this also may be of some help:
 http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread William Bulley
According to Edward Martinez  on Fri, 11/18/11 at 19:53:
> 
>Have you tried installing with "ACPI" disabled.
>
> http://www.freebsd.org/doc/handbook/bsdinstall-install-trouble.html#Q3.10.2.1.
> 
>  this also may be of some help:
>  http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html

Thanks.

I will try disabling "ACPI" but this wasn't necessary for the install
of 8.2-RELEASE from CD which, as I said, went in just as I expected.

I would not think that much would have changed in 9.0RC2 in this area.
Maybe I am wrong about that.

The second URL describes the Manual vs. Guided install and partition
section of bsdinstall.  I had read this several days before the 9.0RC2
install attempt from DVD.  It seemed pretty reasonable, but a little bit
different from sysinstall.  Was worth a try.

What I saw when I selected Manual partitioning, was a complete tree:

ad0
   ad0s1   [FreeBSD Boot Manager from 8.2]
  ad0s1a   [was my previous root partition]
  ad0s1d   [was my previous swap partition]
  ad0s1d   [was my previous /var partition]
  ad0s1e   [was my previous /usr partition]

or something very close to that, missing only my mount points from my
previous 8.2-STABLE system.  I added the mount points (this is the area
where I thought bsdinstall had some weaknesses in the "User Experience")
and went on after selecting "Finish".

The problem occurred much later after I selected all four install files.
When I said the equivalent of "Go", it began the process of loading them
off the DVD, checking their checksums, and compressing them prior to
installing them.  It was while processing the first (base.txz) chunk
that the popup appeared giving me the "unable to write" or "unable to
uncompress" message.  Can't recall the exact error now some hours later...  :-(

So the extraction step failed the first file, and I never made it to
the Post-Installation phase, sigh...  :-(

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
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: LAGG and Jails?

2011-11-18 Thread Fbsd8

Snoop wrote:

Does anyone know if it's possible to configure lagg for network
redundancy on a FreeBSD server containing jails? I'm having problems
with that. I couldn't found much around therefore I'm not even sure it's
"doable".

Thanks in advance, any tip will be appreciated.

 
 
 --

 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:

 ING DIRECT Conto Arancio. 4,20% per 12 mesi, zero spese, aprilo in due minuti!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11921&d=18-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"





The host system controls the network not the jail. Running LAGG in a 
jail will not work.



___
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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread Fbsd8

William Bulley wrote:

According to Edward Martinez  on Fri, 11/18/11 at 19:53:

   Have you tried installing with "ACPI" disabled.
   
http://www.freebsd.org/doc/handbook/bsdinstall-install-trouble.html#Q3.10.2.1.


 this also may be of some help:
 http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html


Thanks.

I will try disabling "ACPI" but this wasn't necessary for the install
of 8.2-RELEASE from CD which, as I said, went in just as I expected.

I would not think that much would have changed in 9.0RC2 in this area.
Maybe I am wrong about that.

The second URL describes the Manual vs. Guided install and partition
section of bsdinstall.  I had read this several days before the 9.0RC2
install attempt from DVD.  It seemed pretty reasonable, but a little bit
different from sysinstall.  Was worth a try.

What I saw when I selected Manual partitioning, was a complete tree:

ad0
   ad0s1   [FreeBSD Boot Manager from 8.2]
  ad0s1a   [was my previous root partition]
  ad0s1d   [was my previous swap partition]
  ad0s1d   [was my previous /var partition]
  ad0s1e   [was my previous /usr partition]

or something very close to that, missing only my mount points from my
previous 8.2-STABLE system.  I added the mount points (this is the area
where I thought bsdinstall had some weaknesses in the "User Experience")
and went on after selecting "Finish".

The problem occurred much later after I selected all four install files.
When I said the equivalent of "Go", it began the process of loading them
off the DVD, checking their checksums, and compressing them prior to
installing them.  It was while processing the first (base.txz) chunk
that the popup appeared giving me the "unable to write" or "unable to
uncompress" message.  Can't recall the exact error now some hours later...  :-(

So the extraction step failed the first file, and I never made it to
the Post-Installation phase, sigh...  :-(

Regards,

web...



I think you have under sized /usr and the uncompress ran out of space 
during the install. Start over again, wipe the disk clean (ie: delete 
all slices)and re-allocate your slices with larger space allocations.





___
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 problem on 8.2 stable

2011-11-18 Thread Warren Block

On Fri, 18 Nov 2011, Xihong Yin wrote:


I set the adapter up.

Here is the output of 'dhclient em0'

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.41 -- renewal in 1800 seconds.

'ifconfig em0' output is

em0: flags=8843 metric 0 mtu 1500
   
options=219b
   ether 00:26:b9:9d:30:dc
   inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
   media: Ethernet autoselect (100baseTX )
   status: active

'netstat -r' show there is no default route

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
0.0.0.0link#1 U   00em0
localhost  link#14UH  0   28lo0

But I can set the adapter manually by

$ifconfig em0 inet 192.168.3.41/24

and it works.

The question is why dhclient can't get the ip address even a lease is 
obtained.


New to me.  Does the machine have any unusual settings, like a 
non-default securelevel?

___
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 problem on 8.2 stable

2011-11-18 Thread Xihong Yin

I set the adapter up.

Here is the output of 'dhclient em0'

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.41 -- renewal in 1800 seconds.

'ifconfig em0' output is

em0: flags=8843 metric 0 mtu 1500

options=219b
ether 00:26:b9:9d:30:dc
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
media: Ethernet autoselect (100baseTX )
status: active

'netstat -r' show there is no default route

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
0.0.0.0link#1 U   00em0
localhost  link#14UH  0   28lo0

But I can set the adapter manually by

$ifconfig em0 inet 192.168.3.41/24

and it works.

The question is why dhclient can't get the ip address even a lease is obtained.

Thanks,


On Thu, 17 Nov 2011, Warren Block wrote:


On Thu, 17 Nov 2011, Xihong Yin wrote:


Hi,

I upgraded from 8.0 stable to 8.2 stable today. Now I can't connect to the 
network through the network adapter. I've set DCHP and SYNCDHCP in 
/etc/rc.conf and it worked in 8.0. It seems the dhclient problem. The ip 
address can't be obtained.


When I run 'dhclient em0' manually, it shows that an ip address is leased. 
But actually it is not. The 'ifconfig em0' always shows an address of 
0.0.0.0 with active status.


$dhclient em0
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.39 -- renewal in 43200 seconds

But

$ifconfig em0
em0: flags=8802 metric 0 mtu 1500
   
options=389b
   ether 6c:62:6d:03:16:31
   inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
   nd6 options=29
   media: Ethernet autoselect (10baseT/UTP )
   status: active

Any help would be appreciated.


The interface is down: no "UP" in the flags.  What happens if you just do it 
manually:


 ifconfig em0 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"



___
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 problem on 8.2 stable

2011-11-18 Thread Xihong Yin
New to me.  Does the machine have any unusual settings, like a non-default 
securelevel?


No. There are no unusual security settings.

On Fri, 18 Nov 2011, Warren Block wrote:


On Fri, 18 Nov 2011, Xihong Yin wrote:


I set the adapter up.

Here is the output of 'dhclient em0'

DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 192.168.3.1
bound to 192.168.3.41 -- renewal in 1800 seconds.

'ifconfig em0' output is

em0: flags=8843 metric 0 mtu 1500
   
options=219b
   ether 00:26:b9:9d:30:dc
   inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
   media: Ethernet autoselect (100baseTX )
   status: active

'netstat -r' show there is no default route

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
0.0.0.0link#1 U   00em0
localhost  link#14UH  0   28lo0

But I can set the adapter manually by

$ifconfig em0 inet 192.168.3.41/24

and it works.

The question is why dhclient can't get the ip address even a lease is 
obtained.


New to me.  Does the machine have any unusual settings, like a non-default 
securelevel?




___
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: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-18 Thread William Bulley
According to Fbsd8  on Fri, 11/18/11 at 21:02:
> 
> I think you have under sized /usr and the uncompress ran out of space 
> during the install. Start over again, wipe the disk clean (ie: delete 
> all slices)and re-allocate your slices with larger space allocations.

Thanks.

While this is an older Dell laptop as I said earlier, it still has a
decent sized drive.  And I am following the guidelines in the handbook
at the beginning of section 2.6.5 Creating Partitions Using Disklabel:

/ (root) is 4 GB
swap is 4 GB
/var is 4 GB
/usr is the rest of the disk - in this case 99 GB

Bottom line, I think this is sufficient - it was for 8.2-RELEASE and
-STABLE.  Plus the handbook says "at least 8 GB" for /usr.

Oh, and this is a "dangerously dedicated" drive housing only FreeBSD.
That is, I'm using the entire disk for FreeBSD.  Thanks again.

Or, perhaps you are saying 4 GB is insufficient for /var?  Since it
seems to be complaining about not being able to write to "var/".

Regards,

web...

-- 
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
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"