Debian Configuration :: Correct Procedure To Install A New Kernel ?
May 13, 2011Which is the correct procedure to install a new kernel into a machine which is running a old kernel in DEBIAN ?
View 2 RepliesWhich is the correct procedure to install a new kernel into a machine which is running a old kernel in DEBIAN ?
View 2 RepliesI am using NetworkManager Applet in Gnome to connect to the internet with a 3G modem. After last update few days back it changed the way it was recognizing the modem. I used to click on the NetworkManager Applet icon on the notification area and choose my configured mobile connection from the list. Because, as I said, I am using mobile broadband connection and I have to check via SMS my usage in order not to overcome the GB I am supposed to use (to avoid overpriced charge). In order to use Wammu to send/receive SMS I have to close the internet connection by right clicking on the NetworkManager Applet and uncheck "Enable Mobile Broadband" otherwise Wammu can't use the usb dongle because it's locked by the internet connection. Up to this point all is working exactly the same. Except when I uncheck the "Enable Mobile Broadband" the NetworkManager Applet disappears and I can only get it back with a reboot. Also I tried clicking on the applet and choosing "Disconnect" from the menu. The applet stays there but there are no more options for mobile connection. Only wired connections and VPN (whatever that is). In this case if I disconnect and reconnect the usb dongle it recognise it again. So my question is: Is there a way to make NetworkManager Applet to always stay aware of the usb modem without disconnecting or rebooting? Or at least is there a command that can search for new usb hardware without the described procedure?
View 6 Replies View RelatedI have a Ubuntu 10.04 server configured with an lxc container also running 10.04. I wonder if somebody knows the correct procedure to move such a container to another server? I tried a straight rsync both with the source up and down but mysql won't start on boot after move and if I manually start it none of the websites within the container are able to connect to mysql. I can connect to mysql using telnet of the command line client.
View 1 Replies View Relatedis it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies View RelatedI'm trying to install nfs-kernel-server on my squeeze and have strange error.
Here the console output:
The following NEW packages will be installed:
I tried to google for this errors and find that manually restarting nfs-common, portmap should help but no luck.
Just wonder is it possible to install non .deb package through the standard procedure of make config etc in Debian, or better not even attempt it.I need to use several engineering, mathematics packages, Matlab, Maple and Ansys,I have been told to use Fedora, but I would prefer to use Debian, as all my computers run on Debian and its stability etc is well known, not to mention the nice people in the forum, Bugs, Evil etc, well known icons.
View 6 Replies View Relatedmy environment :1.Debian 5 Lenny,2.LXDE,now my USB mouse behaviour is so strange as the following:1. when single click on the Start, then the Menu pops-up in very short time, it soon disappears. --------- what I get is my single click does not work here.2. when single click on the Terminal Shell or any Folder else, it will pop up two of them. ------------- what I get is that behaves like double click on those targets.3. when I open Iceweasel Browser for web surfing, when clicking on the Menus, none of them gives me response. and in web page which I opened, right-click in the context, nothing happened. --------what I get is that right click does not response.I tried some steps on configuration on X.org conf file under /etc/X11/xorg.conf, according to the results what I googled.... but there is still no outcomes till now.
View 1 Replies View RelatedI've a problem running jessie on a XEN supervisor; my running kernel and the installed kernel image differ, because the host system forces the kernel at boot time. Current loaded kernel is
Code:
Select all$ uname -r
3.18.12
But I'm not able to install this version from the standard repository.
Code:
Select all# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header-Dateien für Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 für 64-Bit-PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64
linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support
Now I'm facing issues loading kernel modules for iptables, because the module path does not exist. Is there an easy way to install a proper kernel image from the standard repositories?
Debian Stable LXDE
Samsung LD190N
NVIDIA GT 730
Trying to set to native resolution of 1360x768 with error "Failed to get size of gamma for output default":
Code: Select allerik@DRAGON:/var/log$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1360 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
[Code] ....
Found these lines in /var/log/kern.log stating "unknown Kepler chipset":
Code: Select allJul 26 17:35:34 DRAGON kernel: [ 15.510099] nouveau ![ DEVICE][0000:03:00.0] unknown Kepler chipset
Jul 26 17:35:34 DRAGON kernel: [ 15.510148] nouveau E[ DEVICE][0000:03:00.0] unknown chipset, 0xb06070b1
Jul 26 17:35:34 DRAGON kernel: [ 15.510191] nouveau E[ DRM] failed to create 0x80000080, -22
Jul 26 17:35:34 DRAGON kernel: [ 15.510419] nouveau: probe of 0000:03:00.0 failed with error -22
Google search yielded this bug, which affected GT 730 graphics cards, apparently patched in Linux 3.19:
[URL] ....
Assuming this is the problem, does this mean I have to upgrade to Testing or install proprietary drivers?
The first thing that comes to my mind is to add (copy) the script in /etc/init.d and the /etc/rc* directories by hand. Debian's automatic handling of init scripts on package install/removal is quite nice, so I tend to shy away from making any manual changes if there's an automated way to do it. Which leads me to the question: is there an official way to run a second instance of a daemon? (Tried google, didn't find much more than a bug report).
View 4 Replies View RelatedI'm using Squeeze amd64, installed latest kernel 2.6.38 from backport yesterday. Just now try to check for any update but failed, these messages show.
View 2 Replies View RelatedI'm running Debian wheezy on a Toshiba NB505 and I've noticed that the wireless connectivity can be painfully slow at times. I know it's not our home network because my desktop flies (running Windows).Currently, I have the driver from this guide installed. I went to Realtek's site to download the latest driver for this wireless card (RTL8188CE, the Linux/UNIX version) thinking maybe this more up-to-date driver would operate better than the one used in the guide above.Is there a possible way to install this driver, or should I just stick with the current driver I'm using from the guide above?
View 11 Replies View RelatedI've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?
View 14 Replies View RelatedI recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?
View 12 Replies View RelatedI am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
View 1 Replies View RelatedWhat are the precautions and procedure do i need to follow while upgrading the Kernel?
Please let me know the complete details of a procedure of upgrading a kernel in a production environment?
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
View 2 Replies View RelatedI am looking for a procedure to recover the initial installed state of my system with out over writing user data areas. The install procedure has the phrase "will remove all linux partitions" which interpret to mean data partitions, not just /bin and /. Additional background - Was attempting to build a 32 bit cross compile of Mozilla/Firefox on a x86_64 configuration and had a conflict with libgl. Online advice was to remove duplicate libgls from the system (that was bad advice). This led to running yum update.
When I restarted the system I know longer had wireless networking, ntfs mounts and possibly other features I had installed. Further, attempts to update, re-install, erase and reinstall have had no effect on the situation. My assumption is that I need to start with a clean install - which will be about 10-20 hours to reset all the additions I made. But I don't see another solution.
I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.
I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.
I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.
So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.
However, just in case someone else runs into this:
1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.
2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)
I am using Centos 5. I got one error unexpectedly after some configuration for rsync and folder settings. The error i am getting is "Serve Authorization directory (daemon/ServAuthDir) is set to /var/gdm but does not exist. Please correct the configuration and restart GDM." after rebooting.
I tried to resolve the issue by setting permission for folder /var/gdm to 755. but the problem is still not resolved.
On Lenny, due to some compatibility issues: kernels before 2.6.26 don't recognize part of my vaio laptop's hardware, while the last drivers of my videocard (version: 260, card: nvidia gt 230m) suffer some incompatibility problem (this is one of the most problematic computers I ever had), so I have to use version 256, which doesn't work with kernels after (perhaps) 2.6.32. So, I suppose I have to check each kernel between that two versions and hope that one of them will be ok. I searched quite deeply over the net but didn't find anything related to debian, except for generic kernels [URL], but as someone told me that it's better if I only install stuff from the stable repository or backports. What can I do? Is there any backports archive or something like that? Otherwise, what should I do?
View 5 Replies View RelatedI recently bought an AMD R7 360 videocard and I'd like to use the free Radeon driver.
Problem is, PCI-ID 0x665f is not present in Jessie's 3.16 kernel sources. The hardware however is supported, it's just not recognized. So I'll have to get the Debain sources and patch include/drm/drm_pciids.h
From the 4.1rc1 kernel I know what to patch and where.
Debian page that explains how to use the Debian build system for recompiling the current kernel from Debian packages?
Upgraded Wheezy to Jessie, by changing my apt sources to point at stable instead of wheezy. Ran upgrade, and dist-upgrade, all fine etc.
Then tried to update the kernel by installing linux-image-amd64 package .. seemed to work fine, but after a reboot my kernel version still says 3.10.23
What have I missed?
Code: Select allroot@hostname:~# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
[Code] .....
I have a MyBookLive where i installed a Debian 2.6 kernel. The system is running fine so far. Because of an error message when apt-get upgrade (udev) i tried to upgrade to 3.16. Here's what i did:
- apt-get install linux-image-xx
- apt-get install linux-source-xx
- extract the source
- copied the old .config from running 2.6 kernel over to the 3.16 directory
- make oldconfig
- make uImage
- make modules
- make modules_install
- copied uImage to /boot
No error messages because its a headless device - its just not booting up.
I was wondering if anyone can assist me. I am looking to build a server with Debian as the host. When I installed Debian (Squeeze) the default kernel was "2.6.32-3-trunk-amd64". When I tried to install 'Virtualbox' application, I got a failure because I didn't have the 'kernel-headers' installed on my machine. I noticed there are no specific header package the 'trunk' kernel I was using. I have a few questions so I guess I should begin:
Is it safe to remove the 'trunk' kernel and boot my system on just the regular 2.6.32-3-amd64 kernel? Is this OK or not recommended? Please explain whatever is the correct answer. This is my 1st time using a 'Trunk' kernel so I don't know the in's and out's of it.
If I am using Debian 'Testing' for virtualization via 'Vbox', is there a specific kernel I "should" be using?
I have maked a new kernel (version is 2.6.24.7) in debian system which kernel is 2.6.26, and then when i start the new kernel which is 2.6.24.7, it tells me that:
View 1 Replies View RelatedMy girlfriend got a 'new' (second hand) laptop, a HP Compaq 6715s. When I tried to install Debian on it, the install went immensely slow - glacial, even. It was a very minimal install but it tooks hours to get to nowhere.
I found out online that this was because of a problem between the current kernel and the hard drive (or HD bus, something hardware-y to do with the disk) which meant file operations were extremely slow. I thought "easy, patiently install Debian and then install newer kernel". Except that after six hours, the install wasn't even halfway.
So I install Arch Linux with the 2.6.35 kernel: no problems with the drive speed at all. After a lot of researching (I only played around with Arch once, more than a year ago) I got the system into a usable state. But now wlan0 has suddenly disappeared, together with some other problems - and a usable laptop wasn't exactly what I had in mind, it was supposed to be awesome (or at least good). Which, with Debian, it would be
So... is it possible to make a Debian installation use a later version of a kernel? I'd want to install Debian with the 2.6.35 kernel, not install Debian and then afterwards update the kernel (because I don't have 24 hours to install an OS, if it'll ever even install).
I've found some stuff online but it might well have been written in the Cyrillic alphabet. All I understand, I think, is that in theory it's possible.
I installed Debian Squeeze from a net install to a raid 1 array. I have been having a lot of troubles related to being able to write to one or more of the mounted drives - even touch gives me errors.
The most interesting line from dmesg is:
Here is the full output from dmesg:
I found a thread that indicated that this bug was fixed in the next kernel version: 2.6.32-6. I am willing to upgrade the kernel to get rid of my problems. Is a squeeze kernel at 2.6.32-6 or higher available? If so, where? I have not compiled my own kernel, and am not very interested in getting into that.
Trying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.
While compiling I get this error.
[Code]....
Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.
what config option they are under or what I can do to get rid of this error?
This is Wheezy x86_64. I tried two different ways to install kernel 2.6.38 on my machine and both have failed. First thing I did was to follow this guide [URL]... el-26.html) and try to compile the latest stable from kernel.org. I don't know why, but it turns into kernel panic when I try to run it. Second thing I did was to install the liquorix 2.6.38, and that also fails, seeming to boot but hanging a second short from the login. I don't know what I'm doing wrong. Is there a special way to install kernels in Debian? This is the first time I tried compiling a kernel, so it's quite likely that the problem is sitting 6 inches from the computer screen. Also, how would I remove those kernels since they're obviously not working? I know I could remove them from the grub menu but I'm not sure how to completely delete them.
View 12 Replies View Related