Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-25 Thread JoaoBR
On Thursday 23 August 2007 14:37:57 Ian Smith wrote:

   so now I did because of your question and it seems the power_profile
   script has a bug
  
   I tries to set hw.acpi.cpu.cx_lowest=C1
  
   but I guess it should be dev.cpu.0.cx_lowest

 Ah, ok.  Updated in HEAD but not STABLE:
 http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile.diff?r1=te
xttr1=1.7r2=texttr2=1.11


well, seems you are mistaken, it is not fixed, the new power_profile I have on 
my current is wrong as well

# $FreeBSD: src/etc/rc.d/power_profile,v 1.11 2007/04/02 22:53:07 


it still tries to set  hw.acpi.cpu.cx_lowest but should set  
dev.cpu.0.cx_lowest

so it still gives the same erro




-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-23 Thread JoaoBR
On Thursday 23 August 2007 00:17:56 Ian Smith wrote:


 Call me curious, but (assuming that you're tuning for performance, not
 economy, and so will always run these boxes on AC power, not battery):

   a) why you think that line in /etc/rc.d/power_profile is 'funny'?


well, in first place because it gave an error, I haven't looked deeper at that 
moment because I was after something else

so now I did because of your question and it seems the power_profile script 
has a bug

I tries to set hw.acpi.cpu.cx_lowest=C1

but I guess it should be dev.cpu.0.cx_lowest


   b) what value for performance_cx_lowest you would consider more
  appropriate to use than C1, and why?


I didn't said that, My comment was not regarding the value but the error per 
se

   c) whether you have overridden the /etc/defaults/rc.conf values for
  {performance,economy}_cx_lowest or {performance,economy}_cpu_freq ?


no


-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-23 Thread Ian Smith
On Thu, 23 Aug 2007, JoaoBR wrote:
  On Thursday 23 August 2007 00:17:56 Ian Smith wrote:
  
  
   Call me curious, but (assuming that you're tuning for performance, not
   economy, and so will always run these boxes on AC power, not battery):
  
 a) why you think that line in /etc/rc.d/power_profile is 'funny'?
  
  
  well, in first place because it gave an error, I haven't looked deeper at 
  that 
  moment because I was after something else
  
  so now I did because of your question and it seems the power_profile script 
  has a bug
  
  I tries to set hw.acpi.cpu.cx_lowest=C1
  
  but I guess it should be dev.cpu.0.cx_lowest

Ah, ok.  Updated in HEAD but not STABLE:
http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile.diff?r1=texttr1=1.7r2=texttr2=1.11

But http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile
indicates that hw.acpi.cpu.cx_lowest should still work anyway, to set
all cpus the same?  What is the error message you're getting?

Cheers, Ian

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-23 Thread JoaoBR
On Thursday 23 August 2007 14:37:57 Ian Smith wrote:
 On Thu, 23 Aug 2007, JoaoBR wrote:
   On Thursday 23 August 2007 00:17:56 Ian Smith wrote:
Call me curious, but (assuming that you're tuning for performance, not
economy, and so will always run these boxes on AC power, not battery):
   
  a) why you think that line in /etc/rc.d/power_profile is 'funny'?
  
   well, in first place because it gave an error, I haven't looked deeper
   at that moment because I was after something else
  
   so now I did because of your question and it seems the power_profile
   script has a bug
  
   I tries to set hw.acpi.cpu.cx_lowest=C1
  
   but I guess it should be dev.cpu.0.cx_lowest

 Ah, ok.  Updated in HEAD but not STABLE:
 http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile.diff?r1=te
xttr1=1.7r2=texttr2=1.11

 But http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile
 indicates that hw.acpi.cpu.cx_lowest should still work anyway, to set
 all cpus the same?  What is the error message you're getting?


no it not working

# sysctl hw.acpi.cpu.cx_lowest=C1
hw.acpi.cpu.cx_lowest: C1
sysctl: hw.acpi.cpu.cx_lowest: Invalid argument


-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-22 Thread JoaoBR
On Monday 06 August 2007 09:28:35 JoaoBR wrote:
.

 I had a chance to test several MBs with the same 6000+, 5000+ and 4600+ cpu

 At the end seems that the problem is mb/hardware related since some
 combinations hung even with latest BIOS installed and others not.


not sure if somebody still wants to hear about this but it is kind of 
interesting I guess

