Very suspicious stack trace

2010-03-25 Thread Peter Steele
We had an app crash and the resulting core dump produced a very 
suspicious/confusing stack trace:

#0 0x0008011d438c in thr_kill () from /lib/libc.so.7
#1 0x0008012722bb in abort () from /lib/libc.so.7
#2 0x0008011fb70c in malloc_usable_size () from /lib/libc.so.7
#3 0x0008011fbb95 in malloc_usable_size () from /lib/libc.so.7
#4 0x0008011fdaea in _malloc_thread_cleanup () from /lib/libc.so.7
#5 0x0008011fdc86 in _malloc_thread_cleanup () from /lib/libc.so.7
#6 0x0008011fc8e9 in malloc_usable_size () from /lib/libc.so.7
#7 0x0008011fccc7 in malloc_usable_size () from /lib/libc.so.7
#8 0x0008011ffe8f in malloc () from /lib/libc.so.7
#9 0x00080127374b in memchr () from /lib/libc.so.7
#10 0x00080125e6e9 in __srget () from /lib/libc.so.7
#11 0x0008012352dd in vsscanf () from /lib/libc.so.7
#12 0x000801220087 in fscanf () from /lib/libc.so.7

This trace resulted from a call to fscanf, as follows:

char sensor[21];
fscanf(in, "%20s", sensor);

We've verified that the data being read was correct, and clearly the buffer in 
which fscanf is storing the string it reads is valid (i.e., it's not NULL). So 
what would lead malloc() into calling abort()? Everything seems to be in order.


___
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(8) under sparc64? Why is it not available?

2010-03-25 Thread Marius Strobl
On Thu, Mar 25, 2010 at 02:11:00PM +, Craig Butler wrote:
> 
> 
> On Thu, 2010-03-25 at 07:36 -0400, Ken Smith wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > On 3/24/10 6:38 PM, Marius Strobl wrote:
> > > On Wed, Mar 24, 2010 at 02:57:09AM -0500, Mark Linimon wrote:
> > >> You're the first one to ask in a while.  Since our userbase is small,
> > >> and developer time is limited, we've never set it up.
> > >>
> > > 
> > > The last time this topic came up IMO there was quite some
> > > interest in getting this running but the showstopper was that
> > > cperciva@ said that a requirement for any platform supported
> > > by freebsd-update(8) would be that the build server is able
> > > to run buildworld in 1 hour at most (unfortunately I currently
> > > just can't find that email). My 4x1.5GHz V440 I originally
> > > intended for this purpose unfortunately still takes 72 minutes
> > > last time I checked. I suspect a 8x1.2GHz V880 would be able
> > > to meet this requirement but I simply can't afford the housing
> > > for such a beast.
> > 
> > I have none that are faster than 900MHz processors, and the
> > one with the most processors in it is 6x750MHz.
> > 
> > > Ken, did the V880s at your university become available as
> > > intended some time ago?
> > 
> > At the moment there are two - one being used by portmgr@
> > for package builds which is the 6x750MHz machine.  The
> > other I do the monthly snapshots and release builds on,
> > it's 4x900MHz.  This was its performance on the world
> > built of 7.3-RELEASE:
> > 
> > >>> World build started on Sat Mar 20 23:34:54 EDT 2010
> > >>> World build completed on Sun Mar 21 00:50:58 EDT 2010
> > 
> 
> Can we bend the rules a little ?? Who set the requirement of an hour ?
> freebsd-update might be a good thing to have..
> 

IIRC it was Colin who once mentioned that this was decided
by the Security Officers in order to be able to react to
high impact security issues affecting multiple branches in
a timely manner should the need ever arise. In any case
he should be the right person to talk to about this so I
CC'ed him.

Marius

___
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: ooops ! 'ls' & "last modified" column

2010-03-25 Thread Olivier Nicole
Hi,

> I just finished installing FreeBSD on a "machine" whose CMOS time is not 
> set to UTC.
> 
> The System time is reported correctly (using 'date') but, suprisingly 
> (?), 'ls -la' reports that, among others, the files belonging to "the 
> skeleton" in the user home have been modified... in the future (1 hour 
> later) !

Wait one hour :)

I had a stange behaviour with some release of FreeBSD (around 7).

We are 7 hours ahead of UTC; after a fresh install I usually do a
system upgrade to be sure to be up with every patches.

It occured to me a couple of times that the installworld would not
work, even though I adjkerntz before. The only way I had was to change
the CMOS clock to the local time and change it back to UTC after
installing world.

Of course, after 7 hours the problem would disappear.

Bests,

Olivier
___
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: popd to send Mail to a Mac

2010-03-25 Thread Olivier Nicole
Hi,

> Mail comes in and I read it. One message has a 20-mile-long url
> to a javascrypt-infested web site that lynx can't handle. I
> should forward this message to the Mac and there, I can use
> safari  to handle that message.
 
You do not forward anything via pop.

Instead you filter and save the message to a mailbox.

You have popd on your FreeBSD machine set-up to serve this mailbox.

On your Mac you use a mail client, that read the mailbox with pop.

Pop is a pull service: the client is requesting to read the new
messages. You should be able to configure your mail client to search
for new messages every now and then, but that will still be initiates
by the client.

Bests,

