3.7.1 PF Kernel for HP Pavilion DM1 3216AU (AMD e-350) compiled on ArchBang 2012.12

Posted: December 25, 2012 in Linux
Tags: , , , , , , ,

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). [Update] – Enabled Broadcom wireless support.

kernel headers and image

To use/install
1. Extract to any directory using 7-Zip
2. Open terminal window
3. cd {extracted directory)
4. sudo pacman -U *linux-pf-head*3.7.1*.xz
5. sudo pacman -U *linux-pf-3.7.1*.xz
6. Edit kernel command line (either directly in /etc/default/grub or /etc/grub.d/40_custom assuming using Grub2) 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-linux-pf root=/dev/<boot drive partition> loglevel=3 ro quiet resume=/dev/<swap drive partition> nomodeset

kernel /boot/vmlinuz-linux-pf root=/dev/sda3 loglevel=3 ro quiet resume=/dev/sda6 nomodeset

7. Rebuild your grub menu
8. Reboot and enjoy

If your system kernel panics / doesn’t boot
1. Assuming using GRUB2 – select the PF kernel boot entry at GRUB2 screen then press “E”. Scroll down to the “kernel…” line. Change the kernel name back to vmlinuz-linux and on the next line type initrd /boot/initramfs-linux.img then press “Ctrl-X” to reboot
2. Undo the changes made to /etc/default/grub or /etc/grub.d/40_custom and rebuild grub menu

To uninstall completely
1. Boot into any other kernel
2. Open terminal window
3. sudo pacman -R linux-pf-headers
4. sudo pacman -R linux-pf
5. Undo changes to /etc/default/grub/ or /etc/grub.d/40_custom, rebuild grub menu per above then reboot


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

Credits to:
natalenko from pf-kernel; Pappy (Kernel Seeds) for initial .config seed; dieghen89 (kernel-netbook project) for BFQ tip.

  1. P Y says:

    Keep up the good work .

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s