for my understandings in first place the MB and Bios is most important thing 
and there are vendor bios out which say they support the higher freq CPUs but 
certainly they don't or at least not all of them

even so I gut freezes on all kind of combinations and seems that xorg and it's 
video drv are kind of very sensitive to certain settings, also with glx and 
dri disabled I still got freezings sooner or later

I got a new monitor this days and that brought the real stuff up, seems that 
xorg is not liking when the HorizSync and VertRefresh rates are not 100% 
correct and what then cause the kill. In order to doublecheck this I took my 
old monitor back with correct settings and i got no further freezes either 
with any of the CPU/MB combinations I tested before.

I have an LCD which can 1280x1024 at 75hz , the former could 1024x768 at 75hz 
and with both it works now fine with

VertRefresh 50-100
HorizSync   31.5 - 82.0

before I had

VertRefresh 50 - 90
HorizSync   30 - 75

one thing more I did which caused a sysctl error on boot. There is a funny 
line in /etc/rc.s/power_profile as 'highest_value=C1' which I commented out 
but I guess that has nothing to do since the setting was not accepted

anyway xorg seems to have problems when enabling DPMS and returns wrong 
values. The vesa driver seems to work better or is less sensitive than sis 
and nv and ati but with the correct monitor rates all are working fine.

well, I believe that's it because I have now two different MATX MBs running 
24h with Athlon 5000 without any problem, since friday night  

-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-22 Thread Ian Smith
On Wed, 22 Aug 2007, JoaoBR wrote:

  On Monday 06 August 2007 09:28:35 JoaoBR wrote:
  .
  
   I had a chance to test several MBs with the same 6000+, 5000+ and 4600+ cpu
  
   At the end seems that the problem is mb/hardware related since some
   combinations hung even with latest BIOS installed and others not.
  
  
  not sure if somebody still wants to hear about this but it is kind of 
  interesting I guess

[.. leaving out your video / xorg / DPMS stuff without comment ..]

  one thing more I did which caused a sysctl error on boot. There is a funny 
  line in /etc/rc.s/power_profile as 'highest_value=C1' which I commented 
  out 
  but I guess that has nothing to do since the setting was not accepted

Call me curious, but (assuming that you're tuning for performance, not
economy, and so will always run these boxes on AC power, not battery):

  a) why you think that line in /etc/rc.d/power_profile is 'funny'?

  b) what value for performance_cx_lowest you would consider more
 appropriate to use than C1, and why?

  c) whether you have overridden the /etc/defaults/rc.conf values for
 {performance,economy}_cx_lowest or {performance,economy}_cpu_freq ?

Cheers, Ian

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-09 Thread Stefan Eßer
Kris Kennaway schrieb:
 On Mon, Aug 06, 2007 at 10:54:08AM -0500, Scot Hetzel wrote:
 On 8/6/07, JoaoBR [EMAIL PROTECTED] wrote:
 Only to remember the problem only ocurres when loading powerd and seems the
 freeze happens when cpu freq is upshifting not down.

 Try setting:

 hint.acpi_throttle.0.disabled=1

 in /boot/loader.conf, as acpi_throttle may be the cause of the freeze.
 
 FYI this worked for me.

Well, I never understood why we don't make this the default,.
Since throttling has a much higher impact on performance than
on power consumption, it always is lowering the throughput
per Watt value (or to use some other metric, it increases the
Joule for completion of a task value).

For systems that do not support EST or PowerNow! (or newer),
it may still be better to have the CPU work unthrottled and
then go into an extended halt instead of a simple halt (C0).

In case of systems with low voltage modes, throttling may
make the CPU draw significantly more power than in a higher
clocked, reduced voltage mode. (I.e. 2GHz-1.6GHz at lower
voltage draws less power than throttling 2GHz-1GHz at the
nominal operating voltage ...)

Throttling may be useful to prevent over-heating of certain
CPUs under extreme load, but AFAIK these implement it without
OS support (in on-chip hardware, since the days of the P4).

So, IMHO, we should normally have acpi_throttle disabled in
the default installation ...

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-06 Thread JoaoBR
On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote:
  but I have better news and seems my first idea was right, the MB is it
 
  I found a tech info on the manufactor's support site telling cpu support
  up to 4600+ and found a bios for newer cpus including my 5000+
 
  so I upgraded the bios and my CPU now works with smp + cpufreq + powerd
  on both amd64 and i386
   

 Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
 CPU is officially supported and Cool'n'Quiet works dandy in Windows XP


