Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Ubuntu 7.04 on an AMD64 machine. I encounter a serious kernel panic problem frequently. All of a sudden, the following message appears, and my computer stops completely:
I'm using AMD Athlon 64 x2 5600+ CPU. Yes, this is dual core.
This does not ALWAYS happen, but SEEMS to happen whenever I run long jobs. For example, when I used rsync or scp to get 14G files from another machine, the problem happen. But it did not happen immediately after the start of rsync or scp, but about a few hours after I start the rsync or scp.
It looks like it's doing a paging-operation of some kind, and it may be that the problem only surfaces when the system is running out of memory... is under extreme stress.
To start with, I would do a clean recompile of the kernel, just to make sure, and make sure that you have properly defined [a sufficient amount of] the swap-space. Also, run smart tests to be sure that the drives have not logged any I/O errors.
But that's a bit strange, because I have 4 GB of memory. It should be enough in most purpose.
Although I'm not a newbie in using Linux, I had very little knowledge about Linux kernel, and how to recompile the kernel. What should I do in order to do that? Besides, will my installed programs and libraries or other data be erased in recompiling the kernel?
And what is the smart test? I type smart in the term and got the command not found result.
I am not familiar with ubuntu, but most distros
give you something called kernel-sources, or vanilla-sources..
install it and then goto /usr/src/linux/ or the corresponding
directory in your distro.
type make menuconfig
set all values properly, if you want delete existing config
by deleting .config file.
make && make modules_install && make install
(you should've mounted your /boot, LILO or GRUB should exist)
Lookout for specially patched kernels for amd64. For
gentoo, it comes automatically when gentoo-sources is emerged.
There should be something for ubuntu also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.