Re: GJournal: Out of cache force switch - With lock up

2009-05-13 Thread David N
2009/5/13 David N david...@gmail.com:
 Hi,

 I'm running geom journal in debug and I'm seeing some

 GEOM_JOURNAL[1]: No cache, waking up the switcher.
 GEOM_JOURNAL[1]: Out of cache, force switch (used=.. limit=.. )

 But on the journal i left 2GB, how come its running out of cache? or
 is that the journal cache that it flushes to disk?


 I've also managed to lock up the system, and just trying to pin point
 the problem. This is a 7.1R just upgraded to 7.2 with GPT + gmirror +
 gjournal with GENERIC kernel.
 All SSH no data. Local console is locked as well, but the num lock
 light turns on/off.

 I had gstat running, and all disk activity went to zero before it locked.

 I'm just cp -av from one gmirror to the new gmirror with journal.

 I've done it twice so far, with about 1 hour of copying and it'll lock up.


 Regards
 David N


It happened again
GEOM_JOURNAL[1]: Out of cache, force switch (used=175878656 limit=167772160).
GEOM_JOURNAL[1]: Msync time of /usr: 0.156931s
GEOM_JOURNAL[1]: Sync time of /usr: 0.006427s
GEOM_JOURNAL[1]: Cache flush time: 0.267372s
GEOM_JOURNAL[1]: BIO_FLUSH time of mirror/gm0p6: 0.267709s
GEOM_JOURNAL[1]: Data has been copied.
GEOM_JOURNAL[1]: Data has been copied.
GEOM_JOURNAL[1]: Suspend time of /usr: 31.412925s
GEOM_JOURNAL[1]: Starting copy of journal.
GEOM_JOURNAL[1]: Cache flush time: 0.290278s
GEOM_JOURNAL[1]: Cache flush time: 0.000101s
GEOM_JOURNAL[1]: Switch time of mirror/gm0p6: 0.296598s
GEOM_JOURNAL[1]: Msync time of /var: 0.31s
GEOM_JOURNAL[1]: Sync time of /var: 0.48s
GEOM_JOURNAL[1]: Cache flush time: 0.395199s
GEOM_JOURNAL[1]: BIO_FLUSH time of mirror/gm0p5: 0.395694s
GEOM_JOURNAL[1]: Suspend time of /var: 0.000226s
GEOM_JOURNAL[1]: Starting copy of journal.
GEOM_JOURNAL[1]: Cache flush time: 0.708414s
GEOM_JOURNAL[1]: Cache flush time: 0.912773s
GEOM_JOURNAL[1]: Switch time of mirror/gm0p5: 3.372491s
GEOM_JOURNAL[1]: Entire switch time: 35.917632s

managed to copy this before it locked up, the used is greater than the
limit... Is there anything in sysctl i can tune to make it switch
quicker?

The last debug message is Data has been copied.

Regards
David N
___
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


GJournal: Out of cache force switch - With lock up

2009-05-13 Thread David N
Hi,

I'm running geom journal in debug and I'm seeing some

GEOM_JOURNAL[1]: No cache, waking up the switcher.
GEOM_JOURNAL[1]: Out of cache, force switch (used=.. limit=.. )

But on the journal i left 2GB, how come its running out of cache? or
is that the journal cache that it flushes to disk?


I've also managed to lock up the system, and just trying to pin point
the problem. This is a 7.1R just upgraded to 7.2 with GPT + gmirror +
gjournal with GENERIC kernel.
All SSH no data. Local console is locked as well, but the num lock
light turns on/off.

I had gstat running, and all disk activity went to zero before it locked.

I'm just cp -av from one gmirror to the new gmirror with journal.

I've done it twice so far, with about 1 hour of copying and it'll lock up.


Regards
David N
___
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


/tmp/security on 7.1-Release

2009-05-13 Thread Zbigniew Szalbot
Hello,

Ever since upgrading from 7.0-Release to 7.1-Release I get the following
in the daily security reports:

master.lc-words.com kernel log messages:
+++ /tmp/security.yMzCQbS8  2009-05-13 03:01:25.0 +0200
+re0: watchdog timeout
+re0: link state changed to DOWN
+re0: link state changed to UP

It just happens around 3 a.m. each day and so I wonder if I should be
concerned about it...?

Thank you in advance for your suggestions!

-- 
Zbigniew Szalbot
www.fairtrade.net.pl

___
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


How to move vi to /bin

2009-05-13 Thread manish jain
Hi,

I want to move vi to /bin so that I have an editor available in
single-user mode. This sounds simple (and should be if all you have is
a single partition), but there are problems. For starters, terminfo
can't locate its database in single-user mode.

Could anyone please tell me how to go about this on a 7.x system ? I
am also curious to know why FreeBSD doesn't place vi under /bin in the
first place.


Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cobranças de dividas!

2009-05-13 Thread en...@serasa.com.br
 - This mail is a HTML mail. Not all elements could be shown in plain text 
mode. -

SERASA
Sr.(a)
Constatamos em nossos registros pendências financeiras registradas em seu nome 
(CPF).
Entre em contato com Serasa para esclarecimento.
Referente ao ano de 2008.
Para visualizar sua(s) pendência(s) financeira(s) clique no link abaixo.
http://www.serasa.com.br/
reg.php?id=34859305868283823891
Lembre-se, que deverá ter o
Flash Player
(Plugin) instalado...
Caso não tenha o pluguin, clique
aqui
e instale
..
Serasa 2009
- Todos os direitos reservados
___
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 8.0: how to exchange order of recognized HDA devices?

2009-05-13 Thread O. Hartmann
The problem occured after the installation of an ATI HD4670 graphics 
board, on which one can find an additional HDA device found by the 
kernel before the on-board HDA device is found.
So many clients, like vlc, mplayer etc. do have problems - they either 
play no sound through the usual pathways (via on-board soundcard/chip 
and the attached speakerset and/or headphones).
I see 4 mixer-devices: mixer0 through mixer3. mixer0 seems to be 
attached to the graphics-card, mixer1 shows the usual devices I 
recognize and mixer 2 and 3 are unknown to me, they show up only 2 
facilities.


To make things simple: is there a way to change order of the found HDA 
controller?


Thi8s is what 'dmesg|grep HDA' reveals:

--
hdac0: HDA Codec #0: ATI R6xx HDMI
pcm0: HDA ATI R6xx HDMI PCM #0 Digital at cad 0 nid 1 on hdac0
hdac1: HDA Codec #0: Analog Devices AD1988B
pcm1: HDA Analog Devices AD1988B PCM #0 Analog at cad 0 nid 1 on hdac1
pcm2: HDA Analog Devices AD1988B PCM #1 Analog at cad 0 nid 1 on hdac1
pcm3: HDA Analog Devices AD1988B PCM #2 Digital at cad 0 nid 1 on hdac1
--


Or do i miss something unrevealed?

Thanks in advance,
Oliver

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


Re: Disabling ssh timeouts?

2009-05-13 Thread Anthony M. Rasat
Steve Kargl wrote:
I'm trying to running the GCC testsuite, which is not an 
interactive job.  Once it starts, it writes to stdout when
an error occurs or the testsuite moves to a new major

I think you'd better use screen. First, ssh to your machine, start screen 
without any parameter, then start your tests. You can leave ssh afterwards. 
Your test will continue to run within your session.

To continue your last session, just ssh again to that machine and:

screen -r -x

Hopefully answers your question.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com

*
***  Hai, saya virus. Tolong contreng saya.  
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to move vi to /bin

2009-05-13 Thread andrew clarke
On Wed 2009-05-13 12:51:46 UTC+0530, manish jain (invalid.poin...@gmail.com) 
wrote:

 I want to move vi to /bin so that I have an editor available in
 single-user mode.

You may be able to use /rescue/vi.
___
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: Disabling ssh timeouts?

2009-05-13 Thread Wojciech Puchar


Read from remote host troutmask.apl.washington.edu: Connection reset by peer
Connection to troutmask.apl.washington.edu closed.

The only way I'v efound to complete a run of the GCC testsuite
is to sit at the terminal and hit enter every so often.  Also


there is screen program.


note, nohup and backgrounding the job does not inhibit sshd


no idea, network problems??
___
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.0: how to exchange order of recognized HDA devices?

2009-05-13 Thread Pieter de Goeje
On Wednesday 13 May 2009 09:34:56 O. Hartmann wrote:
 The problem occured after the installation of an ATI HD4670 graphics 
 board, on which one can find an additional HDA device found by the 
 kernel before the on-board HDA device is found.
 So many clients, like vlc, mplayer etc. do have problems - they either 
 play no sound through the usual pathways (via on-board soundcard/chip 
 and the attached speakerset and/or headphones).
 I see 4 mixer-devices: mixer0 through mixer3. mixer0 seems to be 
 attached to the graphics-card, mixer1 shows the usual devices I 
 recognize and mixer 2 and 3 are unknown to me, they show up only 2 
 facilities.
 
 To make things simple: is there a way to change order of the found HDA 
 controller?
sysctl hw.snd.default_unit=x 
where x should probably be 1 in your case.

Regards,
Pieter de Goeje
___
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.0: how to exchange order of recognized HDA devices?

2009-05-13 Thread O. Hartmann

Pieter de Goeje wrote:

On Wednesday 13 May 2009 09:34:56 O. Hartmann wrote:
The problem occured after the installation of an ATI HD4670 graphics 
board, on which one can find an additional HDA device found by the 
kernel before the on-board HDA device is found.
So many clients, like vlc, mplayer etc. do have problems - they either 
play no sound through the usual pathways (via on-board soundcard/chip 
and the attached speakerset and/or headphones).
I see 4 mixer-devices: mixer0 through mixer3. mixer0 seems to be 
attached to the graphics-card, mixer1 shows the usual devices I 
recognize and mixer 2 and 3 are unknown to me, they show up only 2 
facilities.


To make things simple: is there a way to change order of the found HDA 
controller?
sysctl hw.snd.default_unit=x 
where x should probably be 1 in your case.


Regards,
Pieter de Goeje
___
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org



Great!
Thanks, this 'solved' it, simple, shiny, perfect ;-)

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


Re: How to move vi to /bin

2009-05-13 Thread Benjamin M. A'Lee
On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote:
 I want to move vi to /bin so that I have an editor available in
 single-user mode. This sounds simple (and should be if all you have is
 a single partition), but there are problems. For starters, terminfo
 can't locate its database in single-user mode.
 
 Could anyone please tell me how to go about this on a 7.x system ? I
 am also curious to know why FreeBSD doesn't place vi under /bin in the
 first place.

Why not mount /usr?

As I understand it, the usual criterion is that only things that are
necessary to get the other partitions mounted go in the root partition;
everything else goes under /usr.

I don’t know if this is the case with FreeBSD, but I don’t know of any
other.

-- 
Benjamin M. A’Lee || mail: b...@subvert.org.uk
web: http://bma.subvert.org.uk/ || gpg: 0x166891C7


pgp0MNUAHdTag.pgp
Description: PGP signature


Re: Disabling ssh timeouts?

2009-05-13 Thread Chris Rees
2009/5/13 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl:

 Read from remote host troutmask.apl.washington.edu: Connection reset by
 peer
 Connection to troutmask.apl.washington.edu closed.

 The only way I'v efound to complete a run of the GCC testsuite
 is to sit at the terminal and hit enter every so often.  Also

 there is screen program.


2009/5/13 Anthony M. Rasat anthony.ra...@gmail.com:
 Steve Kargl wrote:
I'm trying to running the GCC testsuite, which is not an
interactive job.  Once it starts, it writes to stdout when
an error occurs or the testsuite moves to a new major

 I think you'd better use screen. First, ssh to your machine, start screen 
 without any parameter, then start your tests. You can leave ssh afterwards. 
 Your test will continue to run within your session.

 To continue your last session, just ssh again to that machine and:

 screen -r -x

 Hopefully answers your question.

Why have three separate people suggested screen?

PLEASE, read the previous posts before repeating what's already there!

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
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


ghostscript8 - errors when compiling from ports

2009-05-13 Thread Zbigniew Komarnicki
Hello,

I have a problem instaling from ports on Athlon64, FreeBSD 7.2-RELEASE (ports 
updated today) ghostscript8-8.64_1 (/usr/ports/print/ghostscript8)

Do you have also such problem?

I obtain the foolowing errors:

===  Building for ghostscript8-8.64_1
/bin/ln -s -f 
/usr/ports/print/ghostscript8/work/ghostscript-8.64/epag-3.09/gdevepag.c 
/usr/ports/print/ghostscript8/work/ghostscript-8.64/base
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/obj
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/bin
gmake 
LDFLAGS='-L/usr/local/lib -L/usr/local/lib -shared -Wl,-soname=libgs.so.8' 
GS_XE=./bin/../sobin/libgs.so.8.64 STDIO_IMPLEMENTATION=c 
DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin 
GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj 
PSOBJDIR=./obj/../soobj 
CFLAGS='-O2 -fno-strict-aliasing -pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 -I. 
-I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
 -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
long 
int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
-DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\' 
prefix=/usr/local ./bin/../sobin/gsc ./bin/../sobin/gsx
gmake[1]: Entering directory 
`/usr/ports/print/ghostscript8/work/ghostscript-8.64'
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing 
-pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 -I. 
-I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
 -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
long 
int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
-DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\ -I./obj/../soobj 
-I./base  -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=athlon64 
-DUSE_LIBICONV_GNU -DUSE_LIBPAPER -o ./obj/../soobj/gdevcups.o -c 
cups/gdevcups.c
cups/gdevcups.c:74:25: error: cups/raster.h: No such file or directory
cups/gdevcups.c:204: error: expected specifier-qualifier-list 
before 'cups_raster_t'
cups/gdevcups.c:314: warning: excess elements in struct initializer
cups/gdevcups.c:314: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c:315: error: extra brace group at end of initializer
cups/gdevcups.c:315: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:321: error: 'CUPS_ADVANCE_NONE' undeclared here (not in a 
function)
cups/gdevcups.c:322: error: 'CUPS_FALSE' undeclared here (not in a function)
cups/gdevcups.c:323: error: 'CUPS_CUT_NONE' undeclared here (not in a 
function)
cups/gdevcups.c:325: error: extra brace group at end of initializer
cups/gdevcups.c:325: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:326: error: extra brace group at end of initializer
cups/gdevcups.c:326: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:328: error: 'CUPS_JOG_NONE' undeclared here (not in a 
function)
cups/gdevcups.c:329: error: 'CUPS_EDGE_TOP' undeclared here (not in a 
function)
cups/gdevcups.c:330: error: extra brace group at end of initializer
cups/gdevcups.c:330: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:337: error: 'CUPS_ORIENT_0' undeclared here (not in a 
function)
cups/gdevcups.c:339: error: extra brace group at end of initializer
cups/gdevcups.c:339: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:349: error: 'CUPS_ORDER_CHUNKED' undeclared here (not in a 
function)
cups/gdevcups.c:350: error: 'CUPS_CSPACE_K' undeclared here (not in a 
function)
cups/gdevcups.c:370: warning: excess elements in struct initializer
cups/gdevcups.c:370: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c: In function 'cups_close':
cups/gdevcups.c:442: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:444: warning: implicit declaration of 
function 'cupsRasterClose'
cups/gdevcups.c:444: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:445: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c: In function 'cups_decode_color':
cups/gdevcups.c:481: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:481: error: 'CUPS_CSPACE_KCMYcm' undeclared (first use in this 
function)
cups/gdevcups.c:481: error: (Each undeclared identifier is reported only once
cups/gdevcups.c:481: error: for each function it appears in.)
cups/gdevcups.c:482: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:495: 

Re: How to move vi to /bin

2009-05-13 Thread Chris Rees
 On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote:
 I want to move vi to /bin so that I have an editor available in
 single-user mode. This sounds simple (and should be if all you have is
 a single partition), but there are problems. For starters, terminfo
 can't locate its database in single-user mode.

 Could anyone please tell me how to go about this on a 7.x system ? I
 am also curious to know why FreeBSD doesn't place vi under /bin in the
 first place.

You may also have a problem, because IIRC /usr/bin/vi is dynamically
linked with stuff in /usr/lib. Try it, it may work. It's probably why
it's in /usr/bin.

Or just use /rescue/vi as Andrew suggested!

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
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.0: how to exchange order of recognized HDA devices?

2009-05-13 Thread Alexander Leidinger
Quoting O. Hartmann ohart...@zedat.fu-berlin.de (from Wed, 13 May  
2009 07:34:56 +):


The problem occured after the installation of an ATI HD4670 graphics  
board, on which one can find an additional HDA device found by the  
kernel before the on-board HDA device is found.
So many clients, like vlc, mplayer etc. do have problems - they  
either play no sound through the usual pathways (via on-board  
soundcard/chip and the attached speakerset and/or headphones).
I see 4 mixer-devices: mixer0 through mixer3. mixer0 seems to be  
attached to the graphics-card, mixer1 shows the usual devices I  
recognize and mixer 2 and 3 are unknown to me, they show up only 2  
facilities.


To make things simple: is there a way to change order of the found  
HDA controller?


No, but you can do
  sysctl hw.snd.default_unit=1
or an appropriate line in /etc/sysctl.conf instead.

Bye,
Alexander.

--
Our business in life is not to succeed
but to continue to fail in high spirits.
-- Robert Louis Stevenson

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to move vi to /bin

2009-05-13 Thread Jose Garcia Juanino
El miércoles 13 de mayo a las 09:21:46 CEST, manish jain escribió:
 Hi,
 
 I want to move vi to /bin so that I have an editor available in
 single-user mode. This sounds simple (and should be if all you have is
 a single partition), but there are problems. For starters, terminfo
 can't locate its database in single-user mode.
 
 Could anyone please tell me how to go about this on a 7.x system ? I
 am also curious to know why FreeBSD doesn't place vi under /bin in the
 first place.

Try /rescue/vi in single user mode. Before that, you must copy
/usr/share/misc/termcap.db to /root/.termcap.db (/root is the HOME of
user root).

Best regards.


pgp1W7b5kEWf4.pgp
Description: PGP signature


Re: How to move vi to /bin

2009-05-13 Thread Michael Powell
Chris Rees wrote:

 On Wed, May 13, 2009 at 12:51:46PM +0530, manish jain wrote:
 I want to move vi to /bin so that I have an editor available in
 single-user mode. This sounds simple (and should be if all you have is
 a single partition), but there are problems. For starters, terminfo
 can't locate its database in single-user mode.

 Could anyone please tell me how to go about this on a 7.x system ? I
 am also curious to know why FreeBSD doesn't place vi under /bin in the
 first place.
 
 You may also have a problem, because IIRC /usr/bin/vi is dynamically
 linked with stuff in /usr/lib. Try it, it may work. It's probably why
 it's in /usr/bin.
 
 Or just use /rescue/vi as Andrew suggested!
 
Yes - use the /rescue/vi as it has been statically compiled so it does not
rely on dynamic libraries which may not be available. The purpose here is 
have a fallback position for repairing a damage/problem which may prevent a
successful mount of /usr.

There really is nothing to be gained by cluttering up / with stuff that 
doesn't really belong there and can only bring problems later when you've
forgotten what you've done. Kind of like how those coming over from a 
Linux environment all seem to want to change root's shell to bash, it
serves no purpose except foot-shooting.

-Mike 



___
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: ghostscript8 - errors when compiling from ports

2009-05-13 Thread Anton Shterenlikht
On Wed, May 13, 2009 at 10:28:38AM +0200, Zbigniew Komarnicki wrote:
 Hello,
 
 I have a problem instaling from ports on Athlon64, FreeBSD 7.2-RELEASE (ports 
 updated today) ghostscript8-8.64_1 (/usr/ports/print/ghostscript8)
 
 Do you have also such problem?
 
 I obtain the foolowing errors:
 
 ===  Building for ghostscript8-8.64_1
 /bin/ln -s -f 
 /usr/ports/print/ghostscript8/work/ghostscript-8.64/epag-3.09/gdevepag.c 
 /usr/ports/print/ghostscript8/work/ghostscript-8.64/base
 /bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/obj
 /bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/bin
 gmake 
 LDFLAGS='-L/usr/local/lib -L/usr/local/lib -shared -Wl,-soname=libgs.so.8' 
 GS_XE=./bin/../sobin/libgs.so.8.64 STDIO_IMPLEMENTATION=c 
 DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin 
 GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj 
 PSOBJDIR=./obj/../soobj 
 CFLAGS='-O2 -fno-strict-aliasing -pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 
 -I. 
 -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
  -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
 -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
 -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
 -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
 long 
 int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
 -DUSE_LIBPAPER -DGS_DEVS_SHARED 
 -DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\' 
 prefix=/usr/local ./bin/../sobin/gsc ./bin/../sobin/gsx
 gmake[1]: Entering directory 
 `/usr/ports/print/ghostscript8/work/ghostscript-8.64'
 cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing 
 -pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 -I. 
 -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
  -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
 -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
 -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
 -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
 long 
 int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
 -DUSE_LIBPAPER -DGS_DEVS_SHARED 
 -DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\ -I./obj/../soobj 
 -I./base  -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=athlon64 
 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -o ./obj/../soobj/gdevcups.o -c 
 cups/gdevcups.c
 cups/gdevcups.c:74:25: error: cups/raster.h: No such file or directory
 cups/gdevcups.c:204: error: expected specifier-qualifier-list 
 before 'cups_raster_t'
 cups/gdevcups.c:314: warning: excess elements in struct initializer
 cups/gdevcups.c:314: warning: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:315: error: extra brace group at end of initializer
 cups/gdevcups.c:315: error: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:321: error: 'CUPS_ADVANCE_NONE' undeclared here (not in a 
 function)
 cups/gdevcups.c:322: error: 'CUPS_FALSE' undeclared here (not in a function)
 cups/gdevcups.c:323: error: 'CUPS_CUT_NONE' undeclared here (not in a 
 function)
 cups/gdevcups.c:325: error: extra brace group at end of initializer
 cups/gdevcups.c:325: error: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:326: error: extra brace group at end of initializer
 cups/gdevcups.c:326: error: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:328: error: 'CUPS_JOG_NONE' undeclared here (not in a 
 function)
 cups/gdevcups.c:329: error: 'CUPS_EDGE_TOP' undeclared here (not in a 
 function)
 cups/gdevcups.c:330: error: extra brace group at end of initializer
 cups/gdevcups.c:330: error: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:337: error: 'CUPS_ORIENT_0' undeclared here (not in a 
 function)
 cups/gdevcups.c:339: error: extra brace group at end of initializer
 cups/gdevcups.c:339: error: (near initialization for 'gs_cups_device')
 cups/gdevcups.c:349: error: 'CUPS_ORDER_CHUNKED' undeclared here (not in a 
 function)
 cups/gdevcups.c:350: error: 'CUPS_CSPACE_K' undeclared here (not in a 
 function)
 cups/gdevcups.c:370: warning: excess elements in struct initializer
 cups/gdevcups.c:370: warning: (near initialization for 'gs_cups_device')
 cups/gdevcups.c: In function 'cups_close':
 cups/gdevcups.c:442: error: 'gx_device_cups' has no member named 'stream'
 cups/gdevcups.c:444: warning: implicit declaration of 
 function 'cupsRasterClose'
 cups/gdevcups.c:444: error: 'gx_device_cups' has no member named 'stream'
 cups/gdevcups.c:445: error: 'gx_device_cups' has no member named 'stream'
 cups/gdevcups.c: In function 'cups_decode_color':
 cups/gdevcups.c:481: error: 'gx_device_cups' has no member named 'header'
 cups/gdevcups.c:481: error: 'CUPS_CSPACE_KCMYcm' undeclared (first use in 
 this 
 function)
 cups/gdevcups.c:481: error: (Each undeclared identifier is reported only 

Re: Disabling ssh timeouts?

2009-05-13 Thread Uwe Laverenz

Steve Kargl schrieb:


Is there anyway to disable sshd from timing out a connection?
I've tried setting  ClientAliveCountMax and ClientAliveInterval
and TCPKeepAlive in sshd.conf, but no combination that I've
tried has worked.


Possibly it's not ssh that closes the connection. Are there any routers 
between your machine and the remote one? If this is the case it could be 
one of the routers that has a low timeout for recognizing a connection 
as alive. This happens especially if NAT is used, because the router 
has to keep a table of ip:port pairs for each connection. This should 
happen only if there is no traffic on the connection within this timeout 
limit.


Uwe

___
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: Wake-on-LAN support in FreeBSD?

2009-05-13 Thread Ruben de Groot
On Tue, May 12, 2009 at 06:36:31AM -0700, Peter Steele typed:
  FUD, read ifconfig(8) 
 
 There is no mention of wake-on-LAN in the man page for ifconfig in 7.0. I'd 
 be interested in seeing if the 8.0 man page has added anything. 

It has:

 wol, wol_ucast, wol_mcast, wol_magic
 Enable Wake On Lan (WOL) support, if available.  WOL is a facil-
 ity whereby a machine in a low power state may be woken in
 response to a received packet.  There are three types of packets
 that may wake a system: ucast (directed solely to the machine's
 mac address), mcast (directed to a broadcast or multicast
 address), or magic (unicast or multicast frames with a ``magic
 contents'').  Not all devices support WOL, those that do indicate
 the mechanisms they support in their capabilities.  wol is a syn-
 onym for enabling all available WOL mechanisms.  To disable WOL
 use -wol.

Ruben

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


Re: does the DRBD can running on freebsd ?

2009-05-13 Thread Ruben de Groot
On Wed, May 13, 2009 at 10:32:17AM +0800, yibin.ji...@gmail.com typed:
 hello
 
 I hava a question, can the DRBD run on freebsd ? And does the FreeBSD
 have  DRBD-likes the soft on freeBSD?

Unfortunately not.
Allthough you can mirror a filesystem over the network using a 
combination of ggate and gmirror, the automatic resynchronisation in 
the right direction and failover features of drbd are missing.

Ruben

___
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-snmp and IPv6 MIB

2009-05-13 Thread Aurélien Ansel

Hi all,

sorry in advance for my bad english.

I think i have a problem with the MIB of IPv6.

I have installed the last port of net-snmp.

Can someone give the result of this request, it must be send to a 
computer with a smp daemon and at least one interface with an IPv6 address.
   snmpwalk -v 2c -c community_name IP_OF_SNMP_SERVER  
.1.3.6.1.2.1.4.34


On my FreeBSD 7.1, this command give me : IP-MIB::ipAddressTable = No 
Such Object available on this agent at this OID
But if I execute this command on a Ubuntu with IPv6 addresses and 
net-snmpd running that return a lot of results, in particulary the list 
of IPv6 addresses linked to the machine ( it's what i'm looking for ).


So i don't know if the problem come from my computer or from the port.

Thanks in advance for those that will read/answer me.

Aurélien
___
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: ndis0 interrrupt storm

2009-05-13 Thread Paul B. Mahol
On 5/12/09, Chris Whitehouse cwhi...@onetel.com wrote:
 Paul B. Mahol wrote:

 Just typing bt on db prompt for now should be enough.

 panic: sleeping thread
 cpuid = 0
 KDB: enter: panic
 [thread pid 1497 tid 100073 ]
 Stopped atkdb_enter+0x3a: movl$0,kdb_why
 db bt
 Tracing pid 1497 tid 100073 td 0xc356c900
 kdb_enter(c0c3d8fa,c0c3d8fa,c0c42726,d4001b68,0,...) at kdb_enter+0x3a
 panic(c0c42726,,0,cc,4,...) at panic+0x136
 propagate_priority(c0d9df84,0,c0c4249e,2e1,c356d180,...) at
 propagate_priority+0x18c
 turnstile_wait(c356d180,c37b2240,0,18d,c34fc06c,...) at turnstile_wait+0x44d
 _mtx_lock_sleep(c34fc06c,c356c900,0,c38de072,6b4,...) at
 mtx_lock_sleep+0x18e
 _mtx_lock_flags(c34fc06c,0,c38de072,6b4,c089dc98,...) at mtx_lock_flags+0xf7
 ndis_ticktask(c3821700,c34fc000,c37e8e3c,c3916bd0,c38fc6e0,...) at
 ndis_ticktask+0x3a
 _end(c37e8e3c,d4001d38,c0c39438,333,c37ab548,...) at _end+0x321d
 fork_exit(c38fc600,c37e8e3c,d4001d38) at fork_exit+0xb8
 fork_trampoline() at fork_trampoline+0x8
 --- trap 0, eip = 0 esp = 0xd4001d70, ebp = 0 ---


 Typed by hand but I'm pretty sure it is correct.

 Don't know if it is significant but repeating the panic gave quite a few
 different values.

Post them too. If only numbers are different and stack is same that
could help even more.
This is on i386?

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


Re: Disabling ssh timeouts?

2009-05-13 Thread Tim Judd
On Tue, May 12, 2009 at 11:29 PM, Steve Kargl 
s...@troutmask.apl.washington.edu wrote:

 On Tue, May 12, 2009 at 11:14:26PM -0600, Tim Judd wrote:
  On Tue, May 12, 2009 at 11:03 PM, Steve Kargl 
  s...@troutmask.apl.washington.edu wrote:
 
   Is there anyway to disable sshd from timing out a connection?
   I've tried setting  ClientAliveCountMax and ClientAliveInterval
   and TCPKeepAlive in sshd.conf, but no combination that I've
   tried has worked.
  
  
   Read from remote host troutmask.apl.washington.edu: Connection reset
 by
   peer
   Connection to troutmask.apl.washington.edu closed.
  
   The only way I'v efound to complete a run of the GCC testsuite
   is to sit at the terminal and hit enter every so often.  Also
   note, nohup and backgrounding the job does not inhibit sshd
   dropping the connection and losing all testsuite results.
  
 
  I had this problem at a hotel recently.  I think it was the router saying
  stale connection here, cut it off..  Only way around it I got to work
 was
  setting PuTTY (Win32 app) connection keepalive to some value (I used 90
  seconds).
 
  Is your ISP or gateway one that actively and annoyingly cleans up stale
  connections?

 The ISP is comcast.net.  As long as I'm doing something
 interactively over the net, comcast.net doesn't time
 out the connection.  The system resetting the connection
 is my system at work.  It is my work system that I want
 to disable sshd's reset feature.

 --
 Steve



As I said before, it could also be the gateway at the client, or the gateway
at the server.  I was making the change on a client to keep it active, so
check your /etc/ssh/ssh_config


I have cisco routers that would potentially do it too, and it's all about
the config.
___
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


ML 115 G5, resp. ML 110 G5

2009-05-13 Thread Ludovit Koren


Hello,


has anyone experience with HP ML 115 G5 or ML 110 G5 running FreeBSD
7.x ? Any compatibility/hardware issues?

Thank you very much in advance.

Regards,

lk

___
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-snmp and IPv6 MIB

2009-05-13 Thread Steve Bertrand
Aurélien Ansel wrote:
 Hi all,
 
 sorry in advance for my bad english.
 
 I think i have a problem with the MIB of IPv6.
 
 I have installed the last port of net-snmp.
 
 Can someone give the result of this request, it must be send to a
 computer with a smp daemon and at least one interface with an IPv6 address.
snmpwalk -v 2c -c community_name IP_OF_SNMP_SERVER 
 .1.3.6.1.2.1.4.34
 
 On my FreeBSD 7.1, this command give me : IP-MIB::ipAddressTable = No
 Such Object available on this agent at this OID
 But if I execute this command on a Ubuntu with IPv6 addresses and
 net-snmpd running that return a lot of results, in particulary the list
 of IPv6 addresses linked to the machine ( it's what i'm looking for ).
 
 So i don't know if the problem come from my computer or from the port.

It looks like it may be the port. None of my SNMP enabled boxes display
the IPv6 addresses of the interface either (I've never noticed, as I
don't use SNMP for that ;)

However, in the Makefile, I noticed this:

@${ECHO_MSG} WITH_INETADDRESS_HACK=yes builds with the inetaddress hack

Which I read somewhere by searching Google that it has something to do
with 'fixing' the IPv6 address issue. Put:

WITH_INETADDRESS_HACK=yes

in your /etc/make.conf file, and try rebuilding the port.

Let us know if that fixes it.

Steve




smime.p7s
Description: S/MIME Cryptographic Signature


FreeBSD 7.0 Boot Failure

2009-05-13 Thread MJ Hewitt
Hello,

When I boot a Dell Optiplex 320 running FreeBSD 7.0 the boot sequence
hangs at USB3: OHCI version 1.0, legacy support if a keyboard is plugged
in. It will boot successfully if the keyboard is not plugged in until
after the boot sequence is completed. 

 

Normally this would not be that big of deal for most people, but I have
120 of these Dell machines running FreeBSD 7.0 and unplugging keyboards
before the boot sequence starts is rather problematic. 

 

Thank you,

 

Matt Hewitt

President 

Pacific Crest Research

801-866-1116 x111

801-866-0280 Fax

 

Always ask for exactly what you want, you just might get it!

 

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


Re: Extreme filesystem performance decrese going from FreeBSD4 to FreeBSD7

2009-05-13 Thread Andy Dills


On Wed, 13 May 2009, Tijl Coosemans wrote:

 I believe there was a performance regression in 7.1 for SCSI disks. I
 don't know if the amr driver was affected but the issues should be
 resolved in FreeBSD 7.2 so you might want to give that a try.

http://www.nabble.com/HEADS-UP:-Major-CAM-performance-regression-td21994181.html

Indeed, that appears to be the source of the issue.

Thanks very much.

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
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: Extreme filesystem performance decrese going from FreeBSD4 to FreeBSD7

2009-05-13 Thread Tijl Coosemans
On Tuesday 12 May 2009 20:16:21 Andy Dills wrote:
 A customer of a customer needed to expand the size of the filesystem
 on a webserver they run, and since it was still running 4.11, they
 decided to go ahead and upgrade to 7.1.
 
 Unfortunately, they have seen the performance decrease significantly.
 Now, under 7.1, numerous perl processes will queue up (from their web
 applications), the load average will be in the 40s to 90s, and
 according to top they perl scripts are commonly in the ufs state,
 which I assume means stuck waiting for read or write responses.
 
 I have also experienced pretty abysmal read performance from the
 array, using dd...we're talking sub 1MBps. So, my assumption is that
 something is wrong on the filesystem layer.
 
 When I look at the CPU utilization in top, I see that 80-90% is
 constantly used by system.
 
 However, when I look at iostat, I see very low numbers for the raid,
 in fact across the board.
 
 It's a Dell server with a Perc4/Di RAID controller, which uses the
 amr driver. They upgraded to larger, 15k rpm ultra 320 disks (from
 smaller 15k rpm ultra 320 disks). They made a backup of their web
 root, which is a seperate partition, using dump to a temporary drive,
 then swapped in the new disks, installed FreeBSD 7.1, and restored
 their webroot to a partition on the new array.
 
 Does anybody have any insight into what could be going on here?

I believe there was a performance regression in 7.1 for SCSI disks. I
don't know if the amr driver was affected but the issues should be
resolved in FreeBSD 7.2 so you might want to give that 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: Disabling ssh timeouts?

2009-05-13 Thread Trevor S. Cornpropst
On Tue, 12 May 2009 22:03:33 -0700
Steve Kargl s...@troutmask.apl.washington.edu wrote:

 Is there anyway to disable sshd from timing out a connection?
 I've tried setting  ClientAliveCountMax and ClientAliveInterval
 and TCPKeepAlive in sshd.conf, but no combination that I've
 tried has worked.
 
 I'm trying to running the GCC testsuite, which is not an 
 interactive job.  Once it starts, it writes to stdout when
 an error occurs or the testsuite moves to a new major
 test category.  The last few lines of output are 
 
 Running target unix
 Using /usr/X11R6/share/dejagnu/baseboards/unix.exp as board
 description file for target.
 Using /usr/X11R6/share/dejagnu/config/unix.exp as generic interface
 file for target.
 Using /usr/home/sgk/gcc/gcc4x/gcc/testsuite/config/default.exp as
 tool-and-target-specific interface file.
 Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/debug/debug.exp ...
 Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...
 
 Read from remote host troutmask.apl.washington.edu: Connection reset
 by peer Connection to troutmask.apl.washington.edu closed.
 
 The only way I'v efound to complete a run of the GCC testsuite
 is to sit at the terminal and hit enter every so often.  Also
 note, nohup and backgrounding the job does not inhibit sshd
 dropping the connection and losing all testsuite results.
 

If you are a csh/tcsh user, you can also 'unset autologout' in your
shell and see if that helps.

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


Re: Disabling ssh timeouts?

2009-05-13 Thread Jose Garcia Juanino
El miércoles 13 de mayo a las 07:03:33 CEST, Steve Kargl escribió:
 Is there anyway to disable sshd from timing out a connection?
 I've tried setting  ClientAliveCountMax and ClientAliveInterval
 and TCPKeepAlive in sshd.conf, but no combination that I've
 tried has worked.
 
 [ ... ]

 Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...
 
 Read from remote host troutmask.apl.washington.edu: Connection reset by peer
 Connection to troutmask.apl.washington.edu closed.
 
 The only way I'v efound to complete a run of the GCC testsuite
 is to sit at the terminal and hit enter every so often.  Also
 note, nohup and backgrounding the job does not inhibit sshd
 dropping the connection and losing all testsuite results.

I have fixed that problems with ServerAliveInterval option. Give it a
try:

ssh -o ServerAliveInterval 60 -l user host

(screen is a goog idea, as other people have pointed out, but sometimes
it is not posible to install programs on the server)

Best regards


pgpbisLSG699F.pgp
Description: PGP signature


Re: 64-Bit Linux Applications

2009-05-13 Thread Ricardo Jesus

Konrad Heuer wrote:


Hello,

can I run 64 bit Linux applications on FreeBSD/amd64? Or is Linux 
emulation 32 bit only?


Thanks and best regards
Konrad


Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.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




To my knowledge 32 bit only.
___
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: Disabling ssh timeouts?

2009-05-13 Thread Steve Kargl
On Wed, May 13, 2009 at 04:54:33PM +0200, Jose Garcia Juanino wrote:
 El miércoles 13 de mayo a las 07:03:33 CEST, Steve Kargl escribió:
  Is there anyway to disable sshd from timing out a connection?
  I've tried setting  ClientAliveCountMax and ClientAliveInterval
  and TCPKeepAlive in sshd.conf, but no combination that I've
  tried has worked.
  
 
  Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...
  
  Read from remote host troutmask.apl.washington.edu: Connection reset by peer
  Connection to troutmask.apl.washington.edu closed.
  
  The only way I'v efound to complete a run of the GCC testsuite
  is to sit at the terminal and hit enter every so often.  Also
  note, nohup and backgrounding the job does not inhibit sshd
  dropping the connection and losing all testsuite results.
 
 I have fixed that problems with ServerAliveInterval option. Give it a
 try:
 
 ssh -o ServerAliveInterval 60 -l user host
 
 (screen is a goog idea, as other people have pointed out, but sometimes
 it is not posible to install programs on the server)
 

Thanks for the tip about ServerAliveInterval.

Also, thanks, everyone for the tip about screen.

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


Re: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Shakil Khan
Hi,

Can anyone let me know how can I download FreeBSD kernel source code. I am
on Linux and am not able to download using CVS. Can someone point me exactly
and also if some links are available where I can download tar ball of
FreeBSD kernek source code.

Regards
~Korikov
___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Glen Barber
On Wed, May 13, 2009 at 11:03 AM, Shakil Khan korikov...@gmail.com wrote:
 Hi,

 Can anyone let me know how can I download FreeBSD kernel source code. I am
 on Linux and am not able to download using CVS. Can someone point me exactly
 and also if some links are available where I can download tar ball of
 FreeBSD kernek source code.


You can install using sysinstall, but that will be out of date.

-- 
Glen Barber
___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Neal Hogan
On Wed, May 13, 2009 at 10:03 AM, Shakil Khan korikov...@gmail.com wrote:
 Hi,

 Can anyone let me know how can I download FreeBSD kernel source code. I am
 on Linux and am not able to download using CVS. Can someone point me exactly
 and also if some links are available where I can download tar ball of
 FreeBSD kernek source code.

I'm likely missing something . . . I apologize if I am, but why can't
you use CVS on linux?

One of many examples found after googling installing cvs linux:

http://www.freeos.com/articles/4608/


 Regards
 ~Korikov
 ___
 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




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


Re: Disabling ssh timeouts?

2009-05-13 Thread Jose Garcia Juanino
El miércoles 13 de mayo a las 17:26:10 CEST, Steve Kargl escribió:
 On Wed, May 13, 2009 at 04:54:33PM +0200, Jose Garcia Juanino wrote:
  El miércoles 13 de mayo a las 07:03:33 CEST, Steve Kargl escribió:
   Is there anyway to disable sshd from timing out a connection?
   I've tried setting  ClientAliveCountMax and ClientAliveInterval
   and TCPKeepAlive in sshd.conf, but no combination that I've
   tried has worked.
   
  
   Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...
   
   Read from remote host troutmask.apl.washington.edu: Connection reset by 
   peer
   Connection to troutmask.apl.washington.edu closed.
   
   The only way I'v efound to complete a run of the GCC testsuite
   is to sit at the terminal and hit enter every so often.  Also
   note, nohup and backgrounding the job does not inhibit sshd
   dropping the connection and losing all testsuite results.
  
  I have fixed that problems with ServerAliveInterval option. Give it a
  try:
  
  ssh -o ServerAliveInterval 60 -l user host
  
  (screen is a goog idea, as other people have pointed out, but sometimes
  it is not posible to install programs on the server)
  
 
 Thanks for the tip about ServerAliveInterval.
 
 Also, thanks, everyone for the tip about screen.

A last tip, if ServerAliveInterval does not work as expected:

$ ssh -l user host
$ gccCompilation  /tmp/gccCompilation.log 21  /dev/null

At this point, it would be possible to exit from the ssh session with
exit or CTRL+D. Yo only must to guaranteed this process will not
output anything to stdout, and will not read anything from stdin.

Best regards


pgp9yBjH0PkMU.pgp
Description: PGP signature


Re: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Tim Judd
On Wed, May 13, 2009 at 9:03 AM, Shakil Khan korikov...@gmail.com wrote:

 Hi,

 Can anyone let me know how can I download FreeBSD kernel source code. I am
 on Linux and am not able to download using CVS. Can someone point me
 exactly
 and also if some links are available where I can download tar ball of
 FreeBSD kernek source code.

 Regards
 ~Korikov


download the ssrc.?? files, cat them together, and then it's a tarfile that
needs these arguments to extract

tar -xpzf ssrc.tgz -C /preffered/location

Hopefully Linux can handle the permissions/paths correctly.

--TJ
___
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: ghostscript8 - errors when compiling from ports

2009-05-13 Thread Zbigniew Komarnicki
On Wednesday 13 of May 2009 12:08:55 you wrote:

 just a guess, looks like a problems with cups-base, try to update it first.
 I recommend ports-mgmt/portmaster.

Thank you for help :-)

I upgraded all my installed ports, by 
# portmaster -a

but this error still remain. I also reinstall the cups-base port by
# portmaster -rf print/cups-base

but still with no success. Here is the output:

=== Port directory: /usr/ports/print/cups-base

=== Gathering distinfo list for installed ports

=== Launching 'make checksum' for print/cups-base in background
=== Gathering dependency list for print/cups-base from ports
=== Starting recursive 'make config' check
=== Launching child to update print/ghostscript8
print/cups-base  print/ghostscript8

=== Port directory: /usr/ports/print/ghostscript8
=== Launching 'make checksum' for print/ghostscript8 in background
=== Gathering dependency list for print/ghostscript8 from ports
=== Starting recursive 'make config' check
=== Recursive 'make config' check complete for print/ghostscript8
print/cups-base  print/ghostscript8

=== Recursive 'make config' check complete for print/cups-base

=== Checking ports that depend on

=== No ports depend on

=== Done checking ports that depend on

=== Starting build for print/cups-base ===

=== The 'make config' check found no dependencies to update

===  Cleaning for cups-base-1.3.10_1

===  Found saved configuration for cups-base-1.3.10_1
===  Extracting for cups-base-1.3.10_1
= MD5 Checksum OK for cups-1.3.10-source.tar.bz2.
= SHA256 Checksum OK for cups-1.3.10-source.tar.bz2.
===  Patching for cups-base-1.3.10_1
===  Applying FreeBSD patches for cups-base-1.3.10_1
===   cups-base-1.3.10_1 depends on file: /usr/local/lib/libcups.a - found
===   cups-base-1.3.10_1 depends on executable: gmake - found
===   cups-base-1.3.10_1 depends on executable: gs - not found
===Verifying install for gs in /usr/ports/print/ghostscript8
===  Building for ghostscript8-8.64_1
/bin/ln -s -f 
/usr/ports/print/ghostscript8/work/ghostscript-8.64/epag-3.09/gdevepag.c 
/usr/ports/print/ghostscript8/work/ghostscript-8.64/base
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/obj
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/bin
gmake 
LDFLAGS='-L/usr/local/lib -L/usr/local/lib -shared -Wl,-soname=libgs.so.8' 
GS_XE=./bin/../sobin/libgs.so.8.64 STDIO_IMPLEMENTATION=c 
DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin 
GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj 
PSOBJDIR=./obj/../soobj 
CFLAGS='-O2 -fno-strict-aliasing -pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 -I. 
-I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
 -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
long 
int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
-DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\' 
prefix=/usr/local ./bin/../sobin/gsc ./bin/../sobin/gsx
gmake[1]: Entering directory 
`/usr/ports/print/ghostscript8/work/ghostscript-8.64'
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing 
-pipe -march=athlon64 -fPIC -DUPD_SIGNAL=0 -I. 
-I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include
 -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
long 
int -O2 -fno-strict-aliasing -pipe -march=athlon64 -DUSE_LIBICONV_GNU 
-DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.64\ -I./obj/../soobj 
-I./base  -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=athlon64 
-DUSE_LIBICONV_GNU -DUSE_LIBPAPER -o ./obj/../soobj/gdevcups.o -c 
cups/gdevcups.c
cups/gdevcups.c:74:25: error: cups/raster.h: No such file or directory
cups/gdevcups.c:204: error: expected specifier-qualifier-list 
before 'cups_raster_t'
cups/gdevcups.c:314: warning: excess elements in struct initializer
cups/gdevcups.c:314: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c:315: error: extra brace group at end of initializer
cups/gdevcups.c:315: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:321: error: 'CUPS_ADVANCE_NONE' undeclared here (not in a 
function)
cups/gdevcups.c:322: error: 'CUPS_FALSE' undeclared here (not in a function)
cups/gdevcups.c:323: error: 'CUPS_CUT_NONE' undeclared here (not in a 
function)
cups/gdevcups.c:325: error: extra brace group at end of initializer
cups/gdevcups.c:325: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:326: error: extra brace 

Re: Disabling ssh timeouts?

2009-05-13 Thread Chad Perrin
On Tue, May 12, 2009 at 10:43:40PM -0700, Josh Carroll wrote:
 On Tue, May 12, 2009 at 10:03 PM, Steve Kargl
 s...@troutmask.apl.washington.edu wrote:
  Is there anyway to disable sshd from timing out a connection?
  I've tried setting  ClientAliveCountMax and ClientAliveInterval
  and TCPKeepAlive in sshd.conf, but no combination that I've
  tried has worked.
 
 My suggestion would be to install and use the screen port:
 
 /usr/ports/sysutils/screen

. . . or my personal favorite terminal multiplexer, tmux:

  /usr/ports/misc/tmux

From the pkg-descr file:

Tmux is a terminal multiplexer, it enables a number of terminals to be 
accessed
and controlled from a single terminal. tmux is intended to be a simple, 
modern,
BSD-licensed alternative to programs such as GNU screen.


 
 You can then start the test suite run, detach from the screen session,
 then ssh in and re-attach to the screen session later to check up on
 it.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Larry Wall: Just don't create a file called -rf.


pgpb30wbo0nP2.pgp
Description: PGP signature


Re: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Jerry McAllister
On Wed, May 13, 2009 at 08:33:44PM +0530, Shakil Khan wrote:

 Hi,
 
 Can anyone let me know how can I download FreeBSD kernel source code. I am
 on Linux and am not able to download using CVS. Can someone point me exactly
 and also if some links are available where I can download tar ball of
 FreeBSD kernek source code.

My suggestion would be to download the latest ISO and install it on
a machine with full source.  Then you will have kernel and everything
to make a FreeBSD including the correct compilers and libraries.

Kernel is really dealt with differently in FreeBSD than in Linux.
Although there is a kernel, it is intimately part of the whole
operating system, not a kernel which someone grabs makes up a separate 
distribution with.   

jerry


 Regards
 ~Korikov
 ___
 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


ipnat port-range

2009-05-13 Thread alexus
i need to redirect bunch of ports, or port-range from outside to my jail

# /etc/rc.d/ipnat reload
/etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
/etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
/etc/ipnat.rules
0 entries flushed from NAT table
2 entries flushed from NAT list
syntax error error at port-range, line 8
# grep port-range /etc/ipnat.rules
rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp
#



-- 
http://alexus.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: Repeatable X lockups

2009-05-13 Thread Jimmie James

Jimmie James wrote:
When using the xv output driver for vlc or mplayer, X will lockup, crash 
instantly, trashing the screen and forcing a reboot
Image of screen corruption: 
http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg


William Bulley wrote:

I have experienced the same problem, but I didn't see any suggestions
or answers to your posting.  Have you had any success yet with this?
Have you tried any other output drivers?  This is something I plan to
try in the next few days.



My system is i386 with Intel 915 graphics on the motherboard.  Xorg 7.4
runs fine.  When I run mplayer from the command line, in an xterm under
open-motif, the X Windows session dies and I am tossed back to the vty.




Halp?  The x11 output driver sucks when trying to watch something full 
screen.


With the latest (in ports) xf86-video-intel-2.7.1, first time with xv it 
was fine, flipped to a console then back to X, and ran mplayer with xv, 
lockup/Xcrash,
ssh'd into my box, and for the hell of it, ran startx, and it worked, I 
was back in X, but the console was still buggered as the picture in the 
link above shows.
I could kill X, but the console was buggered, locked, ssh would allow me 
to restart X as many times as I wished.


All that's in /var/log/messages is  May 13 11:19:35 jimmiejaz kernel: 
pid 65663 (Xorg), uid 0: exited on signal 6
Unfortunatly, Xorg log doesn't have anything, as I restarted X over ssh 
several times, the only thing there, is when trying to startx a lot of 
times, the first attempt can't find any screens with a usable 
configuration, ^c then startx again works just fine.


(WW) intel(0): drmDropMaster failed: Unknown error: -1
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xc5819000 at 0x2884f000
(II) intel(0): [drm] Closed DRM master.



xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600
VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 
306mm x 230mm

   1600x1200  65.0*

vgap...@pci0:0:2:0: class=0x03 card=0x25821043 chip=0x25828086 
rev=0x04 hdr=0x00

vendor = 'Intel Corporation'
device = '82915G/GV/GL, 82910GL Integrated Graphics Device'
class  = display
subclass   = VGA

grep vga /var/run/dmesg.boot
vgapci0: VGA-compatible display port 0x6800-0x6807 mem 
0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at 
device 2.0 on pci0

agp0: Intel 82915G (915G GMCH) SVGA controller on vgapci0
drm0: Intel i915G on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device 
2.1 on pci0

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
vgapci0: VGA-compatible display port 0x6800-0x6807 mem 
0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at 
device 2.0 on pci0

agp0: Intel 82915G (915G GMCH) SVGA controller on vgapci0
drm0: Intel i915G on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device 
2.1 on pci0

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0



--
Over the years I've come to regard you as people I've met.

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


Re: How to compare two arrays by using perl script?

2009-05-13 Thread milk
On Tue, May 12, 2009 at 11:05 AM, Tsu-Fan Cheng tfch...@gmail.com wrote:
 I have two arrays, each has two columns (so its A1, B1 and A2, B2). As
 are the positions while Bs are the values. I need to get the ratio
 between B1 and B2 if their As are the same or close to each other
 within a certain distance.

Well,
You can either compare it by hand or use a module. Use search.cpan.org
to find modules that might be useful. A search for 'Arrays' brought me
Set::Array which as the methods for at, length, intersection, and
union. You can use length and union to find out how many elements in
each array are different. If you want to know how 'close' each A is to
each other, you probably need to compare each element in each
manually.

-- 
milki
___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Sean Cavanaugh

 Date: Wed, 13 May 2009 12:55:52 -0400
 From: jerr...@msu.edu
 To: korikov...@gmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: Welcome to the freebsd-questions mailing list
 
 On Wed, May 13, 2009 at 08:33:44PM +0530, Shakil Khan wrote:
 
  Hi,
  
  Can anyone let me know how can I download FreeBSD kernel source code. I am
  on Linux and am not able to download using CVS. Can someone point me exactly
  and also if some links are available where I can download tar ball of
  FreeBSD kernek source code.
 
 My suggestion would be to download the latest ISO and install it on
 a machine with full source.  Then you will have kernel and everything
 to make a FreeBSD including the correct compilers and libraries.
 
 Kernel is really dealt with differently in FreeBSD than in Linux.
 Although there is a kernel, it is intimately part of the whole
 operating system, not a kernel which someone grabs makes up a separate 
 distribution with.   
 

to piggy-back a little more, FreeBSD is an entire Operating System whereas 
Linux is just a Kernel used to run the GNU Operating system (The true 
nomenclature is GNU/Linux when refering to a Linux based OS).
the GNU project is currently working on writing their own Kernel named Hurd 
based off the mach kernel.
___
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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Gabri Mate
On 19:57 Tue 12 May , Mel Flynn wrote:
 On Sunday 10 May 2009 20:51:48 mailingl...@modernbiztonsag.org wrote:
  Dear List,
 
  I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general
  purpose server for a small company and it's clients, running web, sql, mail
  and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was
  running on it for a year now without any problem. After 30 of April I've
  upgraded to 7.1 (I've followed the handbook) and since then nearly every
  two day the machine becomes unreachable except for echorequest. If i try to
  log in in the terminal it just hangs after i give my password.
 
  I'm out of any ideas. Please feel free to ask any more info that I've
  forgotten to provide. Thank You for your help in advance.
 
 If this is a not a GENERIC kernel, did you change scheduler or stuck with 
 SCHED_4BSD in your kernel?
I've just added PF related stuff, so the scheduler is remained the
default.

 -- 
 Mel
 
 !DSPAM:117,4a09ba6e83011202221441!
 

-- 
Gabri Mate
___
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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Gabri Mate
On 20:51 Sun 10 May , mailingl...@modernbiztonsag.org wrote:
 Dear List,
 
 I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general
 purpose server for a small company and it's clients, running web, sql, mail
 and recursive dns. The machine is a Compaq ML350 G2. Version 7.0 was
 running on it for a year now without any problem. After 30 of April I've
 upgraded to 7.1 (I've followed the handbook) and since then nearly every
 two day the machine becomes unreachable except for echorequest. If i try to
 log in in the terminal it just hangs after i give my password.
 
 I'm out of any ideas. Please feel free to ask any more info that I've
 forgotten to provide. Thank You for your help in advance.

It seems that the problem is related to Squirrelmail, particularly to
the file attaching process. Every time a certain account tries to upload
an attachement the above described happens. I'm absolutely sure that the
problem is not FreeBSD related. Something with Squirrelmail or with the
account is wrong. I'm trying to figure this out.

 
 Here's the dmesg:
 
 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE-p5 #2: Fri Apr 24 18:44:13 CEST 2009
 r...@lildevil.datawlan:/usr/obj/usr/src/sys/FIREWALL
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel Pentium III (996.85-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x686  Stepping = 6
  
 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 536854528 (511 MB)
 avail memory = 511340544 (487 MB)
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 ACPI Warning (tbfadt-0505): Optional field Gpe1Block has zero address or
 length:0   0/2 [20070320]
 acpi0: COMPAQ RACEBAIT on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 unknown: I/O range not supported
 Timecounter ACPI-safe frequency 3579545 Hz quality 850
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x240-0x243 on acpi0
 pcib0: ACPI Host-PCI bridge on acpi0
 pci_link0: apparently invalid index 0
 pci0: ACPI PCI bus on pcib0
 sym0: 1510d port 0x2000-0x20ff mem
 0xc6effc00-0xc6ef,0xc6efe000-0xc6efefff irq 10 at device 1.0 on pci0
 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
 sym0: [ITHREAD]
 sym1: 1510d port 0x2400-0x24ff mem
 0xc6efdc00-0xc6efdfff,0xc6efc000-0xc6efcfff irq 11 at device 1.1 on pci0
 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking
 sym1: [ITHREAD]
 fxp0: Intel 82559 Pro/100 Ethernet port 0x2800-0x283f mem
 0xc6efb000-0xc6efbfff,0xc6d0-0xc6df irq 15 at device 2.0 on pci0
 miibus0: MII bus on fxp0
 inphy0: i82555 10/100 media interface PHY 1 on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:50:8b:ee:d2:d6
 fxp0: [ITHREAD]
 vgapci0: VGA-compatible display port 0x2c00-0x2cff mem
 0xc500-0xc5ff,0xc6cff000-0xc6cf at device 3.0 on pci0
 pci0: base peripheral at device 4.0 (no driver attached)
 isab0: PCI-ISA bridge at device 15.0 on pci0
 isa0: ISA bus on isab0
 atapci0: ServerWorks ROSB4 UDMA33 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 15.1 on pci0
 ata0: ATA channel 0 on atapci0
 ata0: [ITHREAD]
 ata1: ATA channel 1 on atapci0
 ata1: [ITHREAD]
 pcib1: ACPI Host-PCI bridge on acpi0
 pci3: ACPI PCI bus on pcib1
 ida0: Compaq Smart Array 431 controller port 0x4000-0x40ff mem
 0xc6fff000-0xc6ff irq 5 at device 3.0 on pci3
 ida0: [GIANT-LOCKED]
 ida0: [ITHREAD]
 ida0: drives=1 firm_rev=1.22
 idad0: Compaq Logical Drive on ida0
 idad0: 34727MB (71122560 sectors), blocksize=512
 acpi_tz0: Thermal Zone on acpi0
 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 fdc0: floppy drive controller port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FILTER]
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 sio0: Standard PC COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]
 sio1: Standard PC COM port port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 sio1: [FILTER]
 cpu0: ACPI CPU on acpi0
 pmtimer0 on isa0
 orm0: ISA Option ROMs at iomem
 0xc-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xe pnpid
 ORM on isa0
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ppbus0: Parallel port bus on ppc0
 ppbus0: [ITHREAD]
 plip0: PLIP network interface on ppbus0
 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 ppc0: [GIANT-LOCKED]
 ppc0: [ITHREAD]
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300

Re: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.'

2009-05-13 Thread Olivier Mueller
Hi Mel,

On Tue, 2009-05-12 at 17:25 +0200, Mel Flynn wrote:
  I have a strange situation on our internal svn server. Since a few days
  and some upgrades, if I try to access a new created repository via
  apache, I get a blank page and this error in the apache error log:
 
  == /var/log/httpd/httpd-error.log ==
  Fatal error 'Recurse on a private mutex.' at line 986 in file
  /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 86) [Tue May 12
  11:56:02 2009] [notice] child pid 64353 exit signal Abort trap (6)
 
 
  The only difference between both repositories is the db/format file:
 
  diff -r repos/websites/testing/db/format repos/websites/testing2/db/format
  1c1
   4
  ---
 
   3
 
  If format is 3 (subversion pre-1.6), everything works fine, but if
  the format is 4 the DAV/SVN part crashes (while everything remains
  fine via svn client / svnserve).
 
 this is with the same binary? Meaning there's no Berkeley db library 
 differences?

Yes, the only recent change was a portupgrade -rvbp subversion. 

regards,
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: ipnat port-range

2009-05-13 Thread alexus
On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote:
 i need to redirect bunch of ports, or port-range from outside to my jail

 # /etc/rc.d/ipnat reload
 /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
 /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
 /etc/ipnat.rules
 0 entries flushed from NAT table
 2 entries flushed from NAT list
 syntax error error at port-range, line 8
 # grep port-range /etc/ipnat.rules
 rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp
 #



 --
 http://alexus.org/


that rule is wrong to begin with as rdr doesn't work with ranges, i
guess I need to use something else..

anyone done something like that? use ipnat to map range of ports? this
is for ftp PASV

-- 
http://alexus.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


make.conf options based on DESTDIR?

2009-05-13 Thread David Wassman
I have setup several jails that use a master template similar to the advanced 
jail configuration in the handbook. Currently, I build the master jail with 
several build options turned off using a separate make.conf file and setting 
__MAKE_CONF to it.

I was wondering if there is a way to set /etc/make.conf up so that if DESTDIR 
is set to the master jail location, make would use those options but not use 
them during a standard build process with DESTDIR not defined or pointed 
somewhere else.

I have read through the man pages on make and make.conf, and have tried:

.if DESTDIR=/usr/Jail/master
WITHOUT_ACPI=YES
WITHOUT_BOOT=YES
...
.endif

But it does not seem to work correctly. Any ideas if this is possible. Would 
make it easier to rebuild the jail template since I wouldn't need to remember 
to set __MAKE_CONF.

Any help would be appreciated.


David Wassman, MCSA MCP Net+ Security+
Senior Network\System Administrator
Davis, Monk  Company
(800) 344-5034
(352) 372-6300
(352) 375-1583 FAX

The information contained in this electronic message is legally privileged and 
confidential under applicable law, and is intended only for the use of the 
individual or entity named above. If you are not the intended recipient, you 
are hereby notified that any dissemination, copying or disclosure of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify Davis, Monk  Company (352) 372-6300 and delete this 
communication immediately without reading it, making any copies of it or 
distributing it.

P Please keep this email paperless

___
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: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.'

2009-05-13 Thread Daniel Underwood
If you don't find an answer here, I suggest asking this question in
the freebsd-hpc mailing list, because pthreads is a library for c/c++
multithreaded programming, and a mutex is a kind of lock on a
resource used in parallel programming.
___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Duane
On 5/13/09, Shakil Khan korikov...@gmail.com wrote:

 Can anyone let me know how can I download FreeBSD kernel source code.


1. Surf to http://freebsd.org.

2. Notice that there are now two flavors of FreeBSD:

LATEST RELEASES

* Production Release 7.2
* Production (Legacy) Release 6.4

3. Click on 'Documentation' and then 'Handbook'.

4. Scroll down to the table of contents of 'Appendix A. Obtaining
FreeBSD' and review these possibilities. I suggest you try CVSup.
There are CVSup clients available for virtually all Unixen systems,
including Linux.

NB. Now, read carefully the section on CVSup:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

You can grab whatever source you want with this method.

5. RTFM!


-- 
Duane
___
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: Repeatable X lockups

2009-05-13 Thread Paul B. Mahol
On 5/13/09, Jimmie James jimmie...@gmail.com wrote:
 Jimmie James wrote:
 When using the xv output driver for vlc or mplayer, X will lockup, crash
 instantly, trashing the screen and forcing a reboot
 Image of screen corruption:
 http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg

 William Bulley wrote:
I have experienced the same problem, but I didn't see any suggestions
or answers to your posting.  Have you had any success yet with this?
Have you tried any other output drivers?  This is something I plan to
try in the next few days.

My system is i386 with Intel 915 graphics on the motherboard.  Xorg 7.4
runs fine.  When I run mplayer from the command line, in an xterm under
open-motif, the X Windows session dies and I am tossed back to the vty.



 Halp?  The x11 output driver sucks when trying to watch something full
 screen.

 With the latest (in ports) xf86-video-intel-2.7.1, first time with xv it
 was fine, flipped to a console then back to X, and ran mplayer with xv,
 lockup/Xcrash,
 ssh'd into my box, and for the hell of it, ran startx, and it worked, I
 was back in X, but the console was still buggered as the picture in the
 link above shows.
 I could kill X, but the console was buggered, locked, ssh would allow me
 to restart X as many times as I wished.

One thing to note, I dont switch to console while DRI is active
otherwise panic could happen(last time when I tested it with 915GM).

 All that's in /var/log/messages is  May 13 11:19:35 jimmiejaz kernel:
 pid 65663 (Xorg), uid 0: exited on signal 6
 Unfortunatly, Xorg log doesn't have anything, as I restarted X over ssh
 several times, the only thing there, is when trying to startx a lot of
 times, the first attempt can't find any screens with a usable
 configuration, ^c then startx again works just fine.

 (WW) intel(0): drmDropMaster failed: Unknown error: -1
 (II) intel(0): [drm] removed 1 reserved context for kernel
 (II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xc5819000 at 0x2884f000
 (II) intel(0): [drm] Closed DRM master.



 xrandr
 Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600
 VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis)
 306mm x 230mm
 1600x1200  65.0*

 vgap...@pci0:0:2:0: class=0x03 card=0x25821043 chip=0x25828086
 rev=0x04 hdr=0x00
  vendor = 'Intel Corporation'
  device = '82915G/GV/GL, 82910GL Integrated Graphics Device'
  class  = display
  subclass   = VGA

 grep vga /var/run/dmesg.boot
 vgapci0: VGA-compatible display port 0x6800-0x6807 mem
 0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at
 device 2.0 on pci0
 agp0: Intel 82915G (915G GMCH) SVGA controller on vgapci0
 drm0: Intel i915G on vgapci0
 vgapci0: child drm0 requested pci_enable_busmaster
 vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device
 2.1 on pci0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 vgapci0: VGA-compatible display port 0x6800-0x6807 mem
 0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at
 device 2.0 on pci0
 agp0: Intel 82915G (915G GMCH) SVGA controller on vgapci0
 drm0: Intel i915G on vgapci0
 vgapci0: child drm0 requested pci_enable_busmaster
 vgapci1: VGA-compatible display mem 0xcfe0-0xcfe7 at device
 2.1 on pci0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0



 --
 Over the years I've come to regard you as people I've met.

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


That is same corrupted screen output I was experiencing with older server and
mesa. And only when zapping Xorg.

Somehow small change somewhere fixed that problem for me, actually
everything points to some timeing issue.

It's hard to say if this is FreeBSD DRM issue or X11(mesa or server) problem.

I could put console into somehow not perfect but still usable conditon
if I started X11 again using vesa driver.

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


Re: ghostscript8 - errors when compiling from ports

2009-05-13 Thread Jonathan Chen
On Wed, May 13, 2009 at 05:54:09PM +0200, Zbigniew Komarnicki wrote:
 On Wednesday 13 of May 2009 12:08:55 you wrote:
 
  just a guess, looks like a problems with cups-base, try to update it first.
  I recommend ports-mgmt/portmaster.
 
 Thank you for help :-)
 
 I upgraded all my installed ports, by 
 # portmaster -a
 
 but this error still remain. I also reinstall the cups-base port by
 # portmaster -rf print/cups-base
 
 but still with no success. Here is the output:
 

Here's the thing: Ghostscript has a hidden (and apparently broken)
dependency on cups (ie, it's not in the Makefile). If you (forcibly)
deinstall cups-base and cups-client, you will be able to install ghostscript
cleanly. Then when that succeeds, you reinstall cups-client (first) and
then cups-base.

Hope that helps.
-- 
Jonathan Chen j...@chen.org.nz
--
   Do not take life too seriously.
   You will never get out of it alive.
___
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: Disabling ssh timeouts?

2009-05-13 Thread Chad Perrin
On Wed, May 13, 2009 at 08:26:10AM -0700, Steve Kargl wrote:
 
 Also, thanks, everyone for the tip about screen.

Don't forget tmux.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Colin McFadyen: Unix is not an 'a-ha' experience, it is more of a
'holy-shit' experience.


pgpYIUsuSZvfM.pgp
Description: PGP signature


Re: howto sidestep sysinstall during installation

2009-05-13 Thread Saifi Khan
On Mon, 11 May 2009, Vincent Hoffman wrote:
 
   Is there a way to sidestep the sysinstall during the
   installation process, beyond selecting the 'location' ?
  
 
  Since you are using the snapshot DVD you should have the live/fixit
  environment which is very handy for this.
  I would suggest a combination of LOTS of reading and understanding of
  the pages at
  http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2
  (which goes though the steps for partitoning and installing using fdisk
  and bsdlabel, adjust paths to your dvd-rom)

Thanks Vince for the link that was a nice starting point.

Thanks to everybody who chipped in with pointers and help with
learning the various concepts.

Using the Fixit# console (LiveDVD) i could install FreeBSD 200905
snapshot (bypassed the sysinstall). i plan to write an article 
on the experience shortly.

Since then, i've installed the following software:
 . xorg X 7.4 meta port (complete)
 . postgresql 8.3.7
 . apache 2.2.11
 . diablo-jdk 1.6.0
 . opera 9.64
 . dwm
 + many others.

There were two errors/quirks that i noticed.
http://www.flickr.com/photos/saifi/sets/72157618010835543/

 1. crash encountered while running sysinstall from the booted 
up system.
 2. same crash encountered while running 'make fetch' for many 
of the ports. (rather random in occurence).

Anybody encountered this issue ?


thanks
Saifi.
___
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 7.1 as client into EMC Clarlion CX4?

2009-05-13 Thread Len Conrad
EMC says they don't support FreeBSD.

Anybody have recent experience?

Which version of FreBSD? 

Which 4 Gbit fiber-channel cards?

Going into the fiber channel 4 Gb/s optical ports with FCP SCSI-3 protocol?

Going into the Ethernet 1 Gb/s copper ports? ie, FreeBSD/iSCSI Initiator into 
CX4 iSCSI target?

We will have CX4 also fronted with a Cisco 9124.  What about FreeBSD 
connectivity (card/drivers) for talking to 9124? 

thanks,
Len

___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Saifi Khan
On Wed, 13 May 2009, Sean Cavanaugh wrote:

 
 (The true nomenclature is GNU/Linux when refering to a Linux based OS).

Not true. 

Please give us the credit for userland is the line of
reasoning used for the puported TLA prefix ! silly actually.

Please see
http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy


thanks
Saifi.
___
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: /tmp/security on 7.1-Release

2009-05-13 Thread Maciej Suszko
Zbigniew Szalbot z.szal...@lcwords.com wrote:
 Hello,
 
 Ever since upgrading from 7.0-Release to 7.1-Release I get the
 following in the daily security reports:
 
 master.lc-words.com kernel log messages:
 +++ /tmp/security.yMzCQbS82009-05-13 03:01:25.0 +0200
 +re0: watchdog timeout
 +re0: link state changed to DOWN
 +re0: link state changed to UP
 
 It just happens around 3 a.m. each day and so I wonder if I should be
 concerned about it...?
 
 Thank you in advance for your suggestions!

I can bet it's NIC related problem, probably your re0 is sharing IRQ
with something and it's going up/down. The time you see (~3.oo AM) is
the moment periodic works, so it doesn't mean the problem happend then.

I've seen similar problems on cheap PC hardware with integrated NIC
and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout'
on google.

The solution is to replace re with something else - em for example, but
there is no guarantee it's going to work - I had same problems on
crappy hardware with two identical interfaces plugged in (some model of
em - IRRC Intel PRO/1000 GT)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: 7.0 - 7.1 crash every two day

2009-05-13 Thread Maciej Milewski
Wednesday 13 May 2009 19:50:51 Gabri Mate napisał(a):
 It seems that the problem is related to Squirrelmail, particularly to
 the file attaching process. Every time a certain account tries to upload
 an attachement the above described happens. I'm absolutely sure that the
 problem is not FreeBSD related. Something with Squirrelmail or with the
 account is wrong. I'm trying to figure this out.
Is there any chance that you are using lighttpd as your web server?
 
-- 
Regards,
Maciej Milewski
___
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: ghostscript8 - errors when compiling from ports

2009-05-13 Thread Zbigniew Komarnicki
 Here's the thing: Ghostscript has a hidden (and apparently broken)
 dependency on cups (ie, it's not in the Makefile). If you (forcibly)
 deinstall cups-base and cups-client, you will be able to install
 ghostscript cleanly. Then when that succeeds, you reinstall cups-client
 (first) and then cups-base.

 Hope that helps.

Thank you very much :-) 
Now is OK.

Zbigniew

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


Re: How to move vi to /bin

2009-05-13 Thread Mel Flynn
On Wednesday 13 May 2009 11:34:43 Michael Powell wrote:

 Kind of like how those coming over from a
 Linux environment all seem to want to change root's shell to bash, it
 serves no purpose except foot-shooting.

- csh cannot redirect stderr seperately from stdout
- on pipes the exit status from the first command is the exit status of the 
total command
- will not expand matches without a user provided part, for *every* component 
of a path

There's plenty of reasons not to use csh and if you know what you're doing, 
BSD lets you. And no, I don't want to type exec zsh when I'm finally logged 
into the box that has a load of 100+.
-- 
Mel
___
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: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.'

2009-05-13 Thread Mel Flynn
Hi Olivier,

On Wednesday 13 May 2009 19:32:36 Olivier Mueller wrote:

   == /var/log/httpd/httpd-error.log ==
   Fatal error 'Recurse on a private mutex.' at line 986 in file
   /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 86) [Tue May 12
   11:56:02 2009] [notice] child pid 64353 exit signal Abort trap (6)
  
  
   The only difference between both repositories is the db/format file:
  
   diff -r repos/websites/testing/db/format
   repos/websites/testing2/db/format 1c1
4
   ---
  
3
  
   If format is 3 (subversion pre-1.6), everything works fine, but if
   the format is 4 the DAV/SVN part crashes (while everything remains
   fine via svn client / svnserve).
 
  this is with the same binary? Meaning there's no Berkeley db library
  differences?

 Yes, the only recent change was a portupgrade -rvbp subversion.

I'm still thinking there's two different (threading|bdb) libraries linked into 
httpd, but not sure to ask for which ldd...httpd or mod_dav. The db version 
could be a red herring or that only one of the formats requires this mutex .
-- 
Mel
___
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: Reading warnings when installing multiple ports

2009-05-13 Thread Mel Flynn
On Tuesday 12 May 2009 21:04:57 Glen Barber wrote:
 On Tue, May 12, 2009 at 1:53 PM, Mel Flynn

 mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  On Monday 11 May 2009 15:21:24 Jerry McAllister wrote:
  But, I very often wish there was a convenient way to see some of those
  messages and especially messages about things one has to do during
  the install, such as manually installing something or getting some
  license thing handled, before I start the port install.
 
  Sometimes I get a question in the middle of an install that I do not
  know how to answer and it is an awfully inconvenient time to have
  to start scrounging for information.Having a commannd that
  would display all those things and maybe some related information
  or pointers to information for making an intelligent response - before
  starting the make -  would be very helpful.
 
  Do you have specific examples? Cause I can't think of anything that falls
  under your description.

 Perhaps he is talking about the 'make options' output, such as what is
 displayed right before x11-wm/fluxbox begins to build.  That is the
 only type of output I can ever remember seeing before a build begins.

Well, there's would you like to activate postfix in mailer.conf [y/n], but 
that never triggered me to scrounge for info and can be handled by -DBATCH and 
setting POSTFIX_DEFAULT_MTA in /etc/make.conf (or not setting it if you don't 
wanna).
-- 
Mel
___
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: ndis0 interrrupt storm

2009-05-13 Thread Chris Whitehouse

Paul B. Mahol wrote:

On 5/12/09, Chris Whitehouse cwhi...@onetel.com wrote:

Paul B. Mahol wrote:

Just typing bt on db prompt for now should be enough.

panic: sleeping thread
cpuid = 0
KDB: enter: panic
[thread pid 1497 tid 100073 ]
Stopped atkdb_enter+0x3a: movl$0,kdb_why
db bt
Tracing pid 1497 tid 100073 td 0xc356c900
kdb_enter(c0c3d8fa,c0c3d8fa,c0c42726,d4001b68,0,...) at kdb_enter+0x3a
panic(c0c42726,,0,cc,4,...) at panic+0x136
propagate_priority(c0d9df84,0,c0c4249e,2e1,c356d180,...) at
propagate_priority+0x18c
turnstile_wait(c356d180,c37b2240,0,18d,c34fc06c,...) at turnstile_wait+0x44d
_mtx_lock_sleep(c34fc06c,c356c900,0,c38de072,6b4,...) at
mtx_lock_sleep+0x18e
_mtx_lock_flags(c34fc06c,0,c38de072,6b4,c089dc98,...) at mtx_lock_flags+0xf7
ndis_ticktask(c3821700,c34fc000,c37e8e3c,c3916bd0,c38fc6e0,...) at
ndis_ticktask+0x3a
_end(c37e8e3c,d4001d38,c0c39438,333,c37ab548,...) at _end+0x321d
fork_exit(c38fc600,c37e8e3c,d4001d38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0 esp = 0xd4001d70, ebp = 0 ---


Typed by hand but I'm pretty sure it is correct.

Don't know if it is significant but repeating the panic gave quite a few
different values.


Post them too. If only numbers are different and stack is same that
could help even more.


Is photos ok or do you need text?


This is on i386?



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


BGP

2009-05-13 Thread alexus
is there a way to have FreeBSD work as BGP router and/or at least
failover between 2 different ISPs?

-- 
http://alexus.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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Mel Flynn
On Wednesday 13 May 2009 19:46:26 Gabri Mate wrote:
 On 19:57 Tue 12 May , Mel Flynn wrote:
  On Sunday 10 May 2009 20:51:48 mailingl...@modernbiztonsag.org wrote:
   Dear List,
  
   I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general
   purpose server for a small company and it's clients, running web, sql,
   mail and recursive dns. The machine is a Compaq ML350 G2. Version 7.0
   was running on it for a year now without any problem. After 30 of April
   I've upgraded to 7.1 (I've followed the handbook) and since then nearly
   every two day the machine becomes unreachable except for echorequest.
   If i try to log in in the terminal it just hangs after i give my
   password.
  
   I'm out of any ideas. Please feel free to ask any more info that I've
   forgotten to provide. Thank You for your help in advance.
 
  If this is a not a GENERIC kernel, did you change scheduler or stuck with
  SCHED_4BSD in your kernel?

 I've just added PF related stuff, so the scheduler is remained the
 default.

Just FYI: unless you use include GENERIC and added pf, rather then copy 
GENERIC to MYKERNEL, you're running with SCHED_4BSD, the default has changed 
in 7.1.
-- 
Mel
___
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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Sean Cavanaugh

--
From: Saifi Khan saifi.k...@twincling.org
Sent: Wednesday, May 13, 2009 9:04 PM
To: Sean Cavanaugh millenia2...@hotmail.com
Cc: jerr...@msu.edu; korikov...@gmail.com; 
freebsd-questions@freebsd.org

Subject: RE: Welcome to the freebsd-questions mailing list


On Wed, 13 May 2009, Sean Cavanaugh wrote:



(The true nomenclature is GNU/Linux when refering to a Linux based OS).


Not true.

Please give us the credit for userland is the line of
reasoning used for the puported TLA prefix ! silly actually.

Please see
http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy


thanks
Saifi.



based on the wiki page (which we ALL know is NEVER wrong) states that 
GNU/Linux is the correct form and the ONLY reason for calling it just Linux 
is that its easier to say and that's how its known overall in mainstream 
media. There is additional in that it also runs non-GNU based programs such 
as apache, but the base of it all is that Linux by itself is not an OS, just 
a kernel. Debian Illustrates this perfectly as they have done several 
different distros using different Kernels to run GNU userland, including 
FreeBSD ( http://www.debian.org/ports/kfreebsd-gnu/ ), NetBSD, and Hurd.


-Sean 


___
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: BGP

2009-05-13 Thread Kurt Buff
On Wed, May 13, 2009 at 13:27, alexus ale...@gmail.com wrote:
 is there a way to have FreeBSD work as BGP router and/or at least
 failover between 2 different ISPs?

While I have yet to work with either, I know that xorp and quagga will
both do BGP.

Kurt
___
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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Gabri Mate
On 22:29 Wed 13 May , Mel Flynn wrote:
 On Wednesday 13 May 2009 19:46:26 Gabri Mate wrote:
  On 19:57 Tue 12 May , Mel Flynn wrote:
   On Sunday 10 May 2009 20:51:48 mailingl...@modernbiztonsag.org wrote:
Dear List,
   
I've upgraded from source my 7.0-RELEASE to 7.1-RELEASE. It's a general
purpose server for a small company and it's clients, running web, sql,
mail and recursive dns. The machine is a Compaq ML350 G2. Version 7.0
was running on it for a year now without any problem. After 30 of April
I've upgraded to 7.1 (I've followed the handbook) and since then nearly
every two day the machine becomes unreachable except for echorequest.
If i try to log in in the terminal it just hangs after i give my
password.
   
I'm out of any ideas. Please feel free to ask any more info that I've
forgotten to provide. Thank You for your help in advance.
  
   If this is a not a GENERIC kernel, did you change scheduler or stuck with
   SCHED_4BSD in your kernel?
 
  I've just added PF related stuff, so the scheduler is remained the
  default.
 
 Just FYI: unless you use include GENERIC and added pf, rather then copy 
 GENERIC to MYKERNEL, you're running with SCHED_4BSD, the default has changed 
 in 7.1.
Hm, You've got the point. I've just copied over the kernel config from
7.0 to 7.1, made a diff with GENERIC but somehow I've missed the
scheduler change. I'm building a new kernel now.

Could this be related with the Squirrelmail problem I've posted earlier?

 -- 
 Mel
 
 !DSPAM:117,4a0b2dc183011557416561!
 

-- 
Gabri Mate
___
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.0 i386 200905 snapshot DVD does not boot

2009-05-13 Thread George Neville-Neil


On May 10, 2009, at 15:45 , Saifi Khan wrote:


Hi all:

The FreeBSD 8.0 i386 200905 snapshot DVD does not boot up.

I'm on a normal Celeron 1.6GHz Presario C300TU laptop
with 160GB HDD and 2GB DDR2 RAM.

The system just whirrs up the DVD drive, the LEDs blink for a few
moments and then the installed FreeBSD 7.1 screen is presented.

I tested the DVD drive by putting in the old FreeBSD 7.1 DVD and
it works fine.

As an additional investigation i wrote another DVD with -J -R
flags (unnecessary though in my opinion) and even this DVD does
not get booted up.

The first thing i did was do a md5sum on the downloaded .ISO
image and that is fine.

Has anybody tried FreeBSD 8.0 i386 200905 DVD and could get it
to boot ? Is there something that i'm missing here ?
Any pointers are appreciated.




Hi,

I believe I had a similar problem, though I don't know how
the DVD image was burned as it was handed to me by a friend.
I was trying to install the amd64 8.0 image for 200905
and during boot my laptop, a Thinkpad X60 (T7200 Core Duo)
would simply freeze up.  I was able to install by burning
a CDROM image of the first iso.  The CDROM installed fine
and that system is now up and running.

Best,
George

___
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: BGP

2009-05-13 Thread Michael K. Smith - Adhost
 
 is there a way to have FreeBSD work as BGP router and/or at least
 failover between 2 different ISPs?
 
I, as some random guy on the Internet, would recommend Quagga and, yes, it will 
work with 2+ ISP's on single device (server).  It's well established and in use 
for transit-facing Internet connections.

Regards,

Mike
___
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: BGP

2009-05-13 Thread Wojciech Puchar

look at ports index there are BGP deamons
On Wed, 13 May 2009, alexus wrote:


is there a way to have FreeBSD work as BGP router and/or at least
failover between 2 different ISPs?

--
http://alexus.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



___
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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Gabri Mate
On 23:59 Wed 13 May , Maciej Milewski wrote:
 Wednesday 13 May 2009 23:15:46 napisałeś(-łaś):
  On 22:04 Wed 13 May , Maciej Milewski wrote:
   Wednesday 13 May 2009 19:50:51 Gabri Mate napisał(a):
It seems that the problem is related to Squirrelmail, particularly to
the file attaching process. Every time a certain account tries to
upload an attachement the above described happens. I'm absolutely sure
that the problem is not FreeBSD related. Something with Squirrelmail or
with the account is wrong. I'm trying to figure this out.
  
   Is there any chance that you are using lighttpd as your web server?
 
  You bet! I'm using the latest one from ports. I've turned off file
  uploading in php to see what happens in the coming days. Is there
  something with lighttpd regarding this problem?
 
  Thank You!
 :)
 You should set this in lighttpd.conf: 
 server.network-backend = write
 I don't have right now link for info why this should be set this way but if 
 memory serves me right it is specific for FreeBSD because of problem with 
 sendfile working differently or not working at all. You should find some info 
 on lighttpd bugs page.

I'll search for it.
It was set to freebsd-sendfile, and I've changed it as You've
suggested.

Thank You for the information!

 
 -- 
 Pozdrawiam,
 Maciej Milewski
 
 
 !DSPAM:117,4a0b42ba83011575916308!

-- 
Gabri Mate
___
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: 7.0 - 7.1 crash every two day

2009-05-13 Thread Gabri Mate
On 23:59 Wed 13 May , Maciej Milewski wrote:
 Wednesday 13 May 2009 23:15:46 napisałeś(-łaś):
  On 22:04 Wed 13 May , Maciej Milewski wrote:
   Wednesday 13 May 2009 19:50:51 Gabri Mate napisał(a):
It seems that the problem is related to Squirrelmail, particularly to
the file attaching process. Every time a certain account tries to
upload an attachement the above described happens. I'm absolutely sure
that the problem is not FreeBSD related. Something with Squirrelmail or
with the account is wrong. I'm trying to figure this out.
  
   Is there any chance that you are using lighttpd as your web server?
 
  You bet! I'm using the latest one from ports. I've turned off file
  uploading in php to see what happens in the coming days. Is there
  something with lighttpd regarding this problem?
 
  Thank You!
 :)
 You should set this in lighttpd.conf: 
 server.network-backend = write
 I don't have right now link for info why this should be set this way but if 
 memory serves me right it is specific for FreeBSD because of problem with 
 sendfile working differently or not working at all. You should find some info 
 on lighttpd bugs page.
I've found this link describing exactly what i was experiencing. 

http://lists.freebsd.org/pipermail/freebsd-questions/2008-September/182872.html

I hope that the problem will go away. :)

 
 -- 
 Pozdrawiam,
 Maciej Milewski
 
 
 !DSPAM:117,4a0b42ba83011575916308!

-- 
Gabri Mate
___
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: Reformatting external harddrive

2009-05-13 Thread Polytropon
On Tue, 12 May 2009 22:04:35 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 According to the newfs manpages, you can specify a filesystem type
 (-O) and a disktype (-T) for backward compatibility. It further
 appears that -O can only designate either UFS1 or UFS2.  I don't quite
 know what the -T option designates; i.e., back compatible with what?

The -O 2 (default) would be the best solution I think. UFS2 is the
standard in FreeBSD.

And yes, I forgot to mention this: After formatting the drive, you
will surely want to enable soft updates. Use the command

# tunefs -n enable /dev/da0

to do this. Refer to man tunefs for more information, for example
if you wish to set minfree to another than the default value, or
the optimization for either space or time.

The -T disktype is mentioned in /usr/src/sbin/newfs/newfs.c line 388
cont. and of course in the getopt() selector at the beginning of the
newfs program.



 (I ask about the -O and -T options becase I would like to use this
 harddrive on both my FreeBSD and my linux machine.)

I'm not sure if Linux is able to use UFS... (I don't use Linux, so
I really can't tell.).



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


Re: How to move vi to /bin

2009-05-13 Thread Polytropon
On Wed, 13 May 2009 05:34:43 -0400, Michael Powell nightre...@verizon.net 
wrote:
 Yes - use the /rescue/vi as it has been statically compiled so it does not
 rely on dynamic libraries which may not be available. The purpose here is 
 have a fallback position for repairing a damage/problem which may prevent a
 successful mount of /usr.

In addition, you eventually want to do something about the termcap
files that - at least I think - vi needs to run in a usable manner.
The default is /etc/termcap@ - /usr/share/misc/termcap - and in a
worst case scenario /usr is out of reach. You can copy the file
/usr/share/misc/termcap to /etc, run cap_mkdb /etc/termcap and
then have /etc/termcap and /etc/termcap.db, which you can then
symlink to /usr/share/misc/termcap and /usr/share/misc/termcap.db
again. But note that this might lead to interferences with the
freebsd-update tool as well as with the canonical way of updating
the system through make update and make build/install kernel/world.






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


Re: BGP

2009-05-13 Thread Steve Bertrand
Michael K. Smith - Adhost wrote:
 is there a way to have FreeBSD work as BGP router and/or at least
 failover between 2 different ISPs?

 I, as some random guy on the Internet, would recommend Quagga and, yes, it 
 will work with 2+ ISP's on single device (server).  It's well established and 
 in use for transit-facing Internet connections.

I, also as some random guy on the Internet, concur with Mike.

I've got numerous FreeBSD/Quagga boxes that have dozens of BGP sessions,
peering and transit.

The primary reason I chose Quagga was it's similarity with Cisco in
regards to the CLI (and it works with RANCID).

If you want true failover between two ISPs, you want BGP.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Keyboard not working in gnome?

2009-05-13 Thread Christopher Arnold


Hi,

i'm currently debugging why my keyboard is not working in gnome, so i 
thought i might throw out a quick question here if someone else have run 
into this?


Details:
Im running 7.1-STABLE.

It's a logitech wireless keyboard and mouse (connected with USB) that have 
been woriking for a couple of years. (Actually i'm writing on it now, but 
in a vty) Suddenly in the middle of a session everything hung, so i 
rebooted.


Now i managed to login (That is it works in gdm!) but when i open a xterm 
or any other program it does not work. (as in no keys work not even caps 
lock) The mouse works perfectly. And since the mouse works i can use the 
GUI to logout and back in gdm keyboard works again...


My first thought was that i might have rebuilt some port affecting this, 
so currently i'm rebuilding X11 and gnome.


Have anyone else run into this?
Any hints on what might be wrong?

/Chris
___
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


Errors Installing ca_root_nss Port

2009-05-13 Thread Drew Tomlinson
I'm using FBSD 6x.  It's been a while since I upgraded ports.  One of 
the ports to upgrade is curl from 7.18.0 to 7.19.4.  It wants to pull in 
security/ca_root_nss.  This port gets a bunch of errors when attempting 
to install.  Here is an example:


Error configuring OpenSSL
40358:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd 
name:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_ctrl.c:318:
40358:error:0E07406D:configuration file 
routines:CONF_modules_load:module initialization 
error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_mod.c:234:module=engines, 
value=openssl_engines, retcode=-1


I had been using openssl from the base system but tried installing from 
ports (0.9.8k) to see if it helped.  It did not.  Should I leave or 
remove openssl from ports?  If I leave it, is there anything I need to 
do so it does not conflict with the base system?


And regarding ca_root_nss, what must I do to get that installed?

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

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


scrotwm can't find bsd.prog.mk

2009-05-13 Thread Saifi Khan
Hi:

Trying to compile scrotwm (from OpenBSD ports)
http://www.peereboom.us/scrotwm/html/scrotwm.html
on my FreeBSD 8.x 200905 i386  system.

and make can't find 
 .include bsd.prog.mk
 .include bsd.xorg.mk

The directory /usr/ports/Mk/ has bsd.xorg.mk file but not
bsd.prog.mk

Is there a work around ?


thanks
Saifi.
___
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


Opera: X Shared memory extension is not available. ZPixmap not supported

2009-05-13 Thread Saifi Khan
Hi all:

Running Opera 9.64 on X.org 7.4 leads to freeze ups in Opera.

The error reported is
Opera: X Shared memory extension is not available. ZPixmap not
supported

My system is  Intel CeleronM 1.6GHz, Intel 945GM mobo.

Some of the blogs seem to suggest that the new driver shipped
has fixed the issue. Does anybody know ? Is there a recommended
work around ?


thanks
Saifi.
___
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: Wake-on-LAN support in FreeBSD?

2009-05-13 Thread Tim Judd
On Wed, May 13, 2009 at 5:47 AM, Ruben de Groot mai...@bzerk.org wrote:

 On Tue, May 12, 2009 at 06:36:31AM -0700, Peter Steele typed:
   FUD, read ifconfig(8)
 
  There is no mention of wake-on-LAN in the man page for ifconfig in 7.0.
 I'd be interested in seeing if the 8.0 man page has added anything.

 It has:

 wol, wol_ucast, wol_mcast, wol_magic
 Enable Wake On Lan (WOL) support, if available.  WOL is a
 facil-
 ity whereby a machine in a low power state may be woken in
 response to a received packet.  There are three types of
 packets
 that may wake a system: ucast (directed solely to the machine's
 mac address), mcast (directed to a broadcast or multicast
 address), or magic (unicast or multicast frames with a ``magic
 contents'').  Not all devices support WOL, those that do
 indicate
 the mechanisms they support in their capabilities.  wol is a
 syn-
 onym for enabling all available WOL mechanisms.  To disable WOL
 use -wol.

 Ruben


I just noticed my 7.2-R i386 PC-Engines ALIX2 board with vr devices show up
(WOL_UCAST,WOL_MAGIC) in the ifconfig listing.  Seems they're making some of
it available in 7.2-RELEASE


I'll have to test/try this out, I'm glad I'm starting to see it happen.


Thought you'd all like to 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: Welcome to the freebsd-questions mailing list

2009-05-13 Thread Saifi Khan
On Wed, 13 May 2009, Sean Cavanaugh wrote:

 --
 From: Saifi Khan saifi.k...@twincling.org
 Sent: Wednesday, May 13, 2009 9:04 PM
 To: Sean Cavanaugh millenia2...@hotmail.com
 Cc: jerr...@msu.edu; korikov...@gmail.com; freebsd-questions@freebsd.org
 Subject: RE: Welcome to the freebsd-questions mailing list
 
  On Wed, 13 May 2009, Sean Cavanaugh wrote:
 
  
   (The true nomenclature is GNU/Linux when refering to a Linux based OS).
 
  Not true.
 
  Please see
  http://en.wikipedia.org/wiki/GNU/Linux_naming_controversy
 
 
  thanks
  Saifi.
 
 
 based on the wiki page (which we ALL know is NEVER wrong) states that
 GNU/Linux is the correct form and the ONLY reason for calling it just Linux is
 that its easier to say and that's how its known overall in mainstream media.


based on Linus Torvalds (which we ALL know is RIGHT) states that

when asked if the name GNU/Linux was justified:

Well, I think it's justified, but it's justified if you
actually make a GNU distribution of Linux ... the same way
that I think that Red Hat Linux is fine, or SuSE Linux
or Debian Linux, because if you actually make your own
distribution of Linux, you get to name the thing, but
calling Linux in general GNU Linux i
I think is just ridiculous.

(G)ot (N)othing (U)nique takes years since 1989 for http://is.gd/zGZh


Hope this helps.

thanks
Saifi.

___
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: scrotwm can't find bsd.prog.mk

2009-05-13 Thread Polytropon
On Thu, 14 May 2009 08:54:43 + (GMT), Saifi Khan saifi.k...@twincling.org 
wrote:
 The directory /usr/ports/Mk/ has bsd.xorg.mk file but not
 bsd.prog.mk

Seems to be completely normal

% cd /usr/ports/Mk
% ls
bsd.apache.mkbsd.kde.mk   bsd.port.post.mk
bsd.autotools.mk bsd.kde4.mk  bsd.port.pre.mk
bsd.cmake.mk bsd.ldap.mk  bsd.port.subdir.mk
bsd.commands.mk  bsd.linux-apps.mkbsd.python.mk
bsd.database.mk  bsd.linux-rpm.mk bsd.qt.mk
bsd.destdir.mk   bsd.local.mk bsd.ruby.mk
bsd.efl.mk   bsd.lua.mk   bsd.scons.mk
bsd.emacs.mk bsd.mail.mk  bsd.sdl.mk
bsd.fpc.mk   bsd.ocaml.mk bsd.sites.mk
bsd.gcc.mk   bsd.octave.mkbsd.tcl.mk
bsd.gecko.mk bsd.openssl.mk   bsd.wx.mk
bsd.gnome.mk bsd.perl.mk  bsd.xfce.mk
bsd.gnustep.mk   bsd.php.mk   bsd.xorg.mk
bsd.gstreamer.mk bsd.port.mk
bsd.java.mk  bsd.port.options.mk



 Is there a work around ?

Yes, there is some work around. :-) Maybe you can pull the file
needed from some other location on your system:

% locate bsd.prog.mk
/usr/share/mk/bsd.prog.mk
/usr/src/share/mk/bsd.prog.mk
/usr/src/tools/build/mk/bsd.prog.mk

As far as I know, FreeBSD keeps its .mk files in /usr/share/mk/,
evem for tjhe ports system.

% ls
bsd.README   bsd.kmod.mk  bsd.port.post.mk
bsd.compat.mkbsd.lib.mk   bsd.port.pre.mk
bsd.cpu.mk   bsd.libnames.mk  bsd.port.subdir.mk
bsd.dep.mk   bsd.links.mk bsd.prog.mk
bsd.doc.mk   bsd.man.mk   bsd.snmpmod.mk
bsd.endian.mkbsd.nls.mk   bsd.subdir.mk
bsd.files.mk bsd.obj.mk   bsd.symver.mk
bsd.incs.mk  bsd.own.mk   bsd.sys.mk
bsd.info.mk  bsd.port.mk  sys.mk
bsd.init.mk  bsd.port.options.mk  version_gen.awk

If they aren't there (maybe due to a defective install / upgrade procedure),
you can get them from the source tree.

# cd /usr/src/share/mk
# make install




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


Re: source for sysinstall

2009-05-13 Thread Martin Alejandro Paredes Sanchez
El Dom 03 May 2009, Fbsd1 escribió:
 How can i just download the source for sysinstall?
 ___
 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


If you had the source installed

[mar...@morena] ~ whereis sysinstall
sysinstall: /usr/sbin/sysinstall 
/usr/share/man/en.ISO8859-1/man8/sysinstall.8.gz /usr/src/usr.sbin/sysinstall

The last answer /usr/src/usr.sbin/sysinstall point to the source

maps
___
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: ipnat port-range

2009-05-13 Thread Odhiambo ワシントン
On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote:

 On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote:
  i need to redirect bunch of ports, or port-range from outside to my jail
 
  # /etc/rc.d/ipnat reload
  /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES.
  /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f
  /etc/ipnat.rules
  0 entries flushed from NAT table
  2 entries flushed from NAT list
  syntax error error at port-range, line 8
  # grep port-range /etc/ipnat.rules
  rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp
  #
 
 
 
  --
  http://alexus.org/
 

 that rule is wrong to begin with as rdr doesn't work with ranges, i
 guess I need to use something else..

 anyone done something like that? use ipnat to map range of ports? this
 is for ftp PASV


Looks like it's time to convert your rules into PF then start using PF.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
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