Tag Info

New answers tagged

0

http://rglinuxtech.com/?p=1281 This is the source information that the archlinux patch came from. There's also an issue with netif.c now that causes a failure and requires a separate edit to fix before retarring up the vmnet.tar file. I'm hoping/assuming that vmware will just come out with a bug fix release in the next few days so people don't have to jump ...


1

Using a Logitech wireless? The 3.19 kernel used in 15.04 doesn't have built in support anymore. Find a wired keyboard and log in. Edit /etc/initramfs-tools/modules and add hid-logitech-hidpp on a new line. Save and exit. From the console run sudo update-initramfs -u reboot.


1

Took me a long time to solve this issue. Had this problem with vBox across 2 distros (Ubuntu and Arch). I had dkms and all the modules already installed and compiled into my kernel, yet I still got a module related error message when I tried to run a vBox virtual machine. If your vBox GUI starts without a hitch but get an error telling to install the ...


2

Too many things change, and too many changes are of a highly technical nature for a good answer. I will try to highlight a couple of things, but you can get a good summary at Kernel Newbies (3.17, 3.18). OverlayFS The big change, for me, was the merge of OverlayFS to the mainline kernel in 3.18. OverlayFS is a lightweight way to obtain a "merged" view of ...


0

If your port is based on CyanogenMod, then - "b) Cyanogenmod Kernel for the device I am porting the device to".


0

We had the problem of wifi not working in Acer Aspire e5 new laptop after installing ubuntu 14. We also tried to install the driver using the following command. sudo apt-get install bcmwl-kernel-source But we got the error that the package could not be found. Later found solution by giving the command sudo apt-get update This had then updated all the ...


2

If you still have access to Linux, try using Grub Customizer. http://ubuntuhandbook.org/index.php/2014/04/install-grub-customizer-ubuntu-1404/ See if you can find your old Ubuntu partition, put it at the top of the list (it doesn't necessarily have to be at the top of the list. I just suggested the top so that it would boot automatically if you don't press ...


-1

Having extra kernels take space up. You can look for your old kernels manually in the /usr/src folder. However, the following command can remove the linux kernels quickly and easily. From a Terminal window, type in: dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo ...


0

Seems it was deleted a few years ago. The commit copied below, with the comment explaining why. Found with git log --follow -p include/media/v4l2-ioctl.h. Your question seems generic and not Ubuntu specific. commit 633c98e52a64ac8548b5d27dca1497cd4f0a6d4c Author: Hans Verkuil <hans.verkuil@cisco.com> Date: Mon Sep 17 05:02:26 2012 -0300 [media] ...


4

No, not at all. Firmware is what's on the device, so it has nothing to do with our OS nor the computer at all. It's like, your mp3 player or your modem has it's own firmware, but it works with ANY OS with proper drivers installed. Hope this helps.


0

Supposing that you want to keep Ubuntu OS, you can install Kali linux within Ubuntu with a virtual machine (VirtualBox, etc), or you can create another partition and install Kali linux in that partition, so you can dual boot either to Ubuntu or Kali linux when you start the machine.


2

We have seen a few HWE stacks now so can can look at the repo-creation dates for a bit of historical background: trusty-updates/linux-meta-lts-utopic 2014-11-24, 32 days after Utopic precise-updates/linux-meta-lts-trusty 2014-04-25, 8 days after Trusty precise-updates/linux-meta-lts-saucy 2013-11-08, 22 days after Saucy ...


0

I think this bug is for the same issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1427646


0

Maybe, the image in the USB stick is damaged. You may try wirting the image again. If it fails again, then try another USB stick, or a DVD with Ubuntu. During the installation, select "Install allongside with Ubuntu 12.10" and partition your HDD. Or you may also select the "Something else" option to make partitions as you want.


-2

I don't know why it is only showing 1 cpu, maybe it is only showing active/running cores. But try the command lscpu, it will give you the cpu information.


0

Do you see your new image in the /boot directory? $ ls /boot It may be as simple as doing: $ sudo update-grub


1

sudo dpkg --remove --force-remove-reinstreq linux-image-extra-3.16.0-24-generic* allowed to remove first the extra package and then followed by: sudo apt-get autoremove linux-image-3.16.0-24-generic The package was removed. I could tell that df -h dropped /boot space from 98.5% to 85% and I used the same command with other packages. Credit to ...


0

