Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-19 Thread Wolfgang Pfeiffer
On Sun, May 15, 2005 at 06:47:12PM +0200, Wolfgang Pfeiffer wrote:
 OK Matthias: I owe you a Pizza, family-size (at least ... :)
 
 On Sun, May 15, 2005 at 01:41:56PM +0200, Matthias Grimm wrote:
  On Sun, 15 May 2005 13:07:58 +0200
  Wolfgang Pfeiffer [EMAIL PROTECTED] wrote:

   [ ... ]

 
   MAXIMUM SPEED AFTER REBOOT?
 
 And I'll reboot the machine in a minute to see, whether pbbuttons will
 be able with the new settings to automatically set this machine to
 maximum speed (Maximum, because it will be connected to the
 power-adapter). Until later ...
 
 [Minutes later:]
 
 It didn't work:
 /var/log/syslog:
 
 May 15 17:03:53 debby pbbuttonsd: INFO: Script
 '/etc/power/pmcs-pbbuttonsd performance ac ' lauched but killed after
 4 seconds
 


I seems I got it working with the same CPU_FREQ settings as in my very first
2.6.12-rc4 config on
http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt

The trick that did it, with a little help from Matthias Grimm
(Matthias: I recompiled the kernel again for getting the following to
work, curious as you made me with your suggestion how to get it
working .. :) ... :

$ diff -u /etc/pbbuttonsd.conf /etc/pbbuttonsd.conf.050519 
--- /etc/pbbuttonsd.conf2005-05-19 21:49:48.0 +0200
+++ /etc/pbbuttonsd.conf.050519 2005-05-19 21:49:32.0 +0200
@@ -4,7 +4,7 @@
 # [SYSTEM]
 #userallowed   = paranoid ; user who is allowed to use IPC
 autorescan= no ; automatic rescan of event devices
-CmdTimeout= 10
+CmdTimeout= 4
 
 # [MODULE POWERSAVE]
 onAC_policy   = performance; nochange, performance, custom or 
powersave


So setting pbbuttonsd to CmdTimeout  = 10 seems to help ... :)

The CPU_FREQ kernel .config settings (URL please see above):

$ grep -i cpu config-2.6.12-rc4-selinux1.txt
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_PMAC=y
# CONFIG_NET_SCH_CLK_CPU is not set

HTH

Thanks, Matthias Grimm ... :)

Best Regards
  Wolfgang

-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-16 Thread Wolfgang Pfeiffer
On Sun, May 15, 2005 at 01:07:58PM +0200, Wolfgang Pfeiffer wrote:
 
 If you want to try it:
 My config:
 http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt

In the meantime I built another kernel with changed Power Management
settings. From the new kernel .config and the old one here's the diff:




--- config-2.6.12-rc4-selinux1  2005-05-15 12:24:38.0 +0200
+++ config-2.6.12-rc4-selinux2  2005-05-16 19:22:29.0 +0200
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.12-rc4-selinux1
-# Fri May 13 19:26:33 2005
+# Linux kernel version: 2.6.12-rc4-selinux2
+# Mon May 16 17:48:53 2005
 #
 CONFIG_MMU=y
 CONFIG_GENERIC_HARDIRQS=y
@@ -83,11 +83,11 @@
 # CONFIG_CPU_FREQ_DEBUG is not set
 CONFIG_CPU_FREQ_STAT=y
 CONFIG_CPU_FREQ_STAT_DETAILS=y
-# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
-CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
-# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
-# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=m
+CONFIG_CPU_FREQ_GOV_USERSPACE=m
 # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
 CONFIG_CPU_FREQ_PMAC=y
 # CONFIG_PPC601_SYNC_FIX is not set
@@ -1017,7 +1017,7 @@
 # CONFIG_SENSORS_PCF8591 is not set
 # CONFIG_SENSORS_RTC8564 is not set
 # CONFIG_SENSORS_M41T00 is not set
