[Fwd: Re: Random Freeze]

2004-07-28 Thread Mark Ovens
Paul Mather wrote:
Mark,
When you do, look for PREEMPTION.  That should speed up the search. :-)
Yes, I searched the mailing lsts and found it, deleted #define
PREEMPTION from sys/i38i6/include/param.h, rebuilt my kernel and the
machine has been up for 13 hours now :-)
Only thing is the screensaver hangs after ~5 minutes (that had me
worried the first time it happened), but that's not really important.
Seriously, though, -CURRENT has been going through some major
instability the last fortnight or so.  One thesis is that the
pre-emption code added has either introduced or uncovered some obscure
bugs.  The net effect has been random freezes---most often reported is
when under load or doing something (e.g., rendering a complicated page)
using Mozilla, or when using XMMS.
The two apps I probably use the most!
One suggestion, until the culprit has been found, is to rebuild without
PREEMPTION (undef it in /usr/src/sys/i386/include/param.h).  That has
certainly stopped the freezes in my case.
Me too.
If you're running -CURRENT, it is advisable to subscribe to the
freebsd-current mailing list---if nothing else but to be apprised of
ongoing problems like this, or to get a heads-up about possible future
instability caused by major repository/functionality changes.  (For
example, today there was a heads-up about the GCC 3.4 import being done
[which seems to have broken things temporarily].)
I have done now. I'm only running -CURRENT because this is a dual CPU
box and when I built it back in December what I was readin on the lists
suggested that 5-STABLE was only a few months away and, since SMP
support in 5.x is superior to 4.x, I figured upgrading
5-CURRENT-5-STABLE would be easier than 4-STABLE-%-STABLE. As soon as
we get a 5-STABLE that's what I'll run.
Thanks for your input.
Regards,
Mark
Cheers,
Paul.

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


Re: Random Freeze

2004-07-27 Thread Mark Ovens
Karol Kwiatkowski wrote:
Joseph Peterson wrote:
Unfortunately that is not the solution to my problem, I've run
memtest86 on my laptop several times and found no problems... any
other thoughts? =)
-joe
Just a thought:
Have you build your world and / or kernel from source? If that's the
case double check processor-specific make options like CPUTYPE, CFLAGS,
COPTFLAGS, etc. (they can be used from command line and from /etc/make.conf)
Good luck!
Karol
I'm seeing the same problem on my dual Athlon box. The freezes are 
totally random AFAICT, sometimes when the machine is just idling.

I've not used any CPU-specific make options but may try setting some to 
see if it makes a difference. One thing though, I only have

cpu I686_CPU
set, not I486_CPU and I586_CPU as well, maybe that could be a problem?
I'm running -CURRENT and the build I did on 8 April didn't have this 
problem but it started with the next build I did a couple of weeks ago. 
I've cvsup'd and rebuilt a couple of times since, the last on 25 July, 
but the problem persists.

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


Re: Random Freeze

2004-07-27 Thread Karol Kwiatkowski
Mark Ovens wrote:

 I'm seeing the same problem on my dual Athlon box. The freezes are 
 totally random AFAICT, sometimes when the machine is just idling.
 
 I've not used any CPU-specific make options but may try setting some to 
 see if it makes a difference. One thing though, I only have
 
 cpu   I686_CPU
 
 set, not I486_CPU and I586_CPU as well, maybe that could be a problem?

AFAIK, that's a proper setting for Athlons. What I recommend is you
shouldn't play with make options before setting up a stable system
(sorry if that's too obvious).

 I'm running -CURRENT and the build I did on 8 April didn't have this 
 problem but it started with the next build I did a couple of weeks ago. 
 I've cvsup'd and rebuilt a couple of times since, the last on 25 July, 
 but the problem persists.

I don't have much experience with CURRENT (and with SMP) but if you
didn't change the config files it looks like something in the code (this
is possible in CURRENT, right?). Only thing I can think of is reading
freebsd-current and searching the archives. Not much from me, sorry.

Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Freeze

2004-07-27 Thread Mark Ovens
Karol Kwiatkowski wrote:
Mark Ovens wrote:
I'm seeing the same problem on my dual Athlon box. The freezes are 
totally random AFAICT, sometimes when the machine is just idling.

I've not used any CPU-specific make options but may try setting some to 
see if it makes a difference. One thing though, I only have

