Manjaro Difference between revisions of "Kernel Fails to Load (pata acpi error)"

Difference between revisions of "Kernel Fails to Load (pata acpi error)"

From Manjaro
imported>Verityproductions
(Created page with "= Overview = {{tip|Parallel ATA ('''[http://en.wikipedia.org/wiki/Parallel_ATA PATA]''') is an interface standard to connect storage devices, and the Advanced Configuration a...")
 
imported>Verityproductions
Line 4: Line 4:




This problem may affect particular particular computer systems using the '''[http://en.wikipedia.org/wiki/JMicron JMicron PATA Controller chipset]''', which is used to control and access storage devices, such as Solid State Drives ('''[http://en.wikipedia.org/wiki/Solid-state_drive SSD]'''). More specifically, it may be due to the '''PATA ACPI''' driver being loaded by the GRUB ('''GR'''and '''U'''nified '''B'''ootloader), which has consequently resulted in a conflict with the ''JMicron'' chipset. Should this indeed be the case, then an error message similar - or identical - to the example provided below should be displayed upon attempting to boot the affected kernel version(s):
This problem may affect particular computer systems using the '''[http://en.wikipedia.org/wiki/JMicron JMicron PATA Controller chipset]''', which is used to control and access storage devices, such as Solid State Drives ('''[http://en.wikipedia.org/wiki/Solid-state_drive SSD]'''). More specifically, it may be due to the '''PATA ACPI''' driver being loaded by the GRUB ('''GR'''and '''U'''nified '''B'''ootloader), which has consequently resulted in a conflict with the ''JMicron'' chipset. Should this indeed be the case, then an error message similar - or identical - to the example provided below should be displayed upon attempting to boot the affected kernel version(s):


  ERROR: device 'UUID=......' not found. Skipping FSCK'
  ERROR: device 'UUID=......' not found. Skipping FSCK'

Revision as of 21:22, 23 November 2012

Overview

Tip
Parallel ATA (PATA) is an interface standard to connect storage devices, and the Advanced Configuration and Power Interface (ACPI) is used for device configuration and power management.


This problem may affect particular computer systems using the JMicron PATA Controller chipset, which is used to control and access storage devices, such as Solid State Drives (SSD). More specifically, it may be due to the PATA ACPI driver being loaded by the GRUB (GRand Unified Bootloader), which has consequently resulted in a conflict with the JMicron chipset. Should this indeed be the case, then an error message similar - or identical - to the example provided below should be displayed upon attempting to boot the affected kernel version(s):

ERROR: device 'UUID=......' not found. Skipping FSCK'
ERROR: Unable to find root device 'UUID=......'
You are being dropped to the recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off'

.....

mount: can't find UUID='.....'
You are now being dropped into the emergency shell.


If so, then the solution is to simply stop the PATA ACPI driver from being loaded in the first place. This is a simple task, undertaken by amending a single line in the default grub file.


Opening the Default GRUB File

The syntax of the command to open the LXDM configuration file is:

sudo [text editor] /etc/lxdm/lxdm.conf


For example, if you wish to edit the file within the terminal using nano (a standard terminal-based text editor) then enter:

sudo nano /etc/default/grub


Otherwise - if you have installed the full version of Manjaro (i.e. not the NET-Edition) - you may find it easier to use the pre-installed gedit text editor instead. This will open the configuration file up as a document, making it easier to read and edit. To use gedit instead, enter:

sudo gedit /etc/default/grub


Editing the Default GRUB File

Once the default grub file has been opened, it will be necessary to amend the GRUB_CMDLINE_LINUX="" command, which is itself located near the top of the file. An example has been provided below, with the appropriate line highlighted in green below for illustrative purposes:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="GRUB_CMDLINE_LINUX_DEFAULT= resume=/dev/disk/by-uuid/4cbb5d28-6569-4225-a5a0-adf5f6c372b0"
GRUB_CMDLINE_LINUX=""


To prevent the PATA ACPI driver from being loaded, modprobe.blacklist=pata_acpi must be added in between the otherwise empty speech marks. An example of the necessary amendment has been provided below, which has again been highlighted in green for illustrative purposes:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="GRUB_CMDLINE_LINUX_DEFAULT= resume=/dev/disk/by-uuid/4cbb5d28-6569-4225-a5a0-adf5f6c372b0"
GRUB_CMDLINE_LINUX="modprobe.blacklist=pata_acpi"


Once you have completed the amendments, save the change and close the file by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.


Now all that is necessary is to update the GRUB before rebooting.


Updating the GRUB

To update the GRUB, ensure that the terminal is open, and enter the folliwing command:

sudo update-grub


Once complete, reboot your system for the change to take effect.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.