I had a chance to test several MBs with the same 6000+, 5000+ and 4600+ cpu

At the end seems that the problem is mb/hardware related since some 
combinations hung even with latest BIOS installed and others not.

I tested newer MATX MBs and the only one which seems to run stable for long 
time is the Gigabyte MCP61 chipset. All others are freezing sooner or later 
with Athlon 5000 or faster CPUs. 

The problem is less with the 4600 CPU almost all boards are fine and with 4200 
CPU no problem at all.

The MBs with sis vga onboard are appearently unusable with the higher freq 
CPUs. ATI and NVidia are ok. 

Xorg appearently do not like HPET enabled because it freezes then with all 
this boards I tested.


Anyway, funny is that Fedora 7 which I have on the same HD is not freezing  
(same xorg+kde version) what makes me guess that eventual there is some 
problem with freebsd's acpi understanding the acpi tables when using this 
high freq amd processors.

Only to remember the problem only ocurres when loading powerd and seems the 
freeze happens when cpu freq is upshifting not down.

Not sure if it is worth looking deeper into this on 6 and soon I have some 
time I will check current first 



-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-06 Thread Scot Hetzel
On 8/6/07, JoaoBR [EMAIL PROTECTED] wrote:
 Only to remember the problem only ocurres when loading powerd and seems the
 freeze happens when cpu freq is upshifting not down.

Try setting:

hint.acpi_throttle.0.disabled=1

in /boot/loader.conf, as acpi_throttle may be the cause of the freeze.

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-06 Thread Kris Kennaway
On Mon, Aug 06, 2007 at 10:54:08AM -0500, Scot Hetzel wrote:
 On 8/6/07, JoaoBR [EMAIL PROTECTED] wrote:
  Only to remember the problem only ocurres when loading powerd and seems the
  freeze happens when cpu freq is upshifting not down.
 
 Try setting:
 
 hint.acpi_throttle.0.disabled=1
 
 in /boot/loader.conf, as acpi_throttle may be the cause of the freeze.

FYI this worked for me.

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-06 Thread Oliver Brandmueller
hi,

On Mon, Aug 06, 2007 at 01:49:20PM -0400, Kris Kennaway wrote:
  hint.acpi_throttle.0.disabled=1
  in /boot/loader.conf, as acpi_throttle may be the cause of the freeze.
 
 FYI this worked for me.

for me, too. Dual Opteron on Tyan board.

- Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany   D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|   Ich bin das Internet. Sowahr ich Gott helfe.   |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-08-06 Thread JoaoBR
On Monday 06 August 2007 12:54:08 Scot Hetzel wrote:
 On 8/6/07, JoaoBR [EMAIL PROTECTED] wrote:
  Only to remember the problem only ocurres when loading powerd and seems
  the freeze happens when cpu freq is upshifting not down.

 Try setting:

 hint.acpi_throttle.0.disabled=1

 in /boot/loader.conf, as acpi_throttle may be the cause of the freeze.

 Scot

thank's but I tried this switch and in none of this cases (MBs with problem) 
it helped


-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Michael Nottebrock
JoaoBR schrieb:
 On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
   
 JoaoBR wrote:
 
 Hi
 when I enable powerd with default flags (and any other also) the computer
 freezes some seconds after powerd is started. It does not reach login.
 Nothing in the logs. This is with amd 5000 X2 Am2

 When i stick into the same computer a 4600 or 4200 it runs fine and
 smooth.

 I thought it is MB related and did the same and again the 5000 cpu
 freeze, the smaller ones not.

 Any idea what I should do?

 I use releng_6 amd and i386 same story and cpufreq and acpi is compiled.
   
 Disable powerd again and boot normally.  Try changing the frequency with
 sysctl dev.cpu, etc. and see if any of the levels freeze for you.

 

 ok, this is what I get 

 dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778 
 1800/50237 
 1000/25535

 no need to say but the fan levels obviously are wrong

 And now the interesting part I shift to 2400 or any other and immediately 
 freeze, that from kde konsole

 in single user mode I can shift up and down between all speeds and nothing 
 happens
   
[Jumping in from the thread started on -stable -
http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html
- see there for system details]

Same here - in single user mode, even powerd works fine - like it does
with SMP disabled - but no go in multiuser.
 I see some similar discussion on stable but I can not match with everything 
 there because I have the problem only with the athlon 5000 cpu
   
