Page 1 of 1

Locked out - help!!!

Posted: Thu Sep 27, 2018 3:05 pm
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

Re: Locked out - help!!!

Posted: Thu Sep 27, 2018 3:22 pm
by richyrich

Re: Locked out - help!!!

Posted: Thu Sep 27, 2018 4:20 pm
by magicchance
How do you do that exactly?

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

Re: Locked out - help!!!

Posted: Thu Sep 27, 2018 4:31 pm
by magicchance
I'm also getting this message as I try to reboot:

Image

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 6:27 am
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...

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 9:27 am
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 10:23 am
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 12:32 pm
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 12:46 pm
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 1:05 pm
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...

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 1:14 pm
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 1:17 pm
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.

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 1:28 pm
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.)

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 1:38 pm
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...

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 2:46 pm
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

Re: Locked out - help!!!

Posted: Fri Sep 28, 2018 3:30 pm
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