-CONFIG_I2C_DEBUG_CORE=y
+# CONFIG_I2C_DEBUG_CORE is not set
 # CONFIG_I2C_DEBUG_ALGO is not set
 # CONFIG_I2C_DEBUG_BUS is not set
 # CONFIG_I2C_DEBUG_CHIP is not set





With this latest kernel .config and adding this line to
/etc/modules-2.6 (/etc/modules ?) for the new kernel

cpufreq_userspace 

I have 100% speed some time after booting now, and speed changes then
depending on whether AC or the battery is plugged to the Titanium IV.
(You probably need pbbuttonsd, or something like that, installed for
this to work .. :)

# lsmod | grep usersp
cpufreq_userspace   4364  1

And yes I changed the CONFIG_I2C_DEBUG_CORE setting, as Erik
Chakravarty reported kernel behavior that might be annoying ..  Please
see the Overkill debugging output thread from a few hours ago ..

The sound problem I reported earlier was solved by changing some ALSA
settings .. For more on it please see the Bingo: Sound on 2.6.12-rc4
:::))) thread, also from a few hours ago ...

 
 With this config you don't need an initrd ... :)
 And selinux is disabled at boot.
 And I enabled a blinking LED for hard disk activity (actually the most
 important setting at all: In the end, what is a computer if it doesn't
 blink :::)))
 
 But as I said: I have problems with ALSA (no sound so far) and with
 pbbuttonsd: I enabled userspace Power Management in the .config, and
 I'm not sure yet why the speed on the machine (Titanium IV, 867 MHz)
 is set to ~665 MHz after booting the machine.
 


HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Eddy Petrisor
Paul Brossier wrote:
On Sat, May 14, 2005 at 01:45:39AM +0200, Wolfgang Pfeiffer wrote:
Am I the only who got impressed?

No, I am also running a 2.6.12-rc4 and I found it very stable, with much
improvements over the 2.6.9+patch7. Software suspend and usb are no more
a problem, at worst all it takes is a hotplug restart for some devices
to wake up. And with a .config derived from the derived stock kernels,
the transition was really smooth.
Ok, you've made me curious. I want to try it, as I run now 2.6.9+sleep7.
So, in order to take 2.6.12-rc4, I will need 2.6.11.9 [1] and the patch 
for 2.6.12-rc4[2] that applies over it, right?

Whatever:
Thanks a lot to the kernel developpers (You know who you are ... :)
indeed, props to them :)
Maybe kudos ? :-)
[1]http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.9.tar.bz2
[2]http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.12-rc4.bz2
--
Regards,
EddyP
===
I had a favourite quote, but I forgot it. And it was insightful.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Elimar Riesebieter
On Sun, 15 May 2005 the mental interface of
Eddy Petrisor told:

 Paul Brossier wrote:
 On Sat, May 14, 2005 at 01:45:39AM +0200, Wolfgang Pfeiffer wrote:
 Am I the only who got impressed?
 No, I am also running a 2.6.12-rc4 and I found it very stable, with much
 improvements over the 2.6.9+patch7. Software suspend and usb are no more
 a problem, at worst all it takes is a hotplug restart for some devices
 to wake up. And with a .config derived from the derived stock kernels,
 the transition was really smooth.
 
 Ok, you've made me curious. I want to try it, as I run now 2.6.9+sleep7.
 So, in order to take 2.6.12-rc4, I will need 2.6.11.9 [1] and the patch for 
 2.6.12-rc4[2] that applies over it, right?
No!
2.6.11 + patch or
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.12-rc4.tar.bz2

Elimar