The CPU difference is interesting - exactly what model is your X2 4600+?
Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient with 65W TDP).


Cheers,
-- 

   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org




signature.asc
Description: OpenPGP digital signature


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote:
 JoaoBR schrieb:
  On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
  JoaoBR wrote:
  Hi
  when I enable powerd with default flags (and any other also) the
  computer freezes some seconds after powerd is started. It does not
  reach login. Nothing in the logs. This is with amd 5000 X2 Am2
 
  When i stick into the same computer a 4600 or 4200 it runs fine and
  smooth.
 
  I thought it is MB related and did the same and again the 5000 cpu
  freeze, the smaller ones not.
 
  Any idea what I should do?
 
  I use releng_6 amd and i386 same story and cpufreq and acpi is
  compiled.
 
  Disable powerd again and boot normally.  Try changing the frequency with
  sysctl dev.cpu, etc. and see if any of the levels freeze for you.
 
  ok, this is what I get
 
  dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778
  1800/50237 1000/25535
 
  no need to say but the fan levels obviously are wrong
 
  And now the interesting part I shift to 2400 or any other and immediately
  freeze, that from kde konsole
 
  in single user mode I can shift up and down between all speeds and
  nothing happens

 [Jumping in from the thread started on -stable -
 http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html
 - see there for system details]

 Same here - in single user mode, even powerd works fine - like it does
 with SMP disabled - but no go in multiuser.

  I see some similar discussion on stable but I can not match with
  everything there because I have the problem only with the athlon 5000 cpu

 The CPU difference is interesting - exactly what model is your X2 4600+?
 Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient with 65W
 TDP).

seems to be the same

but I have better news and seems my first idea was right, the MB is it

I found a tech info on the manufactor's support site telling cpu support up to 
4600+ and found a bios for newer cpus including my 5000+

so I upgraded the bios and my CPU now works with smp + cpufreq + powerd on 
both amd64 and i386

nothing wrong with freebsd and xorg neither :)

-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Michael Nottebrock
JoaoBR schrieb:
 On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote:
   
 JoaoBR schrieb:
 
 On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
   
 JoaoBR wrote:
 
 Hi
 when I enable powerd with default flags (and any other also) the
 computer freezes some seconds after powerd is started. It does not
 reach login. Nothing in the logs. This is with amd 5000 X2 Am2

 When i stick into the same computer a 4600 or 4200 it runs fine and
 smooth.

 I thought it is MB related and did the same and again the 5000 cpu
 freeze, the smaller ones not.

 Any idea what I should do?

 I use releng_6 amd and i386 same story and cpufreq and acpi is
 compiled.
   
 Disable powerd again and boot normally.  Try changing the frequency with
 sysctl dev.cpu, etc. and see if any of the levels freeze for you.
 
 ok, this is what I get

 dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778
 1800/50237 1000/25535

 no need to say but the fan levels obviously are wrong

 And now the interesting part I shift to 2400 or any other and immediately
 freeze, that from kde konsole

 in single user mode I can shift up and down between all speeds and
 nothing happens
   
 [Jumping in from the thread started on -stable -
 http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html
 - see there for system details]

 Same here - in single user mode, even powerd works fine - like it does
 with SMP disabled - but no go in multiuser.

 
 I see some similar discussion on stable but I can not match with
 everything there because I have the problem only with the athlon 5000 cpu
   
 The CPU difference is interesting - exactly what model is your X2 4600+?
 Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient with 65W
 TDP).
 

 seems to be the same

 but I have better news and seems my first idea was right, the MB is it

 I found a tech info on the manufactor's support site telling cpu support up 
 to 
 4600+ and found a bios for newer cpus including my 5000+

 so I upgraded the bios and my CPU now works with smp + cpufreq + powerd on 
 both amd64 and i386
   
Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
CPU is officially supported and Cool'n'Quiet works dandy in Windows XP
... =/

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org




