Linux + Kursunterlagen
First I installed the necessary packages to build the kernel from source with
apt-get install gcc make ncurses-dev
Then I downloaded the source code from the Linux Kernel Archives.
After extracting the compressed tar archive and studying the ThinkWiki a bit, I also applied some patches:
make menuconfigin the kernel source tree. Important settings to change are:
makeand after switching to the root account I installed the kernel modules, the System.map file and the kernel image with
make modules_installThen I added a new entry in the GRUB menu file in /boot/grub/menu.lst:
cp System.map /boot/System.map-2.6.12.3
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.12.3
title Debian GNU/Linux, kernel 2.6.12.3
root (hd0,5)
kernel /boot/vmlinuz-2.6.12.3 root=/dev/sda6 ro video=vesafb,nomtrr,ywrap vga=836 acpi_sleep=s3_bios resume2=swap:/dev/sda5 processor.max_cstate=2 elevator=cfq
Note: not all of the kernel parameters are necessary, video and vga give a higher resolution in the text consoles (if the vesa framebuffer driver is compiled into the kernel), resume2 is for Software Resume 2, elevator=cfq selects a different scheduling mechanism more suitable for desktop use, acpi_sleep is needed to circumvent a problem with suspend-to-ram.
Since switching to SCSI-SATA also meant that the harddisk would be called /dev/sda after the reboot, I also changed all occurences of "/dev/hda" to "/dev/sda" in /etc/fstab.
Oneinit 6
later and I was running the shiny new kernel.
| Attachment | Size |
|---|---|
| config-2.6.12.3 | 38.95 KB |
| config-2.6.14 | 41.76 KB |
seems not possibly atm, at least not at the same time, I ponder doing one kernel patched with suspend2 and one with the suspend-to-ram patches applied, since I need both occasionally, although the later is more important to me.
But I'm sure that once the suspend-to-ram stuff enters the vanilla kernels (and that's just a matter of time) both will work happily in combination.
BTW, can you give me any hints what exactly doesn't work with the config? (you mean the hibernate.conf, right?)
Hello,
thanks for you configs file. Just a note : You should say that they are written for ext3 FS, because I spent about 1 hour trying to understand why my system keeped on crashing, and it was because of my FS (Reiser) isn't included in the kernel in your conf file.
Hello!
Can you write the grub config for kernel 2.6.14. I want to know, which is different to my config, Maybe i find the reason why suspend-to-ram crashs.
the kernel line (which is probably the only interesting one) looks like:
kernel /boot/vmlinuz-2.6.14.3 root=/dev/sda6 ro video=vesafb,nomtrr,ywrap vga=836 acpi_sleep=s3_bios resume2=swap:/dev/sda5 elevator=cfq ide1=noprobe libata.atapi_enabled=1
Which patches are necessary for kernel 2.6.16?
Can you write your grub config for this kernel version?
Hello!
I tested suspend-to-ram and suspend2 and after suspend-to-ram with my hibernate.conf i got a oops too. Your config do not work with my box.
I have a T43.
CU
Michael