Gentoo beyond sources 4 kernel for Thinkpad T30 Gentoo 2006.0

Since acx module (driver for Linksys WPC54Gv2 PCMCIA) does not work with Suspend2 2.6.16-r8, it’s time to leap forward and use Beyond Sources kernel for gentoo.

mkdir -p /usr/local/portage/sys-kernel/beyond-sources && cd /usr/local/portage/sys-kernel/beyond-sources
wget http://beyond-sources.generation.no/gentoo/2.6.16-beyond4/beyond-sources-2.6.16-r4.ebuild

nano -w /etc/make.conf
=c=
PORTDIR_OVERLAY=”/usr/local/portage”
PORTAGE_TMPDIR=”/var/tmp/portage”
=c=

echo ‘sys-kernel/beyond-sources ~x86’>>/etc/portage/package.keywords && emerge beyond-sources

things to enable
/dev/nvram
agpgart
locales
scsi for usb
acpi thinkpad
suspend2 > swap
p4 m
governor
netfilter
traffic shaping cbq

# boot manager , add this resume2=swap:/dev/hda6
nano -w /etc/lilo.conf
=c=
image=/boot/kernel-genkernel-x86-2.6.16-beyond4
label=gentoo
read-only
root=/dev/ram0
append=”init=/linuxrc ramdisk=8192 real_root=/dev/hda5 udev resume2=swap:/dev/hda6″
initrd=/boot/initramfs-genkernel-x86-2.6.16-beyond4
=c=
sbin/lilo

# re-emerge modules
emerge -avDt x11-drm
nano -w /etc/modules.autoload.d/kernel-2.6
=c=
agpgart
button # to play around with LID state for sleep on lidclose
=c=

emerge -avDt sys-kernel/module-rebuild
module-rebuild populate
module-rebuild rebuild
modules-update

# Hibernation, remember to issue /sbin/lilo and dont hibernate after a kernel recompile. Edit /etc/hibernate/hibernante.conf and /etc/hibernate/ram.conf accordingly

hibernate-ram
hibernate

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.