Ubuntu Installation :: Lirc (dkms) Fails Each Time Kernel Upgraded?
Aug 10, 2011
each time i upgrade my kernel, my installation of lirc fails to work after the upgrade, and i have to re-compile (against new kernel) and install the lirc modules... which i do via something like:
I'm trying to set it up so that I don't have to recompile the driver for my RAID card manually every time there is a kernel upgrade.I found a thread on it, here and a help page here, and it looks like it builds the module fine, but for some reason it's not being inserted into the new kernel, or something. It's like the new kernel doesn't know it exists, even tho modprobe -l shows the newly built module exists (and is in the correct place)Here's the script that I wrote up to get the drivers set up in DKMS:
I am trying to setup dkms to automagically build the rr26xx driver for a rocketraid 2640x4 card when the kernel is updated.I followed this guide which sounded like exactly what I was looking for.When I get to the step where you actually use dkms to build the module with:
Code: sudo dkms build -k `uname -r` -m rr26xx -v 1.2 I got the following error:
I had upgraded to 10.04 but can not use kernel 2.6.32-22.32+, I had to go back to kernel 2.6.31-21. because of the default video driver had change from the one kernel to the other, and I do not know how the correct it. In 2.6.32-22 the font would change and to a smaller size and I can barely view anything because it looks like some two year old puke a box of crayons all over the screen.
Second issue is it does not matter what power-saving mode I am in, in 5 minutes time it with go into suspension. Or right after coming out of hibernate, it will go into suspension indefinitely and no coming out of it and must to a hard boot.
This the second time it has happened after the security upgrade to kernel 2.6.31-19 with a clean shut down it goes into the grub menu and will not boot.
I upgraded to 2.6.35-30.56 last night and now my system's a little flaky. Everything seems to be running ever-so-slightly slower and fullscreen flash is now choppy. The weird thing is the Grub menu upon bootup only shows the latest kernel, but not the previous kernels. Doing an "ls" of the /boot folder only shows this newest kernel. I'd like to revert back to the previous kernel but don't know how.
Cross posted from the XBMC Forums. I know there's a whole lot of WTF surrounding the new IR setup and not a whole lot of documentation. This is what got it working for me. This is for kernel's 2.6.35+ and LIRC 0.9.0 and above.
Foreword: I've put off upgrading from Lucid because of the cluster that was LIRC in Kernel (and have not been shy about it). After Natty... I'm not happy about Natty, I'm going back to what every thing else in my house runs. A good proper Debian system. I've finally bit the bullet and started to figure out how to deal with LIRC in the Kernel, because it's not going away. Turns out, its just a little bit of awesome (and a whole lot of work.)
First you're going to need ir-keytable. It's available in natty (not maverick) and Sid & Testing. apt-get install ir-keytable. ir-keytable turns ... I'm not really sure what ir-keytable really does. But it turns remote presses into LIRC stuff.
This is the flow chart of fun. I'll try and work on this in order. lirc kernel -> ir-keytable mapping -> LIRC devinput -> lircmap.xml -> remote.xml. Do not install LIRC yet. Un-install it if you have it. Right now we're going to be futzing without it. Running ir-keytable by itself will dump out what IR receiver it recognizes in addition to what protocols it supports. I have a real HP receiver & Remote (ID 045e:006d Microsoft Corp. eHome Remote Control Keyboard keys)
I have kernel 2.6.26 and I think I need 2.6.27, but update manager says my system is up-to-date. How do I get an upgraded kernel? I have a wireless card but I cannot find anything in the UI to enable it, or connect to my home net. Would Debian come with a connection manager with an oddball name?
I have 10.10 installed within my Windows Xp.All was fine.Then,I upgraded to 11.04.Boot screen etc is fine .Log in is automatic in Classic.Unity & Compiz not supported.Now,again everything is fine except that my xp partitions are not recognised and hence I can not mount them and access them.
I recently decided to install ubuntu netbook remix 10.10 to my Toshiba NB200. I was using windows and I wanted to completely erase them. I burned the USB, I followed every single instruction the site had, and even though the installation seemed to work, and a message to reboot my computer appeared at the end, the installation finally fails. When I reboot, the only thing I get is a black screen with an underscore at the top left corner. I tried the installation four to six times and even tried older versions as well but all I get is the black screen.
Recently my boot time went from barely 2 minutes to more than 10.it goes to text from the splash logo and a line shows :"running dkms auto installation service for kernel 2.6.28-18-generic".And then each 3 or 4 minutes it shows a driver (for a total of 3) : nvidia, vboxdrv and other one related to vbox.I've scanned through syslog but I can't find anything related to this issue.
i am trying to install Ubuntu 11.04 on HP proliant DL 360 G6 but it fails at the time of iso_scan. /var/log/syslog shows "failed mounting /dev/sda" and menu item iso_scan failed i dont know how to solve this problem its urgent. On server RAID5 is configured
When I try to install Debian 8 on my laptop I get this rather odd error. The install fails every time. I've managed to get as far as choosing which Desktop Environment I want and the shortly after it shuts off. It shows 4 messages
The machine I'm trying to install on is a Gateway NV53, 4gb of RAM, AMD Athlon II x64.
At first I thought it might be my disc so I burnt another DVD using the 4.3GB DVD image I had downloaded. I checked the disc and it verified with the image and so I tried again with the same results as above. Any clue what might be causing this? I'm sure it isn't my hardware, Arch has been running fine for almost 6 months and never seemed to care.
I recently upgraded an HP laptop and desktop machine to Ubuntu 9.10. Previously I had ogmrip working fine in 8.10 apart from the occasional A/V sync problem caused by memcoder which was slated to be fixed in 9.10 hence the upgrade. However now I cannot get ogmrip running at all. If I try to rip directly from the DVD it gets about 3% done and then hangs. If I copy the ISO to the hard drive it gets to the merging operation and then hangs for several hours and finally fails with an "unknown error" message. I've looked in the log files but can't get any useful information from there. What can I do to get either more information to help debug the issue or hopefully fix it
I have upgraded at lucid from karmic.I have a little peculiar setup. My root partition is on sda3 and I mount the following:/usr -> /dev/sdb1/var ->/dev/sdb2/home -> /dev/sdb3(sdb isn't really a SATA disk but a PATA).When I boot with the new kernel 2.6.32-22 mountall stops with error messages that /dev/sdb2 and /dev/sdb1 are not ext2 file systems(this message comes from fsck.ext4??-It's using a ext4 program to check for ext2??)and cannot be mounted.Of cource those are normal ext4 filesystems which are being mounted without any problems with the last karmic kernel 2.6.31-21 which is what I am using)
I recently got the Message, that i should do a partial System Upgrade. It included an update to Kernel 2.6.34. Since this update, i cannot boot with this kernel:
Code: Mounting none on /dev/ failed...
i can still boot with older kernels, but many drivers including wifi and graphics drivers dont work there anymore.
I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)
The following is a subset of error messages I'm getting when trying to do "apt-get upgrade" or "apt-get dist-upgrade" on a machine running ubuntu server 9.10 amd64:
Code: Preparing to replace linux-image-2.6.31-22-server 2.6.31-22.60 (using .../linux-image-2.6.31-22-server_2.6.31-22.65_amd64.deb) ...
I was wondering if there's a way for me to get real-time kernel support on regular Ubuntu 9.10 through some sort of update. I know Ubuntu Studio has a real-time kernel, but I'd prefer not to use it. I'm a fan of the original Ubuntu.
I have recently upgraded from Ubuntu 9.10 to 10.04.In 9.10 i could change the visual settings no problem and it would save. However now that i have upgraded i can change the visual settings but everytime i reload the computer the settings change back to none
This morning I ran the automatic upgrade provided on the repositories, updating my kernel from 2.6.38-8 to 2.6.38-10.Unfortunately, upon reboot I discovered that a series of patches I'd applied in order to get my wireless card on my desktop working had been undone (see I had to run a modified version of the instruction set in order to get my wireless back on.My question: is there a way to trigger this every time the kernel upgrades? I'd hate to have to run this cumbersome set of commands manually every time.
I just upgraded the kernel from 2.6.32-24 to 2.6.32-25. When it was finished it logged me out of XFCE without warning (is that normal)? Now if I try to log in to XFCE the screen goes blank and I just get returned to the login screen. I can log in to GNOME however. I get the same problem if I boot into -24 or -25.
Finally updates are broken - I've been able to use my upgraded F12 system for some time, faithfully keeping up with f10, then f11. Just yesterday it finally broke:
Test Transaction Errors: installing package kernel-2.6.31.12-174.2.22.fc12.i686 needs 10MB on the /boot filesystem
It would appear that the most recent kernel update has broken the 10MB barrier initially set by the version I first installed (for the boot partition). Needless to say, I have quite an investment in this machine, and of course no time to back it all up and do a fresh F12 install. I am hoping someone out there can give me a bulletproof way to steal some space and expand the boot partition...
I'm a very new Linux user, so speak slowly and don't use big words. I installed Karmic from the Live CD. It is the only OS in use on this system. I then upgraded to Ubuntu Studio using the instructions found on the wiki.
On bootup, I get a brief message stating "GRUB loading" and then the system automatically boots to the generic kernel. No GRUB menu is ever displayed. I would like the option to boot to the real-time kernel, but I have no idea how to edit the appropriate files. I've done a fair amount of reading on the subject, but I find very little information relating directly to the real-time kernel, and so I still feel like I'm too green to do it without messing something up.
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.
So I rebooted to use this new kernel:
Next, since the Nouveau video driver requires the kernel header files, I ran the following:
Code:
I don't understand why apt-get upgrades the kernel but won't install its header files.
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.
So I rebooted to use this new kernel:
Code: # uname -r 2.6.32-24-generic
Next, since the Nouveau video driver requires the kernel header files, I ran the following:
Code: # apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done