-- 
  It's a good thing we don't get all 
  the government we pay for.
  ntp is fixed now


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Wolfgang Pfeiffer
On Sun, May 15, 2005 at 12:21:35PM +0300, Eddy Petrisor wrote:
 Paul Brossier wrote:
 On Sat, May 14, 2005 at 01:45:39AM +0200, Wolfgang Pfeiffer wrote:
 
 Am I the only who got impressed?
 
 
 No, I am also running a 2.6.12-rc4 and I found it very stable, with much
 improvements over the 2.6.9+patch7. Software suspend and usb are no more
 a problem, at worst all it takes is a hotplug restart for some devices
 to wake up. And with a .config derived from the derived stock kernels,
 the transition was really smooth.
 
 Ok, you've made me curious. I want to try it, as I run now 2.6.9+sleep7.
 So, in order to take 2.6.12-rc4, I will need 2.6.11.9 [1] and the patch 
 for 2.6.12-rc4[2] that applies over it, right?

No. I'd take 2.6.11 and, yes, apply 2.6.12-rc4 against it:

http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2

And I'd recommend the patch against the latest kernel ELF core dump
privilege elevation. You can get it here:

wget 
ftp://ftp.kernel.org/pub/linux/kernel/people/colin/patches/2.6.12-rc4/can-2005-1263.patch

I applied the latter after applying 2.6.12-rc4. IIRC.

If you want to try it:
My config:
http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt

With this config you don't need an initrd ... :)
And selinux is disabled at boot.
And I enabled a blinking LED for hard disk activity (actually the most
important setting at all: In the end, what is a computer if it doesn't
blink :::)))

But as I said: I have problems with ALSA (no sound so far) and with
pbbuttonsd: I enabled userspace Power Management in the .config, and
I'm not sure yet why the speed on the machine (Titanium IV, 867 MHz)
is set to ~665 MHz after booting the machine.

I could correct the speed with this helper, IIRC:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

So please have a look to
Processor --- Default CPUFreq governor (userspace) 
and to the sound settings in this .config 

But USB mouse, firewire, keyboard, i.e. the most important stuff,
worked out of the box with this .config ...

From my bash_history this should be the command how I built the
package:

time MAKEFLAGS=CC=gcc-3.4  fakeroot make-kpkg --append-to-version=-selinux1 
--revision 20050513 kernel_image

Good luck!

Best Regards
  Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Wolfgang Pfeiffer
On Sun, May 15, 2005 at 01:07:58PM +0200, Wolfgang Pfeiffer wrote:
 
 No. I'd take 2.6.11 and, yes, apply 2.6.12-rc4 against it:
 
 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2
 
 And I'd recommend the patch against the latest kernel ELF core dump
 privilege elevation. You can get it here:
 
 wget 
 ftp://ftp.kernel.org/pub/linux/kernel/people/colin/patches/2.6.12-rc4/can-2005-1263.patch

Oops, my bad: the correct version:

wget 
ftp://ftp.kernel.org/pub/linux/kernel/people/colin/patches/2.6.12-rc4/can-2005-1263.patch

(Removing the greater/less thans)

Sorry
Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Erik Chakravarty
This kernel breaks my touchpad

X won't start - 

(EE) xf86OpenSerial: Cannot open device /dev/psaux
No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device Configured Mouse
(II) UnloadModule: mouse
(**) Option Protocol ImPS/2
(**) Generic Mouse: Protocol: ImPS/2
(**) Option SendCoreEvents true
(**) Generic Mouse: always reports core events
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons true
(**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option ZAxisMapping 4 5
(**) Generic Mouse: ZAxisMapping: buttons 4 and 5
(**) Generic Mouse: Buttons: 5
(WW) No core pointer registered
(II) XINPUT: Adding extended input device Generic Mouse (type: MOUSE)
(II) Server_Terminate keybinding not found
(II) Generic Mouse: ps2EnableDataReporting: succeeded
No core pointer

Fatal server error:
failed to initialize core devices

The touchpad works fine with the stock 2.6.11-powerpc kernel in the
Debian/PPC repository.





On Sun, 2005-05-15 at 13:21 +0200, Wolfgang Pfeiffer wrote:
 On Sun, May 15, 2005 at 11:12:34AM +0100, Erik Chakravarty wrote:
  Hi Wolfgang
  
  Could you please send me your kernel config file I'd like to look at it.
 
 You prolly have seen the URL already in the thread: But in any case:
 Here it is :
 http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt
 
 Please have a look at the sound and Power Management glitches that I
 described in this thread a few minutes ago ... 
 
 And if you find that something's wrong with this config: Please let me
 know .. :)
 
  
  Many thanks!
 
 Welcome ... :)
 
 HTH
 
 Best Regards
 Wolfgang
 
