The one and only, Master Kernel Thread
KernelCheck - Finally. A way to easily download, compile, and install the latest kernel. Release 1.2.5 available now.
That worked! Thanks. It seems strange to me though.
OK, I compiled one kernel successfully for my computer, now compiled one for my friend's old computer with fresh ubuntu 9.10 installation; it doesn't have much memory (384MB) so I was trying to streamline it to only what it would actually have a potential to use.
Everything went great until I rebooted to try to use the new kernel. I got the following:
I ran "cat /proc/modules" in the shell since it was suggested for troubleshooting above the shell prompt. It gave:Code:ACPI: I/O resource via686a [0x6800-0x687f] conflicts with ACPI region HMIO [0x6800-0x684f] modprobe: FATAL: Could not load /lib/modules/2.6.31.6-k7custom20091121/modules.dep: No such file or directory ALERT! /dev/disk/by-uuid/xxxx... does not exist. Dropping to shell
So I need to know two things: how do I uninstall the bad kernel? How do I fix the kernel that I must have screwed up the config on? The first one is more important. Thanks for any help. It is pretty hard to go through all the options in the kernel config and make the right choices.Code:floppy 46500 0-Live xxx... via_agp 7464 1-Live xxxx....
I got the following:
I have no idea why. The computer is an old Vaio with Jaunty that warns on boot that 10 APIC resources could not be allocated, and something about SMBus not running properly. I couldn't run Karmic on it. Maybe something in the current kernel?Code:make: *** [debian/stamp/build/kernel] Error 2
OK, I found that the package manager itself will let me uninstall the custom kernel and that seems to work fine. I don't know if I will ever get a custom kernel to work; There is a lot to know about the configuration.
Well, try not to touch too much if you don't know what you are doing. Remember you are starting off from your old configuration, so except for new release changes, it should be fine as it is. You can try to remove some unneeded stuff (do you really need all those weird network protocols? Amiga file system integration?) and not mess with the rest.
I have a computer that I've compiled several times without problems, and this one, where I've never succeeded. Don't ask me why, except this one is problematic (I couldn't install Karmic on it).
So, used kernelcheck to compile a kernel for karmic (new kernel is 2.6.31.6), and now I have suspend again. Didn't think it would ever happen.... But, on my laptop, there is a custom patch to enable adjusting the screen brightness. Here is a url to a tutorial to install it in Jaunty: http://vaioubuntu.wordpress.com/2009...de-for-jaunty/
When I paste in the first command - "sudo ./dsdt-patch", I get an error "sudo: ./dsdt-patch: command not found". Does anyone know either:
A) An update to the Jaunty tutorial that will allow me to patch my 2.6.31.6 custom Karmic kernel.
or
B) How to apply the patch during kernel compiling. I have tried, but I just am not sure where to put the patch so it sees the files it needs to patch, so I always get error messages (patch stops and asks what file to patch).
The suspend thing is what got me started with trying to compile a kernel, so I am pretty new at this, but I can follow directions with the best of them... And I'm learning dammit.
Thanks in advance for any help!
i tried to compile the lastest kernel 2.6.32 with the extra distcc option and got some errors
dpkg-gencontrol: error: package linux-image-2.6.32-kittens not in control info
make[2]: *** [debian/stamp/binary/linux-image-2.6.32-kittens] Error 255
make[2]: Leaving directory `/usr/src/linux-2.6.32'
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.32-kittens] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32'
make: *** [kernel_image] Error 2
root@securewebz:/usr/src/linux-2.6.32# INSTALL_MOD_STRIP=1 CONCURRENCY_LEVEL=3 make-kpkg --initrd --append-to-version=-kittens kernel_image e
root@securewebz:/usr/src/linux-2.6.32#
I've been trying to compile the 2.6.32 kernel. Compiles fine, but when I try to install the packages I get:
Code:Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-amd64.postinst line 1186. dpkg: error processing linux-image-2.6.32-amd64 (--install): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: linux-image-2.6.32-amd64
Hardware:
Processor: AMD Phenom 9650 Quad-Core @ 3.04GHz, Motherboard: LP DK 790FX-M2RS, Chipset: ATI RD790 + SB600, System Memory: 3960MB, Disk: 640GB WDC WD6401AALS-0, Graphics: HD4850 @ 750/1100, Screen Resolution: 1680x1050
The way this script works is that it applies itself against your current kernel and updates the initramfs image that already exists. So you need to have your newest kernel already built and installed before running this patch.
You're probably getting the above error because you didn't set the script to be executable after you created it. Try running:
Then try again. HTH.Code:chmod u+x dsdt-patch
-Jason
Bookmarks