If you know of a specific fix or improvement in how the newer kernel handles your hardware, I say go for it. I would not have upgraded to a mainline kernel due to lack of support, except that I was having some trouble with N64 game emulation running very sluggishly with lots of bugs. After trying every configuration I could find for the emulator as well as ...


3

You can append a line with that setting to /etc/sysfs.conf: kernel/mm/transparent_hugepage/enabled = never This is the cleanest solution, because it keeps all the sysfs configuration in one place instead of relying on start-up scripts. The other answers, with the scripts and conditional expressions, are suitable if you don't know through which path the ...


0

It looks like you got most of your answer somewhere else. So editing files in /sys/, specifically debugfs, this doesn't work because it's a pseudo-filesystem. The best way is to echo >> to files and do it as root since you are talking to the kernel directly. I can't tell if the code that implements the sched_features accepts that value. The scheduler is ...


0

Boot up the machine, and after the BIOS screen, hold down the left Shift key. then select advanced and select the working kernel and press enter .. Then you can edit grub and make that kernel as default If you are not sure editing grub conf, you can use grub-customizer sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo ...


13

This is an effort to remove kernels that aren't the current one. There are many bits of code out there that do something like this and this is it not a good example. It could easily remove newer-than-current kernels and therefore the meta-package that installs (linux-generic et al) if you had an upgrade and didn't reboot.


13

Let's break the code one by one (for my system): $ dpkg -l 'linux-image-*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description ...


2

Just steal the config file for the Ubuntu version of the kernel you want to build. For example, say you wanted to compile kernel 4.0 yourself. Go to the kernel PPA, get and install the kernel. Then from your build location do: cp /boot/config-4.0.0-040000-lowlatency .config where in my example, I have used the lowlatency kernel, you might use a different ...


0

Different Ubuntu releases have different kernel versions. Here are links to the 2 most recent kernels for 12.04 and 14.04: http://packages.ubuntu.com/precise/linux-image-3.8.0-44-generic http://packages.ubuntu.com/trusty/linux-image-3.16.0-34-generic The current "stable" kernel from kernel.org is 3.19.4. Stable releases especially run slightly older ...


0

As I mentioned in the question, the new kernel was causing me the problems, so I booted with my older kernel and everything is back to normal. The answer to this question helped: How can I boot with an older kernel version? So first update grub, then reboot, while rebooting, press and hold Shift key. Then go to advanced options, and from there, select an ...


2

You can always afford to experiment provided you begin with a good disaster recovery plan. muru suggestion (in comments) to use a virtual machine is likely the safest and perhaps easiest solution (to take that approach see this and this ). However, provided you have current backups ( see this and this ) and a known good live media of your current system ...


0

I have installed pf-kernel 3.19.0-pf3 compiled for Ubuntu and my PC is working like a charm with no delay in any application I could use, including video rendering of MKV files that struggle my graphic card to the limit. Perfect. Pk-kernel is being compiled for Ubuntu for a while and it may be downloaded in: ftp://big-bum.uni.cx/pf-kernel/i386/


4

I wouldn't recommend it. Not only would you have to reboot the same machine you're developing with (interrupting your work flow), but you might accidentally build a kernel that is missing some hardware drivers your laptop uses. If you do that, you can hold down Shift during boot to get the grub menu and boot an official kernel instead of your custom one. ...


2

Download from a mirror site http://packages.ubuntu.com/utopic/amd64/bcmwl-kernel-source/download and install, this new version is compatible with the 3.16 kernel


2

It might be easier to install backports than trying to use github sudo apt-get install build-essential linux-headers-generic wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/03/13/backports-20150313.tar.xz tar xvfJ backports-20150313.tar.xz cd backports-20150313 make defconfig-ath10k make sudo make install Then reboot when it is ...


0

In relation superlexx's suggestion: that line will miss the "headers" package: dpkg -l "*$(uname -r)*" | grep image | awk '{print $2}' linux-image-3.13.0-48-generic linux-image-extra-3.13.0-48-generic So how about simply using the following: dpkg -l "*$(uname -r)*" | grep kernel | awk '{print $2}' linux-headers-3.13.0-48-generic ...


0

The MongoDB docs have a few suggestions. http://docs.mongodb.org/manual/reference/transparent-huge-pages/ The "preferred" way is to edit /etc/default/grub and append transparent_hugepage=never to GRUB_CMDLINE_LINUX_DEFAULT then run update-grub to rebuild the GRUB configuration. The following two-liner will do just that. Make sure to verify the output! sed ...


1

