New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation stop on "installing storaged.x86_64 (635/998)" very time I run the installation of Qubes-os R4 rc1 #3198

Open
adavida opened this Issue Oct 20, 2017 · 28 comments

Comments

Projects
None yet
@adavida

adavida commented Oct 20, 2017

Qubes OS version:

Qubes os R4 rc1

Steps to reproduce the behavior:

I launch the installation of qubes-os on my pc

Expected behavior:

finish install

Actual behavior:

everything is blocked, except the mouse cursor that I pee still closet.
but nothing happens when I click, or make a key combination.
the animation next to the message freezes.

I tested several faith to install qubes R4rc1, and always the same blocking

General notes:

my pc is alienware 15r3, with ssd intel 600p


Related issues:

@adavida

This comment has been minimized.

adavida commented Oct 24, 2017

I got to install Qubes-os R4 rc2 release today

I do not know if it is R4 r2 qubes-os that corrects the problem. or that I added an option - modprobe.blacklist = bochs_drm - at boot (I'm in EFI) in the xen.efi file
I have the same problem as here: https://www.qubes-os.org/doc/linux-hvm-tips/
although the context is different, I also tried.
but, anaconda was really slow in being animations, 1fps or less

@andrewdavidwong

This comment has been minimized.

Member

andrewdavidwong commented Oct 25, 2017

Closing this as "resolved." If you believe the issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen this. Thank you.

@WolfBlitz

This comment has been minimized.

WolfBlitz commented Dec 2, 2017

Laptop: MSI GS63VR
This problem exists in RC1.0 RC 2.0 RC 3.0
Installation stuck at installing "storaged".
Tried both uefi mode and legacy mode, both failed.
Tried adding modprobe.blacklist = bochs_drm in efi conf and replace in grub, still failed.
Tried with/without luks, both failed
Tried lvm and btrfs, both failed
Thanks if someone could fix this issue, in great hurry...

@WolfBlitz

This comment has been minimized.

WolfBlitz commented Dec 2, 2017

I too have the problem described previpusly
https://www.qubes-os.org/doc/linux-hvm-tips/
However in legacy mode, it doesn't work using modprobe.blacklist = bochs_drm, and installer won't start graphical mode…
In efi mode, it went into graphical mode but still stuck at storaged.

@ampanasiuk

This comment has been minimized.

ampanasiuk commented Dec 10, 2017

Still with us with 4.0rc3. Not reproducible with 3.2. Booting through UEFI, using the ISO image, written into a partition on the hard drive or onto an USB stick. Tried with all and with none additional components selected for installation. Tried with encrypted LVM and with non-encrypted regular ext4 target partition. Target partition 34GiB.
smartctl -a:
Device Model: WDC WDS120G1G0B-00RC30
Firmware Version: Z3311000
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2

@ampanasiuk

This comment has been minimized.

ampanasiuk commented Dec 10, 2017

Worked around it by writing the iso onto a partition on a USB stick, extracting the EFI directory into a new FAT partition on the same stick, editing EFI/BOOT/xen.cfg to add rd.driver.blacklist=nouveau nouveau.modeset=0 video=vesa:off to one of the "kernel" lines and boot from the FAT partition.
Graphic card is nVIDIA GTX1060

@marmarek

This comment has been minimized.

Member

marmarek commented Dec 10, 2017

Do you have also integrated graphic card?

@ampanasiuk

This comment has been minimized.

ampanasiuk commented Dec 10, 2017

@yilmi

This comment has been minimized.

yilmi commented Jan 13, 2018

I used a similar workaround on 4.0 rc3 as the one described by @ampanasiuk with different kernel flags. Added to doc QubesOS/qubes-doc#512

@fepitre

This comment has been minimized.

Member

fepitre commented Mar 10, 2018

Just a feedback: on a freshly new Acer Predator Helios 300, I encountered the same problem with 'storaged' during the install process with BIOS in Legacy mode. I added 'rd.driver.blacklist=nouveau nouveau.modeset=0 video=vesa:off' to the grub install options and then, everything was fine. @marmarek there is also an integrated graphic card + a GTX1050. I was thinking that maybe we could add such a grub entry just below the already present graphic fallback entry?

@fepitre

This comment has been minimized.

Member

fepitre commented Mar 19, 2018

There is also another problem which has been solved in the same way: https://groups.google.com/d/msg/qubes-users/aXqX5GGE5EY/A81eni33BAAJ

Any idea why? PCI express related?

@fepitre

This comment has been minimized.

Member

fepitre commented Mar 19, 2018

@andrewdavidwong @marmarek : maybe we should open a separate/included issue related to problem with crash during the installer?

@marmarek

This comment has been minimized.

Member

marmarek commented Mar 19, 2018

First of all, I think storaged is unrelated here - it's just a package that happen to be installing at that time. Maybe its installation trigger something (refreshing some hardware state?).
I've seen similar issue on a machine with nvidia + intel GPU, but there it didn't completely frozen but from time to time freeze for ~20s. The freeze there could be triggered by xrandr -q. I don't remember details, but AFAIR there were some errors from nouveau (or intel?) driver about PCI access.
Does disabling nvidia in BIOS (if possible) help?

@fepitre

This comment has been minimized.

Member

fepitre commented Mar 19, 2018

I discussed with friends last week to what could be the problem and you came to the same conclusion, problem probably related to nouveau pci hardware access which could mess up in several pci laptop configurations. From my side, I can't disable NVIDIA in the BIOS and thus I have a big problem with my battery duration (~1 hour only). I tried to install NVIDIA driver (to have some power saving features) without success, using the akmod-nvidia of FC25. Not tried yet the binary from NVIDIA. But, in all cases, there is trouble with such a configuration INTEL+NVIDIA...

@nystilaps

This comment has been minimized.

nystilaps commented Jun 15, 2018

I am trying to install Qubes OS R4.0 on an MSI GS65 8RE notebook.
I encountered two problems:

  1. Installation hangs on storaged installation. I tried different options, mentioned here but it still hangs.
    Options tried: efi=attr=uc modprobe.blacklist=bochs_drm nouveau.blacklist=yes lbm-nouveau.blacklist=yes rd.driver.blacklist=nouveau nouveau.modeset=0 video=vesa:off acpi=off apm=off irqpoll iommu=no-igfx
  2. If I move my SSD to another machine, I can install it there and then move it to the notebook.
    Then it hangs on configuration stage.

I think of removing my WiFi card during installation, but haven't tried it yet.
I would appreciate any help.

@nystilaps

This comment has been minimized.

nystilaps commented Jun 15, 2018

By the way I am trying text mode installer and it seems to have no option to set file system password.
But it needs the password for installation. I am stuck in it a bit.

@nystilaps

This comment has been minimized.

nystilaps commented Jun 15, 2018

Seems it is normal behaviour:
#1161 (comment)

@akacodeorg

This comment has been minimized.

akacodeorg commented Jun 26, 2018

Hi All, I’m running into almost the same error installing Qubes-R4.0-x86_64. Install is hanging on “storaged.x86_64 (732/1018)” while installing on:

System76 - Oryx Pro
8 GB GTX 1070
4.1 GHz i7-8750H
32 GB Dual-channel DDR4 at 2400 MHz
512 GB NVMe PCIe M.2 SSD

Will report back if I find workaround.

@marmarek

This comment has been minimized.

Member

marmarek commented Jun 27, 2018

Are you using USB 3.0 stick as a installation source? I have one (actually bought a bunch of them :/) that cause similar problems, but when connected through USB 2.0 cable or hub, it works.

@akacodeorg

This comment has been minimized.

akacodeorg commented Jul 4, 2018

Hi @marmarek, thanks for the heads up. Since your post I have now tried a few different installation methods all with no success. I have tried the following:
-mosDART 16GB USB 3.0 flash drive.
-PNY 8GB USB 2.0 flash drive.
-PNY 64GB USB 3.0 flash drive.
I tried all three methods mentioned above while also plugged into a old USB 2.0 hub.
I have also tried burning iso to DVD and booting from external DVD drive.
I have also downloaded iso again just in case something might have been corrupt.

@yilmi

This comment has been minimized.

yilmi commented Jul 5, 2018

Hi @akacodeorg, I ran into the same issue on a previous install, however as @marmarek mentioned in a previous comment, the freeze isn't related to the storaged.x86_64 rpm.

Your config is similar to mine. At first, I worked around the issue adding nouveau.modeset=0 kernel parameter and removing /mapbs and /noexitboot.

When I wanted to update to Qubes 4.0GA I tried other configurations and used instead acpi_osi=! kernel parameter and enabled full iommu in Xen options with iommu=on, with this I was able to install and get discrete GPU support.

@qmontal

This comment has been minimized.

qmontal commented Aug 2, 2018

Hey @yilmi!

Could you get a little bit more on detail about what you did and how you did it? I have the same hardware, and I have not managed to make it work.

On one side, there is no xen.cfg file, this seems to have been deprecated for BOOTX64.cfg file, as it was in version 3.2 but not in 4 (at least the new release available to download, both image and torrent).

Also, the only situation in which I have been able to modify and save successfully the BOOTX64.cfg file is directly inside of the console once Qubes has failed to install, when I can't launch again the installation (when trying to modify directly the files mounting them in another linux machine is not allowing to mount as rw even as sudoer as it is a protected filesystem.

I am pretty lost at this point and don't know to fix it...

Cheers!

Quim

@yilmi

This comment has been minimized.

yilmi commented Aug 3, 2018

Hi @qmontal,

You're right, it is now the BOOTX64.cfg file that you will have to modify. I added some steps to our documentation some time ago about how to edit it before install, see Change installer kernel parameters in UEFI here: https://www.qubes-os.org/doc/uefi-troubleshooting/

For troubleshooting I would use the grub installer as changing parameter can be done at boot time (easier to test different configs). Once I have a it working with Legacy/Grub I test UEFI boot with the same parameters.

The Qubes UEFI installer xen config looks like this (truncated stuff)

[global]
default=qubes-verbose

....

[qubes-verbose]
options=console=vga efi=attr=uc
noexitboot=1
mapbs=1
kernel=vmlinuz inst.stage2=hd:LABEL=Qubes-R4.0-x86_64 i915.alpha_support=1
ramdisk=initrd.img

....

Make sure that you modify the default boot entry, in this case qubes-verbose.

Below the items I had to add/change/remove to get successful install:

  • Add iommu=on to the list of options=
  • add acpi_osi=! to the kernel= list of parameters
  • remove mapbs=1 and noexitboot=1

I also think I had to remove efi=attr=uc, try with and without it, if you could confirm afterwards that would be great

@qmontal

This comment has been minimized.

qmontal commented Aug 3, 2018

Hi @yilmi,

Thanks a lot for your fast reply. I have tried the modified configurations that you mentioned without luck, including acpi_osi=! and acpi_osi=1 (in case the ! was mistaken), both with and without efi=attr=uc; no luck so far, even with legacy boot.

Also tried the nouveau options that @ampanasiuk mentioned previously, same destination. The only thing I know for sure is that there are always errors about:

  • ACPI - table/namespace
  • nouveau - pointing to table
  • Not asking for VNC because we don't have network
  • watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [Xorg:1478]
    "Installation cannot continue and the system will be rebooted"

I don't think there's much to do here other than keep testing, but doesn't seem to go nowhere :(

Thanks a lot anyway for your clarifications and help :)

