Compile the 2.6.23 kernel-general Linux technology-Linux programming and kernel information. The following is a detailed description. Today I made a ubuntu live CD on a mobile hard disk. The actual principle is not complicated. I divided it into a m fat16 partition and copied the content in CD, patch it again.
I used it for a while, but it is still relatively cool, and the speed is faster than that of the CD, and I don't need to pay for the optical drive in the future. Mobile hard drive will be carried with you later for convenience.
But I don't know why my optical drive is always disconnected. I am angry. I found that debian unstable already has 2.6.23 kernel. I simply uninstalled 2.6.22 kernel to install 2.6.23.
Several problems found
1) The rtc timeout problem also exists in the original kernel. In fact, the method is very simple. One is to add an HWCLOCKPARS =? Directisa parameter. The other is to disable APIC/ACPI, and the third party is to compile the kernel. The first two methods are neither useless nor feasible. When I compile the kernel today, set Device Drivers-> Real Time Clock-> to/sys/class/rtc/rtcN,/proc/driver/rtc (procfs for rtc0) and/dev/rtcN (character devices) to compile them into the kernel. So I can see that there is an rtc_dev thing. Although I don't know which option it is, it is a new version of rtc (looks like, well ). In this way, you can.
2) I don't know why. During the startup of the compiled kernel, I am waiting for root file system. It takes a long time to prompt
Boot device may be renamed, Try root =/dev/hda9
Blablabla
If you see this, it seems that the sata disk has been recognized as a common hda. Think about it carefully and you should not change the kernel. Directly go to the BIOS and change the original disk mode from compatible to ACHI (it seems like this fight, forget, I don't know what machines outside thinkpad look like ), now the world is quiet.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service