This will give a line for each user showing the username and their total cpu time: ps -w -e --no-header -o uid,user \ | sort -u \ | while read uid user; do echo -e "$user\t"$( ps --no-headers -u $uid --cumulative -o time \ | sed -e s/:/*3600+/ -e s/:/*60+/ \ ...


4

The old kernels are part of packages. If you just remove /boot/vmlinuz-3.13.0-44-generic you will leave package crumbs all over. First, find out which kernel you are running. Do NOT delete anything with this value is its name: $ uname -r 3.13.0-49-generic YMMV. Then, ask dpkg what it knows: $ dpkg -l linux-* Some of those packages can be ...


0

The last time I removed my old kernels, I borrowed an old code snippet. Well, this code snippet had required me to reboot after installing the new kernel, so I was left without a kernel. Luckily, I had caught this before rebooting, but as others said, I may have been left with the "angry grub screen". Long story short, it's simply something that can be ...


0

It's not unsafe. Using Linux, you can do exactly what you want if you know the right commands. In the /boot directory, you can do a simple ls -la to have a long listing as well as to find any hidden files or directories (which are not supposed to be there if there are any!!). From this information, you can assess the dates and old versions' files. Do not ...


48

Removing old kernels is not inherently unsafe, but if you remove all your kernels and reboot, you'll be left at an angry Grub screen. Fixing that takes significant know-how (like that but with an apt-get install linux-generic at the end). The first time you do this is quite thrilling but the people looking to clean up their Grub menu or recover some disk ...


0

After rebooting the system, uname -r yields v3.16.0-34-generic.


0

I installed DKMS and I didn't have to reinstall anymore the Nvidia drivers, I guess I solved it sudo apt-get install dkms


0

I had the same problem. After doing df -h I saw that my /boot was almost full. I went through this guide to uninstall old versions of ubuntu. Now the update works fine. It is a bit odd, because normally I get an error telling me /boot is almost full rather than a non-descriptive failure message.


1

I had the same issue (ubuntu 14.10 updated to latest kernel )recently and lost all the menu/unity taskbar and what fixed for me was export DISPLAY=:0 sudo dconf reset -f /org/compiz/ setsid unity Original answer and more explanations you can seek this


0

The OP answered the question in an edit: Fixed it. Turns out it was my tmp directory that was filling up. So, if anyone runs into this in the future, check to make sure that you have enough space on /tmp. — Anthony Crognale


0

I solved the performance issue. It was quite simple: Got myself 2x2GB RAM, put it into the computer, voila. It now has 6GB of memory and seems to be happy about it. dd if=/dev/zero of=/mnt/Media/testfile.out bs=1M count=10000 10000+0 records in 10000+0 records out 10485760000 bytes (10 GB) copied, 33.828 s, 310 MB/s dd ...


1

The usbhid still loaded as driver for the keyboard. It seems quirks didn't work as modprobe option. Try kernel option from grub, add: usbhid.quirks=0x0c45:0x7603:0x4 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub Update grub sudo update-grub Reference: Prevent usbhid from claiming USB device


0

Well, I've tested lots of nvidia drivers on different cards as a fan of nvidia and to tell you the truth 173 version is not fully compatible or tested with Ubuntu 14.04LTS, that's why you get: ..Error - “Kernel module failed to build Happened to me too, though I have managed to install 173 driver on Ubuntu 12.04LTS it was working and seemed to be fine but ...


1

I am on 14.10 64-bit. Kernel 3.19. The following steps worked for me under VMware Worstation 11 and VMware Player 7.1.0: https://wiki.archlinux.org/index.php/VMware#3.19_kernels


0

With a passmark of 22, you're better off ditching the card entirely and moving to a low-end version of Ubuntu like Lubuntu as you will have virtually no benefits of installing such an old driver with such an old card. Sorry to be the harbinger of bad news... :-(


1

Thanks for the comments about looking at the logs to see what was removed. It showed the previous kernels were removed indeed, and also the extra package for the current kernel. I still needed to reinstall a current kernel. So I booted from a USB live distro, mounted the encrypted partition where the home folder was, downloaded the latest kernel for this ...


0

I download and install League of Legends almost everyday in my Ubuntu 14.04, so what you are asking is a routine for me. First step download Tuxlol,unzip, open folder, right click on tuxlol.exe, properties, copy file location. Secont step open Terminal like a pro ctrl+alt+T, write cd, right click on Terminal, paste, enter. Third step open Home directory, ...



Top 50 recent answers are included