Olivier

___
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: Compiling kernel with gcc43 [SOLVED]

2010-03-25 Thread Mario Lobo
On Thursday 25 March 2010 19:12:09 Edward Tomasz Napierała wrote:
> Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24:
> > 2010/3/24 Mario Lobo 
> >
> >> Anyway,my question boils down to: Is there a way to build the kernel
> >> with gcc43, with minimal tweaking? Am i attempting something out of my
> >> league?
> 
> This is what I use to compile kernel on 9.0-CURRENT/amd64:
> 
> CC=/usr/local/bin/gcc44
> CXX=   /usr/local/bin/g++44
> CWARNFLAGS=-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>  \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
>  -Wno-pointer-sign -D__FreeBSD_cc_version=0 \
>-Wno-unused-function -Wno-inline -Wno-format \
>-Wno-uninitialized -Wno-array-bounds -Wno-missing-prototypes
> 
> Note that this is GCC 4.4.4, installed from ports.  Also, this will not
> compile the world - only the kernel.  Also, they were a few fixes to make
> this work; they were not MFC-ed, iirc; removing -Werror altogether should
> work around these problems.
> 
> --
> If you cut off my head, what would I say?  Me and my head, or me and my
>  body?
> 

Adding 

NO_WERROR=
WERROR=

to src.conf did it. It's compiling right now.

I'll post my findings and impressions on results and performance right after 
the next reboot.

Thanks for all the help and info, Guys !!

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes 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: popd to send Mail to a Mac

2010-03-25 Thread mikel king


On Mar 25, 2010, at 4:52 PM, Martin McCormick wrote:


I like to receive mail on a FreeBSD system and want to
continue to do so but occasionally, I have a message that needs
to be forwarded to a Macintosh in my office. It turns out that
Mac's do not do normal smtp mail like sendmail but one of the
options is pop.

I installed popd on the FreeBSD server and want to be
able to feed messages meant for the Mac to popd at which point,
I should be able to retrieve them on that mac.

The normal scenario is:

Mail comes in and I read it. One message has a 20-mile-long url
to a javascrypt-infested web site that lynx can't handle. I
should forward this message to the Mac and there, I can use
safari  to handle that message.

Those are the only messages that will need to go through
popd so I need a simple way to feed them in so the Mac can get
them out.

Thanks.

Martin McCormick WB5AGZ  Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services  
Group


Why not just roll out IMAP and then it won't matter? Actually if you  
wanted to use fancy postfix server side filtering I'd recommend you go  
IMAP anyway. Filter the 'bad' messages into their own folder. Honestly  
that seems more trouble than it's worth.



Regards,
Mikel King
CEO, Olivent Technologies
Senior Editor, BSD News Network
Columnist, BSD Magazine
6 Alpine Court,
Medford, NY 11763
o: 631.627.3055 c: 631.796.1499
skype:mikel.king
http://olivent.com
http://www.linkedin.com/in/mikelking
http://twitter.com/mikelking

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


popd to send Mail to a Mac

2010-03-25 Thread Martin McCormick
I like to receive mail on a FreeBSD system and want to
continue to do so but occasionally, I have a message that needs
to be forwarded to a Macintosh in my office. It turns out that
Mac's do not do normal smtp mail like sendmail but one of the
options is pop.

I installed popd on the FreeBSD server and want to be
able to feed messages meant for the Mac to popd at which point,
I should be able to retrieve them on that mac.

The normal scenario is:

Mail comes in and I read it. One message has a 20-mile-long url
to a javascrypt-infested web site that lynx can't handle. I
should forward this message to the Mac and there, I can use
safari  to handle that message.

Those are the only messages that will need to go through
popd so I need a simple way to feed them in so the Mac can get
them out.

Thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: Compiling kernel with gcc43

2010-03-25 Thread Edward Tomasz Napierała
Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24:
> 2010/3/24 Mario Lobo 
>> 
>> Anyway,my question boils down to: Is there a way to build the kernel with
>> gcc43, with minimal tweaking? Am i attempting something out of my league?

This is what I use to compile kernel on 9.0-CURRENT/amd64:

CC=/usr/local/bin/gcc44
CXX=   /usr/local/bin/g++44
CWARNFLAGS=-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
   -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
   -Wno-pointer-sign -D__FreeBSD_cc_version=0 \
   -Wno-unused-function -Wno-inline -Wno-format \
   -Wno-uninitialized -Wno-array-bounds -Wno-missing-prototypes

Note that this is GCC 4.4.4, installed from ports.  Also, this will not
compile the world - only the kernel.  Also, they were a few fixes to make
this work; they were not MFC-ed, iirc; removing -Werror altogether should
work around these problems.

--
If you cut off my head, what would I say?  Me and my head, or me and my body?

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


xterm: why after I put gdb in background, Ctrl-X stops working?

2010-03-25 Thread Yuri

I have code window showing in gdb (Ctrl-X a), and all is fine.
After I put gdb into background (Ctrl-Z) and back (fg) Ctrl-X stops working.
Pressing Ctrl-X just causes ^X to appear.

I think some terminal settings aren't right after coming back from 
background. How to fix this?


I use kde4 and konsole.

Yuri

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


ooops ! 'ls' & "last modified" column

2010-03-25 Thread daniele

