Difference between revisions of "Installing FreeBSD 10 (amd64) on a ThinkPad T400"

From ThinkWiki
Jump to: navigation, search
(←Created page with '== Features == FreeBSD is an UNIX operating system for x86 and others compatible architectures. It is derived from BSD, the version of UNIX® deve...')
 
Line 11: Line 11:
  
 
== Installation ==
 
== Installation ==
The best way to install the 64 bits version of FreeBSD (amd64) on a ThinkPad T400 is to download the ISO files and burn them. There are also image files for an USB stick. You can find the ISOs and image files right here: [ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/ FTP Server of FreeBSD]. Choose the version you want to install.
+
The best way to install the 64 bits version of FreeBSD (amd64) on a ThinkPad T400 is to download the ISO files and burn them. There are also image files for an USB stick. You can find the ISOs and image files right here: [ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/ FTP Server of FreeBSD]. Choose the version you want to install:
{{HINT|To get the most benefit of your Thinkpad T400 use only the files whose filename contains <i>amd64</i>. This is the 64 bits version of FreeBSD.}}
+
* {{path|FreeBSD-10.0-RELEASE-amd64-bootonly.iso}}: This is an image for CD for boot only and repair purposes
 +
* {{path|FreeBSD-10.0-RELEASE-amd64-disc1.iso}}: Here is everything for installing FreeBSD on harddisk including the source codes ofd the whole operating system
 +
* {{path|FreeBSD-10.0-RELEASE-amd64-dvd1.iso}}: The same as above plus many software packages for desktops and servers
 +
* {{path|FreeBSD-10.0-RELEASE-amd64-memstick.img}}: This is an image for USB sticks with a size of about 700MB. Please copy it with this command to your stick
 +
<pre>
 +
dd if=/path/to/FreeBSD-10.0-RELEASE-amd64-memstick.img of=/dev/<USB stick device>
 +
</pre>
 +
 
 +
{{HINT|To get the most benefit of your Thinkpad T400 use only those files whose filename contains <i>amd64</i>. This is the 64 bits version of FreeBSD.}}
 
{{HINT|It is better to choose one of the mirrors which you can find here: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html List of mirrors]}}
 
{{HINT|It is better to choose one of the mirrors which you can find here: [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html List of mirrors]}}
  
 
=== Known Issues ===
 
=== Known Issues ===
 +
If you are choosing the installation from USB stick then you have to press F12 during the POST of the boot phase of your T400.
 +
During the installation process of FreeBSD there are no issues. It is done in fast fifteen minutes and the GENERIC kernel finds all devices.
 +
 
== Post-Installation Setup ==
 
== Post-Installation Setup ==
 +
The post installation setup is on some points very tricky while the setup oif the video device Intel GM45 is very easy.
 +
 
=== General System Settings ===
 
=== General System Settings ===
 +
=== Video ===
 
=== ACPI ===
 
=== ACPI ===
 +
==== Sleeping and Awaking: suspend/resume ====
 +
==== Grafics adaptor ====
 +
* Intel GM45
 +
* {{Todo|ATi Radeon RV620}}
 
=== CPU controlling ===
 
=== CPU controlling ===
 
To enable frequency control the kernel module {{path|cpufreq.ko}} must be loaded, four lines added to {{path|/etc/rc.conf}}, and the computer rebooted:
 
To enable frequency control the kernel module {{path|cpufreq.ko}} must be loaded, four lines added to {{path|/etc/rc.conf}}, and the computer rebooted:
Line 40: Line 58:
 
</pre>
 
</pre>
 
This modifies the interrupt rate of the kernel. By default it is 1000 interrupts per second. With a very slight increase (9ms!) in time between interrupts, it is possible to maximize the benefit from using C3. This might make the computer <i>slightly</i> less responsive, but with significant power gains.
 
This modifies the interrupt rate of the kernel. By default it is 1000 interrupts per second. With a very slight increase (9ms!) in time between interrupts, it is possible to maximize the benefit from using C3. This might make the computer <i>slightly</i> less responsive, but with significant power gains.
 
  
 
=== Mouse ===
 
=== Mouse ===
=== Video ===
 
 
=== Network ===
 
=== Network ===
 +
==== LAN ====
 +
==== Wifi ====
 
=== Bluetooth ===
 
=== Bluetooth ===
 +
{{Todo|Bluetooth}}
 
=== Sound ===
 
=== Sound ===
 
=== MATE Desktop ===
 
=== MATE Desktop ===
 
==== Applications ====
 
==== Applications ====
 
 
==== Applets ====
 
==== Applets ====
 
== Additional Hardware ==
 
== Additional Hardware ==
=== USB Mouse ===
 
=== USB Memory Sticks ===
 
 
== Tips and Tricks ==
 
== Tips and Tricks ==
 
In this section some tips and tricks are described.
 
In this section some tips and tricks are described.
  
 
=== Thinkpad buttons ===
 
=== Thinkpad buttons ===
 +
{{Todo|Thinkpad buttons}}
 
== References ==
 
== References ==
 
The following man pages are important for understanding:
 
The following man pages are important for understanding:

Revision as of 13:39, 23 August 2014

Features

FreeBSD is an UNIX operating system for x86 and others compatible architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley. It is developed and maintained by a team of individuals.

FreeBSD offers advanced networking, performance, security and compatibility features which are still missing in some of the best commercial operating systems.

FreeBSD makes an ideal Internet or Intranet server. It provides robust network services under the heaviest loads and uses memory efficiently to maintain good response times for thousands of simultaneous user processes. But on notebooks it is a very usable operating system with many features for customization, including power management.

With over 20,000 ported libraries and applications for desktop, server, appliance, and embedded environments, there are many applications which were designed specifically for notebooks.

The best is that FreeBSD is free, and the open source BSD license it is distributed under make sure it will continue to be free. Since FreeBSD is open source and a framework has been set up to easily do so, it is possible to build a custom kernel, allowing faster booting and operation since you can remove any features unneeded in your specific operations.

Installation

The best way to install the 64 bits version of FreeBSD (amd64) on a ThinkPad T400 is to download the ISO files and burn them. There are also image files for an USB stick. You can find the ISOs and image files right here: FTP Server of FreeBSD. Choose the version you want to install:

  • FreeBSD-10.0-RELEASE-amd64-bootonly.iso: This is an image for CD for boot only and repair purposes
  • FreeBSD-10.0-RELEASE-amd64-disc1.iso: Here is everything for installing FreeBSD on harddisk including the source codes ofd the whole operating system
  • FreeBSD-10.0-RELEASE-amd64-dvd1.iso: The same as above plus many software packages for desktops and servers
  • FreeBSD-10.0-RELEASE-amd64-memstick.img: This is an image for USB sticks with a size of about 700MB. Please copy it with this command to your stick
dd if=/path/to/FreeBSD-10.0-RELEASE-amd64-memstick.img of=/dev/<USB stick device>
Hint:
To get the most benefit of your Thinkpad T400 use only those files whose filename contains amd64. This is the 64 bits version of FreeBSD.
Hint:
It is better to choose one of the mirrors which you can find here: List of mirrors

Known Issues

If you are choosing the installation from USB stick then you have to press F12 during the POST of the boot phase of your T400. During the installation process of FreeBSD there are no issues. It is done in fast fifteen minutes and the GENERIC kernel finds all devices.

Post-Installation Setup

The post installation setup is on some points very tricky while the setup oif the video device Intel GM45 is very easy.

General System Settings

Video

ACPI

Sleeping and Awaking: suspend/resume

Grafics adaptor

  • Intel GM45
TODO
ATi Radeon RV620

CPU controlling

To enable frequency control the kernel module cpufreq.ko must be loaded, four lines added to /etc/rc.conf, and the computer rebooted:

/boot/loader.conf
Add this line to load the module cpufreq.ko on each boot, allowing the CPU frequency to be modified:
cpufreq_load="YES"
/etc/rc.conf
Add these four lines to enable automatic control of the CPU frequency:
powerd_enable="YES"
powerd_flags="-a adaptive -b adaptive -n adaptive"
performance_cx_lowest="C3"
economy_cx_lowest="C3"

This enables the automatic control of frequency parameters of the CPU. By default, the computer runs in a state called C1. During periods of low activity, it is possible to shut down parts of the processor, including clocks, and disconnect from the system bus. In the C2 state, the CPU shuts down clocks. In the C3 state, additional power can be saved by disconnecting from the system bus and shutting down the CPU for a short time. This can provide significant power savings without any real cost. Using the paramters performance_cx_lowest and economy_cx_lowest, it is possible to tell powerd the maximum state to put the CPU into. When allowing powerd to use C3, it can be beneficial to add a line like the one below to /boot/loader.conf:

kern.hz=100

This modifies the interrupt rate of the kernel. By default it is 1000 interrupts per second. With a very slight increase (9ms!) in time between interrupts, it is possible to maximize the benefit from using C3. This might make the computer slightly less responsive, but with significant power gains.

Mouse

Network

LAN

Wifi

Bluetooth

TODO
Bluetooth

Sound

MATE Desktop

Applications

Applets

Additional Hardware

Tips and Tricks

In this section some tips and tricks are described.

Thinkpad buttons

TODO
Thinkpad buttons

References

The following man pages are important for understanding:

External links