signature.asc
Description: OpenPGP digital signature


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote:
 JoaoBR schrieb:
  On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote:
  JoaoBR schrieb:
  On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
  JoaoBR wrote:
  Hi
  when I enable powerd with default flags (and any other also) the
  computer freezes some seconds after powerd is started. It does not
  reach login. Nothing in the logs. This is with amd 5000 X2 Am2
 
  When i stick into the same computer a 4600 or 4200 it runs fine and
  smooth.
 
  I thought it is MB related and did the same and again the 5000 cpu
  freeze, the smaller ones not.
 
  Any idea what I should do?
 
  I use releng_6 amd and i386 same story and cpufreq and acpi is
  compiled.
 
  Disable powerd again and boot normally.  Try changing the frequency
  with sysctl dev.cpu, etc. and see if any of the levels freeze for
  you.
 
  ok, this is what I get
 
  dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778
  1800/50237 1000/25535
 
  no need to say but the fan levels obviously are wrong
 
  And now the interesting part I shift to 2400 or any other and
  immediately freeze, that from kde konsole
 
  in single user mode I can shift up and down between all speeds and
  nothing happens
 
  [Jumping in from the thread started on -stable -
  http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html
  - see there for system details]
 
  Same here - in single user mode, even powerd works fine - like it does
  with SMP disabled - but no go in multiuser.
 
  I see some similar discussion on stable but I can not match with
  everything there because I have the problem only with the athlon 5000
  cpu
 
  The CPU difference is interesting - exactly what model is your X2 4600+?
  Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient with 65W
  TDP).
 
  seems to be the same
 
  but I have better news and seems my first idea was right, the MB is it
 
  I found a tech info on the manufactor's support site telling cpu support
  up to 4600+ and found a bios for newer cpus including my 5000+
 
  so I upgraded the bios and my CPU now works with smp + cpufreq + powerd
  on both amd64 and i386

 Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
 CPU is officially supported and Cool'n'Quiet works dandy in Windows XP
 ... =/

my ok msg was too fast, after some time my video starts flickering and stays 
so and the PC is freezed up, disabling powerd and works stable

until it freeze cpu frequency shifting is done well

manually I can set all cpu speeds and seems to stay stable on each

must be related to X because I have some servers without X but 
cpufreq+smp+powerd running absolutely stable

I found some msgs about the same problem with Gentoo and Debian and people say 
the problem is with xorg and changing to xfree solved it for them but I 
myself probably will not risk getting into a nightmare after the /usrX11R6 
thing

I have no windows but fedora 7 on the same pc and works fine too, 
kde's 'kpowersave info dialog' shows fine the cpu frequency shifting




-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Oliver Brandmueller
Hi,

On Sat, Jul 28, 2007 at 08:33:55AM -0300, JoaoBR wrote:
 my ok msg was too fast, after some time my video starts flickering and stays 
 so and the PC is freezed up, disabling powerd and works stable
 
 until it freeze cpu frequency shifting is done well
 
 manually I can set all cpu speeds and seems to stay stable on each
 
 must be related to X because I have some servers without X but 
 cpufreq+smp+powerd running absolutely stable

Did you ever try to measure the difference in power consumption of the 
whole PC, so you know all the trouble actually is worth anything? :-)

- Olli

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany   D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|   Ich bin das Internet. Sowahr ich Gott helfe.   |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 08:40:33 Oliver Brandmueller wrote:
 Hi,

 On Sat, Jul 28, 2007 at 08:33:55AM -0300, JoaoBR wrote:
  my ok msg was too fast, after some time my video starts flickering and
  stays so and the PC is freezed up, disabling powerd and works stable
 
  until it freeze cpu frequency shifting is done well
 
  manually I can set all cpu speeds and seems to stay stable on each
 
  must be related to X because I have some servers without X but
  cpufreq+smp+powerd running absolutely stable

 Did you ever try to measure the difference in power consumption of the
 whole PC, so you know all the trouble actually is worth anything? :-)


yup I did, probably not exactly the issue if you use a computer from time to 
time at home but if you have 200 running 24x7 things change

Anyway I understand what you try to say but powerconsumption is not the only 
reason for using powerd

there are secondary issues as PS, cooler and fan lifetimes for example, lower 
air conditioning costs also come in here

fan noise is one of the interesting issues for home users or for whom likes it 
quiet in the office