Hello People !


I just finished installing FreeBSD on a "machine" whose CMOS time is not 
set to UTC.


The System time is reported correctly (using 'date') but, suprisingly 
(?), 'ls -la' reports that, among others, the files belonging to "the 
skeleton" in the user home have been modified... in the future (1 hour 
later) !


No problems with new files or modifying already existing files .

Is there a problem somewhere ?

d
___
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: Exchange ActiveSync account

2010-03-25 Thread Alejandro Imass
On Thu, Mar 25, 2010 at 8:41 AM, Jack Raats  wrote:
> Hi,
>
> I have an Exchange ActiveSync account and I would like to get this mail on my 
> freebsd 7.3-stable server.
> I donn't haven an imap or pop account, only the information of the activesync 
> account.
>
> Can anyone give me a clue how to achieve this?

Please avoid cross-posting without a good reason, or at least ask pardon for it.

msynctool and/or fetchmail might be an option.

In any case you need an agent who can pop the mail and push it to
another place, it has nothing to do with your MTA. It's more like MUA
to MUA, pardon my french. That is precisely whet fetchmail was created
for, but I don't know anything about the Exchange ActiveSync
protocol(s) to know if fetchmail could directly use it. AFAIK the
Exchange ActiveSync protocol was built for high latency low bandwith
networks, so maybe you need something more specific and _perhaps_ you
can interface _that_ to fetchmail somehow. Maybe something that sits
in between Exchange ActiveSync and delivers an off-the-shelf protocol
such as imap (if you want to manage folders you will need imap or
better), somthing like:


[ Exchange Active Sync ] <--EASP--> [X agent]<--IMAP-->[fetchmail]

Now all you need to find is that X agent ;-)

Best,
Alejandro Imass

>
> Thanks for your time!
>
> Jack Raats
> ___
> 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: Compiling kernel with gcc43

2010-03-25 Thread Bruce Cran
On Thu, Mar 25, 2010 at 02:18:34PM -0300, Mario Lobo wrote:

> All right !! Thanks for replying !
> 
> There are a lot of locations throughout the source code where -Werror is
> enabled
> How can I disable -Werror globally? via src.conf ? will it do it for
> world/kernel?
> will this "damage" the resulting kernel/world binaries?

You should be able to use NO_WERROR in src.conf to prevent -Werror 
being used.

-- 
Bruce Cran
___
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: Compiling kernel with gcc43

2010-03-25 Thread Garrett Cooper
On Thu, Mar 25, 2010 at 10:18 AM, Mario Lobo  wrote:
> 2010/3/25 Ryan Stone 
>
>> If you just want to try it out you could disable -Werror for your own
>> build.  The reason that gcc 4.3 fails where 4.2 works fine is that the
>> gcc developers are adding new warnings with every compiler release, so
>> until somebody takes the time to fix all of the new warnings you won't
>> be able to build the kernel with -Werror.
>>
>
> All right !! Thanks for replying !
>
> There are a lot of locations throughout the source code where -Werror is
> enabled
> How can I disable -Werror globally? via src.conf ? will it do it for
> world/kernel?
> will this "damage" the resulting kernel/world binaries?

-Wno-error .
-Garrett
___
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: creating a socket for use with nc

2010-03-25 Thread RW
On Thu, 25 Mar 2010 17:41:30 +0100
Polytropon  wrote:

> and the detach program from the ports collection. 

 
Is there a reason for preferring that over daemon(8) in the base system?
___
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: Compiling kernel with gcc43

2010-03-25 Thread Andrius Morkūnas

On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo  wrote:

Should I just dump the gcc43 idea and try this with clang/llvm?

I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang.

Anything else to watch out for when building world/kernel/ports?


ClangBSD had little to no runtime testing, so you should be careful
with it. I'm not saying it won't work, but make sure you have backups
in case something goes wrong.

Also, if you just want to build the kernel, you don't need ClangBSD,
you can just install llvm-devel from ports and use

make CC=/usr/local/bin/clang buildkernel

Some people ran or are running their systems with clang compiled kernel.
You should still be careful, and some things (like snd_hda on amd64)
are known to have problems.

--
Andrius
___
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: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
-Wnoerror should disable it, but I don't know enough about the FreeBSD
build infrastructure to tell you where it needs to go.  Worst comes to
worst you can just delete all of the -Werrors.

Disabling -Werror will not cause any problems.  -Werror means "treat
warnings as errors".  It's very useful for development but in your
case, where you're starting with a known good source tree with no
warnings with earlier compilers, it's not necessary to have the option
enabled.  If the warnings are pointing to legitimate bugs, those bugs
also exist in a kernel built by gcc 4.2, so your kernel can't be any
worse than what you already have.
___
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: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
2010/3/25 Ryan Stone 

> If you just want to try it out you could disable -Werror for your own
> build.  The reason that gcc 4.3 fails where 4.2 works fine is that the
> gcc developers are adding new warnings with every compiler release, so
> until somebody takes the time to fix all of the new warnings you won't
> be able to build the kernel with -Werror.
>

All right !! Thanks for replying !

