Locked out - help!!!

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
magicchance

Locked out - help!!!

Post by magicchance »

Today for no reason I got this message as I was starting my PC just like I do every day:

As a result, I am locked out of my computer.

Edit: no matter what I do, the pic loads upside down. Sorry.

Image
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
richyrich

Re: Locked out - help!!!

Post by richyrich »

magicchance

Re: Locked out - help!!!

Post by magicchance »

How do you do that exactly?

What is iommu, and why does it lock me out of my PC?
magicchance

Re: Locked out - help!!!

Post by magicchance »

I'm also getting this message as I try to reboot:

Image
Last edited by karlchen on Fri Sep 28, 2018 6:38 am, edited 2 times in total.
Reason: added correctly rotated image
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Locked out - help!!!

Post by thx-1138 »

1) ...iommu explained... (look in your bios for either Intel VT-d/x or IOMMU, and enable such...)
2) ...it's asking you to run a manual filesystem check / repair... type sudo fsck -yvf /dev/sda1, press enter...
magicchance

Re: Locked out - help!!!

Post by magicchance »

thx-1138 wrote: Fri Sep 28, 2018 6:27 am 1) ...iommu explained... (look in your bios for either Intel VT-d/x or IOMMU, and enable such...)
2) ...it's asking you to run a manual filesystem check / repair... type sudo fsck -yvf /dev/sda1, press enter...
1. I don't see anything like this in the bios.
2. I am locked out. I can't get to my desktop. I can't get past the screen shown in the first pic above. So I have no access to the Terminal.
AscLinux
Level 4
Level 4
Posts: 477
Joined: Sat Oct 29, 2016 3:32 pm
Location: Acadiana
Contact:

Re: Locked out - help!!!

Post by AscLinux »

IOMMU has nothing to do with your problems.
Your root filesytem is corrupted. Whether it is due to failing hard drive or improper shutdown is up to you to diagnose. To boot again you need to repair your root filesystem and hope nothing is permanently lost. You can do it from busybox or you can boot an external media and run the fsck from there.
Master Foo Discourses on GUI.
First Linux 1997. Last Windows 2004.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Locked out - help!!!

Post by thx-1138 »

...magicchance - i don't know if iommu is the actual culprit or if it is a red herring as AscLinux suggests:
never stumbled upon that kfd warning before myself.

Run fsck, and pay note to whatever messages returned back in regards to which files got corrupted and/or repaired.
Why such happened, without knowing what you were doing before & without checking the logs,
it's more or less impossible for someone around to say.
AscLinux
Level 4
Level 4
Posts: 477
Joined: Sat Oct 29, 2016 3:32 pm
Location: Acadiana
Contact:

Re: Locked out - help!!!

Post by AscLinux »

For sake of clarity. IOMMU is required only to give exclusive access for virtual machines to a certain piece of hardware. Lacking IOMMU support will not affect the main operating system in any way.
Master Foo Discourses on GUI.
First Linux 1997. Last Windows 2004.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Locked out - help!!!

Post by thx-1138 »

...for the sake of extra clarity, depending on kernel version bugs & the vendors' iommu implementation,
it might affect just fine the main operating system...
I assume there's a reason for a number of iommu= parameters to be passed to in case such is needed...

If only i had to mention just how many cases i've encountered where iommu=soft should be passed, else, the system crashed...
AscLinux
Level 4
Level 4
Posts: 477
Joined: Sat Oct 29, 2016 3:32 pm
Location: Acadiana
Contact:

Re: Locked out - help!!!

Post by AscLinux »

I build all my Gentoo kernels without IOMMU support and never had an issue. However, if the stock kernel has IOMMU enabled [just in case] then it would make sense to pass iommu=off to the kernel. Unless you really need it, that is. Enabling IOMMU only may add undesirable DMA mapping overhead to setups where it is not really used.
If only i had to mention just how many cases i've encountered where iommu=soft should be passed, else, the system crashed...
^^ This is probably the case with systems that do not support IOMMU in hardware. Again, just turn the damn thing off.
Master Foo Discourses on GUI.
First Linux 1997. Last Windows 2004.
magicchance

Re: Locked out - help!!!

Post by magicchance »

thx-1138 wrote: Fri Sep 28, 2018 12:32 pm ...magicchance - i don't know if iommu is the actual culprit or if it is a red herring as AscLinux suggests:
never stumbled upon that kfd warning before myself.

Run fsck, and pay note to whatever messages returned back in regards to which files got corrupted and/or repaired.
Why such happened, without knowing what you were doing before & without checking the logs,
it's more or less impossible for someone around to say.
Exactly how do I run fsck? I have no Terminal access, remember. Also, I'm a total noob, so I need someone understanding to walk me through this step by step.
magicchance

Re: Locked out - help!!!

Post by magicchance »

FYI to everyone here, this is what I mean by BIOS:
20180928_102116.jpg
(Apologies if its not right side up. My compression app doesn't know Up from Down.)
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Locked out - help!!!

Post by thx-1138 »

...magicchance, don't you get an (initramfs) _ prompt above? You just run fsck from there...
Else, reboot, press Esc or Shift for Grub to show up, select Recovery mode, 'drop to root shell"...*

AscLinux - correct, but:
1) it is enabled in Canonical kernels that we use here (and not only)...
2) completely disabling it isn't that much of an option,
just how many people around use (and need it) for VMs (especially here)?

*Edit: Or just boot from a live stick / cd as AscLinux suggested...
ajgreeny
Level 7
Level 7
Posts: 1662
Joined: Mon Nov 19, 2007 3:27 pm

Re: Locked out - help!!!

Post by ajgreeny »

We seem to be going round and round here with no simple answer for magicchance, so here is my attempt.

Boot to a live system, eg the DVD/USB you used to install Mint originally.
From that live system open a terminal and run

Code: Select all

sudo e2fsck /dev/sda1
which will report if there are any filesystem errors.

Depending on what is reported you may need to now run

Code: Select all

sudo efsck -y /dev/sda1
Lord Boltar

Re: Locked out - help!!!

Post by Lord Boltar »

IOMMU = Input-output memory management unit

Your bios should have the function in it - when you startup tap the F2 (in most cases, but not all) key to access BIOS usually it will be under the Advanced tab it may say one of the following “IOMMU,” “I/O Memory Management Unit,” or “Intel ® VT-d”setting (usually located under the “Advanced” or “Chipset/Northbridge/Tylersburg IOH/Intel VT for Directed I/O Configuration”settings menu - you just have to find it and select off, once found and changed to off press the F10 Key to save and exit BIOS and see if your machine starts normally - you can always change it back to on in the BIOS
Locked

Return to “Beginner Questions”