Bug 26675 - iso boot fails with usb device descriptor read/64 error -32 due to IOMMU being disabled in bios setup
Summary: iso boot fails with usb device descriptor read/64 error -32 due to IOMMU bein...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2020-05-23 20:23 CEST by jeff deifik
Modified: 2020-05-26 15:04 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
screenshot of mageia 7.1 live failing (884.23 KB, image/jpeg)
2020-05-25 19:40 CEST, jeff deifik
Details

Description jeff deifik 2020-05-23 20:23:43 CEST
Description of problem:
I have a Gigabyte GA-990FXA-UD5 rev 3 motherboard.
I have installed windows 10 on it.
When I try to install mageia 7.1 x86-64, after selecting 'install mageia'
I get an error message saying
"that cd rom disc does not seem to have a mageia installation"
I made a new usb stick, but I got the same error message.
It does say 'UEFI' on the mageia splash screen.

Using the same usb stick, I can successfully install mageia on another uefi based computer.

Version-Release number of selected component (if applicable):
7.1

How reproducible:
100%

Steps to Reproduce:
1. boot from usb
2. select install mageia
3. error message
Comment 1 Dave Hodgins 2020-05-23 20:41:54 CEST
According to https://www.gigabyte.com/Motherboard/GA-990FXA-UD5-rev-30/sp#sp
that mb has a mix of usb 2.0/1.1 ports and 3.0/2.0 ports.

Can you try in whichever of the above you haven't tried in, to see if that
works?

CC: (none) => davidwhodgins

Comment 2 jeff deifik 2020-05-23 21:26:15 CEST
I tried it on a front panel usb2 port, which is the same port I used to install windows 10. It does boot from usb successfully, but goes downhill after that.
Comment 3 Lewis Smith 2020-05-23 22:15:55 CEST
> Using the same usb stick, I can successfully install mageia on another
> uefi based computer
A good confidence check on the USB.
It should not of course be relevant, but the previous comments make me wonder whether writing the USB on one sort of port, and reading it from a different sort, notices. (I always use the same machine & ports for both).
CC'ing Martin.

CC: (none) => lewyssmith, mageia

Comment 4 Dave Hodgins 2020-05-23 22:24:03 CEST
Unless there is some kernel parameter needed to support that usb controller
properly that I'm not aware of, so that a workaround can be found, I expect this
bug will have to be closed as wontfix, as there will not be any new iso images
produced for Mageia 7.

Care to try a cauldron network installation using
https://mirror.math.princeton.edu/pub/mageia/distrib/cauldron/x86_64/install/images/Mageia-Cauldron-netinstall-x86_64.iso

If the bug is also present in cauldron, there's time to diagnose and hopefully
fix it before Mageia 8 is released.
Comment 5 jeff deifik 2020-05-23 23:40:27 CEST
I have an optical sata drive in the computer.
I burned an install dvd.
I was able to successfully boot and start the installation process.
The usb keyboard and mouse did not work.
I was able to use a ps/2 keyboard, but I couldn't get far during the install.
There is only one ps/2 port and I can't attach both a ps/2 keyboard & ps/2 mouse.

The motherboard is a few years old, but uses a standard amd chipset.
It seems very likely that there is some issue with its usb working for booting
from a mageia flash drive and using a usb keyboard and mouse.
I think the problem should be fixed...
Comment 6 Martin Whitaker 2020-05-23 23:53:17 CEST
In your BIOS there is a setting "USB Legacy Function". Try changing that to see if it helps with the keyboard/mouse problem.
Comment 7 jeff deifik 2020-05-24 21:01:39 CEST
Legacy was turned on. I turned it off, but there was no change.
Comment 8 Martin Whitaker 2020-05-25 10:00:57 CEST
From comment 5, it would seem the Linux kernel in the installer ISO is unable to access any USB devices connected to your motherboard. Possibly there is a missing driver or udev rule. Could you try booting a Mageia 7.1 Live ISO (which contains all drivers). If that works, open a terminal window, execute the following commands

  su -
  journalctl -ab > journal.txt
  lspcidrake -v > lspci.txt
  lsusb > lsusb.txt
  lsmod > lsmod.txt

and attach the resulting four .txt files to this report.

Also try Dave's suggestions in comment 1 and comment 4.

Keywords: (none) => NEEDINFO

Comment 9 jeff deifik 2020-05-25 19:39:33 CEST
I tried booting mageia 7.1 live on a usb3 port.
I got dropped into a grub shell.

I tried booting mageia 7.1 live on the standard usb ports.
I got the splash screen with the 5 circles.
Eventually, I got a black and white text error screen.
I took a photo of it, and I am enclosing it.
Comment 10 jeff deifik 2020-05-25 19:40:26 CEST
Created attachment 11660 [details]
screenshot of mageia 7.1 live failing
Comment 11 jeff deifik 2020-05-25 19:56:42 CEST
I am unable to book kali, kubuntu or knoppix. Perhaps there is something odd with my hardware.
Windows 10 works without issue.
Comment 12 Martin Whitaker 2020-05-25 20:25:52 CEST
Google tells me you are not alone. One thing that seems to have worked for some people is to set the IOMMU to enabled in the BIOS.
Comment 13 jeff deifik 2020-05-25 23:31:10 CEST
Enabling IOMMU has solved all problems.
Installed 7.1 64bit and ran all updates successfully !
Comment 14 Dave Hodgins 2020-05-26 15:04:19 CEST
Changing the bug title to make it easier to find, and closing a fixed.

Summary: error at beginning of uefi install with known good usb stick => iso boot fails with usb device descriptor read/64 error -32 due to IOMMU being disabled in bios setup
Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.