There are a lot of locations throughout the source code where -Werror is
enabled
How can I disable -Werror globally? via src.conf ? will it do it for
world/kernel?
will this "damage" the resulting kernel/world binaries?

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes 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: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
If you just want to try it out you could disable -Werror for your own
build.  The reason that gcc 4.3 fails where 4.2 works fine is that the
gcc developers are adding new warnings with every compiler release, so
until somebody takes the time to fix all of the new warnings you won't
be able to build the kernel with -Werror.
___
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: creating a socket for use with nc

2010-03-25 Thread Eitan Adler
> I think what you want - I'm not sure I understood you
> corretly - is a combination of a named pipe created by
> the mkfifo program, and the detach program from the
> ports collection.
Either I don't understand how to use mkfifo or it is not what I want.
mkfifo ppp; cat ppp; cat /dev/urandom |nc -U ppp;
___
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(8) under sparc64? Why is it not available?

2010-03-25 Thread Craig Butler


On Thu, 2010-03-25 at 07:36 -0400, Ken Smith wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 3/24/10 6:38 PM, Marius Strobl wrote:
> > On Wed, Mar 24, 2010 at 02:57:09AM -0500, Mark Linimon wrote:
> >> You're the first one to ask in a while.  Since our userbase is small,
> >> and developer time is limited, we've never set it up.
> >>
> > 
> > The last time this topic came up IMO there was quite some
> > interest in getting this running but the showstopper was that
> > cperciva@ said that a requirement for any platform supported
> > by freebsd-update(8) would be that the build server is able
> > to run buildworld in 1 hour at most (unfortunately I currently
> > just can't find that email). My 4x1.5GHz V440 I originally
> > intended for this purpose unfortunately still takes 72 minutes
> > last time I checked. I suspect a 8x1.2GHz V880 would be able
> > to meet this requirement but I simply can't afford the housing
> > for such a beast.
> 
> I have none that are faster than 900MHz processors, and the
> one with the most processors in it is 6x750MHz.
> 
> > Ken, did the V880s at your university become available as
> > intended some time ago?
> 
> At the moment there are two - one being used by portmgr@
> for package builds which is the 6x750MHz machine.  The
> other I do the monthly snapshots and release builds on,
> it's 4x900MHz.  This was its performance on the world
> built of 7.3-RELEASE:
> 
> >>> World build started on Sat Mar 20 23:34:54 EDT 2010
> >>> World build completed on Sun Mar 21 00:50:58 EDT 2010
> 

Can we bend the rules a little ?? Who set the requirement of an hour ?
freebsd-update might be a good thing to have..

Cheers

Craig B

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


Exchange ActiveSync account

2010-03-25 Thread Jack Raats
Hi,

I have an Exchange ActiveSync account and I would like to get this mail on my 
freebsd 7.3-stable server.
I donn't haven an imap or pop account, only the information of the activesync 
account.

Can anyone give me a clue how to achieve this?

Thanks for your time!

Jack Raats
___
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: creating a socket for use with nc

2010-03-25 Thread Polytropon
On Thu, 25 Mar 2010 18:29:56 +0200, Eitan Adler  
wrote:
> I have a program which reads from stdin. I'd like to be able to close
> the terminal it is running in and interact with it via nc -U.
> How can I create a socket which I attach to the stdin of the program?

I think what you want - I'm not sure I understood you
corretly - is a combination of a named pipe created by
the mkfifo program, and the detach program from the
ports collection. 



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


creating a socket for use with nc

2010-03-25 Thread Eitan Adler
I have a program which reads from stdin. I'd like to be able to close
the terminal it is running in and interact with it via nc -U.
How can I create a socket which I attach to the stdin of the program?
___
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: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
2010/3/24 Mario Lobo 

> Hi;
>
> I followed the instructions from
> http://www.freebsd.org/doc/en/articles/custom-gcc/article.html
>
> to see if I can achieve some performance gain (8-STABLE r205630 amd64) and
> also get a more modern instruction set for my Phenom II (amdfam10), so I've
> done the following config settings:
>
> make.conf
>
> .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc43)
> CC=/usr/local/bin/gcc43
> CXX=/usr/local/bin/g++43
> CPP=/usr/local/bin/cpp43
> CFLAGS+=-mssse3
> CPUTYPE=amdfam10
> .endif
>
> libmap.conf
>
> libgcc_s.so.1   gcc43/libgcc_s.so.1
> libgomp.so.1gcc43/libgomp.so.1
> libobjc.so.3gcc43/libobjc.so.2
> libssp.so.0 gcc43/libssp.so.0
> libstdc++.so.6  gcc43/libstdc++.so.6
>
>
> buildworld goes on normally it seems, but when I tried to build the kernel,
> the first stop came from the option used by the kernel build "-fformat-
> extensions", which is not accepted by gcc43, so I took it out of
> /usr/src/sys/conf/kern.mk, the ONLY place I found it.
>
> It seemed to solve the problem until gcc43 stopped because of the "-Werror"
> option, which is all over the place!. Funny that gcc42 (used by default)
> doesn't stop because of this option.
>
> Anyway,my question boils down to: Is there a way to build the kernel with
> gcc43, with minimal tweaking? Am i attempting something out of my league?
>
> Thanks,
> --
> Mario Lobo
>
>
Any suggestions/Comments?

Should I just dump the gcc43 idea and try this with clang/llvm?

