Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0 SOLVED

2008-06-18 Thread Iv Ray

Iv Ray wrote:

Hello all,

I have the following configuration -

FreeBSD 6.2 (minimal install)
Running in VMware 6.x
Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM)

supfile-stable is edited just with the domain (cvs.at) and the version 
(6_3 or 7_0).


csup with this supfile runs for some time, then the virtual machine 
freezes and the host shows 100% CPU use. After restarting the 6.2 host 
2-3 times and csup again, eventually csup completes.


Could somebody advice me what might be going wrong?

Thank you,
Iv

--


The virtual machine had 2 CPUs. After switching it to one CPU all works OK.

Iv



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


Re: internet slowdown

2008-06-18 Thread Jonathan Chen
On Tue, Jun 17, 2008 at 10:05:14PM -0700, prad wrote:
 On Mon, 16 Jun 2008 08:23:32 -0400
 Bill Moran [EMAIL PROTECTED] wrote:
 
  Is the console responsive when this happens?
 
 when it bogs it takes ages to even ssh into the server.

You do realise that this particular symptom usually points to reverse-lookup
errors. I would examine your DNS server logs.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vsftpd rotate logs with newsyslog...

2008-06-18 Thread Ruben de Groot

Hi Agustin,

On Tue, Jun 17, 2008 at 03:52:55PM -0300, Agus typed:
 Hi fellows...
 
 I am wanting to rotate logs for vsftpd using newsyslog...My question is,
 does vsftpd needs to get the HUP or any signal after rotation?
 I run it from inetd so i guess the HUP should be sent to inetd.pid right?

No, when run from inetd, no HUP is needed. New instances of vsftpd spawned 
by inetd will automatically log to the new logfile.

 Well, i take this opportunity also to ask about Apache toowhich signal
 should i send?

A HUP signal should work for apache.

regards,
Ruben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vsftpd rotate logs with newsyslog...

2008-06-18 Thread Valerio Daelli
 Well, i take this opportunity also to ask about Apache toowhich signal
 should i send?

 A HUP signal should work for apache.


For Apache you may find useful rotatelogs. It should come with port.
Bye

Valerio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyboard repetition under X11

2008-06-18 Thread alt127
hi,

maybe you should give kbdcontrol a try

you could also pass the values in /etc/rc.conf as

keyrate=delay.repeat 

Chris wrote:

 Hi all,

 this is probably a silly question, but I can't find
 what I'm doing wrong, so I need help.
 I just re-installed my FreeBSD box from 6.0 to 7.0 and
 suddenly I can't get my keyboard to repeat when
 keeping a key pressed, which has always worked
 immediately on all my previous installs.

 This is what I have in my xorg.conf (added last line
 just to try to force repeat)
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  CoreKeyBoard
 Option  XkbRules xorg
 Option  XkbModel pc105
 Option  XkbLayout se
 Option  AutoRepeat 400 30
 EndSection

 xset q tells me the following:
   Keyboard Control:
 auto repeat:  onkey click percent:  0LED
 mask:  
 auto repeat delay:  660repeat rate:  25
 auto repeating keys:  00ffdbbf
   fadfffdfffdfe5ef
   
   
 bell percent:  50bell pitch:  400bell
 duration:  100

 So, as far as I understand, I should have repetition
 enabled, but the keyboard isn't responding as
 expected. It's not a hardware problem as it still
 works on an older FreeBSD machine. The keyboard in
 question is a cheap USB keyboard identified as follows
 in dmesg in case that is any help:
 ukbd0: Ezkey Ezkey USB Keyboard, class 0/0, rev
 1.10/1.00, addr 4 on uhub5

 Any help appreciated, as I suspect I've done some
 really basic stupidity, but I can't see it.

 BR,
   Chris




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

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


Re: internet slowdown

2008-06-18 Thread Bill Moran
In response to Jonathan Chen [EMAIL PROTECTED]:

 On Tue, Jun 17, 2008 at 10:05:14PM -0700, prad wrote:
  On Mon, 16 Jun 2008 08:23:32 -0400
  Bill Moran [EMAIL PROTECTED] wrote:
  
   Is the console responsive when this happens?
  
  when it bogs it takes ages to even ssh into the server.
 
 You do realise that this particular symptom usually points to reverse-lookup
 errors. I would examine your DNS server logs.

It could be, but it depends.  I've also seen this problem as a result
of high load and sshd taking a long time to spawn a child process
because of the load.

Prad, once you _are_ logged in, is the server responsive?  Or does the
sluggishness persist?

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I list what CPU core is on what package?

2008-06-18 Thread Alexander Sack
Hi Everybody:

Simple question, if I want to know if a cpu X is on a particular
package is there an easy way to list this?  Normally my understanding
is on most machines, every other LAPIC id is on the same package.  So
0,2,4,6 would be on one package and 1,3,5,7 would be on another (say
in a 2-way quad-core) and I am assuming (I haven't checked source)
that the OS lists them in LAPIC order.

Thanks!

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sockets stuck in CLOSED state...

2008-06-18 Thread Ali Niknam

Dear All,

Recently i've been upgrading some of my machines from FreeBSD 6.x amd64 
to FreeBSD 7.0 amd64.


After upgrading I noticed a weird error/bug. It seems that after several 
thousand TCP connections some seem to hang in 'CLOSED' state.


netstat -n gives:
...
tcp4  0   0  1.2.3.4.*  4.5.6.7.42149   CLOSED
tcp4  39  0  1.2.3.4.*  4.5.6.7.54103   CLOSED
tcp4  35  0  1.2.3.4.*  4.5.6.7.41718   CLOSED
tcp4  38  0  1.2.3.4.*  4.5.6.7.55618   CLOSED
tcp4  41  0  1.2.3.4.*  4.5.6.7.44230   CLOSED
tcp4  39  0  1.2.3.4.*  4.5.6.7.49439   CLOSED
...

These never go away; they gradually increase and increase until the 
application starts giving errors (probably because some socket or 
filedescriptor limit is reached). When the application is killed these 
entries disappear.


The application in question is a self written DNS server, multithreaded, 
and running fine for years without any troubles on both BSD 5.x as well 
as 6.x. Also 32bits as well as 64bits on 6.x.


Ofcourse that doesn't mean that the application is error free, however, 
after doing extensive testing I really can not find anything wrong with 
the application itself, so I'm thinking maybe there's a change somewhere 
that causes this? I know that tcp/network has been completely redone...


What basically happens in the application is this:
 - one main tcp thread runs an infinite while loop waiting for new 
connections to arrive
 - as soon as one arrives a new thread is spawned that handles the 
newly created stream

 - it reads some bytes, writes some bytes, then closes it
 - thread exits

What appears to happen is this: after the new thread is spawned it tries 
to read 2 bytes (DNS tcp length information). It gets back 0 bytes (EOF) 
and therefore closes the sockets and calls pthread_exit. However in 
netstat that same stream oftenly appears to have bytes 'stuck' in the in 
queue...


I really can't see how this can cause hanging sockets in 'CLOSED' state. 
Even if the incoming queue isnt read entirely a call to close should 
close it. Also I really can't find any documentation in netstat, or 
elsewhere, about the 'CLOSED' state...



Any help would greatly be appreciated!


Kind Regards,


Ali Niknam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sockets stuck in CLOSED state...

2008-06-18 Thread Wojciech Puchar

...
tcp4  0   0  1.2.3.4.*  4.5.6.7.42149   CLOSED
tcp4  39  0  1.2.3.4.*  4.5.6.7.54103   CLOSED
tcp4  35  0  1.2.3.4.*  4.5.6.7.41718   CLOSED
tcp4  38  0  1.2.3.4.*  4.5.6.7.55618   CLOSED
tcp4  41  0  1.2.3.4.*  4.5.6.7.44230   CLOSED
tcp4  39  0  1.2.3.4.*  4.5.6.7.49439   CLOSED
...

These never go away; they gradually increase and increase until the 
application starts giving errors (probably because some socket or 
filedescriptor limit is reached). When the application is killed these 
entries disappear.


The application in question is a self written DNS server, multithreaded, and 
running fine for years without any troubles on both BSD 5.x as well as 6.x. 
Also 32bits as well as 64bits on 6.x.


do stupid thing - in your source add

#define socket TEST_SOCKET
#define connect TEST_CONNECT
#define bind TEST_BIND
#define listen TEST_LISTEN
all other network functions you use same way here!


and write one .c program where all these TEST_* functions are defined, 
doing the same as  original PLUS logging to file.


after a while (when you see this closed/unclosed connections) stop it and 
look at logs.



i'm almost sure you will notice where is a problem.

possibly threads implementation changed...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vsftpd rotate logs with newsyslog...

2008-06-18 Thread David Robillard
 Well, i take this opportunity also to ask about Apache toowhich signal
 should i send?

 A HUP signal should work for apache.

Actually, the Apache documentation says that one must use USR1 instead
of HUP to send a gracefull restart instead of a hangup.
This is to let the children httpd processes some time to finish their
transactions before the master restarts. It is also for this reason
that the logs should not be compressed by newsyslogd.

This is what we use in newsyslog.conf(5) for our Apache servers:

/var/log/httpd/access.log640 5 1024 * B
/var/run/httpd.pid 30
/var/log/httpd/error.log640 5 1024 * B
/var/run/httpd.pid 30
/var/log/httpd/ssl.log  640 5 1024 * B
/var/run/httpd.pid 30

Of course, your log file names will vary according to your preferences
and VirtualHosts.

HTH,

David
-- 
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keyboard repetition under X11

2008-06-18 Thread Chris
Hi,

thanks, but unfortunately that didn't help, since the
problem is confined to X.

What did work, though, is that I added:
   xset r rate 500 20
in my .xinitrc

So I suspect that there's some bug in this version of
Xorg w.r.t. AutoRepeat and this keyboard type (since
it has worked immediately on older Xorg versions), but
the above seems to be a good-enough workaround for me.

/Chris


--- alt127 [EMAIL PROTECTED] wrote:

 hi,
 
 maybe you should give kbdcontrol a try
 
 you could also pass the values in /etc/rc.conf as
 
 keyrate=delay.repeat 
 
 Chris wrote:
 
  Hi all,
 
  this is probably a silly question, but I can't
 find
  what I'm doing wrong, so I need help.
  I just re-installed my FreeBSD box from 6.0 to 7.0
 and
  suddenly I can't get my keyboard to repeat when
  keeping a key pressed, which has always worked
  immediately on all my previous installs.
 
  This is what I have in my xorg.conf (added last
 line
  just to try to force repeat)
  Section InputDevice
  Identifier  Keyboard0
  Driver  kbd
  Option  CoreKeyBoard
  Option  XkbRules xorg
  Option  XkbModel pc105
  Option  XkbLayout se
  Option  AutoRepeat 400 30
  EndSection
 
  xset q tells me the following:
Keyboard Control:
  auto repeat:  onkey click percent:  0   
 LED
  mask:  
  auto repeat delay:  660repeat rate:  25
  auto repeating keys:  00ffdbbf
fadfffdfffdfe5ef


  bell percent:  50bell pitch:  400bell
  duration:  100
 
  So, as far as I understand, I should have
 repetition
  enabled, but the keyboard isn't responding as
  expected. It's not a hardware problem as it still
  works on an older FreeBSD machine. The keyboard in
  question is a cheap USB keyboard identified as
 follows
  in dmesg in case that is any help:
  ukbd0: Ezkey Ezkey USB Keyboard, class 0/0, rev
  1.10/1.00, addr 4 on uhub5
 
  Any help appreciated, as I suspect I've done some
  really basic stupidity, but I can't see it.
 
  BR,
Chris
 
 
 
 

  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



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


Re: Sockets stuck in CLOSED state...

2008-06-18 Thread Ali Niknam

Wojciech Puchar wrote:

 #define socket TEST_SOCKET
...
 and write one .c program where all these TEST_* functions are defined,
 doing the same as  original PLUS logging to file.

 after a while (when you see this closed/unclosed connections) stop it
 and look at logs.


Thank you for the suggestions. I had considered that myself, however the 
server is doing about 300 DNS queries per second, so that's not easy to 
log. And even if it is logged you have sooo much information that it's 
nearly impossible to comprehend it.


The thing is that the problem does not occur always; the same ip can 
connect and do queries for thousands of times before 1 connection gets 
stuck.


To give you an idea: after about 24 hours (so that's about 26 million 
queries) I get about 10 stuck connections.


 i'm almost sure you will notice where is a problem.
 possibly threads implementation changed...


I can imagine; still, as far as I know, it should not be possible to be 
stuck in CLOSED...

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


hw.snd.pcm0.vchans does not exist under 7.0-release

2008-06-18 Thread Aline de Freitas
Hi everyone!

In the 6.x series we could set hw.snd.pcm.vchans to 4 in order to have four 
sound virtual channels. But under 7.0 it does not exist.

I've found dev.pcm.0.play.vchans which I did set to 4 but still I have 
only /dev/dsp0.0. Does anyone knows how to deal with it under 7.x series?

Thanks,
-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


signature.asc
Description: This is a digitally signed message part.


df: negative Used and Capacity -- file system corruption?

2008-06-18 Thread Mark B.
Hi,

FreeBSD 7, AMD64.

$ df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/da0s1d2.9G-67M2.7G-2%/var/www

$ mount
/dev/da0s1d on /var/www (ufs, local, soft-updates)
$

I found an email thread from 2006 where Suleiman Souhlal says the
culprit was a stale cylinder group [1].

Any ideas on what's going on?  I'm concerned there is a hardware problem.

The only hardware messages I've ever seen are:  ciss0: *** SCSI bus
speed downshifted, SCSI port 2, and I got that message only twice
twice in over six months.

There was a bug report [2], but it was closed after telling user to
fsck -f.  (Which I will do tomorrow morning.)

Thanks,

m

[1] http://marc.info/?l=freebsd-stablem=111837454806848w=2
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=92432cat=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hw.snd.pcm0.vchans does not exist under 7.0-release

2008-06-18 Thread Yuri Pankov

On 6/18/2008 9:49 PM, Aline de Freitas wrote:

Hi everyone!

In the 6.x series we could set hw.snd.pcm.vchans to 4 in order to have four
sound virtual channels. But under 7.0 it does not exist.

I've found dev.pcm.0.play.vchans which I did set to 4 but still I have
only /dev/dsp0.0. Does anyone knows how to deal with it under 7.x series?

Thanks,


Sorry for RTFM-style answer, but please read pcm(4) manpage :). Quote:

dev.pcm.%d.[play|rec].vchans
   The current number of VCHANs allocated
   per device.  This can be set to preal-
   locate a certain number of VCHANs.
   Setting this value to ``0'' will dis-
   able VCHANs for this device.

20061126 entry in /usr/src/UPDATING also mentions this change.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Wireless problems using an AP connected to router

2008-06-18 Thread David Gurvich
Hello,

I am using freebsd7 on a thinkpad T23 laptop and the ipw driver for
the intel 2100 mini-pci card.  The 7.0 ipw driver works vs. not working
in 6.x . My network consists of an AP+WPA-router+DHCP+DNS-DSL modem.
I have setup wpa_supplicant correctly and everything works. An issue
arises where I need to reassociate occasionally.

If I connect directly to the router, my connection is fine.  If I
connect to the access point, the connection is fine initially then
fails to resolve names and loses the router/gateway.  The odd thing is
that I still have a good connection to the access point (tested with
ping) but no connection to the router (also tested with ping).  If I use
'wpa_cli reassociate' everything starts working again.

What tools are available to help diagnose this issue and what is the
issue?

-- 
Thank you,
David Gurvich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless problems using an AP connected to router

2008-06-18 Thread Alexander Sack
On Wed, Jun 18, 2008 at 1:20 PM, David Gurvich
[EMAIL PROTECTED] wrote:
 Hello,

 I am using freebsd7 on a thinkpad T23 laptop and the ipw driver for
 the intel 2100 mini-pci card.  The 7.0 ipw driver works vs. not working
 in 6.x . My network consists of an AP+WPA-router+DHCP+DNS-DSL modem.
 I have setup wpa_supplicant correctly and everything works. An issue
 arises where I need to reassociate occasionally.

 If I connect directly to the router, my connection is fine.  If I
 connect to the access point, the connection is fine initially then
 fails to resolve names and loses the router/gateway.  The odd thing is
 that I still have a good connection to the access point (tested with
 ping) but no connection to the router (also tested with ping).  If I use
 'wpa_cli reassociate' everything starts working again.

 What tools are available to help diagnose this issue and what is the
 issue?

David, I saw the same issue yesterday when testing my ath based
chipset on using wpa_supplicant.  I got to the point where I was
connected to my AP but loss my router/gateway.  My problem was
*probably* due to pilot error since I ran wpa_supplicant/dhclient
manually.

Are you going through the /etc/rc.d/netif start cycle and seeing this problem?

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: internet slowdown

2008-06-18 Thread prad
On Wed, 18 Jun 2008 20:36:54 +1200
Jonathan Chen [EMAIL PROTECTED] wrote:

 You do realise that this particular symptom usually points to
 reverse-lookup errors. I would examine your DNS server logs.

i will look, but we are using the same named.conf and zone files as we
did when we had 6.3 where we had no problems like this. also, would
there be such sporadic issues? shouldn't a reverse dns problem be
consistently problematic?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: internet slowdown

2008-06-18 Thread prad
On Wed, 18 Jun 2008 09:16:09 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Prad, once you _are_ logged in, is the server responsive?  Or does the
 sluggishness persist?

there is no problem once we are in - the cpu is idle 95% and you can
move around and do stuff without any slowdown at all.

right now, at 11:30am pst we were experiencing very high activity due to
a press release done in toronto on canadian horse slaughter from this
site: http://defendhorsescanada.org

