Linux Kernel upgrade Error

Source: Internet
Author: User
Linux Kernel upgrade error-general Linux technology-Linux programming and kernel information. For details, refer to the following section. Upgrade the linux (debian) Kernel on your machine from 2.6.18 to the latest 2.6.25.9 since you need to use the write functionality of the ntfs-3g (kernel at least 2.6.22 won't have the warning)

Download the source code and customize the Parameter options (make menuconfig, which is very important. Many problems actually occur in the parameter configuration). make; make modules_install; make install is that simple.

Finally, the initrd file must be generated. You can use the yaird command.

Here we will record two things that caused linux to start panic during the upgrade process.

/Bin/cat:/sys/block/hda/dev: No such file or directory

In this case, the modules is not loaded properly. You only need to add it in/etc/yaird/Default. cfg.

MODULE ide-generic
MODULE ide-disk

It can be easily done.

The second exception is similar to the preceding one.

/Bin/cat:/sys/block/sda/dev: No such file or directory

This is because the ata_piix module is used to manage the hard disk. However, in 2.6.25, the default hard disk is IDE, and the default device name is/dev/hda. Now you only need to add

Ro hda = noprobe

In this way, linux will use the ata_piix module to manage the hard disk (directly supporting DMA and so on). However, there must be a premise that both ide and ata_piix should be loaded as modules, instead of compiling it into the kernel.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.