-- 



__
ERIK CHAKRAVARTY (0452958)

mobile: (+44) 7720 850521
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Matthias Grimm
On Sun, 15 May 2005 13:07:58 +0200
Wolfgang Pfeiffer [EMAIL PROTECTED] wrote:

Hi,

  Am I the only who got impressed?

After all this cheering I wanted to see it with my own eyes. So I installed
2.6.12-rc4 last night. What should I say: My machine behaves as slow as before.
I can't see any improvement in speed. 

On the other hand all my hardware seems to run out of the box including ALSA
and sleep. Ok, on a G3 Pismo sleep haven't been a problem since ages ;-)

 But as I said: I have problems with ALSA (no sound so far) and with
 pbbuttonsd: I enabled userspace Power Management in the .config, and
 I'm not sure yet why the speed on the machine (Titanium IV, 867 MHz)
 is set to ~665 MHz after booting the machine.

Dynamic CPU frequency scaling should only be done by the kernel itself.
Pbbuttons changes the CPU speed if the power profile changes only and
the external script 'cpufreq' must be active for this to work. So please
check if you have a link in /etc/power/event.d called 'cpufreq' linked
to /etc/power/scripts.d/cpufreq. 

Because my PowerBook doesn't support frequency scaling, I never
tested this script sufficiently. I would apprecieate your feedback if you got
it work.

Another interresting fact: Up to now I haven't got high cpu loads (100%)
with pbuttonsd and kernel 2.6.12 as reported multiple times on this
list. Maybe it has something to do with hardware components I don't
have. The solution of Elimar Riesebieter might be evidence for that  Any
hints are welcome.

   Best Regards
  Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Erik Chakravarty
Never mind

I see you have disabled CONFIG_MOUSE_PS2


OK let's try again.

:-)


On Sun, 2005-05-15 at 13:36 +0100, Erik Chakravarty wrote:
 This kernel breaks my touchpad
 
 X won't start - 
 
 (EE) xf86OpenSerial: Cannot open device /dev/psaux
 No such device.
 (EE) Configured Mouse: cannot open input device
 (EE) PreInit failed for input device Configured Mouse
 (II) UnloadModule: mouse
 (**) Option Protocol ImPS/2
 (**) Generic Mouse: Protocol: ImPS/2
 (**) Option SendCoreEvents true
 (**) Generic Mouse: always reports core events
 (**) Option Device /dev/input/mice
 (**) Option Emulate3Buttons true
 (**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
 (**) Option ZAxisMapping 4 5
 (**) Generic Mouse: ZAxisMapping: buttons 4 and 5
 (**) Generic Mouse: Buttons: 5
 (WW) No core pointer registered
 (II) XINPUT: Adding extended input device Generic Mouse (type: MOUSE)
 (II) Server_Terminate keybinding not found
 (II) Generic Mouse: ps2EnableDataReporting: succeeded
 No core pointer
 
 Fatal server error:
 failed to initialize core devices
 
 The touchpad works fine with the stock 2.6.11-powerpc kernel in the
 Debian/PPC repository.
 
 
 
 
 
 On Sun, 2005-05-15 at 13:21 +0200, Wolfgang Pfeiffer wrote:
  On Sun, May 15, 2005 at 11:12:34AM +0100, Erik Chakravarty wrote:
   Hi Wolfgang
   
   Could you please send me your kernel config file I'd like to look at it.
  
  You prolly have seen the URL already in the thread: But in any case:
  Here it is :
  http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt
  
  Please have a look at the sound and Power Management glitches that I
  described in this thread a few minutes ago ... 
  
  And if you find that something's wrong with this config: Please let me
  know .. :)
  
   
   Many thanks!
  
  Welcome ... :)
  
  HTH
  
  Best Regards
  Wolfgang
  