@yilmi

This comment has been minimized.

yilmi commented Aug 4, 2018

@qmontal, I performed the install a few months ago so my memories might not be accurate. You should also try also without adding the iommu (add it once the system is installed in your xen.cfg).

I also think at some point I updated my BIOS, not sure if you have the same model as I do, but this might have had an effect.

@qmontal

This comment has been minimized.

qmontal commented Aug 4, 2018

@yilmi don't worry, you already helped me a lot :D

My BIOS is also updated to a newer version than the one you tested with, 1.10.1, so this might be making it tougher :)

@knaku

This comment has been minimized.

knaku commented Aug 4, 2018

I've struggled with this stupid error for way to long, this is my third time attempting to install qubes or something over a couple of months. Embarrassingly enough I haven't tried it before right now, but so far it seems that turing of internal graphics "fixed it" for me. I have a Clevo laptop with an i6700 with and a gtx 1060. Using just discrete graphics made it possible for it to test the image (2nd option) and also install. This is on legacy, uefi wouldn't load at all before, until now when I set it to discrete graphics. Will install with uefi, will test if I can get it to work with integrated graphics, I prefer the iGPU battery time over discrete battery time.

Edit: doing nothing more than turning the iGPU back on makes qubes stop before reaching the decrypt screen. At least I have qubes running again!

@str4d

This comment has been minimized.

str4d commented Dec 15, 2018

Same symptom seen (locking up everything except the mouse while installing storaged) when installing Qubes 4.0 in Legacy mode (cannot get UEFI working yet) on a Lenovo Thinkpad P1 with a Xeon E-2176M and a NVIDIA P2000. I could not get a non-iso9660 installation USB to boot, so I couldn't try changing EFI options, but I was able to complete installation by switching from hybrid graphics to discrete graphics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment