Hardcore Linux

Anything about Ubuntu, Centos, openSuSe and Fedora

Category Archives: Kernel and Modules

Installing KVM with OpenVSwitch on Ubuntu 12.04

Here’s a good article from http://blog.allanglesit.com/, I myself tried it my in test server and it’s working great, though I’m still new with OpenVSwitch.

The article has been released for Ubuntu 12.04 system. I also found out that the KVM version currently available in Ubuntu 12.04 has better performance compare to 10.04, which I think is a good sign when planning to deploy KVM host for your VMs.

The actual URL: http://blog.allanglesit.com/2012/03/linux-kvm-ubuntu-12-04-with-openvswitch/

Done.

Advertisements

keyboard: can’t emulate rawmode for keycode 240

Installing fresh Ubuntu 11.10 and check out what Unity and Gnome-shell has to offer, everything works great until I found something..syslog error message appears very frequent: “keyboard: can’t emulate rawmode for keycode 240“.  I remember having this problem in my previous Ubuntu 11.04 installation on my Lenovo z370 laptop, thought it’s gone back then..but to the point on installing newer kernel which is Linux kernel 3.1.

As I’m going to compile Linux kernel again to make everything work. I found a much simplier solution. Here’s how:

1. Install dkms (Dynamic Kernel Module Support Framework)

$> sudo apt-get install dkms 

2. Download the ideapad-laptop package which supposed to be fore natty narwhal but still working greate on oneiric.

$> cd ~/Downloads

$> wget https://launchpad.net/~lexical/+archive/ideapad/+build/2529783/+files/ideapad-laptop-dkms_0.1-1ubuntu1~foshan2_all.deb

$> sudo dpkg -i  ideapad-laptop-dkms_0.1-1ubuntu1~foshan2_all.deb

3. Reboot for everything to work in effect.

4. Done.

 

VT1708/A workaround for Ubuntu 10.10

I got this old mainboard (ASUS M2V-MX SE) which I need to install a newer version of Ubuntu (10.10 in this case) from previously 8.04.  Decided to have a clean install and found that there’s a current bug in kernel regarding the VIA VT1708/A audio card. Here’s what I’ve found in the net

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/664785

After few minutes of searching for possible solution, finally I’ve  found one that works:

https://bugzilla.kernel.org/show_bug.cgi?id=16921#c5

Here’s how:

1. Modify your grub default boot options

$> sudo vi /etc/default/grub

2. Add “pci=use_crs” on your current grub option, which looks like this:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pci=use_crs”

3. Then update your grub.

$> sudo update-grub

4. Reboot and done.

%d bloggers like this: