3.1.7 Liquorix Kernel for HP Pavilion DM1 3216AU (AMD e-350) compiled on ArchBang 2011.11

Posted: January 5, 2012 in Linux
Tags: , , , , , , ,

Disclaimer:
Custom unwarranted kernels are provided on an “as is basis” – use at your own risk. Steps below also assumes you know how to restore your kernel in case not working. Suggest to only use kernels compiled for your current distribution/version.

Note: this kernel is custom built/tailored for the HP DM1 3216AU and will not work properly for any other PC’s/laptops (although it should work for international HP DM1 AMD e-350 variants).

.config
kernel headers and image

To use/install
1. Extract to any directory using 7-Zip
2. Open terminal window
3. sudo cp /boot/vmlinuz-linux /boot/vmlinuz-linux.bak
4. sudo cp /boot/initramfs-linux.img /boot/initramfs-linux.img.bak
5. sudo cp -r /lib/modules/$(uname -r) /lib/modules/$(uname -r).bak
6. cd {extracted directory)
7. sudo pacman -U *head*3.1.7*.xz
8. sudo pacman -U linux-3.1.7*.xz
9. Edit /boot/grub/menu.lst per below

Comment out the following lines i.e. add a “#” in front

#kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/<boot drive id> loglevel=3 ro quiet resume=/dev/disk/by-uuid/<swap drive id>  nomodeset
#initrd /boot/initramfs-linux.img

Add following below commented line
kernel /boot/vmlinuz-3.1.7-liq_hpdm1 root=/dev/<boot drive partition> loglevel=3 ro quiet resume=/dev/<swap drive partition> nomodeset

Example
kernel /boot/vmlinuz-3.1.7-liq_hpdm1 root=/dev/sda3 loglevel=3 ro quiet resume=/dev/sda6 nomodeset

10. sudo cp /boot/vmlinuz-linux.bak /boot/vmlinuz-linux
11. sudo cp /boot/initramfs-linux.img.bak /boot/initramfs-linux.img
12. sudo cp -r /lib/modules/$(uname -r).bak /lib/modules/$(uname -r)
13. Reboot and enjoy

If your system kernel panics / doesn’t boot
1. Assuming using GRUB (not GRUB2) – select the Arch boot entry at GRUB screen then press “E”. Scroll down to the “kernel…” line then press “E” again. Change the kernel name back to vmlinuz-linux and on the next line type initrd /boot/initramfs-linux.img then press “Enter” to accept changes and press “B” to boot
2. Undo the changes made to /boot/grub/menu.lst

To uninstall completely
1. Boot into any other kernel
2. Open terminal window
3. sudo pacman -R linux-headers-3.1.7-liq_hpdm1-i686.pkg.tar.xz
4. sudo pacman -R linux-3.1.7-liq_hpdm1-i686.pkg.tar.xz
5. Undo changes to menu.lst per above then reboot.

Patches:
http://liquorix.net/sources/3.1.7-1.patch.gz

Note:
Kernel defaults to using BFQ IO scheduler.
Add elevator=cfq in kernel command line to use CFQ IO scheduler instead without recompiling.

Credits to:
dametz from Liquorix; Zen kernel developers & Pappy (Kernel Seeds) for initial .config seed; dieghen89 (kernel-netbook project) for BFQ tip.

Comments
  1. P Y says:

    helo Pateo,does this version works on Intel netbooks ! thanx & have a nice one

  2. P Y says:

    gee too bad,any ways around this! just need the deb sources I guess for Intel

    you changed your notebook

  3. Hanny Janke says:

    Im trying compile on ubuntu using your .config on my Pavilion dm1 3251br, but i always get a kernel panic.
    Thanks to share it, all others places only say about atom netbooks

    • Hanny Janke says:

      my bad,
      solved the problem by editing “/boot/grub/grub.cfg” replacing:
      “linux /boot/vmlinuz-linux root=/dev/disk/by-uuid/ loglevel=3 ro quiet resume=/dev/disk/by-uuid/ nomodeset”
      for
      “kernel /boot/ root=/dev/ loglevel=3 ro quiet resume=/dev/ nomodeset”

      Now im trying put wireless to work, tried enable module on kernel but doesnt work, think im doing something wrong.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s