cpu I686_CPU
set, not I486_CPU and I586_CPU as well, maybe that could be a problem?
AFAIK, that's a proper setting for Athlons. What I recommend is you
shouldn't play with make options before setting up a stable system
(sorry if that's too obvious).
I'm running -CURRENT and the build I did on 8 April didn't have this 
problem but it started with the next build I did a couple of weeks ago. 
I've cvsup'd and rebuilt a couple of times since, the last on 25 July, 
but the problem persists.
I don't have much experience with CURRENT (and with SMP) but if you
didn't change the config files it looks like something in the code (this
is possible in CURRENT, right?). Only thing I can think of is reading
freebsd-current and searching the archives. Not much from me, sorry.
I've noticed something; it only seems to freeze when I'm in X. I had the 
machine up for over 30 hours at the command line yesterday whilst I 
upgraded some ports, including KDE (which was why I did it from the 
command line). I rebooted it when I'd finished. I've never had it stay 
up anywhere near that long since the 8 April build. Some conflict 
between XFree86 (4.3.0) and -CURRENT/5.2.1-RELEASE?

Also, my machine dual-boots with XP and that stays up for days at a time 
so, in my case at least, I doubt it's hardware, plus I've run memtest86 
and it was OK.

Thanks for the input. I'm going to subscribe to freebsd-current and 
search the archives.

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


RE: Random Freeze

2004-07-22 Thread Cedric GROSS
 Thanks to all for answer.

Effectively I use memtest86 to find a Bad module in my box, so I remove it and for the 
moment by box is running well.

 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] De la part de 
 Robert Storey
 Envoyé : jeudi 22 juillet 2004 16:18
 À : [EMAIL PROTECTED]
 Objet : Re: Random Freeze
 
 On Wed, 21 Jul 2004 15:41:56 +0200
 Cedric GROSS [EMAIL PROTECTED] wrote:
 
  Hello,
  
  I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
  sometimes the system freeze so I must reboot. I haven't anything in
  log. So, What could be the problem ? 
  How could I obtain some clue of the problem (debug flag, something
  like that..) ?
 
 I had this and it turned out to be dust in the slots for add-on cards.
 Removing the cards, cleaning the terminals and blowing out 
 the dust from
 the slots, fixed the problem.
 
 Overheating will produce the same symptoms. If you're in the northern
 hemisphere, this is time of year when you have to worry about this.
 Blowing out dust (pay attention to the cpu fan and power supply fan,
 which are dust traps) can make the difference.
 
 Of course, your problem may have nothing to do with the above.
 
 good luck,
 Robert
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Freeze

2004-07-22 Thread Joseph Peterson
Unfortunately that is not the solution to my problem, I've run
memtest86 on my laptop several times and found no problems... any
other thoughts? =)

-joe

On Thu, 22 Jul 2004 17:17:28 +0200, Cedric GROSS [EMAIL PROTECTED] wrote:
  Thanks to all for answer.
 
 Effectively I use memtest86 to find a Bad module in my box, so I remove it and for 
 the moment by box is running well.
 
  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] De la part de
  Robert Storey
  Envoyé : jeudi 22 juillet 2004 16:18
  À : [EMAIL PROTECTED]
  Objet : Re: Random Freeze
 
 
 
  On Wed, 21 Jul 2004 15:41:56 +0200
  Cedric GROSS [EMAIL PROTECTED] wrote:
 
   Hello,
  
   I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
   sometimes the system freeze so I must reboot. I haven't anything in
   log. So, What could be the problem ?
   How could I obtain some clue of the problem (debug flag, something
   like that..) ?
 
  I had this and it turned out to be dust in the slots for add-on cards.
  Removing the cards, cleaning the terminals and blowing out
  the dust from
  the slots, fixed the problem.
 
  Overheating will produce the same symptoms. If you're in the northern
  hemisphere, this is time of year when you have to worry about this.
  Blowing out dust (pay attention to the cpu fan and power supply fan,
  which are dust traps) can make the difference.
 
  Of course, your problem may have nothing to do with the above.
 
  good luck,
  Robert
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Random Freeze

2004-07-22 Thread Vulpes Velox
On Wed, 21 Jul 2004 15:41:56 +0200
Cedric GROSS [EMAIL PROTECTED] wrote:

 Hello,
 
 I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
 sometimes the system freeze so I must reboot. I haven't anything in
 log. So, What could be the problem ? 
 How could I obtain some clue of the problem (debug flag, something
 like that..) ?

Freezes when doing what?

Could be hardware or software... not enough info provided to say any
thing...

BTW what is the rest of the hardware a dmesg and x config would be
useful too.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Freeze