I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang.

Anything else to watch out for when building world/kernel/ports?

Thanks,
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes 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: FreeBSD 8 / amd64 / Xorg / nvidia GeForce 5200

2010-03-25 Thread Pieter de Goeje
On Thursday 25 March 2010 04:14:09 Tim Gustafson wrote:
> 1. Is there any way to get the nvidia-driver-173 port to work with my amd64
>  OS?
I'm afraid it's not possible.

> 2. Is there any way to get the second head of the 5200 video card to work
>  using the nv driver?  I tried adding a second device section to xorg.conf
>  but the system errors out telling me that it tried to use conflicting
>  hardware.  I've attached both my xorg.conf and my Xorg.0.log file to this
>  message.

Did you try xrandr?  It should report multiple heads (run the command without 
arguments). You can then enable the second monitor using something like:
xrandr --output DVI1 --auto

- Pieter
___
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: Telephony Hardware Support in FBSD

2010-03-25 Thread Alejandro Imass
 On Thu, Mar 25, 2010 at 10:19 AM, Jerry B. Altzman  wrote:
> On Thu, Mar 25, 2010 at 09:59, Alejandro Imass  wrote:
>>
>> Hello,
>> I have searched the Hardware FAQ and Release Notes on the main FBSD
>> portal and I can't seem to find a list of supported Telephony devices
>> for Asterisk sucha as those produced by Digium, Rhino, Sangoma,
>> Voicetronix, Pika, etc.
>>
>
> There's an asterisk-bsd mailing list:
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
> I use asterisk 1.2 on BSD 6.1 with digium tdm31 card and it works pretty
> well.
>>
>> Does anyone happen to know if there is a FBSD Telephony
>> group/page/list/forum where I can find a list of compatible HW for
>> FBSD?
>>
>
> see above. digium is OK, but linux is better supported.

Thanks Jerry.

I am looking into a Openvox A400p01 FXO board but dunno if it's
supported in FBSD.
Being that a list run by Digium I dunno if it's wise to ask questions
about competing cards?

Thanks,
Alejandro Imass

>
>>
>> Alejandro Imass
>
> //jbaltz
> --
> jerry b. altzman    jba...@gmail.com  www.jbaltz.com
> foo mane padme hum
>
___
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 8 / amd64 / Xorg / nvidia GeForce 5200

2010-03-25 Thread Tijl Coosemans
On Thursday 25 March 2010 04:14:09 Tim Gustafson wrote:
> My workstation runs FreeBSD 8.0-STABLE amd64.  I have Xorg 1.6.5 and
> an nVidia GeForce 5200 dual head video card.
> 
> Currently the first head of the card is operating well using the "nv"
> driver.  I tried to compile the nvidia-driver port, but it tells me
> that I need nvidia-driver-173 because the 5200 chipset isn't
> supported by the current driver.  When I go to compile
> nvidia-driver-173 it tells me that it is not supported under the
> amd64 architecture.  I can't switch to an i386 kernel because I need
> the amd64 architecture to take advantage of all my RAM and also
> because I am using ZFS on this workstation, which more or less
> requires the amd64 architecture.
> 
> So, I have two questions:
> 
> 1. Is there any way to get the nvidia-driver-173 port to work with my
> amd64 OS?
> 
> 2. Is there any way to get the second head of the 5200 video card to
> work using the nv driver?  I tried adding a second device section to
> xorg.conf but the system errors out telling me that it tried to use
> conflicting hardware.  I've attached both my xorg.conf and my
> Xorg.0.log file to this message.

For dual head you need xrandr 1.2 I believe and I'm not sure the nv
driver supports that for your card. You could check by running xrandr
in a terminal window. It should list the different outputs of your
graphics card. In my case:

Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800   60.0*+
   1280x720   59.9
   1152x768   59.8
   1024x768   60.0 59.9
   800x60060.3 59.9
   640x48059.9 59.4
S-video disconnected (normal left inverted right x axis y axis)

This means I have outputs "VGA-0", "LVDS" and "S-video". All you need
in xorg.conf is a monitor section for each of these outputs with the
Identifier string matching an output name.


Section "Monitor"
 Identifier "Ouput0"   # set this to an output like "VGA-0"
 VendorName "NEC"
 ModelName "MultiSync LCD 195VX"
 HorizSync 30.0 - 50.0
 VertRefresh 56.0 - 63.0
 Option "DPMS"
EndSection

Section "Monitor"
 Identifier "Output1"  # set this to an output like "VGA-1"
 VendorName "NEC"
 ModelName "MultiSync LCD 195VX"
 HorizSync 30.0 - 50.0
 VertRefresh 56.0 - 63.0
 Option "DPMS"
 Option "RightOf" "Output0"# set this to an output like "VGA-0"
EndSection


If the nv driver doesn't seem to support xrandr 1.2, you could give the
nouveau driver a try.
___
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: simple zfs query