the slowdown is upon us too - but i don't know if it is related or not
because the ping times are varying from 100ms to 1000+ms to the same
site(s). it's all over the place!

what is really weird is that the machine that hosts that site isn't the
only one which has slowed down. the other machine which only serves
email experiences the same thing (slow ssh connection, long ping times).

we are going to bypass the servers by using one of our dynamic ip
addresses and see what it is like then. if that computer experiences a
slowdown, i think it may suggest that the problem is due to network
activity within the cable company. if there is no slowdown, then that
seems to point the problem exclusively to our servers.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0

2008-06-18 Thread Chris Whitehouse

Anton Shterenlikht wrote:

I sent a query to ImageMagick port maintainers about this.

I'm getting errors while trying to upgrade to
ImageMagick 6.4.1.5 on FreeBSD 7.0-release.

Below are the error messages and my ImageMagick configuration.

Please advise
many thanks
anton


[skip]

PASS: utilities/tests/wave.sh
PASS: utilities/tests/montage.sh

All 697 tests passed

cd PerlMagick  make CC='cc' test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.8 -MExtUtils::Command::MM 
-e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t 
t/jpeg/*.t t/jp2/*.t t/png/*.t t/tiff/*.t t/wmf/*.t t/zlib/*.t
t/blobdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/bzlib/read..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/bzlib/write.dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/composite...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/filter..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-58
Failed 58/58 tests, 0.00% okay
t/fpx/readdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/fpx/write...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/getattributedubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/jbig/read...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/jbig/write..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/jp2/readdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/jpeg/read...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/jpeg/write..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/montage.dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/png/read-16.dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/png/readdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/png/write-16dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/png/write...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/readdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-47
Failed 47/47 tests, 0.00% okay
t/setattributedubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-71
Failed 71/71 tests, 0.00% okay
t/tiff/read...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/tiff/write..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/wmf/readdubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/write...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-32
Failed 32/32 tests, 0.00% okay
t/zlib/read...dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/zlib/write..dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
---
t/blob.t0   139 12 200.00%  1
t/bzlib/read.t  0   139 12 200.00%  1
t/bzlib/write.t 0   139 12 200.00%  1
t/composite.t   0   13918   36 200.00%  1-18
t/filter.t  0   13958  116 200.00%  1-58
t/fpx/read.t0   139 5   10 200.00%  1-5
t/fpx/write.t   0   139 48 200.00%  1-4
t/getattribute.t0   13925   50 200.00%  1-25
t/jbig/read.t   0   139 12 200.00%  1
t/jbig/write.t  0   139 12 200.00%  1
t/jp2/read.t0   139 36 200.00%  1-3
t/jpeg/read.t   0   139 24 200.00%  1-2
t/jpeg/write.t  0   139 24 

Re: internet slowdown

2008-06-18 Thread Bill Moran
In response to prad [EMAIL PROTECTED]:

 On Wed, 18 Jun 2008 09:16:09 -0400
 Bill Moran [EMAIL PROTECTED] wrote:
 
  Prad, once you _are_ logged in, is the server responsive?  Or does the
  sluggishness persist?
 
 there is no problem once we are in - the cpu is idle 95% and you can
 move around and do stuff without any slowdown at all.

Sounds like DNS, either that or a forking issue.  Run ssh with -v to see
details of where the process pauses.  You can also run sshd in foreground
mode on the server to see lots of debugging information.

 right now, at 11:30am pst we were experiencing very high activity due to
 a press release done in toronto on canadian horse slaughter from this
 site: http://defendhorsescanada.org
 
 the slowdown is upon us too - but i don't know if it is related or not
 because the ping times are varying from 100ms to 1000+ms to the same
 site(s). it's all over the place!

Sounds to me like your network is overwhelmed.  You need to get some
management stuff online -- what is the rate of traffic through each of
the interfaces involved?

 what is really weird is that the machine that hosts that site isn't the
 only one which has slowed down. the other machine which only serves
 email experiences the same thing (slow ssh connection, long ping times).

I'm confused as to why you think this is related to the machine when there
are multiple machines involved?  It sure sounds like a network issue, from
the description of the symptoms.

If you're _absolutely_ sure the problem started occurring with the 7
upgrade, I'd look at the possibility that the NICs you're using aren't
as well supported in 7 as they were in 6.  Have you verified all the
speed/duplex settings are matched?

 we are going to bypass the servers by using one of our dynamic ip
 addresses and see what it is like then. if that computer experiences a
 slowdown, i think it may suggest that the problem is due to network
 activity within the cable company. if there is no slowdown, then that
 seems to point the problem exclusively to our servers.

That's also a good diagnostic step.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LDAP Authentication questions...

2008-06-18 Thread Eric F Crist

Hello folks,

First, please reply-all to this message as I'm not on the list.

I'm trying to configure a bunch of FreeBSD 6.x and 7.x servers for  
authentication via LDAP.  I've got LDAP setup with user accounts, I've  
got replication configured on the LDAP servers, and I have pam_ldap  
and nss_ldap installed, configured, and working.


The last hurdle I'm trying to leap is server failover.  I have the  
following line in my /usr/local/etc/ldap.conf file:


uri ldap://ldap.example.com ldap://ldap2.example.com

If I finger ldap_user with both servers running, I get a response  
with that user's information.  If I switch around the order of the two  
ldap servers, I get a response (for a different username to avoid the  
caching).  My problem lies with failing the first server in the list.   
In this case, I'm simply stopping the slapd process.  finger  
ldap_user hangs forever and authentications all timeout for ldap- 
configured services like ssh.  Now, shouldn't it eventually fail over  
to my secondary LDAP server?  I've even tried adding timelimit 10 to  
the ldap.conf file to set a timeout, to no avail.


Thanks!
-
Eric F Crist
Secure Computing Networks


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


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0

2008-06-18 Thread Yuri Pankov

On 6/17/2008 1:52 PM, Anton Shterenlikht wrote:

I sent a query to ImageMagick port maintainers about this.

I'm getting errors while trying to upgrade to
ImageMagick 6.4.1.5 on FreeBSD 7.0-release.

Below are the error messages and my ImageMagick configuration.

Please advise
many thanks
anton


[skip]


Meanwhile you can disable tests using `make config -C 
/usr/ports/graphics/ImageMagick`



HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libcdio upgrade problems

2008-06-18 Thread Lowell Gilbert
Dr. Jennifer Nussbaum [EMAIL PROTECTED] writes:

 Lowell Gilbert [EMAIL PROTECTED] wrote: Dr. Jennifer Nussbaum  writes:

 Im trying to upgrade some ports, and have a problem with libcdio. At least i
 think i do. 

 When i try to upgrade, say, Nautilus (or a buncha other things), it dies in 
 the
 end with a libcdio-0.78.2_2 is already installed. You may wish to make 
 deinstall
 etc. message.

 But i did go to /usr/ports/sysytils/libcdio and make deinstall and make 
 reinstall,
 and this was successful. I sync'd the ports collection again, but no luck. 
 Nothing
 in UPDATING about this.

 Sounds like the dependencies are confused.  pkgdb(1) may help with
 that.  If not, the brute force approach would be to remove the
 affected ports all the way back to (and including) libcdio, and build
 them over.
 I havent been able to figure out how to fix things with pkgdb. And i have 
 tried, over and over, to remove the affected ports and build them from 
 scratch but it hasnt been working.

 So i went to libcdio and did a make deinstall, deleted the work files, and 
 did a make install clean, and it installed fine. Then i tried to build gvfs, 
 also by doing a make install clean, and it died in the same way--telling me 
 to make deinstall and make reinstall of libcdio.

 Ive tried this several times with no luck. If theres an even more brute force 
 way id like to know what it is so i can do that. This is preventing a lot of 
 other upgrades to GNOME, which i need.

I found it.  I think you need to reset the options on libcdio to
re-enable the cdparanoia option.  Some gnome ports seem to depend on
the library specifically with the paranoia option, and I've seen some
systems get the options jammed.

Something like:
(cd /usr/ports/sysutils/libcdio ; make rmconfig ; portupgrade -f libcdio)

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mounting smbfs At Boot Time

2008-06-18 Thread Tim Daneliuk
I have this in my /etc/fstab:

  [EMAIL PROTECTED]/SHARE /localmountsmbfs   rw  0  
 0

This very nicely mounts an smbfs filesystem at boot time.  HOWEVER, if SRV
happens to not be up at the time FreeBSD boots, FBSD will halt and prompt
to go into single user mode thinking that there is a catastrophic problem.
I want the mount to occur if possible, and to be retried later if not
possible at boot time.  But I want this to occur automatically without
my having to poke at the machine manually to see to it.  

'noauto' was a tempting solution, but it seems not to work the way I'd expect.
I added it to the entry, manually unmounted /localmount, and then did
a 'mount -a'.  The smbmount did not come back.

Ideas anyone?

-- 

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: internet slowdown

2008-06-18 Thread prad
On Wed, 18 Jun 2008 15:31:49 -0400
Bill Moran [EMAIL PROTECTED] wrote:


  what is really weird is that the machine that hosts that site isn't
  the only one which has slowed down. the other machine which only
  serves email experiences the same thing (slow ssh connection, long
  ping times).
 
 I'm confused as to why you think this is related to the machine when
 there are multiple machines involved?

i may have stated the case poorly. i thought is was a 7 issue not a
machine issue.


 If you're _absolutely_ sure the problem started occurring with the 7
 upgrade, I'd look at the possibility that the NICs you're using aren't
 as well supported in 7 as they were in 6.  Have you verified all the
 speed/duplex settings are matched?
 
we don't know how to do this, but will try to find out. however, see
below, since i no longer think the problem is 7.


  we are going to bypass the servers by using one of our dynamic ip
  addresses and see what it is like then. if that computer
  experiences a slowdown, i think it may suggest that the problem is
  due to network activity within the cable company. if there is no
  slowdown, then that seems to point the problem exclusively to our
  servers.
 
 That's also a good diagnostic step.
 

ok i am 99% convinced now that this has nothing to do with freebsd 7 at
all. here's why:

1. there are 2 servers involved and they both get affected so as you
say, bill It sure sounds like a network issue, from the description of
the symptoms. if it were a 7 issue, then there is no reason for them
to be affected simultaneously - but if it is a network issue, they
would experience the slowdowns together which they do.

2. by-passing the servers produced mirror results. the machine on the
dynamic address displayed an identical ping pattern to the same sites
as those going through the servers. this would suggest that the problem
has nothing to do with our servers.

3. we just found that on more than one instance when there was heavy
activity on the website server, the pinging rate was low. this suggests
that our servers are more than capable of handling the load and are not
slowing our access down at all.

4. though i said we didn't have the problem with 6.3 initially which
was true, this doesn't mean that the problem lies with 7 - all it
means is that we didn't notice anything wrong with 6.3 while we used
it. if this is a network issue from the outside, it may have started
recently and merely coincides with our upgrade to 7. also, my son
recalls that on rare occasions 6.3 may have acted somewhat slower than
usual (though nothing like what we are experiencing now).

5. i don't see why there would be a dns problem since we are sshing
from within our local network which the servers are part of. in fact,
it is slow even when you use the ip address directly.


so my present conclusion is that bottlenecks may be developing in the
'vicinity' of our assigned ip addresses (static and dynamic). these may
not even be the fault of our cable company possibly, but i'll check
with them anyway again.

the only nagging matter though is why sshing in sometimes becomes slow.

i will do as you suggest though bill (and jonathan) and produce some
network graphs and look at the dns. it will be good to become familiar
with these things since part of the reason for setting up our home
servers was to gain an education about this stuff.

i really appreciate the interest you've shown in our little problem and
will follow through on your earlier suggestions as well as any others
you may have.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[4]: Fwd: twe0 interrupt storm

2008-06-18 Thread Stanislav
Dear Daniel,

I have moved two disks to motherboard controller, cvsuped sources to
7.0-STABLE and recompiled kernel and world. gmirrored disks (RAID-1).
Server worked good for about 6 hours, and than again,
interrupt storm detected on irq22:; throttling interrupt source

gans# vmstat -i
interrupt  total   rate
irq1: atkbd0   3  0
irq9: acpi01  0
irq16: ohci0   1  0
irq17: ohci1 ohci3 1  0
irq18: ohci2 ohci4 1  0
irq22: atapci01195017654  55266
cpu0: timer 43244319   1999
cpu1: timer 43244059   1999
Total 1281506039  59265

last pid: 75968;  load averages:  2.54,  2.57,  2.60up 0+06:01:20  20:20:15
292 processes: 1 running, 290 sleeping, 1 zombie
CPU: 21.8% user,  0.0% nice, 12.9% system,  0.6% interrupt, 64.7% idle
Mem: 1033M Active, 435M Inact, 379M Wired, 51M Cache, 210M Buf, 37M Free
Swap: 4128M Total, 296M Used, 3832M Free, 7% Inuse

Maybe there is a way not to move from hetzner? No additional devices
are attached to motherboard.

I remember that server worked on 6.2-STABLE without these storms, but
there were not so much processes.

Best Regards,
Stanislav

2008/6/15 Daniel Gerzo [EMAIL PROTECTED]:
 Hello Stanislav,

 Sunday, June 15, 2008, 12:40:57 PM, you wrote:

 Dear Daniel,

 Please tell me you had this storms only with 3ware 8006-2LP?

 Actually, I do have them on the boxes which do not have the raid
 controller. I have several boxes in hetzner. The ones that does not
 have any additional devices attached to the motherboard seem like not
 having the problem. However most of my machines have at least
 additional NIC device.

 Please note that my machines does not crash even when there is an
 interrupt storm. On the other hand, they suffer from some performance
 problems :/

 The funny thing is that after reboot there's some silent period of
 time, when the interrupts are OK. After the systems becomes to be
 loaded more, the interrupt rate increases unless it reaches around
 350k interrupt rate...

 I have tried to play with the BIOS settings, nothing really helped.

 Because as I remember on MSI motherboard controller, I have no
 problems with FreeBSD 6.2, but when I upgraded to FreeBSD 7.0 that
 storms appeared, but not so often as with 3ware.

 P.S. Maybe I have to ask them to update BIOS? I am so happy with their
 network and service,  don't want to move to another server...

 I have tried to ask them to update the BIOS in the past, AFAIR they
 replied that the BIOS update is up to me...

 --
 Best regards,
  Danielmailto:[EMAIL PROTECTED]


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


Re: internet slowdown

2008-06-18 Thread Bill Moran
In response to prad [EMAIL PROTECTED]:
 
 5. i don't see why there would be a dns problem since we are sshing
 from within our local network which the servers are part of. in fact,
 it is slow even when you use the ip address directly.

Because the ssh server always does DNS lookups on connecting IPs in
order to have hostnames to put in the logs.  If DNS is sluggish,
unresponsive, or configured poorly, it will cause long delays during
login.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: internet slowdown

2008-06-18 Thread John Almberg

1. there are 2 servers involved and they both get affected so as you
say, bill It sure sounds like a network issue, from the  
description of

the symptoms. if it were a 7 issue, then there is no reason for them
to be affected simultaneously - but if it is a network issue, they
would experience the slowdowns together which they do.


Do you have PF installed? pftop is a quick way to see what's  
happening on the network interface.


-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 7 / Sendmail

2008-06-18 Thread Michael Hogsett

I am building a new mail server and have
started to configure sendmail.  The first
thing I was going to change was the SMART_HOST
in the mc file (in my case, /etc/mail/mx0.csl.sri.com.mc).

It appears to be ignoring the entry.

Here's the entry in the mc file :

mx0# grep mailgate mx0.csl.sri.com.mc
define(`SMART_HOST', `mailgate-internal.sri.com')
mx0#

Here's the test message :

mx0# mail [EMAIL PROTECTED]
Subject: test
test
.
EOT
mx0#

And here's the log lines for that message.

Jun 18 13:24:26 mx0 sendmail[19596]: m5IKOQMG019596: from=hogsett, size=42, 
class=0, nrcpts=1, msgid=[EMAIL PROTECTED], 
[EMAIL PROTECTED]
Jun 18 13:24:26 mx0 sm-mta[19597]: m5IKOQhv019597: 
from=[EMAIL PROTECTED], size=369, class=0, nrcpts=1, 
msgid=[EMAIL PROTECTED], proto=ESMTP, 
daemon=Daemon0, relay=localhost [127.0.0.1]
Jun 18 13:24:26 mx0 sendmail[19596]: m5IKOQMG019596: [EMAIL PROTECTED], 
ctladdr=hogsett (2011/2011), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m5IKOQhv019597 
Message accepted for delivery)
Jun 18 13:24:27 mx0 sm-mta[19599]: m5IKOQhv019597: to=[EMAIL PROTECTED], 
ctladdr=[EMAIL PROTECTED] (2011/2011), delay=00:00:01, xdelay=00:00:01, 
mailer=esmtp, pri=30369, relay=gmail-smtp-in.l.google.com. [209.85.147.27], 
dsn=2.0.0, stat=Sent (OK 1213824138 j7si14591284wah.9)



That part that bothers me is :

relay=gmail-smtp-in.l.google.com. [209.85.147.27],


Why is it not accepting my SMART_HOST entry in the mc file?
It would in the past on my FreeBSD 4 boxes.

Thanks!

 - Mike


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD 7 / Sendmail

2008-06-18 Thread Michael Hogsett

Michael Hogsett wrote:

I am building a new mail server and have
started to configure sendmail.  The first
thing I was going to change was the SMART_HOST
in the mc file (in my case, /etc/mail/mx0.csl.sri.com.mc).

It appears to be ignoring the entry.


I think I've worked through the problem.

 - Mike


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD 7 / Sendmail

2008-06-18 Thread Jon Radel

Michael Hogsett wrote:

I am building a new mail server and have
started to configure sendmail.  The first
thing I was going to change was the SMART_HOST
in the mc file (in my case, /etc/mail/mx0.csl.sri.com.mc).

It appears to be ignoring the entry.


...

Sendmail pays no attention to .mc files, so the important question is 
whether you created a .cf file from your .mc file post your change and 
then restarted sendmail?  Assuming mx0.cs1.sri.com is the hostname of 
the server you're building,


cd /etc/mail
make install
make restart

may well be all you need.

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0

2008-06-18 Thread Edwin L. Culp

Kris Kennaway [EMAIL PROTECTED] escribió:


eculp wrote:
This is on a relatively new Dell dualcore with 4G of ram running up  
to date stable.  I'm not on site so I have no idea what might be  
provoking these crashes.  In fact in many years of running FreeBSD  
I've not seen something just happen like this.  It is a  
simi-production machine that cvsups daily and builds and installs a  
new world and kernel.  Ports are updated about once a week and  
haven't seen any issues previously.  It has been running 24/7 since  
new, about 8 months.


3 files were generated info, bounds and vmcore.  The info file follows:

Dump header from device /dev/mfid0s1b
 Architecture: i386
 Architecture Version: 2
 Dump Length: 341225472B (325 MB)
 Blocksize: 512
 Dumptime: Wed Jun 11 12:34:24 2008
 Hostname: casasponti.net
 Magic: FreeBSD Kernel Dump
 Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO
 Panic String: page fault
 Dump Parity: 2395754794
 Bounds: 2
 Dump Status: good

the vmcore is about 300M so I'm not attaching it;) I could put it  
on line at a moments notice.  I think that what I need is probably  
a crash course on debugging a crash and I really don't know where  
to start since after over 10 years with freebsd I've never needed  
it.  Any help, suggestions, etc. would be greatly appreciated.


See the developers' handbook chapter on kernel debugging.

However, panics that suddenly start happening frequently on a  
system that has been stable for a while with no OS or workload  
changes made, are usually due to the hardware starting to fail.


Kris


I got as far as I could.  I recompiled the kernel with debuging and  
waited for a new panic.  I got the fourth one a few minutes ago and  
went as far as I could with the handbook.


 #  kgdb kernel.debug /var/crash/vmcore.4
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc0716ba9
stack pointer   = 0x28:0xe6d2bc4c
frame pointer   = 0x28:0xe6d2bc4c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 13 (swi4: clock sio)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 1d4h34m22s
Physical memory: 3315 MB
Dumping 273 MB: 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2

Reading symbols from /boot/kernel/mfi_linux.ko...Reading symbols from  
/boot/kernel/mfi_linux.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/mfi_linux.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from  
/boot/kernel/acpi.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from  
/boot/kernel/fdescfs.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/fdescfs.ko
#0  doadump () at pcpu.h:195
195 __asm __volatile(movl %%fs:0,%0 : =r (td));



That is as far as I got, any suggestions appreciated. I'm going to  
check the others and see if the get further.



ed

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


ral0 keeps going UP and DOWN

2008-06-18 Thread Camilo Reyes
Hey All, I'm experiencing something rather odd. My wireless adapter keeps 
dropping the connection at random; it has actually disconnected my box a couple 
of times today. Are there any bugs associated with this behavior? I did a quick 
search couldn't find anything.

Thnx,

Here are my logs:
Jun 18 10:00:38 Christi kernel: ral0: link state changed to DOWN
Jun 18 10:00:38 Christi kernel: ral0: link state changed to UP
Jun 18 10:00:40 Christi dhclient: New IP Address (ral0): 10.0.0.5
Jun 18 10:00:40 Christi dhclient: New IP Address (ral0): 10.0.0.5
Jun 18 10:00:40 Christi dhclient: New Subnet Mask (ral0): 255.255.255.0
Jun 18 10:00:40 Christi dhclient: New Subnet Mask (ral0): 255.255.255.0
Jun 18 10:00:40 Christi dhclient: New Broadcast Address (ral0): 10.0.0.255
Jun 18 10:00:40 Christi dhclient: New Broadcast Address (ral0): 10.0.0.255
Jun 18 10:00:40 Christi dhclient: New Routers (ral0): 10.0.0.1
Jun 18 10:00:40 Christi dhclient: New Routers (ral0): 10.0.0.1
Jun 18 10:01:46 Christi kernel: ral0: link state changed to DOWN

ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP


Bono Vince Malum
--
-Camilo


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


Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0

2008-06-18 Thread Kris Kennaway

Edwin L. Culp wrote:

Kris Kennaway [EMAIL PROTECTED] escribió:


eculp wrote:
This is on a relatively new Dell dualcore with 4G of ram running up 
to date stable.  I'm not on site so I have no idea what might be 
provoking these crashes.  In fact in many years of running FreeBSD 
I've not seen something just happen like this.  It is a 
simi-production machine that cvsups daily and builds and installs a 
new world and kernel.  Ports are updated about once a week and 
haven't seen any issues previously.  It has been running 24/7 since 
new, about 8 months.


3 files were generated info, bounds and vmcore.  The info file follows:

Dump header from device /dev/mfid0s1b
 Architecture: i386
 Architecture Version: 2
 Dump Length: 341225472B (325 MB)
 Blocksize: 512
 Dumptime: Wed Jun 11 12:34:24 2008
 Hostname: casasponti.net
 Magic: FreeBSD Kernel Dump
 Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO
 Panic String: page fault
 Dump Parity: 2395754794
 Bounds: 2
 Dump Status: good

the vmcore is about 300M so I'm not attaching it;) I could put it on 
line at a moments notice.  I think that what I need is probably a 
crash course on debugging a crash and I really don't know where to 
start since after over 10 years with freebsd I've never needed it.  
Any help, suggestions, etc. would be greatly appreciated.


See the developers' handbook chapter on kernel debugging.

However, panics that suddenly start happening frequently on a system 
that has been stable for a while with no OS or workload changes made, 
are usually due to the hardware starting to fail.


Kris


I got as far as I could.  I recompiled the kernel with debuging and 
waited for a new panic.  I got the fourth one a few minutes ago and went 
as far as I could with the handbook.


 #  kgdb kernel.debug /var/crash/vmcore.4
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address= 0x0
fault code= supervisor write, page not present
instruction pointer= 0x20:0xc0716ba9
stack pointer= 0x28:0xe6d2bc4c
frame pointer= 0x28:0xe6d2bc4c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process= 13 (swi4: clock sio)
trap number= 12
panic: page fault
cpuid = 0
Uptime: 1d4h34m22s
Physical memory: 3315 MB
Dumping 273 MB: 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2

Reading symbols from /boot/kernel/mfi_linux.ko...Reading symbols from 
/boot/kernel/mfi_linux.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/mfi_linux.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from 
/boot/kernel/fdescfs.ko.symbols...done.

done.
Loaded symbols for /boot/kernel/fdescfs.ko
#0  doadump () at pcpu.h:195
195__asm __volatile(movl %%fs:0,%0 : =r (td));



That is as far as I got, any suggestions appreciated. I'm going to check 
the others and see if the get further.


I believe the instructions tell you to run 'bt' :)  However, my advice 
re failing hardware remains in effect.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fixing a RAID

2008-06-18 Thread Ryan Coleman
Is there a way to figure out what order drives were supposed to go in for
a RAID 5? Using a hex tool?

I have time to figure all this out.

TIA
Ryan

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


FreeBSD based web hosting?

2008-06-18 Thread Greg 'groggy' Lehey
I'm looking for somebody to host some web sites for me.  Ideally I'd
like a complete machine, but a jail would do too.  I can find plenty
of Linux-based offerings, but the only one I can find with FreeBSD is
in Germany and requires me to be resident in Germany.  Can anybody
point me to one that I, as an Australian resident, can use?

Feel free to reply to me personally and blow your own trumpet if you
want.  Please also note that I'm not subscribed to these lists, so
please don't reply only to the list.

Greg
--
See complete headers for address and phone numbers.


pgp5Hy34DN4Wp.pgp
Description: PGP signature


Re: FreeBSD and Greek support

2008-06-18 Thread Manolis Kiagias



Tore Lund wrote:

Dimitris Giakoudis wrote:
  

...
applied the settings and installed 'ports/x11-fonts/urwfonts' and 
everything is in Greek now. I have a problem though when viewing

web pages that are encoded with el_GR, there are spaces among the
letters and it is really ugly.



Have you got examples of such web pages?  I read some Greek things on
the Net, and I have no problem with spaces among the letters.
  


I know the symptom Dimitris describes and it is easily solved by 
installing truetype fonts like the webfonts port or your own truetype 
fonts in ~/.fonts
Dimitris you may allso want to check your settings in your shell startup 
scripts i.e. (assuming bash)


export LANG=el_GR.ISO8859-7
or
export LANG=el_GR.UTF-8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD based web hosting?

2008-06-18 Thread Ryan Coleman
Skiltech.com is my host, they do jailed for a good price -- depends on
traffic and space requirements -- and do colocation. We're paying $400/mo
for a machine we have full system access to, plus 24/7 tech for free and
nightly backups for up to 7 days for access, DB for 30.

They run fBSD 6.3 right now, I believe. Good company, small - owned by one
person - and very, very reliable.

--
Ryan


 I'm looking for somebody to host some web sites for me.  Ideally I'd
 like a complete machine, but a jail would do too.  I can find plenty
 of Linux-based offerings, but the only one I can find with FreeBSD is
 in Germany and requires me to be resident in Germany.  Can anybody
 point me to one that I, as an Australian resident, can use?

 Feel free to reply to me personally and blow your own trumpet if you
 want.  Please also note that I'm not subscribed to these lists, so
 please don't reply only to the list.

 Greg
 --
 See complete headers for address and phone numbers.



-- 
Ryan Coleman
Photo Editor, D3sports.com
Owner, Pictureprints.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD based web hosting?

2008-06-18 Thread Schiz0
On Wed, Jun 18, 2008 at 8:31 PM, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
 I'm looking for somebody to host some web sites for me.  Ideally I'd
 like a complete machine, but a jail would do too.  I can find plenty
 of Linux-based offerings, but the only one I can find with FreeBSD is
 in Germany and requires me to be resident in Germany.  Can anybody
 point me to one that I, as an Australian resident, can use?

 Feel free to reply to me personally and blow your own trumpet if you
 want.  Please also note that I'm not subscribed to these lists, so
 please don't reply only to the list.


Try http://clearancerack.ca

They have cheap dedicated servers. They support FreeBSD, and they are
in Canada :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD based web hosting?

2008-06-18 Thread cpghost
On Thu, 19 Jun 2008 10:31:31 +1000
Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 I'm looking for somebody to host some web sites for me.  Ideally I'd
 like a complete machine, but a jail would do too.  I can find plenty
 of Linux-based offerings, but the only one I can find with FreeBSD is
 in Germany and requires me to be resident in Germany.  Can anybody
 point me to one that I, as an Australian resident, can use?

Here's a list of FreeBSD-based hosters:
  http://www.freebsd.org/commercial/isp.html

I've recently switched to KIONIC.COM: http://www.kionic.com/
but only for simple web hosting (no jails). They may offer
jails too... Service is excellent so far. ;)

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Ryan Coleman wrote:

Is there a way to figure out what order drives were supposed to go in for
a RAID 5? Using a hex tool?


Do you mean that you physically unplugged them, and they were not labeled?

What kind of disk controller is it?

Technically, AFAIK, the order should not matter. The stripe on the disk 
should know what is where and simply run with it. In practice however...



I have time to figure all this out.


What happens when you try it?

Is FreeBSD in use in any form or fashion at all on these drives, or is 
this a generalized hardware question?


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


Re: Fixing a RAID

2008-06-18 Thread Ryan Coleman

 Ryan Coleman wrote:
 Is there a way to figure out what order drives were supposed to go in
 for
 a RAID 5? Using a hex tool?

 Do you mean that you physically unplugged them, and they were not labeled?

 What kind of disk controller is it?

 Technically, AFAIK, the order should not matter. The stripe on the disk
 should know what is where and simply run with it. In practice however...

 I have time to figure all this out.

 What happens when you try it?

 Is FreeBSD in use in any form or fashion at all on these drives, or is
 this a generalized hardware question?

 Steve


It's a HighPoint pATA controller, one drive went kaput so I replaced it
with another 250G drive and went to rebuild and it wouldn't go. The drive
itself wasn't actually dead, I did some running tests on it and it spun up
OK in an enclosure and then in another machine. So I tried to put the
drive back on the array and it doesn't believe in having data anymore.

This is a 4x250G R5 (so ~750G logical) that does have data on it that I
would very much like to recover somehow. I know this is very likely a
fruitless endeavor, I just need to try. OnTrack and other recovery places
are just too expensive for this. I can dig up the old logs (I think) from
when she was firing errors two weeks ago. The drive was formatted UFS2 as
one large logical drive in sysinstall.

Hope that's helpful.
Thanks for the reponse.
--
Ryan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Ryan Coleman wrote:

Ryan Coleman wrote:

Is there a way to figure out what order drives were supposed to go in
for
a RAID 5? Using a hex tool?

Do you mean that you physically unplugged them, and they were not labeled?

What kind of disk controller is it?



It's a HighPoint pATA controller, one drive went kaput so I replaced it
with another 250G drive and went to rebuild and it wouldn't go. The drive
itself wasn't actually dead, I did some running tests on it and it spun up
OK in an enclosure and then in another machine. So I tried to put the
drive back on the array and it doesn't believe in having data anymore.


Ok. The errors you were witnessing after attempting to re-insert it into 
the controller, were they generated at BIOS level within the controller 
bootup, or in FreeBSD. I'm completely assuming that your running OS was 
ON these disks, so the former is true.



This is a 4x250G R5 (so ~750G logical) that does have data on it that I
would very much like to recover somehow. I know this is very likely a
fruitless endeavor,


ah, ah ah, never say never, ever.


I just need to try. OnTrack and other recovery places
are just too expensive for this. 


Recover from backup ;)

I'm kidding. It's too late for that, isn't it. read on...


I can dig up the old logs (I think) from
when she was firing errors two weeks ago. 


Yes. Post the logs. If they are extensive, perhaps you could email them 
off-list, with a notice to the list that you have them in the event 
others would like to review them as well.



The drive was formatted UFS2 as
one large logical drive in sysinstall.


..so if I understand correctly, you had a RAID-5 with three operational 
physical disks, and one hot spare?


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


Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Ryan Coleman wrote:

Ryan Coleman wrote:


Oh, I completely forgot to ask...

Does the RAID still operate even though one disk is bad?

After all, that is the purpose of RAID-5. stripe, with parity. One 
fails, the other two (or N) keep right on going...


Or, is it a RAID-5 card that you put into operation as a RAID-0 span?

If the latter is the case, good luck ;)

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


Re: Fixing a RAID

2008-06-18 Thread Ryan Coleman

 Ryan Coleman wrote:
 Ryan Coleman wrote:
 Is there a way to figure out what order drives were supposed to go in
 for
 a RAID 5? Using a hex tool?
 Do you mean that you physically unplugged them, and they were not
 labeled?

 What kind of disk controller is it?

 It's a HighPoint pATA controller, one drive went kaput so I replaced it
 with another 250G drive and went to rebuild and it wouldn't go. The
 drive
 itself wasn't actually dead, I did some running tests on it and it spun
 up
 OK in an enclosure and then in another machine. So I tried to put the
 drive back on the array and it doesn't believe in having data anymore.

 Ok. The errors you were witnessing after attempting to re-insert it into
 the controller, were they generated at BIOS level within the controller
 bootup, or in FreeBSD. I'm completely assuming that your running OS was
 ON these disks, so the former is true.

 This is a 4x250G R5 (so ~750G logical) that does have data on it that I
 would very much like to recover somehow. I know this is very likely a
 fruitless endeavor,

 ah, ah ah, never say never, ever.

 I just need to try. OnTrack and other recovery places
 are just too expensive for this.

 Recover from backup ;)

 I'm kidding. It's too late for that, isn't it. read on...

 I can dig up the old logs (I think) from
 when she was firing errors two weeks ago.

 Yes. Post the logs. If they are extensive, perhaps you could email them
 off-list, with a notice to the list that you have them in the event
 others would like to review them as well.

 The drive was formatted UFS2 as
 one large logical drive in sysinstall.

 ..so if I understand correctly, you had a RAID-5 with three operational
 physical disks, and one hot spare?

 Steve


Actually, this is the data storage temporary before I got my massive 7TB
RAID purchased and built. But it crashed out 2 days before it arrived.
You'll see below the errors. I couldn't even run a find(1) on it.

It was 4 disks that made a 714G functional drive, no hotspare, I didn't
have the disks for it at the time -- but I do now. The g_vfs_done() errors
threw me a bad thought and my tech said that's a bad sign, you're toast
and left me hanging. I know more than enough about BSD to get around and
tech, but RAIDs are not something I have a lot of experience in.


[EMAIL PROTECTED] /var/log]# more messages.0 | grep 'ar0'
May 31 17:25:18 testserver kernel: ar0: 715425MB HighPoint v3 RocketRAID
RAID5 (stripe 64 KB) status: READY
May 31 17:25:18 testserver kernel: ar0: disk0 READY using ad13 at ata6-slave
May 31 17:25:18 testserver kernel: ar0: disk1 READY using ad16 at ata8-master
May 31 17:25:18 testserver kernel: ar0: disk2 READY using ad15 at ata7-slave
May 31 17:25:18 testserver kernel: ar0: disk3 READY using ad17 at ata8-slave
Jun  4 22:35:45 testserver kernel: ar0: 715425MB HighPoint v3 RocketRAID
RAID5 (stripe 64 KB) status: READY
Jun  4 22:35:45 testserver kernel: ar0: disk0 READY using ad13 at ata6-slave
Jun  4 22:35:45 testserver kernel: ar0: disk1 READY using ad16 at ata8-master
Jun  4 22:35:45 testserver kernel: ar0: disk2 READY using ad15 at ata7-slave
Jun  4 22:35:45 testserver kernel: ar0: disk3 READY using ad17 at ata8-slave
Jun  4 22:58:09 testserver kernel: ar0: 715425MB HighPoint v3 RocketRAID
RAID5 (stripe 64 KB) status: READY
Jun  4 22:58:09 testserver kernel: ar0: disk0 READY using ad13 at ata6-slave
Jun  4 22:58:09 testserver kernel: ar0: disk1 READY using ad16 at ata8-master
Jun  4 22:58:09 testserver kernel: ar0: disk2 READY using ad15 at ata7-slave
Jun  4 22:58:09 testserver kernel: ar0: disk3 READY using ad17 at ata8-slave
Jun  4 23:02:28 testserver kernel: ar0: 715425MB HighPoint v3 RocketRAID
RAID5 (stripe 64 KB) status: READY
Jun  4 23:02:28 testserver kernel: ar0: disk0 READY using ad13 at ata6-slave
Jun  4 23:02:28 testserver kernel: ar0: disk1 READY using ad16 at ata8-master
Jun  4 23:02:28 testserver kernel: ar0: disk2 READY using ad15 at ata7-slave
Jun  4 23:02:28 testserver kernel: ar0: disk3 READY using ad17 at ata8-slave
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=501963358208, length=16384)]error = 5
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=397138788352, length=16384)]error = 5
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=585206398976, length=16384)]error = 5
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=360527265792, length=16384)]error = 5
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=279018455040, length=16384)]error = 5
Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=674808283136, length=16384)]error = 5
Jun  4 23:10:06 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=501963358208, length=16384)]error = 5
Jun  4 23:10:06 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=397138788352, length=16384)]error = 5
Jun  4 23:10:06 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=585206398976, length=16384)]error = 5
Jun  4 23:10:06 

Re: Fixing a RAID

2008-06-18 Thread Ryan Coleman

 Ryan Coleman wrote:
 Ryan Coleman wrote:

 Oh, I completely forgot to ask...

 Does the RAID still operate even though one disk is bad?

 After all, that is the purpose of RAID-5. stripe, with parity. One
 fails, the other two (or N) keep right on going...

 Or, is it a RAID-5 card that you put into operation as a RAID-0 span?

 If the latter is the case, good luck ;)

No, I'm not that stupid. :) My old job, we had the big LaCie drives and
one of the 4 250Gs in it would fail and they were f*ed. I went to replace
the drive right away so I wouldn't be in that situation.

When I went to rebuild in the BIOS it failed at 2%, no matter what 250G
drive I put in to fill the spot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Ryan Coleman wrote:

Ryan Coleman wrote:



and my tech said that's a bad sign, you're toast
and left me hanging. 


Knowing you spanned the drives without parity or backup, there is no 
need for me to review the errors.


I agree with your tech. Unless there is a miracle (or you outsource the 
entire array to a recovery location), good luck.


Sorry I couldn't be more help.

FYI...when you span drives, your single point of failure is an 
exponential factor of how many drives you are spanning.


I have done low level disk data recovery before, but describing it is 
beyond what I can do via email. Even still, said disk recovery still 
relied on the ability for the heads to read off the platter.


If I were you, I'd consider your backup strategy now for that 7TB array 
you are building.


Thats a lot of data. You need to be able to go back more than one day.

If nobody else has a suggestion to retrieve the info, you will send it 
away.


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


Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Ryan Coleman wrote:

Ryan Coleman wrote:

Ryan Coleman wrote:

Oh, I completely forgot to ask...

Does the RAID still operate even though one disk is bad?

After all, that is the purpose of RAID-5. stripe, with parity. One
fails, the other two (or N) keep right on going...

Or, is it a RAID-5 card that you put into operation as a RAID-0 span?

If the latter is the case, good luck ;)


No, I'm not that stupid. :) My old job, we had the big LaCie drives and
one of the 4 250Gs in it would fail and they were f*ed. I went to replace
the drive right away so I wouldn't be in that situation.

When I went to rebuild in the BIOS it failed at 2%, no matter what 250G
drive I put in to fill the spot.


Hrm... I didn't implicitly attempt to call you stupid. I was asking a 
question, and laying out info for others that may not know as they 
follow the thread...


Besides...if you are seriously considering a 7TB storage facility, then 
you already know that building a proper RAID solution should include 
controllers that are hot-swappable, and will rebuild the array either as 
soon as you pop a new drive in, or with a hot-spare, without having to 
reboot and waste three hours rebuilding via a BIOS software.


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


Re: Fixing a RAID

2008-06-18 Thread Ryan Coleman

 Ryan Coleman wrote:
 Ryan Coleman wrote:
 Ryan Coleman wrote:
 Oh, I completely forgot to ask...

 Does the RAID still operate even though one disk is bad?

 After all, that is the purpose of RAID-5. stripe, with parity. One
 fails, the other two (or N) keep right on going...

 Or, is it a RAID-5 card that you put into operation as a RAID-0 span?

 If the latter is the case, good luck ;)

 No, I'm not that stupid. :) My old job, we had the big LaCie drives and
 one of the 4 250Gs in it would fail and they were f*ed. I went to
 replace
 the drive right away so I wouldn't be in that situation.

 When I went to rebuild in the BIOS it failed at 2%, no matter what 250G
 drive I put in to fill the spot.

 Hrm... I didn't implicitly attempt to call you stupid. I was asking a
 question, and laying out info for others that may not know as they
 follow the thread...

 Besides...if you are seriously considering a 7TB storage facility, then
 you already know that building a proper RAID solution should include
 controllers that are hot-swappable, and will rebuild the array either as
 soon as you pop a new drive in, or with a hot-spare, without having to
 reboot and waste three hours rebuilding via a BIOS software.



I didn't mean to make it seem like you did, I just wanted to say I'm no
fool :)

I can rebuild with HighPoint's web interface when necc. and I hope to be
able to upgrade the controller from the 8-port I have to a 12-port in the
next year this putting a spare in the case. I have two extra drives still
in their bags in case something does happen, I don't have to wait days to
get a replacement drive in.

I'm sorry I implied that you called me stupid. Just been a struggle with
this one machine for the last few weeks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Greek support

2008-06-18 Thread Giorgos Keramidas
On Sun, 15 Jun 2008 22:39:19 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote:
 Tore Lund wrote:
 Dimitris Giakoudis wrote:
 applied the settings and installed 'ports/x11-fonts/urwfonts' and
 everything is in Greek now. I have a problem though when viewing web
 pages that are encoded with el_GR, there are spaces among the
 letters and it is really ugly.

 Have you got examples of such web pages?  I read some Greek things on
 the Net, and I have no problem with spaces among the letters.

 I know the symptom Dimitris describes and it is easily solved by
 installing truetype fonts like the webfonts port or your own truetype
 fonts in ~/.fonts Dimitris you may allso want to check your settings
 in your shell startup scripts i.e. (assuming bash)

 export LANG=el_GR.ISO8859-7
 or
 export LANG=el_GR.UTF-8

Good point.  I'm too sleepy right now (the coffee hasn't started kicking
in yet from a very early wake up), but it would be nice if we also added
a note to the article saying that it is important to have the correct
locale environment *before* the X server fires up, to make sure that all
X11 programs grok Greek.

Manolis, if you feel like it, and you get to it before I do later today,
can you add a note like this?  If you don't, I'll get around to it when
I finish some early morning errands.

- Giorgos

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


Re: [freebsd-questions] Re: Fixing a RAID

2008-06-18 Thread Tuc at T-B-O-H.NET
 
 
  Ryan Coleman wrote:
  Ryan Coleman wrote:
 
  Oh, I completely forgot to ask...
 
  Does the RAID still operate even though one disk is bad?
 
  After all, that is the purpose of RAID-5. stripe, with parity. One
  fails, the other two (or N) keep right on going...
 
  Or, is it a RAID-5 card that you put into operation as a RAID-0 span?
 
  If the latter is the case, good luck ;)
 
 No, I'm not that stupid. :) My old job, we had the big LaCie drives and
 one of the 4 250Gs in it would fail and they were f*ed. I went to replace
 the drive right away so I wouldn't be in that situation.
 
 When I went to rebuild in the BIOS it failed at 2%, no matter what 250G
 drive I put in to fill the spot.

I had that happen on a 4 disk (36G each) raid-5 (I forget the
controller). No matter what disk I put in to replace a failed one, it
wouldn't take. 3 drives, exact model, different production dates...
None took. 

I futzed and futzed and finally decided to declare the cage
bad and think of backout procedures. About 2 hours after I had set
another machine up to take its place, it started giving spurious
errors and fell over.

I pulled the machine out of the datacenter, cleared out
the raid config, and went to rebuild with just the 3 drives. Wouldn't
build a fresh raid-5 from just the 3 disks. After the Which one of
these things is not like the other, I found that apparently one of
the disks still was working, but causing heck if I put another disk
in the slot next to it. 

A year later, and I finally decided to buy a few more disks
off ebay to see if my final theory is right. I win (hopefully) the
auction in 5 days... If the cage really is bad, I previously sourced
a new case/cage, and decided even though its a 4G Dual Xenon system
I probably could get a new system cheaper thats faster.

Tuc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] Re: Fixing a RAID

2008-06-18 Thread Steve Bertrand

Tuc at T-B-O-H.NET wrote:



Ryan Coleman wrote:

Ryan Coleman wrote:

Oh, I completely forgot to ask...

Does the RAID still operate even though one disk is bad?




A year later, and I finally decided to buy a few more disks
off ebay to see if my final theory is right. I win (hopefully) the
auction in 5 days... If the cage really is bad, I previously sourced
a new case/cage, and decided even though its a 4G Dual Xenon system
I probably could get a new system cheaper thats faster.


I would be extremely interested to know if your diligence in testing 
your theory pays off in this case.


Please post your results ;)

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


Re: FreeBSD based web hosting?

2008-06-18 Thread Maxim Khitrov
On Wed, Jun 18, 2008 at 9:27 PM, cpghost [EMAIL PROTECTED] wrote:
 On Thu, 19 Jun 2008 10:31:31 +1000
 Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 I'm looking for somebody to host some web sites for me.  Ideally I'd
 like a complete machine, but a jail would do too.  I can find plenty
 of Linux-based offerings, but the only one I can find with FreeBSD is
 in Germany and requires me to be resident in Germany.  Can anybody
 point me to one that I, as an Australian resident, can use?

 Here's a list of FreeBSD-based hosters:
  http://www.freebsd.org/commercial/isp.html


Is anyone here using RootBSD?

I'm currently with JohnCompanies. Overall, it's been a positive
experience, though I wish they offered FreeBSD 7. Beta testing for it
was supposed to begin last month, but so far no news.

My main concern is disk space; I have 2GB for ~$26 per month. For the
same price at RootBSD you could get almost eight times as much. The
question is how reliable are they? I can't find any information on
their site about where the data center is or the exact system
specifications.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD based web hosting?

2008-06-18 Thread Sahil Tandon
Maxim Khitrov [EMAIL PROTECTED] wrote:

 I'm currently with JohnCompanies. Overall, it's been a positive
 experience, though I wish they offered FreeBSD 7. Beta testing for it
 was supposed to begin last month, but so far no news.

+1 for JC.  The tech support and availability is unparalleled.  Satisfied 
customer for over three years.

-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/var full

2008-06-18 Thread Paul Schmehl
At 10PM (local time) this evening, a server started reporting that /var 
was full.  When I ssh'd in to the server to investigate, df said /var was 
at 2% full (5.1G) and dh reported the same (5.1G).  /var/log/dmesg.today 
is full of messages listing multiple entries with the same inode number 
followed by one entry listing dd as the culprit.


+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132107 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 73338 (dd), uid 2 inumber 27131975 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 730 (mysqld), uid 88 inumber 27132128 on /var: filesystem full
+pid 73365 (dd), uid 2 inumber 27131920 on /var: filesystem full

And so on.  What is going on?  The system seems to be functioning 
normally.  df and dh report normal disk usage.  Top looks fine. 
/var/log/dmesg.today shows 309 total lines and 98 unique lines.


Was this some sort of temporary glitch?  Or something more ominous?  Why 
would toor be running dd?  Is it some sort of file recovery routine 
triggered by filesystem full messages?


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.

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


Re: FreeBSD based web hosting?

2008-06-18 Thread OutBackDingo
I was going to go with them for their XEN based hosting, but i sent them
an email, asking a couple questions, they never replied, so went with
Verio instead

 Is anyone here using RootBSD?
 
 I'm currently with JohnCompanies. Overall, it's been a positive
 experience, though I wish they offered FreeBSD 7. Beta testing for it
 was supposed to begin last month, but so far no news.
 
 My main concern is disk space; I have 2GB for ~$26 per month. For the
 same price at RootBSD you could get almost eight times as much. The
 question is how reliable are they? I can't find any information on
 their site about where the data center is or the exact system
 specifications.
 
 - Max

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


Re: /var full

2008-06-18 Thread Sahil Tandon
Paul Schmehl [EMAIL PROTECTED] wrote:

 At 10PM (local time) this evening, a server started reporting that /var was 
 full.  When I ssh'd in to the server to investigate, df said /var was at 2% 
 full (5.1G) and dh reported the same (5.1G).  /var/log/dmesg.today is full 
 of messages listing multiple entries with the same inode number followed by 
 one entry listing dd as the culprit.

 +pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full

[...]

 Was this some sort of temporary glitch?  Or something more ominous?  Why 
 would toor be running dd?  Is it some sort of file recovery routine 
 triggered by filesystem full messages?

This appears to be mysql-related:

http://dev.mysql.com/doc/refman/5.0/en/temporary-files.html

Also, what is the output of 'df -i /var'?

See recent thread on FreeBSD Forums for context:

http://www.freebsdforums.org/forums/printthread.php?t=58071

-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var full

2008-06-18 Thread Paul Schmehl
--On June 18, 2008 10:45:57 PM -0500 Paul Schmehl 
[EMAIL PROTECTED] wrote:



Why
would toor be running dd?  Is it some sort of file recovery routine
triggered by filesystem full messages?



Sheesh - that's operator, not toor, of course.

Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.

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


Re: /var full

2008-06-18 Thread Paul Schmehl

--On June 18, 2008 11:59:49 PM -0400 Sahil Tandon [EMAIL PROTECTED] wrote:


Paul Schmehl [EMAIL PROTECTED] wrote:


At 10PM (local time) this evening, a server started reporting that /var
was  full.  When I ssh'd in to the server to investigate, df said /var
was at 2%  full (5.1G) and dh reported the same (5.1G).
/var/log/dmesg.today is full  of messages listing multiple entries with
the same inode number followed by  one entry listing dd as the culprit.

+pid 730 (mysqld), uid 88 inumber 7089166 on /var: filesystem full


[...]


Was this some sort of temporary glitch?  Or something more ominous?
Why  would toor be running dd?  Is it some sort of file recovery
routine  triggered by filesystem full messages?


This appears to be mysql-related:



I gathered that from the error messages.


http://dev.mysql.com/doc/refman/5.0/en/temporary-files.html


Hmmm..tmpdir is not defined in /etc/my.cnf, so if I'm reading this right, 
mysqld *should* use /tmp for its temporary files.  This server has a /tmp 
partition that is 3.2GB, so that should be more than ample space *if* 
mysqld is really using it.  It appears that it may be using /var/tmp 
instead, which would be incorrect behavior *if* I'm reading their docs 
right.  But this /var partition is 300GB, so that's a really, really huge 
temporary file.




Also, what is the output of 'df -i /var'?



# df -i /var/
Filesystem  1K-blocksUsed Avail Capacity iusedifree %iused 
Mounted on
/dev/da1s1d 283737842 5397568 255641248 2%   20350 366736640% 
/var



See recent thread on FreeBSD Forums for context:

http://www.freebsdforums.org/forums/printthread.php?t=58071


Thanks.  At least I know I'm not the only one to have run into this oddity.

I'm not that knowledgeable of inodes.  My understanding is they are 
destroyed once a file is no longer in use.  Is that correct?  Is there any 
sort of history kept of file system activity that would identify what 
filename was identified by the inumbers listed in dmesg.today?  Or is that 
vain hope?


This is a 6.2 RELEASE system.  (Looks like it's time to upgrade to 7.0 
STABLE.)


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.

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


Re: FreeBSD and Greek support

2008-06-18 Thread Manolis Kiagias

Giorgos Keramidas wrote:

On Sun, 15 Jun 2008 22:39:19 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote:
  

Tore Lund wrote:


Dimitris Giakoudis wrote:
  

applied the settings and installed 'ports/x11-fonts/urwfonts' and
everything is in Greek now. I have a problem though when viewing web
pages that are encoded with el_GR, there are spaces among the
letters and it is really ugly.


Have you got examples of such web pages?  I read some Greek things on
the Net, and I have no problem with spaces among the letters.
  

I know the symptom Dimitris describes and it is easily solved by
installing truetype fonts like the webfonts port or your own truetype
fonts in ~/.fonts Dimitris you may allso want to check your settings
in your shell startup scripts i.e. (assuming bash)

export LANG=el_GR.ISO8859-7
or
export LANG=el_GR.UTF-8



Good point.  I'm too sleepy right now (the coffee hasn't started kicking
in yet from a very early wake up), but it would be nice if we also added
a note to the article saying that it is important to have the correct
locale environment *before* the X server fires up, to make sure that all
X11 programs grok Greek.

Manolis, if you feel like it, and you get to it before I do later today,
can you add a note like this?  If you don't, I'll get around to it when
I finish some early morning errands.

- Giorgos

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

  


Done, and pushed along with a few minor other fixes.

Manolis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]