QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
535 stars 47 forks source link

Booting CDROM from Empty Qube Settings Doesnt Load #5203

Closed TNTBOMBOM closed 5 years ago

TNTBOMBOM commented 5 years ago

Qubes OS version

R4.0.1

Affected component(s) or functionality

Qube manager ? (not sure)

Brief summary

After creating an empty qube to boot it with .iso , when i go to settings and i want to boot the .iso it wont load. HVM or PVH same issue.

To Reproduce Steps to reproduce the behavior: _1. Go to create new empty qube not based on template _2. Click on qube settings of the created qube _3. Go to Advanced Scroll down to Boot qube from CDROM _4. locate where is the .iso of the OS

Expected behavior

to load and continue to installation page

Actual behavior

Fail to run, shutdown immediately.

Screenshots

hvmpvh

Additional context

Maybe logs of /var/log/xen/console/guest-nameofdebainnontemplate-dm.log:

[    0.000000] Linux version 4.19.43-1.pvops.qubes.x86_64 (user@build-fedora4) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)) #1 SMP Wed May 15 03:44:31 UTC 2019
[    0.000000] Command line: root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 xen_scrub_pages=0 nopat
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fefff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000ff000-0x00000000000fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000fa0003ff] usable
[    0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000fc007fff] ACPI data
[    0.000000] x86/PAT: PAT support disabled.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Xen HVM
[    0.000000] Xen version 4.8.
[    0.147098] tsc: Fast TSC calibration failed
[    0.147103] tsc: Detected 2494.246 MHz processor
[    0.147281] last_pfn = 0xfa000 max_arch_pfn = 0x400000000
[    0.147336] Disabled
[    0.147349] CPU MTRRs all blank - virtualized system.
[    0.147352] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.163010] Using GB pages for direct mapping
[    0.163167] RAMDISK: [mem 0x02e2d000-0x03d82fff]
[    0.163222] ACPI: Early table checksum verification disabled
[    0.163225] ACPI: RSDP 0x00000000000FFFC0 000024 (v02 Xen   )
[    0.163229] ACPI: XSDT 0x00000000FC007F70 000034 (v01 Xen    HVM      00000000 HVML 00000000)
[    0.163235] ACPI: FACP 0x00000000FC007D70 00010C (v05 Xen    HVM      00000000 HVML 00000000)
[    0.163240] ACPI: DSDT 0x00000000FC001050 006C9B (v05 Xen    HVM      00000000 INTL 20160831)
[    0.163244] ACPI: FACS 0x00000000FC001010 000040
[    0.163247] ACPI: FACS 0x00000000FC001010 000040
[    0.163251] ACPI: APIC 0x00000000FC007E80 00003C (v02 Xen    HVM      00000000 HVML 00000000)
[    0.163444] No NUMA configuration found
[    0.163445] Faking a node at [mem 0x0000000000000000-0x00000000f9ffffff]
[    0.163454] NODE_DATA(0) allocated [mem 0xf9fd5000-0xf9ffffff]
[    0.205841] Zone ranges:
[    0.205844]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.205846]   DMA32    [mem 0x0000000001000000-0x00000000f9ffffff]
[    0.205847]   Normal   empty
[    0.205848]   Device   empty
[    0.205849] Movable zone start for each node
[    0.205851] Early memory node ranges
[    0.205852]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.205853]   node   0: [mem 0x0000000000100000-0x00000000f9ffffff]
[    0.205857] Reserved but unavailable: 97 pages
[    0.205861] Initmem setup node 0 [mem 0x0000000000001000-0x00000000f9ffffff]
[    0.225880] ACPI: No IOAPIC entries present
[    0.225882] Using ACPI for processor (LAPIC) configuration information
[    0.225893] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.225902] [mem 0xfc008000-0xffffffff] available for PCI devices
[    0.225903] Booting paravirtualized kernel on Xen PVH
[    0.225906] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.317978] random: get_random_bytes called from start_kernel+0xc3/0x763 with crng_init=0
[    0.317987] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1
[    0.320307] percpu: Embedded 45 pages/cpu s147456 r8192 d28672 u1048576
[    0.320340] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.320352] Built 1 zonelists, mobility grouping on.  Total pages: 1007881
[    0.320353] Policy zone: DMA32
[    0.320355] Kernel command line: root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 xen_scrub_pages=0 nopat
[    0.320384] You have booted with nomodeset. This means your GPU drivers are DISABLED
[    0.320385] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
[    0.320385] Unless you actually understand what nomodeset does, you should reboot without enabling it
[    0.330995] Memory: 3982736K/4095612K available (12300K kernel code, 1484K rwdata, 3864K rodata, 2652K init, 4432K bss, 112876K reserved, 0K cma-reserved)
[    0.331220] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.331232] Kernel/User page tables isolation: enabled
[    0.331273] ftrace: allocating 38102 entries in 149 pages
[    0.343909] rcu: Hierarchical RCU implementation.
[    0.343911] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.343912]  Tasks RCU enabled.
[    0.343913] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.345949] Using NULL legacy PIC
[    0.345950] NR_IRQS: 4352, nr_irqs: 48, preallocated irqs: 0
[    0.345968] xen:events: Using FIFO-based ABI
[    0.345973] xen:events: Xen HVM callback vector for event delivery is enabled
[    0.345980] rcu:     Offload RCU callbacks from CPUs: (none).
[    0.346026] Console: colour dummy device 80x25
[    0.346996] console [hvc0] enabled
[    0.347022] ACPI: Core revision 20180810
[    0.347078] ACPI: setting ELCR to 0200 (from ffff)
[    0.347113] Failed to register legacy timer interrupt
[    0.347132] APIC: Switch to symmetric I/O mode setup
[    0.347145] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.347294] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x23f3fe26921, max_idle_ns: 440795265807 ns
[    0.347331] Calibrating delay loop (skipped), value calculated using timer frequency.. 4988.49 BogoMIPS (lpj=2494246)
[    0.347353] pid_max: default: 32768 minimum: 301
[    0.347393] Security Framework initialized
[    0.347401] Yama: becoming mindful.
[    0.347413] AppArmor: AppArmor disabled by boot time parameter
[    0.348314] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.348314] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.348314] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.348314] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.348314] mce: CPU supports 2 MCE banks
[    0.348314] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[    0.348314] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[    0.348314] Spectre V2 : Mitigation: Full generic retpoline
[    0.348314] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.348314] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.348314] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.348314] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.348314] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.348314] MDS: Mitigation: Clear CPU buffers
[    0.348314] Freeing SMP alternatives memory: 32K
[    0.348314] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.348314] installing Xen timer for CPU 0
[    0.348314] smpboot: CPU0: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (family: 0x6, model: 0x3c, stepping: 0x3)
[    0.348314] cpu 0 spinlock event irq 5
[    0.348314] Performance Events: unsupported p6 CPU model 60 no PMU driver, software events only.
[    0.348314] rcu: Hierarchical SRCU implementation.
[    0.348430] random: crng done (trusting CPU's manufacturer)
[    0.348464] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.348619] smp: Bringing up secondary CPUs ...
[    0.348830] installing Xen timer for CPU 1
[    0.348912] x86: Booting SMP configuration:
[    0.348922] .... node  #0, CPUs:      #1
[    0.349406] cpu 1 spinlock event irq 11
[    0.349439] smp: Brought up 1 node, 2 CPUs
[    0.349439] smpboot: Max logical packages: 1
[    0.349439] smpboot: Total of 2 processors activated (9976.98 BogoMIPS)
[    0.349659] devtmpfs: initialized
[    0.349659] x86/mm: Memory block size: 128MB
[    0.350620] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.350620] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.350620] pinctrl core: initialized pinctrl subsystem
[    0.371029] RTC time: 165:165:165, date: 165/165/65
[    0.371287] NET: Registered protocol family 16
[    0.371311] xen:grant_table: Grant tables using version 1 layout
[    0.371345] Grant table initialized
[    0.371438] audit: initializing netlink subsys (disabled)
[    0.371491] audit: type=2000 audit(1564365218.758:1): state=initialized audit_enabled=0 res=1
[    0.371491] cpuidle: using governor menu
[    0.371491] ACPI: bus type PCI registered
[    0.372346] PCI: Fatal: No config space access function found
[    0.373774] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.373774] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.373774] cryptd: max_cpu_qlen set to 1000
[    0.374393] ACPI: Added _OSI(Module Device)
[    0.374402] ACPI: Added _OSI(Processor Device)
[    0.374412] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.374423] ACPI: Added _OSI(Processor Aggregator Device)
[    0.374434] ACPI: Added _OSI(Linux-Dell-Video)
[    0.374445] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.377242] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.377494] ACPI: SCI (ACPI GSI 9) not registered
[    0.381775] ACPI: Interpreter enabled
[    0.381788] ACPI: (supports S0)
[    0.381797] ACPI: Using platform specific model for interrupt routing
[    0.381819] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.381968] ACPI: Enabled 1 GPEs in block 00 to 0F
[    0.381988] ACPI Error: No handler or method for GPE 00, disabling event (20180810/evgpe-835)
[    0.382337] ACPI Error: No handler or method for GPE 01, disabling event (20180810/evgpe-835)
[    0.382381] ACPI Error: No handler or method for GPE 03, disabling event (20180810/evgpe-835)
[    0.382409] ACPI Error: No handler or method for GPE 04, disabling event (20180810/evgpe-835)
[    0.382438] ACPI Error: No handler or method for GPE 05, disabling event (20180810/evgpe-835)
[    0.382465] ACPI Error: No handler or method for GPE 06, disabling event (20180810/evgpe-835)
[    0.382492] ACPI Error: No handler or method for GPE 07, disabling event (20180810/evgpe-835)
[    0.387321] xen:balloon: Initialising balloon driver
[    0.400323] vgaarb: loaded
[    0.400474] SCSI subsystem initialized
[    0.400600] ACPI: bus type USB registered
[    0.400635] usbcore: registered new interface driver usbfs
[    0.400656] usbcore: registered new interface driver hub
[    0.400675] usbcore: registered new device driver usb
[    0.400711] pps_core: LinuxPPS API ver. 1 registered
[    0.400725] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.400750] PTP clock support registered
[    0.404344] EDAC MC: Ver: 3.0.0
[    0.404484] PCI: Using ACPI for IRQ routing
[    0.404497] PCI: System does not support PCI
[    0.404613] NetLabel: Initializing
[    0.404624] NetLabel:  domain hash size = 128
[    0.404639] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.404682] NetLabel:  unlabeled traffic allowed by default
[    0.405429] clocksource: Switched to clocksource xen
[    0.424624] VFS: Disk quotas dquot_6.6.0
[    0.424655] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.424739] pnp: PnP ACPI init
[    0.424796] pnp: PnP ACPI: found 0 devices
[    0.425878] NET: Registered protocol family 2
[    0.426131] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    0.426185] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.426468] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.427008] TCP: Hash tables configured (established 32768 bind 32768)
[    0.427225] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.427354] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.427613] NET: Registered protocol family 1
[    0.427637] NET: Registered protocol family 44
[    0.427688] Unpacking initramfs...
[    0.446782] Freeing initrd memory: 15704K
[    0.451880] Initialise system trusted keyrings
[    0.451900] Key type blacklist registered
[    0.452476] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    0.454999] zbud: loaded
[    0.455717] pstore: using deflate compression
[    0.788775] alg: No test for 842 (842-generic)
[    0.788819] alg: No test for 842 (842-scomp)
[    0.793801] NET: Registered protocol family 38
[    0.793831] Key type asymmetric registered
[    0.793842] Asymmetric key parser 'x509' registered
[    0.793869] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.793928] io scheduler noop registered
[    0.793940] io scheduler deadline registered
[    0.793986] io scheduler cfq registered (default)
[    0.794001] io scheduler mq-deadline registered
[    0.794262] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    0.795042] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.796170] Non-volatile memory driver v1.3
[    0.796198] Linux agpgart interface v0.103
[    0.796956] libphy: Fixed MDIO Bus: probed
[    0.797055] usbcore: registered new interface driver usbserial_generic
[    0.797077] usbserial: USB Serial support registered for generic
[    0.797105] i8042: PNP: No PS/2 controller found.
[    0.797161] mousedev: PS/2 mouse device common for all mice
[    0.797232] device-mapper: uevent: version 1.0.3
[    0.797282] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[    0.797396] hidraw: raw HID events driver (C) Jiri Kosina
[    0.797442] usbcore: registered new interface driver usbhid
[    0.797457] usbhid: USB HID core driver
[    0.797535] drop_monitor: Initializing network drop monitor service
[    0.797750] Initializing XFRM netlink socket
[    0.797857] NET: Registered protocol family 10
[    0.799750] Segment Routing with IPv6
[    0.799793] mip6: Mobile IPv6
[    0.799805] NET: Registered protocol family 17
[    0.800198] RAS: Correctable Errors collector initialized.
[    0.800225] AVX2 version of gcm_enc/dec engaged.
[    0.800240] AES CTR mode by8 optimization enabled
[    0.810088] sched_clock: Marking stable (807993259, 1328142)->(1174060300, -364738899)
[    0.810395] registered taskstats version 1
[    0.810421] Loading compiled-in X.509 certificates
[    0.810452] zswap: loaded using pool lzo/zbud
[    0.813505] Key type big_key registered
[    0.814998] Key type encrypted registered
[    0.815014] ima: No TPM chip found, activating TPM-bypass!
[    0.815033] ima: Allocated hash algorithm: sha1
[    0.815175] xenbus_probe_frontend: Device with no driver: device/vbd/51712
[    0.815191] xenbus_probe_frontend: Device with no driver: device/vbd/51728
[    0.815209] xenbus_probe_frontend: Device with no driver: device/vbd/51744
[    0.815227] xenbus_probe_frontend: Device with no driver: device/vbd/51760
[    0.815244] xenbus_probe_frontend: Device with no driver: device/vbd/51840
[    0.815264] xenbus_probe_frontend: Device with no driver: device/vif/0
[    0.815289]   Magic number: 1:252:3141
[    0.815363] hctosys: unable to open rtc device (rtc0)
[    0.816674] Freeing unused decrypted memory: 2040K
[    0.817694] Freeing unused kernel image memory: 2652K
[    1.011461] Write protecting the kernel read-only data: 18432k
[    1.011904] Freeing unused kernel image memory: 2024K
[    1.012018] Freeing unused kernel image memory: 232K
[    1.012083] rodata_test: all tests were successful
[    1.012108] Run /init as init process
Qubes initramfs script here:
[    1.021045] Invalid max_queues (4), will use default max: 2.
[    1.038475] vbd vbd-51840: 19 xenbus_dev_probe on device/vbd/51840
[    1.314598] blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[    1.386478] blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[    1.458417] blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[    1.466360] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23f3fe26921, max_idle_ns: 440795265807 ns
[    1.505750] blkfront: xvdd: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
Waiting for /dev/xvda* devices...
Qubes: Doing R/W setup for TemplateVM...
[    1.586763]  xvdc: xvdc1
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=e5c8135b-e507-4573-aaf5-e6577cf55bfb
Qubes: done.
mount: wrong fs type, bad option, bad superblock on /dev/xvda,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
Waiting for /dev/xvdd device...
mount: /dev/xvdd is write-protected, mounting read-only
[    1.640234] EXT4-fs (xvdd): mounting ext3 file system using the ext4 subsystem
[    1.645666] EXT4-fs (xvdd): mounted filesystem with ordered data mode. Opts: (null)
mount: /sysroot not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
mount: /sysroot not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
switch_root: failed to mount moving /sysroot to /: Invalid argument
switch_root: failed. Sorry.
[    2.508621] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    2.508621] 
[    2.508651] CPU: 0 PID: 1 Comm: switch_root Not tainted 4.19.43-1.pvops.qubes.x86_64 #1
[    2.508672] Call Trace:
[    2.508685]  dump_stack+0x5c/0x7b
[    2.508698]  panic+0xe4/0x252
[    2.508710]  do_exit+0xc16/0xc20
[    2.508722]  ? __do_page_fault+0x278/0x4f0
[    2.508733]  do_group_exit+0x3a/0xa0
[    2.508744]  __x64_sys_exit_group+0x14/0x20
[    2.508755]  do_syscall_64+0x5b/0x170
[    2.508767]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    2.508782] RIP: 0033:0x74cd8eda2bd8
[    2.508795] Code: Bad RIP value.
[    2.508806] RSP: 002b:00007ffdbe08b1e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[    2.508827] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000074cd8eda2bd8
[    2.508849] RDX: 0000000000000001 RSI: 000000000000003c RDI: 0000000000000001
[    2.508869] RBP: 000074cd8f092860 R08: 00000000000000e7 R09: ffffffffffffff98
[    2.508887] R10: 0000000000000003 R11: 0000000000000246 R12: 000074cd8f092860
[    2.508903] R13: 000074cd8f097c00 R14: 0000000000000000 R15: 0000000000000000
[    2.509051] Kernel Offset: disabled

Related, non-duplicate issues

5198

marmarta commented 5 years ago

The default settings set up by the Create New Qube window were wrong; I put in a PR with a fix.

qubesos-bot commented 5 years ago

Automated announcement from builder-github

The package qubes-manager-4.0.37-1.fc25 has been pushed to the r4.0 testing repository for dom0. To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

qubesos-bot commented 5 years ago

Automated announcement from builder-github

The package qubes-manager-4.0.37-1.fc29 has been pushed to the r4.1 testing repository for dom0. To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

qubesos-bot commented 5 years ago

Automated announcement from builder-github

The package qubes-manager-4.0.39-1.fc25 has been pushed to the r4.0 stable repository for dom0. To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update