2010-03-25 Thread krad
On 25 March 2010 09:05, Matthew Seaman wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 24/03/2010 21:23:54, krad wrote:
> > If you want 100% of the drives you could have a pool per drive. Its not
> as
> > nice as one big pool, but its less risky than one big raid0
>
> Errr... no it's not.  The risk of something going wrong is exactly the
> same.  The only advantage is that you may have less data to restore when
> things do go wrong.
>
>Cheers,
>
>Matthew
>
> - --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>  Kent, CT11 9PW
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkurJ3MACgkQ8Mjk52CukIyjLwCfdkpLP2MvtWPWBOE4Db/bJRNR
> tBkAnRA2ZcoGN/LwGaoY9gfkNkdOq6kE
> =O87f
> -END PGP SIGNATURE-
>

That was my point. Less to restore, less risk of stuff being out of date or
corrupt. So less risk than a stripe. Marginal maybe i agree, but less all
the same.

You could also make copies=2 on the root pool fs if you are using one big
stripe, to try and reduce the risk. However this is more wasteful than raidz
___
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"


Telephony Hardware Support in FBSD

2010-03-25 Thread Alejandro Imass
Hello,

I have searched the Hardware FAQ and Release Notes on the main FBSD
portal and I can't seem to find a list of supported Telephony devices
for Asterisk sucha as those produced by Digium, Rhino, Sangoma,
Voicetronix, Pika, etc.

Does anyone happen to know if there is a FBSD Telephony
group/page/list/forum where I can find a list of compatible HW for
FBSD?

Thanks in advance,
Alejandro Imass
___
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(8) under sparc64? Why is it not available?