-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Michael Nottebrock
JoaoBR schrieb:
 On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote:
   
 JoaoBR schrieb:
 
 On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote:
   
 JoaoBR schrieb:
 
 On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
   
 JoaoBR wrote:
 
 Hi
 when I enable powerd with default flags (and any other also) the
 computer freezes some seconds after powerd is started. It does not
 reach login. Nothing in the logs. This is with amd 5000 X2 Am2

 When i stick into the same computer a 4600 or 4200 it runs fine and
 smooth.

 I thought it is MB related and did the same and again the 5000 cpu
 freeze, the smaller ones not.

 Any idea what I should do?

 I use releng_6 amd and i386 same story and cpufreq and acpi is
 compiled.
   
 Disable powerd again and boot normally.  Try changing the frequency
 with sysctl dev.cpu, etc. and see if any of the levels freeze for
 you.
 
 ok, this is what I get

 dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778
 1800/50237 1000/25535

 no need to say but the fan levels obviously are wrong

 And now the interesting part I shift to 2400 or any other and
 immediately freeze, that from kde konsole

 in single user mode I can shift up and down between all speeds and
 nothing happens
   
 [Jumping in from the thread started on -stable -
 http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html
 - see there for system details]

 Same here - in single user mode, even powerd works fine - like it does
 with SMP disabled - but no go in multiuser.

 
 I see some similar discussion on stable but I can not match with
 everything there because I have the problem only with the athlon 5000
 cpu
   
 The CPU difference is interesting - exactly what model is your X2 4600+?
 Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient with 65W
 TDP).
 
 seems to be the same

 but I have better news and seems my first idea was right, the MB is it

 I found a tech info on the manufactor's support site telling cpu support
 up to 4600+ and found a bios for newer cpus including my 5000+

 so I upgraded the bios and my CPU now works with smp + cpufreq + powerd
 on both amd64 and i386
   
 Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
 CPU is officially supported and Cool'n'Quiet works dandy in Windows XP
 ... =/
 

 my ok msg was too fast, after some time my video starts flickering and stays 
 so and the PC is freezed up, disabling powerd and works stable
   
Meanwhile I found a workaround for my system: I had SCHED_ULE configured
in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
have thought of that sooner, ISTR having problems with powerd and
SCHED_ULE even on single cpu P4s.

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org




signature.asc
Description: OpenPGP digital signature


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Kris Kennaway
On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote:

 Meanwhile I found a workaround for my system: I had SCHED_ULE configured
 in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
 have thought of that sooner, ISTR having problems with powerd and
 SCHED_ULE even on single cpu P4s.

I see you've now learned a reason why no-one should be using SCHED_ULE
on FreeBSD  7 ;-)

Kris

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Michael Nottebrock
Kris Kennaway schrieb:
 On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote:

   
 Meanwhile I found a workaround for my system: I had SCHED_ULE configured
 in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
 have thought of that sooner, ISTR having problems with powerd and
 SCHED_ULE even on single cpu P4s.
 

 I see you've now learned a reason why no-one should be using SCHED_ULE
 on FreeBSD  7 ;-)
   
... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might
actually become the scheduler nobody was ever supposed to be using? It
might still be worthwhile doing some experimenting with powerd and the
different schedulers in -CURRENT, just in case 4BSD ever gets knocked
from GENERIC. :)

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org




signature.asc
Description: OpenPGP digital signature


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Doug Barton

On Sat, 28 Jul 2007, Michael Nottebrock wrote:


... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might
actually become the scheduler nobody was ever supposed to be using? It
might still be worthwhile doing some experimenting with powerd and the
different schedulers in -CURRENT, just in case 4BSD ever gets knocked
from GENERIC. :)


The _SMP variant has been integrated into the _ULE code in -current, so they 
are now the same thing. My understanding is that the intention is to make it 
the default scheduler for 7-stable, but I could be remembering that wrong.


Doug

--

This .signature sanitized for your protection

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Kris Kennaway
On Sat, Jul 28, 2007 at 11:00:15PM +0200, Michael Nottebrock wrote:
 Kris Kennaway schrieb:
  On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote:
 

  Meanwhile I found a workaround for my system: I had SCHED_ULE configured
  in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
  have thought of that sooner, ISTR having problems with powerd and
  SCHED_ULE even on single cpu P4s.
  
 
  I see you've now learned a reason why no-one should be using SCHED_ULE
  on FreeBSD  7 ;-)

 ... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might
 actually become the scheduler nobody was ever supposed to be using? It
 might still be worthwhile doing some experimenting with powerd and the
 different schedulers in -CURRENT, just in case 4BSD ever gets knocked
 from GENERIC. :)

There has been so much publicity about SCHED_ULE being broken and
contraindicated on 6.x and older versions that it's hard to understand
why people persist in using it and then being surprised when it fails
for them.  It's also kind of irritating because it ties up developer
time when problems are reported and it only later emerges that the
user is using ULE.

