Difference between revisions of "Installing SUSE 10 on a ThinkPad TransNote"

From ThinkWiki
Jump to: navigation, search
(Power Management)
(added references section and link to TuxMobil)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
==TPB==
 
==TPB==
The <tt>nvram</tt> module doesn't get loaded by default. Hence you have to add it into the boot process yourself. In {{path|/etc/sysconfig/kernel}} adjust the following line:
+
The <tt>nvram</tt> module doesn't get loaded by default. To make the <tt>nvram</tt> module load at boot time, edit the {{path|/etc/sysconfig/kernel}} file to contain this line:
 
  MODULES_LOADED_ON_BOOT="nvram"
 
  MODULES_LOADED_ON_BOOT="nvram"
  
 
==Power Management==
 
==Power Management==
SUSE 10, like any other SUSE version, uses powersaved for power management. powersaved attaches itself to [[acpid]] via a file socket, [[acpid]] is only running to forward all events to powersaved.
+
SUSE 10, like any other SUSE version, uses the <tt>powersaved</tt> daemon for power management.<!-- powersaved attaches itself to [[acpid]] via a file socket, [[acpid]] is only running to forward all events to powersaved. -->
  
While the basic PM functionalities work out of the box, it gets a bit tricky when you want to enable [[ibm-acpi]] and [[tpb]].
+
While the basic power management capabilities work out of the box, it gets a bit tricky when you want to enable [[ibm-acpi]] and [[tpb]].
  
SUSE 10 comes with a modified kernel 2.6.13, and has the individual ACPI support options compiled as modules. Trying different modules loading orders or including part of the modules into the kernel, didn't help making ibm-acpi work reliably. Hence the conclusion was to try and built a vanilla kernel.
+
SUSE 10 comes with a modified Linux kernel 2.6.13, and has the individual ACPI support options compiled as modules. Trying different modules loading orders or including part of the modules into the kernel, didn't help making ibm-acpi work reliably. Hence the conclusion was to try and built a vanilla kernel.
  
While doing so, kernel 2.6.14 was used and the ACPI option modules were built into the kernel.
+
While doing so, Linux kernel 2.6.14 was used and the ACPI option modules were built into the kernel.
 
Unpack the kernel source into {{path|/usr/src/}}, relink {{path|/usr/src/linux}} to point to {{path|/usr/src/linux-2.6.14}}. Copy the {{path|.config}} file from the old kernels source dir. Change into the new kernels source dir and configure the kernel to include processor, ac, battery, fan, thermal and button support rather than having it compiled as modules. Compile the kernel and copy the appropriate kernel image to the {{path|/boot}} directory. You need to copy {{path|System.map}} as well. Then edit {{path|/etc/sysconfig/kernel}} and adjust the line:
 
Unpack the kernel source into {{path|/usr/src/}}, relink {{path|/usr/src/linux}} to point to {{path|/usr/src/linux-2.6.14}}. Copy the {{path|.config}} file from the old kernels source dir. Change into the new kernels source dir and configure the kernel to include processor, ac, battery, fan, thermal and button support rather than having it compiled as modules. Compile the kernel and copy the appropriate kernel image to the {{path|/boot}} directory. You need to copy {{path|System.map}} as well. Then edit {{path|/etc/sysconfig/kernel}} and adjust the line:
 
  INITRD_MODULES="piix reiserfs"
 
  INITRD_MODULES="piix reiserfs"
Line 23: Line 23:
 
  ACPI_MODULES_NOT_TO_UNLOAD="ibm_acpi"
 
  ACPI_MODULES_NOT_TO_UNLOAD="ibm_acpi"
  
*Powersaved complains about missing cpufreq support on boot. It might be good to switch to userspace frequency scaling. In {{path|/etc/sysconfig/cpufreq}} adjust the following line:
+
*Powersaved complains about missing cpufreq support on boot. It might be good to switch to userspace frequency scaling. In {{path|/etc/sysconfig/powersave/cpufreq}} adjust the following line:
 
  CPUFREQ_CONTROL="userspace"
 
  CPUFREQ_CONTROL="userspace"
 +
 +
==References==
 +
* This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo)].

Latest revision as of 10:19, 20 July 2007

This page tells about installation of SUSE on a ThinkPad TransNote.

TODO
Introduction, general installation notes

TPB

The nvram module doesn't get loaded by default. To make the nvram module load at boot time, edit the /etc/sysconfig/kernel file to contain this line:

MODULES_LOADED_ON_BOOT="nvram"

Power Management

SUSE 10, like any other SUSE version, uses the powersaved daemon for power management.

While the basic power management capabilities work out of the box, it gets a bit tricky when you want to enable ibm-acpi and tpb.

SUSE 10 comes with a modified Linux kernel 2.6.13, and has the individual ACPI support options compiled as modules. Trying different modules loading orders or including part of the modules into the kernel, didn't help making ibm-acpi work reliably. Hence the conclusion was to try and built a vanilla kernel.

While doing so, Linux kernel 2.6.14 was used and the ACPI option modules were built into the kernel. Unpack the kernel source into /usr/src/, relink /usr/src/linux to point to /usr/src/linux-2.6.14. Copy the .config file from the old kernels source dir. Change into the new kernels source dir and configure the kernel to include processor, ac, battery, fan, thermal and button support rather than having it compiled as modules. Compile the kernel and copy the appropriate kernel image to the /boot directory. You need to copy System.map as well. Then edit /etc/sysconfig/kernel and adjust the line:

INITRD_MODULES="piix reiserfs"

After that, recreate the initrd using mkinitrd. There is no need to update your menu.lst file, since the symlinks get adjusted by mkinitrd.

TODO
This info needs to be more detailed.
  • Also make sure that ibm_acpi is never unloaded, since it would cause trouble. In /etc/sysconfig/powersave/common adjust the following line:
ACPI_MODULES_NOT_TO_UNLOAD="ibm_acpi"
  • Powersaved complains about missing cpufreq support on boot. It might be good to switch to userspace frequency scaling. In /etc/sysconfig/powersave/cpufreq adjust the following line:
CPUFREQ_CONTROL="userspace"

References