2010-03-25 Thread Ken Smith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/24/10 6:38 PM, Marius Strobl wrote:
> On Wed, Mar 24, 2010 at 02:57:09AM -0500, Mark Linimon wrote:
>> You're the first one to ask in a while.  Since our userbase is small,
>> and developer time is limited, we've never set it up.
>>
> 
> The last time this topic came up IMO there was quite some
> interest in getting this running but the showstopper was that
> cperciva@ said that a requirement for any platform supported
> by freebsd-update(8) would be that the build server is able
> to run buildworld in 1 hour at most (unfortunately I currently
> just can't find that email). My 4x1.5GHz V440 I originally
> intended for this purpose unfortunately still takes 72 minutes
> last time I checked. I suspect a 8x1.2GHz V880 would be able
> to meet this requirement but I simply can't afford the housing
> for such a beast.

I have none that are faster than 900MHz processors, and the
one with the most processors in it is 6x750MHz.

> Ken, did the V880s at your university become available as
> intended some time ago?

At the moment there are two - one being used by portmgr@
for package builds which is the 6x750MHz machine.  The
other I do the monthly snapshots and release builds on,
it's 4x900MHz.  This was its performance on the world
built of 7.3-RELEASE:

>>> World build started on Sat Mar 20 23:34:54 EDT 2010
>>> World build completed on Sun Mar 21 00:50:58 EDT 2010



- -- 
Ken Smith
- - From there to here, from here to  |   kensm...@buffalo.edu
  there, funny things are everywhere.   |
  - Theodore Geisel |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurSrkACgkQ/G14VSmup/aDPACeM4Whnkrn2UfQys/22Y4qTCOa
7soAnAnjusO81m0q/9fvMBDTYR9LjUgj
=l35W
-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: Install of Apache 2.2.15 after installing ssl lastes

2010-03-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25/03/2010 01:48:36, Rob Weissenburger wrote:
> I have been picking my brain apart trying to figure this one out. Any
> help is appricated.
> 
> ./configure --prefix=/usr/local/apache --mandir=/usr/local/man
> --enable-ssl --enable-suexec --enable-cgi --enable-rewrite --enable-so
> --enable-modules=most --enable-mods-shared=max --sysconfdir=/etc/apache
> --with-apr=/usr/local/ --with-apr-util=/usr/local/
> 
> /usr/local/build-1/libtool --silent --mode=link gcc -g -O2
> -L/usr/local/lib   -o ab  ab.lo   -lm
> /usr/local/httpd-2.2.15/srclib/pcre/libpcre.la
> /usr/local/lib/libaprutil-1.la -lexpat -liconv
> /usr/local/lib/libapr-1.la -lcrypt -lpthread -lssl -lcrypto -lcrypt
> -lpthread
> .libs/ab.o(.text+0xb7): In function `ssl_print_cb':
> /usr/local/httpd-2.2.15/support/ab.c:409: undefined reference to
> `BIO_get_callback_arg'
> .libs/ab.o(.text+0x25e3): In function `start_connect':
> /usr/local/httpd-2.2.15/support/ab.c:1204: undefined reference to
> `BIO_set_callback'
> .libs/ab.o(.text+0x25f1):/usr/local/httpd-2.2.15/support/ab.c:1205:
> undefined reference to `BIO_set_callback_arg'
> .libs/ab.o(.text+0x4e2f): In function `main':
> /usr/local/httpd-2.2.15/support/ab.c:2278: undefined reference to
> `SSL_CTX_set_info_callback'
> *** Error code 1
> 
> # openssl version
> OpenSSL 0.9.8m 25 Feb 2010

Looks like you're linking against one version of the OpenSSL shlibs, but
configuring/compiling using headers from a different one.  Can't tell
for sure from the small snippet of output you've given there though.

Are you trying to build apache from source outside the ports? Not using
the ports implies that you like sitting down and beating your brains out
over all these sorts of problems yourself, rather than just using the
solution provided for you by the port maintainer.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurOV4ACgkQ8Mjk52CukIyslQCbBwsyzUnZf/Fi9/j09nzlRfDp
QNYAnjWYcrkehGXYwgx0zzNpW4G90ld7
=SOmF
-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: ipv6 changes in src/UPDATING

2010-03-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25/03/2010 09:17:30, Robert Huff wrote:
> 
>   I am updating a system:
> 
> FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009  amd64
> 
>   and failing to understand the (practical) consequences of
> UPDATING entries 20090926 and 20091202.  The system runs ipv6, but
> external connectivity is though a v6-over-v4 tunnel (net/gateway6).
>   rc.conf currently has:
> 
> huff@>>grep v6 /etc/rc.conf
> ipv6_gateway_enable="YES"   # Set to YES if this host will be a gateway.
> ipv6_firewall_enable="YES"  # Set to YES to enable IPv6 firewall
> ipv6_firewall_type="UNKNOWN"# see /etc/rc.firewall6
> ipv6_firewall_script="/etc/ipfw.v6.set" # Which script to run to set up the 
> IPv6 firewall
> ipv6_firewall_flags=""  # see /etc/rc.firewall6
> gateway6_enable="YES"
> 
>Um ... er ... ah ... what needs to change?

None of the above, probably.  As you're using a custom firewall
initialisation script, you don't need to worry about the variables for
controlling the various pre-canned scripts.

The text in UPDATING seems fairly clear to me: for the 20090926 update,
various rc.conf variables prefixed by ipv6 are deprecated in favour of
similar variables *suffixed* by ipv6 -- this is a simple matter of
editing to sort out.

There is also a new overall control knob for turning on or off IPv6
capability entirely.  The new thing here is that it allows you to make
that change per-interface rather than for the whole machine.  Given you
want IPv6 capability on all interfaces, just use ipv6_prefer="YES"

You need to look at the ifconfig_ifX* or ipv6_addrs_ifX variables.
Given that you've said your machine is a router for ipv6, you can't use
rtsol(8), so you should be manually configuring addresses on your
interfaces.  You may not need to make any changes there: even so,
shouldn't be too hard to debug.

For the 20091202 update, again it is pretty much a replacement of
variables with an ipv6 prefix, to ones with an ipv6 suffix.  All the
variables mentioned just detail the local IP addresses and networks, and
let you select which firewall script you want to use.  As it says, the
ipv6 configuration exactly parallels the ipv4 configuration now.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurNroACgkQ8Mjk52CukIwfGwCfWJ6ZGlerqj3yMNrNaqY/SOyp
LIoAn0+dT9Bp3YKnrP6dz9kGV2FZKXUg
=kAQt
-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"


ipv6 changes in src/UPDATING

2010-03-25 Thread Robert Huff

I am updating a system:

FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009  amd64

and failing to understand the (practical) consequences of
UPDATING entries 20090926 and 20091202.  The system runs ipv6, but
external connectivity is though a v6-over-v4 tunnel (net/gateway6).
rc.conf currently has:

huff@>>grep v6 /etc/rc.conf
ipv6_gateway_enable="YES"   # Set to YES if this host will be a gateway.
ipv6_firewall_enable="YES"  # Set to YES to enable IPv6 firewall
ipv6_firewall_type="UNKNOWN"# see /etc/rc.firewall6
ipv6_firewall_script="/etc/ipfw.v6.set" # Which script to run to set up the 
IPv6 firewall
ipv6_firewall_flags=""  # see /etc/rc.firewall6
gateway6_enable="YES"

 Um ... er ... ah ... what needs to change?

Respectfully,


Robert Huff

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


Re: simple zfs query

2010-03-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/2010 21:23:54, krad wrote:
> If you want 100% of the drives you could have a pool per drive. Its not as
> nice as one big pool, but its less risky than one big raid0

Errr... no it's not.  The risk of something going wrong is exactly the
same.  The only advantage is that you may have less data to restore when
things do go wrong.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurJ3MACgkQ8Mjk52CukIyjLwCfdkpLP2MvtWPWBOE4Db/bJRNR
tBkAnRA2ZcoGN/LwGaoY9gfkNkdOq6kE
=O87f
-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: freebsd-update(8) under sparc64? Why is it not available?

2010-03-25 Thread Adam PAPAI
On 3/24/10 11:38 PM, Marius Strobl wrote:
> The last time this topic came up IMO there was quite some
> interest in getting this running but the showstopper was that
> cperciva@ said that a requirement for any platform supported
> by freebsd-update(8) would be that the build server is able
> to run buildworld in 1 hour.

And what about ccache? I'll try it.

-- 
Adam PAPAI
___
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: hoope THIS works...

2010-03-25 Thread Gary Kline
On Thu, Mar 25, 2010 at 10:00:05AM +0700, Olivier Nicole wrote:
> > for reasons that are beyond me,  a few hours ago i stopped being able to
> > connect with my mail server.   mutt tells me "(connection refused)";
> > the other GUI mailer say zip; they simply do not connect.
> > 
> > i rebooted my HUB among other things; before that, i could not get outside 
> > my 
> > network; nor could i even get to ethic [my Server].  since the only thing i
> > did was powercycle my linksys hub, i figure that did it.
> > 
> > right now i am continuing the portupgrade on my mail/web/dns server in 
> > the hopes that when that is done, mail will work again.  if not, what else
> > could it be?  directories/files/links i need to check/?
> 
> It seems the reboot of your Linksys switch helped some how.


yes; and it seems likely that the reason ii could not get to
my email was that {for unknown reasons} my dovecot has failed
to initialize.

note that i did not configure my new setup like this.  now i
have one mail server and dovecot is used to distribute mail
to my other unix servers.  i barely understand sendmail; i
do NOT understand dovecot... . 
> 
> Before portupgrading randomly this or that application, you should try
> to understand what is going wrong.
> 
> Upgrade of DNS should go easily, but when you start upgrading web or
> mail, you are talking about tens or hunderds of applications, you are
> very likely something goes wrong and you break a system that was
> working before.


it seems that mail my daughter sent me from hotmail did not
pass muster because it lacked a subject.  i was advised to
portupgrade {or at least upgrade my spamblocker}.  i did
this.  during the upgrade of either dovecot or spamassassin i
was asked to kill one or both.  i figured a reboot would
reinstantiate everything.  it may have; but things were not 
restarted correctly.  

bind9 is current; i am extremely careful with that; i just
didn't realize that i've got to approach everything with the
same caution.


> 
> When you say you could not "get" to ethic, what do you mean?
> 
> - Cannot ping?
> 
> - Cannot ssh?
> 
> - Cannot telnet port 22, 25, 80?
> 
> - Cannot traceroute (if your station and the server are on different
>   LAN)?
> 
> - Cannot ping another machine on your LAN?
> 
> - Are you sure it was not your desktop that was faulty?

my firewall was the give-away.  i run pfSense and it told me
that the host was down.  

the real gotcha is that my KVM wires are not plugged in
correctly.   so i could not even get to the serve until i
messed with that.  when i was able to type at the console 
of my server, i did a therapeutic reboot.   ---altho, the was
power-cycling my switch that really did the trick.

i was about to call it a century when i tried mail.  mutt
failed again; that turned out to be that dovecot had failed
to restart.

Now everything is working.  but it's only temporary.  back in
the mid-90s a systems admin friend said that
computers/networks/<>  are always breaking
down.  it's the sysadmin's job to do his best to keep things
going.  i get an F- for that today/tonight.   FWIW, i
don't even pretend to be a syste,s admin!


> 
> - Etc.
> 
> You should make a diagnostic before trying to apply any solution.
> 
> As the reboot of thw switch did it, to me it looks like a network
> issue: bad switch, bad cable, some highly infected machine on your LAN
> that is stressing the swtich, rather than a server/service issue.


the power line was bent to the switch; but not that badly.
[[i'm keeping a Printed list of things-to-do-before-i-hit-PANIC.]]

appreciate your mail!

gary



> 
> Good luck,
> 
> Olivier
> ___
> 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"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

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


Re: freebsd-update(8) under sparc64? Why is it not available?

2010-03-25 Thread Adam PAPAI
On 3/24/10 11:38 PM, Marius Strobl wrote:
> On Wed, Mar 24, 2010 at 02:57:09AM -0500, Mark Linimon wrote:
>> You're the first one to ask in a while.  Since our userbase is small,
>> and developer time is limited, we've never set it up.
>>
> 
> The last time this topic came up IMO there was quite some
> interest in getting this running but the showstopper was that
> cperciva@ said that a requirement for any platform supported
> by freebsd-update(8) would be that the build server is able
> to run buildworld in 1 hour at most (unfortunately I currently
> just can't find that email). My 4x1.5GHz V440 I originally
> intended for this purpose unfortunately still takes 72 minutes
> last time I checked. I suspect a 8x1.2GHz V880 would be able
> to meet this requirement but I simply can't afford the housing
> for such a beast.
> Ken, did the V880s at your university become available as
> intended some time ago?

Yeah on a v100 the make buildworld takes more than 486m7.660s ~ 8 hours.

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


Re: The download file is corrupt

2010-03-25 Thread Erik Norgaard

On 25/03/10 07:57, trevor who wrote:


  Hi guy's,
 I downloaded the DVD version freeBSD version 8 and went to unpack it
 and got these messages from winrar.
!   D:\FreeBSD\8.0-RELEASE-i386-dvd1.iso.gz: Unexpected end of archive
  !   D:\FreeBSD\8.0-RELEASE-i386-dvd1.iso.gz: CRC failed in
8.0-RELEASE-i386-dvd1.iso. The file is corrupt
Can you let me know when it will be fine to download.
   Regards,
Trevor


There could have been a problem during download, try again. This is a 
lot of data, maybe just download the bootonly iso and install using ftp.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


The download file is corrupt

2010-03-25 Thread trevor who

 Hi guy's,
I downloaded the DVD version freeBSD version 8 and went to unpack it
and got these messages from winrar.
   !   D:\FreeBSD\8.0-RELEASE-i386-dvd1.iso.gz: Unexpected end of archive
 !   D:\FreeBSD\8.0-RELEASE-i386-dvd1.iso.gz: CRC failed in
   8.0-RELEASE-i386-dvd1.iso. The file is corrupt
   Can you let me know when it will be fine to download.
  Regards,
   Trevor
___
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"