As you know, the version of ULE in 7.0 is completely revised, and has
the advantage of actually working.  If you see problems with ULE in
7.0, please report them on current.  If you are still using ULE on
-stable, please stop.

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


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 14:47:17 Kris Kennaway wrote:
 On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote:
  Meanwhile I found a workaround for my system: I had SCHED_ULE configured
  in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
  have thought of that sooner, ISTR having problems with powerd and
  SCHED_ULE even on single cpu P4s.

 I see you've now learned a reason why no-one should be using SCHED_ULE
 on FreeBSD  7

so using ULE in 7 is ok ? ? ?

you already told once ULE is broken in 6 what is nonsense as probably using 
ULE in 7 is ...

ULE in 6.x is absolutely ok and it runs depending on situation faster than 
4BSD with correct kernel and sysctl settings for it and it is perfectly 
stable, specially with polling + net.isr.enable + net.inet.ip.forwarding + 
some other tweaks depending on the servers load and several NICs on a router 
probably up to 4-6MB continuous throughput when then 4BSD gets faster but not 
so much, small and midsize MySQL seems to be faster with ULE too especially 
with small r/w  packages

ULE also seems to be faster on a desktop with SMP and KDE on X2 CPUs and you 
can feel it 

-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 10:46:15 Michael Nottebrock wrote:
 JoaoBR schrieb:
  On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote:
  JoaoBR schrieb:
  On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote:
  JoaoBR schrieb:
  On Friday 27 July 2007 12:31:55 Nate Lawson wrote:
  JoaoBR wrote:
  Hi
  when I enable powerd with default flags (and any other also) the
  computer freezes some seconds after powerd is started. It does not
  reach login. Nothing in the logs. This is with amd 5000 X2 Am2
 
  When i stick into the same computer a 4600 or 4200 it runs fine and
  smooth.
 
  I thought it is MB related and did the same and again the 5000 cpu
  freeze, the smaller ones not.
 
  Any idea what I should do?
 
  I use releng_6 amd and i386 same story and cpufreq and acpi is
  compiled.
 
  Disable powerd again and boot normally.  Try changing the frequency
  with sysctl dev.cpu, etc. and see if any of the levels freeze for
  you.
 
  ok, this is what I get
 
  dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778
  1800/50237 1000/25535
 
  no need to say but the fan levels obviously are wrong
 
  And now the interesting part I shift to 2400 or any other and
  immediately freeze, that from kde konsole
 
  in single user mode I can shift up and down between all speeds and
  nothing happens
 
  [Jumping in from the thread started on -stable -
  http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.htm
 l - see there for system details]
 
  Same here - in single user mode, even powerd works fine - like it does
  with SMP disabled - but no go in multiuser.
 
  I see some similar discussion on stable but I can not match with
  everything there because I have the problem only with the athlon 5000
  cpu
 
  The CPU difference is interesting - exactly what model is your X2
  4600+? Mine is a stepping F, model 4B, rev BH-F2 (Energy Efficient
  with 65W TDP).
 
  seems to be the same
 
  but I have better news and seems my first idea was right, the MB is it
 
  I found a tech info on the manufactor's support site telling cpu
  support up to 4600+ and found a bios for newer cpus including my 5000+
 
  so I upgraded the bios and my CPU now works with smp + cpufreq + powerd
  on both amd64 and i386
 
  Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
  CPU is officially supported and Cool'n'Quiet works dandy in Windows XP
  ... =/
 
  my ok msg was too fast, after some time my video starts flickering and
  stays so and the PC is freezed up, disabling powerd and works stable

 Meanwhile I found a workaround for my system: I had SCHED_ULE configured
 in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
 have thought of that sooner, ISTR having problems with powerd and
 SCHED_ULE even on single cpu P4s.

here no change, I was already on 4BSD
I tried both schedulers but my problem persist. Since my MB has a sis onboard 
vga I will try a PCIe on monday and see if it helps because when I disable 
DPMS in xorg.conf it stands longer here


-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread Peter Jeremy
On 2007-Jul-28 19:03:54 -0300, JoaoBR [EMAIL PROTECTED] wrote:
so using ULE in 7 is ok ? ? ?

Yes.