2004-07-22 Thread Karol Kwiatkowski
Joseph Peterson wrote:

 Unfortunately that is not the solution to my problem, I've run
 memtest86 on my laptop several times and found no problems... any
 other thoughts? =)
 
 -joe
 

Just a thought:

Have you build your world and / or kernel from source? If that's the
case double check processor-specific make options like CPUTYPE, CFLAGS,
COPTFLAGS, etc. (they can be used from command line and from /etc/make.conf)

Good luck!

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random Freeze

2004-07-22 Thread Joseph Peterson
Nope, not setting any of those...

On Thu, 22 Jul 2004 22:19:26 +0200, Karol Kwiatkowski
[EMAIL PROTECTED] wrote:
 Joseph Peterson wrote:
 
  Unfortunately that is not the solution to my problem, I've run
  memtest86 on my laptop several times and found no problems... any
  other thoughts? =)
 
  -joe
 
 
 Just a thought:
 
 Have you build your world and / or kernel from source? If that's the
 case double check processor-specific make options like CPUTYPE, CFLAGS,
 COPTFLAGS, etc. (they can be used from command line and from /etc/make.conf)
 
 Good luck!
 
 Karol
 
 --
 Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Random Freeze

2004-07-21 Thread Cedric GROSS
Hello,

I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
sometimes the system freeze so I must reboot. I haven't anything in log.
So, What could be the problem ? 
How could I obtain some clue of the problem (debug flag, something like
that..) ?

Thanks for help.

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


Re: Random Freeze

2004-07-21 Thread Mistery X

 Wiadomo Oryginalna 
Od: Cedric GROSS [EMAIL PROTECTED]
Do: [EMAIL PROTECTED]
Data: Wed, 21 Jul 2004 15:41:56 +0200
Temat: Random Freeze

Hello,

I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
sometimes the system freeze so I must reboot. I haven't anything in
log.
So, What could be the problem ? 
How could I obtain some clue of the problem (debug flag, something like
that..) ?

Thanks for help.

Cedric
Check your memory slots, memory chips, and perform some memory test
- you can find some apps in ports. I had similiar problem once, and
it was memory caused.

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


Re: Random Freeze

2004-07-21 Thread Nelis Lamprecht
On Wed, 2004-07-21 at 15:41, Cedric GROSS wrote:
 Hello,
 
 I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
 sometimes the system freeze so I must reboot. I haven't anything in log.
 So, What could be the problem ? 
 How could I obtain some clue of the problem (debug flag, something like
 that..) ?
 
Hi,

Are you using any sort of traffic shaping( dummynet ) with ipfw ? Had a
similar problem and solved it by setting the timer granularity ( options
HZ=1000 ) in the kernel which is strongly recommended. The machine also
gave me no clue as to why it froze. Checking your memory as already
suggested is also a good idea. You can use the memory test located in 
/usr/ports/sysutils/memtest86 which is a great tool. You might also want
to upgrade to the latest source for that particular RELEASE as bugs are
constantly found and corrected.

 
Regards,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


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


Re: Random Freeze

2004-07-21 Thread Joseph Peterson
I have the same problem, except I'm running -CURRENT on a Toshiba
Satelite A25-S279 laptop. (Intel P4 NOT MOBILE or CELERON 2.8Ghz)
From time to time, somtimes once a day, sometimes twice in 10 minutes,
doing nothing specific, the machine will lock completely, no caps lock
change, not able to ping it, etc... The screen is still on, but I have
to power-cycle it.

-joe

On Wed, 21 Jul 2004 15:41:56 +0200, Cedric GROSS [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
 sometimes the system freeze so I must reboot. I haven't anything in log.
 So, What could be the problem ?
 How could I obtain some clue of the problem (debug flag, something like
 that..) ?
 
 Thanks for help.
 
 Cedric
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Random Freeze

2004-07-21 Thread Robert Storey
On Wed, 21 Jul 2004 15:41:56 +0200
Cedric GROSS [EMAIL PROTECTED] wrote:

 Hello,
 
 I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and
 sometimes the system freeze so I must reboot. I haven't anything in
 log. So, What could be the problem ? 
 How could I obtain some clue of the problem (debug flag, something
 like that..) ?

I had this and it turned out to be dust in the slots for add-on cards.
Removing the cards, cleaning the terminals and blowing out the dust from
the slots, fixed the problem.

Overheating will produce the same symptoms. If you're in the northern
hemisphere, this is time of year when you have to worry about this.
Blowing out dust (pay attention to the cpu fan and power supply fan,
which are dust traps) can make the difference.

Of course, your problem may have nothing to do with the above.

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