-- 



__
ERIK CHAKRAVARTY (0452958)

mobile: (+44) 7720 850521
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Wolfgang Pfeiffer
OK Matthias: I owe you a Pizza, family-size (at least ... :)

On Sun, May 15, 2005 at 01:41:56PM +0200, Matthias Grimm wrote:
 On Sun, 15 May 2005 13:07:58 +0200
 Wolfgang Pfeiffer [EMAIL PROTECTED] wrote:
 
 Hi,
 
   Am I the only who got impressed?
 
 After all this cheering I wanted to see it with my own eyes. So I installed
 2.6.12-rc4 last night. What should I say: My machine behaves as slow as 
 before.
 I can't see any improvement in speed. 
 
 On the other hand all my hardware seems to run out of the box including ALSA
 and sleep. Ok, on a G3 Pismo sleep haven't been a problem since ages ;-)
 
  But as I said: I have problems with ALSA (no sound so far) and with
  pbbuttonsd: I enabled userspace Power Management in the .config, and
  I'm not sure yet why the speed on the machine (Titanium IV, 867 MHz)
  is set to ~665 MHz after booting the machine.
 
 Dynamic CPU frequency scaling should only be done by the kernel itself.
 Pbbuttons changes the CPU speed if the power profile changes only and
 the external script 'cpufreq' must be active for this to work. So please
 check if you have a link in /etc/power/event.d called 'cpufreq' linked
 to /etc/power/scripts.d/cpufreq. 

No, IIRC didn't have this link ... :)
And does, what you write, mean that at boot-time pbbuttons can't set
the CPU frequency? Please see the test reports, reported below, for more ..


 Because my PowerBook doesn't support frequency scaling, I never
 tested this script sufficiently. I would apprecieate your feedback if you got
 it work.

It works. :

After I did that:

# ln -s /etc/power/scripts.d/cpufreq /etc/power/event.d/cpufreq
# kill -HUP `cat /var/run/pbbuttonsd.pid`

Tests:

I unplugged the power-plug connected to the machine, and it switched
back from 867MHz to 667 MHz:

Before:
:$ cat /proc/cpuinfo | grep -i mhz
clock   : 867MHz


After pulling the power-plug:
$ cat /proc/cpuinfo | grep -i mhz
clock   : 667MHz


I remove the link again and see whether it still works:

# rm /etc/power/event.d/cpufreq
rm: remove symbolic link `/etc/power/event.d/cpufreq'? y
removed `/etc/power/event.d/cpufreq'
root@ 17:33:52:# kill -HUP `cat /var/run/pbbuttonsd.pid`

$ cat /proc/cpuinfo | grep -i mhz
clock   : 867MHz

Pulling the power-plug:
:$ cat /proc/cpuinfo | grep -i mhz
clock   : 867MHz


Reinserting the link fixed it:

# ln -s /etc/power/scripts.d/cpufreq /etc/power/event.d/cpufreq
root@ 17:37:19:# kill -HUP `cat /var/run/pbbuttonsd.pid`

Then:
pulling  the power-plug:

$ cat /proc/cpuinfo | grep -i mhz
clock   : 667MHz

reinserting it:
$ cat /proc/cpuinfo | grep -i mhz
clock   : 867MHz


  MAXIMUM SPEED AFTER REBOOT?

And I'll reboot the machine in a minute to see, whether pbbuttons will
be able with the new settings to automatically set this machine to
maximum speed (Maximum, because it will be connected to the
power-adapter). Until later ...

[Minutes later:]

It didn't work:
/var/log/syslog:

May 15 17:03:53 debby pbbuttonsd: INFO: Script
'/etc/power/pmcs-pbbuttonsd performance ac ' lauched but killed after
4 seconds

And then, after booting:
  cat /proc/cpuinfo | grep -i mhz
  clock   : 667MHz

What's that? Is this why you wrote: Pbbuttons changes the CPU speed
if the power profile changes only? So setting  
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
is the only way to set the CPU to Maximum speed at boot time? (besides
some boot script with something like
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
in it? ... but the latter's not what I want, I think ...)

But pulling the power-plug and reconnecting it still works:

  $ cat /proc/cpuinfo | grep -i mhz
clock   : 867MHz

 Another interresting fact: Up to now I haven't got high cpu loads (100%)

Either me: I never realised any unusual high CPU loads with
2.6.12-rc4. So far. And 99% of my time on this machine I'm on X. With
FVWM.

 with pbuttonsd and kernel 2.6.12 as reported multiple times on this
 list. Maybe it has something to do with hardware components I don't
 have. 

Here:

$ cat /proc/cpuinfo  
processor   : 0
cpu : 7455, altivec supported
clock   : 867MHz
revision: 0.2 (pvr 8001 0302)
bogomips: 865.18
machine : PowerBook3,5
motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as : 80 (PowerBook Titanium IV)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 768MB
pmac-generation : NewWorld


:# lspci
:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
:00:10.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf 
[Radeon Mobility 9000 M9] (rev 01)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 PCI
0001:10:17.0 ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo 

Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Erik Chakravarty
Hey

Just booted with this kernel - perhaps a slight improvement in boot up
performance - not sure really will time it next time, but bogomips
reported 1495.04 so CPU should be running full speed.

I switched the cpu freq setting from userspace to performance, and
switched on PS2 mouse support.

Sound appears to be working fine, suspend is fixed and yes, the HDD
blink is cool.

Good job guys.



Erik



On Sun, 2005-05-15 at 13:21 +0200, Wolfgang Pfeiffer wrote:
 On Sun, May 15, 2005 at 11:12:34AM +0100, Erik Chakravarty wrote:
  Hi Wolfgang
  
  Could you please send me your kernel config file I'd like to look at it.
 
 You prolly have seen the URL already in the thread: But in any case:
 Here it is :
 http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt
 
 Please have a look at the sound and Power Management glitches that I
 described in this thread a few minutes ago ... 
 
 And if you find that something's wrong with this config: Please let me
 know .. :)
 
  
  Many thanks!
 
 Welcome ... :)
 
 HTH
 
 Best Regards
 Wolfgang
 
-- 



__
ERIK CHAKRAVARTY (0452958)

mobile: (+44) 7720 850521
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Michel Dänzer
On Sun, 2005-05-15 at 13:36 +0100, Erik Chakravarty wrote:
 This kernel breaks my touchpad
 
 X won't start - 
 
 (EE) xf86OpenSerial: Cannot open device /dev/psaux