ULE in 6.x is absolutely ok and it runs depending on situation faster than 
4BSD with correct kernel and sysctl settings for it and it is perfectly 
stable,

This is simply wrong.  ULE in 6.x is known to have problems and is
unsupported.  If the problems do not affect your particular workload
then fine.  If you have _any_ problems whilst running with ULE in 6.x,
your problems will not be invstigated unless you can reproduce the
problem with the 4BSD scheduler.

As Kris stated, reporting problems in 6.x when you are running ULE is
just wasting developer resources.

Please stop implying that people should be using ULE in 6.x unless you
are willing to personally provide support for them.

-- 
Peter Jeremy


pgpnFB7jwXUpV.pgp
Description: PGP signature


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 10:46:15 Michael Nottebrock wrote:
 
  Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the
  CPU is officially supported and Cool'n'Quiet works dandy in Windows XP
  ... =/
 
  my ok msg was too fast, after some time my video starts flickering and
  stays so and the PC is freezed up, disabling powerd and works stable

 Meanwhile I found a workaround for my system: I had SCHED_ULE configured
 in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should
 have thought of that sooner, ISTR having problems with powerd and
 SCHED_ULE even on single cpu P4s.



I spend some time here on different MBs with the same 5000+ cpu, comparing 
i386 and amd64

I cvsuped both sources and compiled world and kernel an hour ago

firstable, smp (either 4BSD or ULE) with powerd_enable (cpufreq in kernel) 
works as long as no xorg is started (GENERIC, no sysctl, no loader.conf 
options)

nevertheless strange, on all MBs, same CPU:

i386:
dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778 1800/50237 
1575/43957 1350/37677 1125/31398 1000/25535 875/22343 750/19151 625/15959 
500/12767 375/9575 250/6383 125/3191

amd64:dev.cpu.0.freq_levels: 2600/10 2400/85596 2200/72544 2000/60778 
1800/50237 1000/25535


both, amd64 and i386 with same ports and up to date

wether 4BSD or ULE on i386 freeze soon as xorg starts when powerd is enabled

ULE freeze on xorg start before coming up and 4BSD comes up and works for a 
certain time on amd64 (5-30 minutes) 


all kernels are compiled with make.conf option CPUTYPE?=athlon64 beeing 
translated appearently to the same athlon-mp option when available

somebody knows why I get different frequencies under i386 and amd64 for the 
same hardware?



-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: powerd freeze with amd 5000 X2 but not with lower cpus

2007-07-28 Thread JoaoBR
On Saturday 28 July 2007 20:21:02 Peter Jeremy wrote:
 On 2007-Jul-28 19:03:54 -0300, JoaoBR [EMAIL PROTECTED] wrote:
 so using ULE in 7 is ok ? ? ?

 Yes.


I thought it is SCHED_SMP on 7 ... isn't it? if not forget my joke, I remember 
a msg from Roberson saying the _SMP will substitute _ULE on 7 but I do not 
use 7 so may be it changed later back to it's original name

 ULE in 6.x is absolutely ok and it runs depending on situation faster than
 4BSD with correct kernel and sysctl settings for it and it is perfectly
 stable,

 This is simply wrong.  ULE in 6.x is known to have problems and is
 unsupported.  If the problems do not affect your particular workload
 then fine.  If you have _any_ problems whilst running with ULE in 6.x,
 your problems will not be invstigated unless you can reproduce the
 problem with the 4BSD scheduler.



interesting, what do you know? Do you have some data to share?

I don't know where you got your info but I have 50 X2 SMP amd64 running  and 
25 or so dual-opteron dualcores with SCHED_ULE absolute rockstable and faster 
than 4BSD, as I mentioned under the circumstances I described before

I also have more 40 or so X2s and 60 or so dual and quad opteron dualcores  
running 4BSD and before you tell me more blabla copied from newspapers and 
other cha-cha sources better you come to me with data (DATA=numbers) from 
*real* world

 As Kris stated, reporting problems in 6.x when you are running ULE is
 just wasting developer resources.

well I also don't know where you got this because I *never ever* claimed any 
problem with ULE 


 Please stop implying that people should be using ULE in 6.x unless you
 are willing to personally provide support for them.

I also do  not know where you got this because I also *never ever* implied 
using ULE, I simply say that I do *NOT* have any problem with it the way I 
use it

So you please read the complete msgs and *try* to understand them before 
answering with distortions and irrelevant conversations 




-- 

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]