New answers tagged kernel
0
This is by far the best answer in my opinion:
http://tuxtweaks.com/2010/10/remove-old-kernels-in-ubuntu-with-one-command/
Follows the last command on the site above:
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get -y purge
0
You can also boot the server in rescue mode, and reinstall only the grub
http://info.w3calculator.com/free-code/linux/recover-from-corrupted-boot-image/
0
Hit same problem here with Ubuntu 13.04 last month. At the time, upgrading to VMWare player 5.0.2 build-1031769 solved the problem. Fast forward a month, hit a new problem today after recent 13.04 updates, again VMWare would not start. Latest VM player version is still 5.0.2. Google lead me to this explanation:
...
1
The pf-kernel includes patches to the Linux kernel which means task scheduling, process management, memory management, and SSD caching. Most of the improvements have nothing to do with the speed of your hard drive but rather how the operating system handles the applications running on your computer. They're designed to make the system more efficient, which ...
0
According to the Ubuntu X team's R-series LTS backport page,
The official hardware enablement stack will be officially released as part of the 12.04.3 update.
And according to the Precise Pangolin Release Schedule, this will happen on 15 August 2013.
The upgrade policy around this is shown under the Kernel/LTSEnablementStack page.
0
Try running this command from a LiveCD chroot:
sudo apt-get install --reinstall linux-image linux-image-generic
0
I found what this problem was.
The issue was that, when I upgraded Ubuntu, by installing through a liveUSB instead of doing a normal upgrade, it left behind the old kernel files in the /boot folder.
Now that I have upgraded in the same way from 12.10 to 13.04, I encountered the same situation.
The solution is to manually delete all the files related to ...
0
I've posted this quote to help future visitors. The OP wrote this in his question:
I downgraded to the 3.8 kernel and the sound is working again, so I'm
sure it's the kernel that's causing that (even though I didn't get any
error while installing it).
0
Turned out to be dead simple.
$update-grub
found the newer kernels and set the latest one as the default.
Now all I have to do is remove the old ones.
Plenty on documentation on that subject.
Thanks for all the pointer.
2
You could add system ("sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)"); to some line in the apt source code for upgrading packages.
Alternatively, just make a script called aptupgrade and paste this in it:
sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`); sudo ...
0
file only tells you the architecture of binaries. There are cases where a kernel has or uses a different "bitness" userspace (SPARCv9, ARM Thumb), so this cannot be considered accurate.
Only uname gives you direct information about the currently running kernel, therefore you are running a 64-bit kernel.
0
You can see the programs installed are on their 64-bit version, so I assume it's a 64-bit system.
0
It looks like the main issue with vmware workstation on 13.04 is compiling modules like vmci.ko. The easiest way to get these is to do apt-get install open-vm-dkms. This installs vmci.ko, and friends.
0
Per the Ubuntu VMWare Player install page, use
sudo apt-get install build-essential linux-headers-$(uname -r)
to install the headers. Then, you can either let it install or you can uninstall and reinstall vmware player.
1
I tried all of the solutions above including a fresh install and it still would not start. It still said, "Before you can run VMware, several modules must be compiled and loaded into the kernel CANCEL / INSTALL"
After much research, what I had to do is this:
I opened a terminal and then entered:
sudo apt-get install open-vm-tools open-vm-tools-dev ...
2
I just had the same problem. The only thing that helped was manually removing enough files in /boot using
cd /boot
rm initrd.img-3.2.0-24-generic-pae initrd.img-3.2.0-29-generic-pae
for
apt-get -f install
to be able to complete normally. Then use
dpkg --list|grep linux-image
to identify linux images and remove enough of the oldes with e.g.
...
1
I has same problem. After some joojling(googling), i resolved my problem ny following steps:
(I am not sure that this does any affect about my problem) as @pst007x executed
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h
I ran following ...
0
To the contrary: Every kernel needs space on your hard drive.
But you can just boot one kernel even if multiples are installed.
If you install another kernel in Ubuntu you install a newer version. The old one isn't removed automatically because it is sometimes useful for recovery.
If you want to remove the old ones, you have first to list all the kernel ...
0
Does How to reinstall a apt-get dist-upgrade? help?
Also, deleting the newest kernel package (as mentioned in the link) and performing a sudo apt-get dist-upgrade again may help, once you've cleared space.
0
There are three kinds of drivers:
tested and stable drivers
tested and presumably stable drivers
brand new bleeding edge drivers
As the name says drivers from the bleeding edge side (be it from the xorg-edgers ppa, or downloaded binaries from the manufacturer) are not meant to be stable. They are there for us to test them, and to report or fix bugs we ...
0
I think there is already automatic updating for lasted nvidia drivers directly in update menu (look for additional drivers menu)
0
Are you using kerberos? I had the same problem when made this change in /etc/krb5.conf...
[libdefaults]
default_realm = MYREALM
dns_lookup_realm = true
...to...
[libdefaults]
default_realm = MYREALM
dns_lookup_realm = false
I was having problems with firefox hanging, and I thought that might be the solution. Rebooting didn't fix the "ps hanging" ...
0
If you look at the man page for make with $ man make, it explains a little more. The -j flag, when followed by a number, restricts the number of processes running at one time to whatever you put. However, if -j is not followed by a number, the number of threads is not limited. I think since it was executing so many threads at one time, it hosed things up. As ...
1
It would not be safe to remove AppArmor in the sense of the word. You would be disabling a security system designed to be in place for protecting you. So it would indeed make you less safe. What you want to know is: yes you can remove it without side-effects but lessen that system's security with it.
But the changes to apparmor are quite minimal, if you ...
0
You may have to mount your ubuntu partition and chroot
Run below commands AS ROOT
mount /dev/ -rw /mnt/ubuntu
chroot /mnt/ubuntu
uname -a
1
I have the same issue when compiling the kernel for zynq.
This is what I used:
make -j ARCH=arm UIMAGE_LOADADDR=0x8000 uImage
Now I change it into:
make ARCH=arm
and it compiles and creates the Image and zImage in the \arch\arm\boot\
Goodluck
1
This fixed it for me on Ubuntu 13.04:
sudo modprobe drm_kms_helper
echo N> /sys/module/drm_kms_helper/parameters/poll
Apparently the drm_kms_helper module isn't loaded by default on 13.04? You may have to load it in your /etc/modprobe.d/ and then sett the poll parameter.
1
Looks like a major breakage to me. There are meta-packages that don't work at all, some link to the old 3.2.0 kernel.
For example, doing apt-get source linux-image-$(uname -r) will fail, as it tries to use linux-lts-quantal instead, and then fails as that package cannot be found. We've been trying around for two hours, before resorting to using their kernel ...
0
If instead of
#include "linux/config.h"
writing:
#include "usr/src/linux-headers-3.2.0-41/include/linux/config.h"
helps, it means that your compiler doesn't know where to look for include files.
If you are using makefile or command-line compilation then this page will explain what was happening. Othwerise, if you are using some IDE like Eclipse or ...
0
I installed the suggested packages as above, but it still gave me the same error. Installing the latest VMWare Player solved the problem.
3
You can remove AppArmor without immediately killing the system. Nothing relies on it to function.
But it is there for a reason. If security really isn't a concern, that's fair enough, but if you're just doing it for a quick convenience, consider learning how to adapt the rules.
1
I had the exact same problem when I upgraded from 12.10 to 13.04. When I started VMware I would get the same message:
Before you can run VMware, several modules must be compiled and loaded into the kernel CANCEL / INSTALL
When I would click INSTALL then nothing would happen. I checked /var/log/ and apport was reporting the following error:
ERROR: apport ...
0
Try this commands in terminal.
sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl
0
Try these
sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree
From this threaed --> http://ubuntuforums.org/showthread.php?t=1997880.
I skipped the first command and still worked.
This works for me.
0
It seems that this error can be ignored and after a restart the nvidia driver will be correctly loaded.
0
to select what you want to install one by one during installation
you can try using ubuntu minimal and just select what you want to install
https://help.ubuntu.com/community/Installation/MinimalCD
then you can follow the instructions here:
http://www.maketecheasier.com/install-a-minimal-ubuntu-on-old-laptop/2012/02/24
(external link)
if you want to make a ...
0
You can find the previous versions here: http://softwareupdate.vmware.com/cds/vmw-desktop/player/
This blog has some details on what to do if you are running VMware on a Windows host: http://pete.akeo.ie/2011/11/using-older-versions-of-vmware-tools.html
0
I believe the issue is that you have the wrong kernel headers, it looks like one of those suggestions is trying to use kernel headers for 3.9.0, doesn't 13.04 use kernel version 3.88 ? Try getting the kernel headers from apt, do:
sudo apt-get install linux-headers-$(uname -r) (borrowed from nixCraft)
and then try to install it again
0
Yes it is possible, but it might be a hassle in some cases.
If you just installed the base OS, using a text based log-in (no display drivers needed), make sure that the kernel has all the drivers for both systems (netwokr drivers etc) and that both use the same disk controller (e.g. both using SATA or eSATA) then this should work fine. Just pull the SSD ...
1
I was almost there, just downloaded the wrong package. Here is the solution :
wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-server_3.2.0.41.49_amd64.deb
dkpg -i linux-server_3.2.0.41.49_amd64.deb
And that's it !
0
Boy! you have one hell of a configuration.... Thumbs up to that. Have you tried more stable Ubuntu 12.04 LTS. 12.10 is buggy on most computers or you can try 13.04 which is much stable than 12.10.
Anyways for your question on wanting to prepare your own installation CD why dont you try Arch Linux. Its nothing fancy and lets you make your system the way you ...
1
Prior warning: bcache can not be used for your existing Ubuntu installation. If you need SSD caching for your operating system you should wait for a future or special version of the Ubuntu installer which could set up your SSD cache. See this answer by Oli here: Does bcache require a fresh installation?
For everyone else who wants a bcache drive for non-OS ...
1
When creating a VM using VirtualBox, the first screen you are presented with asks for the name of your new VM and attempts to auto-detect which operating system you're installing. Make sure that you select Ubuntu (64 bit) in the OS drop-down menu. Just selecting Ubuntu in that menu will result in the error you have described.
0
In general, kernel modules have to be built for the current kernel and not simply copied.
If you need a custom module, either file a bug report or consider building a custom kernel.
1
Make sure that the following lines are intact in your /etc/sudoers file
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
If these are not there, you can copy and paste these lines and save the file and then reboot.
After the reboot, you wont be facing this problem.
Source: ...
0
depending on your available bios options You can set up the external drive with its own grub bootloader, then that bootable drive will not care what you do on other drives
3
A kernel image package is related to the kernel image and modules which are loaded when your OS is booted. A header package provide files that are necessary to build out-of-tree kernel modules and/ or some other programs from source.
linux-image-generic
Usually you install the linux-image-generic package. That is a meta-package that does not ship any files ...
0
Actually, no. My Thinkpad X220 with i5 sandy bridge use a lot of energy with kernel 3.8 and it`s really hot on CPU. But most of time, the temperature beetween 70. (not always actually. playing fullHD gives me 90 celcium, so I need to use an external cooler) This is better then on HOT-HOT-HOT 3.6, but still, it is highly recommended to use 12.04 LTS release ...
0
I had the same issue with my backlight, adding acpi_osi='!Windows 2012' to grub fixes it, needed for kernels > 3.6.11
Here is a command to do it:
sudo sed -i "s/quiet splash/quiet splash acpi_osi='\!Windows 2012'/" /etc/default/grub;sudo update-grub
Here is the undo command:sudo sed -i "s/ acpi_osi='\!Windows 2012'//" /etc/default/grub;sudo update-grub
...
0
I had the same problem while trying to boot kernel 3.5.0-28, grub didn't launch Ubuntu and hanged on a purple screen. I started to use the kernel 3.5.0-27, it worked for one day, at the next boot, it was also giving a similar problem (hanging on a black screen this time). I solved the problem by running apt-get update and apt-get dist-upgrade, now the kernel ...
Top 50 recent answers are included