/dev/psaux is deprecated in favour of /dev/input/mice even on x86. I
don't think it ever made sense on a Mac.


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Benjamin Herrenschmidt
On Sun, 2005-05-15 at 13:36 +0100, Erik Chakravarty wrote:
 This kernel breaks my touchpad
 
 X won't start - 
 
 (EE) xf86OpenSerial: Cannot open device /dev/psaux
 No such device.
 (EE) Configured Mouse: cannot open input device
 (EE) PreInit failed for input device Configured Mouse
 (II) UnloadModule: mouse
 (**) Option Protocol ImPS/2
 (**) Generic Mouse: Protocol: ImPS/2
 (**) Option SendCoreEvents true
 (**) Generic Mouse: always reports core events
 (**) Option Device /dev/input/mice
 (**) Option Emulate3Buttons true
 (**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
 (**) Option ZAxisMapping 4 5
 (**) Generic Mouse: ZAxisMapping: buttons 4 and 5
 (**) Generic Mouse: Buttons: 5
 (WW) No core pointer registered
 (II) XINPUT: Adding extended input device Generic Mouse (type: MOUSE)
 (II) Server_Terminate keybinding not found
 (II) Generic Mouse: ps2EnableDataReporting: succeeded
 No core pointer
 
 Fatal server error:
 failed to initialize core devices
 
 The touchpad works fine with the stock 2.6.11-powerpc kernel in the
 Debian/PPC repository.

Configure X properly, that is set it to feed from /dev/input/mice,
not /dev/psaux

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Benjamin Herrenschmidt
On Sun, 2005-05-15 at 13:40 +0100, Erik Chakravarty wrote:
 Never mind
 
 I see you have disabled CONFIG_MOUSE_PS2

That is bogus on a mac.

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Erik Chakravarty
PowerBook 5,4


My XFree86 config has corepointer set to /dev/psaux. The new kernel
config has PS2 disabled, so /dev/psaux was not available I'm assuming
that's why it wouldn't start.

Enabling PS2 mouse support re-enabled the psaux interface, apparently it
is a legacy option but does exactly the same thing as /dev/input/mice.

I'm getting strange i2c related messages now though in
my /var/log/syslog. I'd better fix my X config and change kernel back to
how it was.



Erik



On Mon, 2005-05-16 at 08:45 +1000, Benjamin Herrenschmidt wrote:
  I switched the cpu freq setting from userspace to performance, and
  switched on PS2 mouse support.

 What machine ? No mac has PS2 mouse hardware, enabling that is asking
 for trouble...

 Ben.


--



__
ERIK CHAKRAVARTY (0452958)

mobile: (+44) 7720 850521
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread vinai
 On Sun, 2005-05-15 at 13:40 +0100, Erik Chakravarty wrote:

 Never mind

 I see you have disabled CONFIG_MOUSE_PS2

 That is bogus on a mac.

 Ben.

I know PS2 ports don't exist on macs, but don't pegasos/genesei boards
have PS2 ports ?

vinai


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.12-rc4 lots faster than any kernel before?

2005-05-15 Thread Benjamin Herrenschmidt
On Mon, 2005-05-16 at 01:20 +0100, Erik Chakravarty wrote:
 On Mon, 2005-05-16 at 00:00 +0100, Erik Chakravarty wrote:
  PowerBook 5,4
 
 
  My XFree86 config has corepointer set to /dev/psaux. The new kernel
  config has PS2 disabled, so /dev/psaux was not available I'm assuming
  that's why it wouldn't start.
 
  Enabling PS2 mouse support re-enabled the psaux interface, apparently it
  is a legacy option but does exactly the same thing as /dev/input/mice.
 
  I'm surprised but maybe it does nowadays, I haven't looked for a while.
  Still, the proper solution is to use directly /dev/input/mice
 
  I'm getting strange i2c related messages now though in
  my /var/log/syslog. I'd better fix my X config and change kernel back to
  how it was.
 
  What messages specifically ?

None of these seem to be errors, you probably just enabled a verbose
debug config options in i2c.

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



2.6.12-rc4 lots faster than any kernel before?

2005-05-13 Thread Wolfgang Pfeiffer
Hi All

I just built and installed 2.6.12-rc4: This beast really seems to run
faster than ever since I've seen a kernel *anywhere* since I started
using Linux about 4 years ago:

Booting goes so fast I have problems to read all messages on console
during the system start ..

Not being sure: I did my own config (enabling LED Blink again :,
so it might be my kernel .config is a reason ... but I don't believe
that: I think it's 2.6.12 :)

And I don't say everything is running smooth: Alsa didn't start, and
pbbuttonsd doesn't seem to know how to handle userspace PM ... Or it's
my mistake ... don't know yet: With these glitches I'll be back
later here, starting another thread. Perhaps.

Am I the only who got impressed?

Whatever:
Thanks a lot to the kernel developpers (You know who you are ... :)

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]