Setting up kernel 2.6.33 on Slackware 13 on my Asus G1S

Download DVD iso

Burn to media

Install it

Install Slack Build Gnome

Download and install new kernel:

cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.tar.bz2
rm linux
tar -xvjf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
make mrproper
make menuconfig

Append "-asus" to Local version

Change Processor family to "Core 2/newer Xeon"

Enable "Realtek 8169 gigabit ethernet support"

Disable "Ethernet 10000 Mbit support", unless of course you have such a network card

Enable "Intel Wireless Wifi"

Enable "Enable Full Spectrum Measurement in iwlagn driver"

Enable "Enable full debugging output in iwlagn and iwl3945 drivers"

Enable "Enable device access tracing"

Enable "Intel Wiress Wifi Next Gen AGN (iwlagn)"

Enable "Intel Wireless Wifi 4965AGN"

Frame Buffer Support:

Enable "VGA 16-color graphics support"

Enable "Userspace VESA VGA graphics support"

Enable "VESA VGA graphics support"

Backlight & LCD device support

Enable "Lowlevel LCD controls"

Enable "Platform LCD controls"

Intel HD audio

Enable "Support jack plugging notification via input layer"

Enable "Support initialization patch loading for HD-audio"

Enable "MMC/SD/SDIO card support"

Be sure to enable whichever filesystem your installation needs

Enable "NTFS file system support"

Enable "NTFS write support"

Staging Drivers:

Disable"Exclude Staging drivers from being built"

Enable "Asus OLED driver"

X86 Platform Specific Device Drivers

Enable "Asus Laptop Extras"

Virtualization

Enable "Kernel-based Virtualization Machine (KVM) support"

Enable "KVM for Intel processors support"

Exit saving your configuration, and let’s compile it

#make -j7
#make modules_install

Copy new files to your /boot folder:

cp arch/x86/boot/bzImage /boot/bzImage-2.6.33-asus.bz2
cp System.map /boot/System.map-2.6.33-asus
cp .config /boot/config-2.6.33-asus

Now update shortcuts

cd /boot
rm System.map
ln -s System.map-2.6.33-asus System.map
rm config
ln -s config-2.6.33-asus config
ln -s bzImage-2.6.33-asus.bz2 bzImage

Update your lilo.conf file

#nano /etc/lilo.conf
lba32

image = /boot/bzImage
root = /dev/sda3
label = Asus
read-only
#lilo
Added Linux *
Added Asus

Cross your fingers and reboot đŸ™‚

#reboot

If anything goes wrong, start with your previous kernel and do some debugging based on any kernel panic messages you have received (maybe some file system support?)

Making your server trust your laptop

To avoid copying and pasting my password (mostly in the wrong window), I thought it would be better to make my server trust my laptop by using public/private keys:
Here we go:

For Linux (or BSD, or OSX):

1. Open a terminal on your laptop and generate your keys:

ssh-keygen -t rsa

You may optionally choose a passphrase (which I didn’t since the I want to avoid typing).

2. Copy the public key to your server:

scp ~/.ssh/id_rsa.pub username@server_address:/your/home/folder/

3. SSH into your server and add your public key to the authorized_keys file:

cd ~/.ssh
echo "#Something to identify your key" >> authorized_keys
cat /your/home/folder/id_rsa.pub >> authorized_keys

4. Open another terminal and try logging to your server just providing your username:

ssh username@server_address

You should be granted with the shell command line from your server. If not, please review what you did. If still doesn’t work, drop me a line:

Some thoughts on installing Aptana 1.5.1

Last weekend I re-installed all my operating systems and had a lot of trouble installing/updating Aptana Studio on Windows and OSX, I am taking some notes just in case more people face the same situation:

1. Install Aptana 1.5.1

2. Choose your workspace

3. Add 2 new software locations:

  • Aptana Update Site: http://update.aptana.com/install/php/
  • Galileo Update Site: http://download.eclipse.org/releases/galileo

Test the connection for both locations

4.Install the following packages ( I do PHP development, so…. )

  • PHP Development Tools (PDT) – PDT SDK 2.1.2
  • PHP Debugger Binaries (Optional PDT)
  • Zend CE Features
  • Subversive – SVN Team Provider Plugin (Incubation)

5.Restart Aptana and you should have it updated correctly

6. Install SVN connector

  • SNV Kit 1.3.2 – so I have the same interface in all O.S.es

7. Restart Aptana again

8.Update your Aptana installtion

  • Aptana Database Explorer
  • Aptana Studio
  • Aptana Studio Professional
  • Aptana Subversion Support
  • Graphical Editing Framework GEF
  • PHP Development Tools (PDT) Runtime Feature
  • PHP Development Tools (PDT) SDK Feature 2.1.3
  • PHP Development Tools (PDT) SDK Feature 2.1.1

8. You’re done

Happy coding!

  • IGlr