Debian repair/dev/mapper/debian--vg-root file errors cause ehci-orion not found in MODULES.DEP

Source: Internet
Author: User

Colleagues for help, said the restart of Debian, the system hangs.

Report the following error

```

Loading, please wait ...

/dev/mapper/debian--vg-root contains a file system with Errors,check the file system.

/dev/mapper/debian-vg-root:

Inodes that were part of a corrupted orphan linked list found.


/dev/mapper/debian--vg-root:unexpected inconsistency; RUN fsck manually.

...

Fsck exited with status code 4

The root filesystem on/dev/dm-0 requires a manual fsck

Modprobe:module ehci-orion not found in MODULES.DEP


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ASH)

Enter ' help ' for a list of built-in commands.

/bin/sh:can ' t access tty:job control turned off

(Initramfs) _

```

Inside the inside is said that the root node has a file system error, need to repair. Then the system automatically run to repair, repair is/dev/mapper/debian--vg-root, repair failure, module ehci-orion in the kernel is not found. So the system directly into the INITRAMFS system.


Here we can analyze, Initramfs is an improved version of the TMPFS application, Linux at boot time load kernel and Initramfs to memory execution, after the kernel initialization, switch to the user state to execute INITRAMFS program/script, load the required driver module, Necessary configuration, and then load ROOTFS switch to the real rootfs to perform the subsequent Init process, such as the desktop and so on.


In the repair, to fix the/dev/mapper/debian--vg-root, actually this is a link, because the root node is actually not mounted on, so this link is invalid. Naturally, the repair fails.

and the real root node is hanging on the/dev/dm-0.

So, in Initramfs, perform the following fsck to fix

```

Fsck.ext4-y/dev/dm-0

```

Enter can be automatically repaired, colleague's file system is EXT4, if you are ext3, change to FSCK.EXT3.

The root filesystem can be rebooted and mounted after the reboot.

Can be executed inside the INITRAMFS.

```

Cat/proc/cmdline to view the boot image mount

Boot_image=/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/debian--vg-root ro quiet

```


Debian repair/dev/mapper/debian--vg-root file errors cause ehci-orion not found in MODULES.DEP

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.