Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2021-03-14 Thread Harry K
Getting this error now still, was a solution to this ever found?

On Tuesday, December 31, 2019 at 7:26:49 PM UTC awokd wrote:

> Aaron Janse:
> > On Saturday, December 28, 2019 at 4:14:43 PM UTC-8, Aaron Janse wrote:
> > 
> >> My Googling/DuckDuckGoing skills have failed me. Any advice for how to 
> >> disable HPET? I couldn't find it anywhere in the BIOS settings.
>
> BIOS settings was what I had in mind, unfortunately.
>
> > Of course the rubber-duck effect kicks in right after I click send. I 
> was 
> > able to disable hpet using the `clocksource` flag, but I still got the 
> same 
> > panic.
> > 
> > I did, however, get a picture of the stack trace I've been getting 
> (which 
> > in hindsight I should have shared much earlier). I think that this might 
> be 
> > a different issue, though, considering that it only happens a split 
> second 
> > after the five-second restart countdown.
> > 
> > [image: 20191228-stack-trace.jpeg]
> > 
> > 
> > 
> > I also tried the 5.4 kernel build compiled yesterday for fedora 31, but 
> I 
> > unfortunately got the same error. But maybe that only meant 5.4 kernel 
> in 
> > the installed version instead of the installer.
> > 
> I don't think kernel version is relevant, because the crash is happening
> in Xen before it even loads a Linux kernel. You could possibly try a
> test copy of Qubes R4.1 which has a newer Xen version, but not sure what
> else to suggest.
>
> -- 
> - don't top post
> Mailing list etiquette:
> - trim quoted reply to only relevant portions
> - when possible, copy and paste text instead of screenshots
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1e43eac8-6de0-4635-9f69-83690a290057n%40googlegroups.com.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-31 Thread 'awokd' via qubes-users
Aaron Janse:
> On Saturday, December 28, 2019 at 4:14:43 PM UTC-8, Aaron Janse wrote:
> 
>> My Googling/DuckDuckGoing skills have failed me. Any advice for how to 
>> disable HPET? I couldn't find it anywhere in the BIOS settings.

BIOS settings was what I had in mind, unfortunately.

> Of course the rubber-duck effect kicks in right after I click send. I was 
> able to disable hpet using the `clocksource` flag, but I still got the same 
> panic.
> 
> I did, however, get a picture of the stack trace I've been getting (which 
> in hindsight I should have shared much earlier). I think that this might be 
> a different issue, though, considering that it only happens a split second 
> after the five-second restart countdown.
> 
> [image: 20191228-stack-trace.jpeg]
> 
> 
> 
> I also tried the 5.4 kernel build compiled yesterday for fedora 31, but I 
> unfortunately got the same error. But maybe that only meant 5.4 kernel in 
> the installed version instead of the installer.
> 
I don't think kernel version is relevant, because the crash is happening
in Xen before it even loads a Linux kernel. You could possibly try a
test copy of Qubes R4.1 which has a newer Xen version, but not sure what
else to suggest.

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3071ca2b-2dda-f37d-a19a-e481fdbcdbd2%40danwin1210.me.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-28 Thread Aaron Janse
Correction: according to the boot logs, Xen is still using HPET despite 
hpet=disable.

My Googling/DuckDuckGoing skills have failed me. Any advice for how to 
disable HPET? I couldn't find it anywhere in the BIOS settings.

Also, maybe this is relevant, or maybe it's why you brought up HPET in the 
first place:
https://www.phoronix.com/scan.php?page=news_item&px=Linux-Disabling-HPET-CoffeeLake

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0e3423a3-c922-4a29-81de-d82fe720e137%40googlegroups.com.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-27 Thread Aaron Janse
On Friday, December 27, 2019 at 12:41:35 AM UTC-8, awokd wrote:
>
> See if you can turn off the HPET timer in your UEFI config, and include 
> that "apic_verbosity=debug" option. That might make more combinations 
> available to Xen and provide more detail.
>
 
I wasn't sure where to put the hpet=disable line, but my UEFI options line 
now looks like this:
```
options=console=vga loglvl=all efi=no-rs hpet=disable apic_verbosity=debug
```

And the boot output looks like this:
```
(XEN) [...]
(XEN) CPU0: No irq handler for vector 40 (IRC -2147483648, LAPIC)
(XEN) PCI: MCFG configuration 0: base e000 segment  buses 00 - ff
(XEN) PCI: Not using MCFG for segment  bus 00-ff
(XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB.
(XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Posted Interrupt not enabled.
(XEN) Intel VT-d Shared EPT tables enabled.
(XEN) I/O virtualization enabled.
(XEN)  - Dom0 mode: Relaxed
(XEN) Interrupt remapping enabled
(XEN) nr_sockets: 2
(XEN) Getting VERSION: 1060015
(XEN) Getting VERSION: 1060015
(XEN) Enabled directed EOI with ioapic_ack_old on!
(XEN) Getting ID: 0
(XEN) Getting LVT0: 700
(XEN) Getting LVT1: 400
(XEN) Suppress EOI broadcast on CPU#0
(XEN) enabled ExtINT on CPU#0
(XEN) ENABLING IO_APIC IRQs
(XEN)  -> Using old ACK method
(XEN) init IO_APIC IRQs
(XEN)  IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 
2-23, 2-24, 2-25, [...], 2-115, 2-116, 2-117, 2-118, 2-119 not connected.
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
(XEN) ...trying to set up timer (IRQ0) through 8259A ,,,
(XEN) ...trying to set up timer as Virtual Wire IRQ... failed.
(XEN) ...trying to set up timer as ExtINT IRQ...spurious 8259A interrupt: 
IRQ7.
(XEN) CPU0: no irq handler for vector e7 (IRQ -8)
(XEN) IRQ7 a=0001[0001,] v=60[] t=IO-APIC-edge s=0002
(XEN)  failed :(.
(XEN)
(XEN) ***
(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn't work! Boot with apic_verbosity=debug and send 
a report.  Then try booting with the 'noapic' option
(XEN) ***
(XEN)
(XEN) Reboot in five seconds... 
```

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3f7c1837-23aa-4549-8f76-d43e900111bf%40googlegroups.com.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-27 Thread 'awokd' via qubes-users
Aaron Janse:
> On Thursday, December 26, 2019 at 5:31:50 AM UTC-8, awokd wrote:
> 
>> What happens if you use an options line like the following? 
>>
>> options=console=vga loglvl=all efi=no-rs 
>>
> 
> ```
> (XEN) Platform timer is 23.999MHz HPET
> (XEN) [...]
> (XEN) CPU0: No irq handler for vector 40 (IRC -2147483648, LAPIC)
> (XEN) PCI: MCFG configuration 0: base e000 segment  buses 00 - ff
> (XEN) PCI: Not using MCFG for segment  bus 00-ff
> (XEN) [...]
> (XEN) Interrupt remapping enabled
> (XEN) nr_sockets: 2
> (XEN) Enabled directed EOI with ioapic_ack_old on!
> (XEN) ENABLING IO_APIC IRQs
> (XEN)  -> Using old ACK method
> (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
> (XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
> (XEN) ...trying to set up timer (IRQ0) through 8259A ,,,
> (XEN) ...trying to set up timer as Virtual Wire IRQ... failed.
> (XEN) ...trying to set up timer as ExtINT IRQ...spurious 8259A interrupt: 
> IRQ7.
> (XEN) CPU0: no irq handler for vector e7 (IRQ -8)
> (XEN) IRQ7 a=0001[0001,] v=60[] t=IO-APIC-edge s=0002
> (XEN)  failed :(.
> (XEN) 
> (XEN) ***
> (XEN) Panic on CPU 0:
> (XEN) IO-APIC + timer doesn't work! Boot with apic_verbosity=debug and send 
> a report.  Then try booting with the 'noapic' option
> (XEN) ***
> (XEN) 
> (XEN) Reboot in five seconds... 
> ```
> 
> I've been transcribing these logs by hand, otherwise I'd include more.
> 
> I also suspect that maybe these issues could be solved by using a newer 
> kernel for the installer?
> 
> My understanding is that R4.1 will soon feature a 5.4.x kernel [1]. Are 
> there more things to try in the meantime?
> 
> Thanks!
> 
> [1] 
> https://github.com/QubesOS/qubes-issues/issues/5539#issuecomment-568863280
> 
See if you can turn off the HPET timer in your UEFI config, and include
that "apic_verbosity=debug" option. That might make more combinations
available to Xen and provide more detail. The messages are coming from
Xen before it even loads the Linux kernel, but yes- a newer version of
Xen such as in R4.1 might also help. If you have a serial port
available, you can set Xen to log to it, but that is often a hassle with
newer machines.

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/30633bde-8a77-2d85-7585-349a014cb22c%40danwin1210.me.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-26 Thread Aaron Janse
On Thursday, December 26, 2019 at 5:31:50 AM UTC-8, awokd wrote:

> What happens if you use an options line like the following? 
>
> options=console=vga loglvl=all efi=no-rs 
>

```
(XEN) Platform timer is 23.999MHz HPET
(XEN) [...]
(XEN) CPU0: No irq handler for vector 40 (IRC -2147483648, LAPIC)
(XEN) PCI: MCFG configuration 0: base e000 segment  buses 00 - ff
(XEN) PCI: Not using MCFG for segment  bus 00-ff
(XEN) [...]
(XEN) Interrupt remapping enabled
(XEN) nr_sockets: 2
(XEN) Enabled directed EOI with ioapic_ack_old on!
(XEN) ENABLING IO_APIC IRQs
(XEN)  -> Using old ACK method
(XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
(XEN) ..MP-BIOS bug: 8254 timer not connected to IO-APIC
(XEN) ...trying to set up timer (IRQ0) through 8259A ,,,
(XEN) ...trying to set up timer as Virtual Wire IRQ... failed.
(XEN) ...trying to set up timer as ExtINT IRQ...spurious 8259A interrupt: 
IRQ7.
(XEN) CPU0: no irq handler for vector e7 (IRQ -8)
(XEN) IRQ7 a=0001[0001,] v=60[] t=IO-APIC-edge s=0002
(XEN)  failed :(.
(XEN) 
(XEN) ***
(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn't work! Boot with apic_verbosity=debug and send 
a report.  Then try booting with the 'noapic' option
(XEN) ***
(XEN) 
(XEN) Reboot in five seconds... 
```

I've been transcribing these logs by hand, otherwise I'd include more.

I also suspect that maybe these issues could be solved by using a newer 
kernel for the installer?

My understanding is that R4.1 will soon feature a 5.4.x kernel [1]. Are 
there more things to try in the meantime?

Thanks!

[1] 
https://github.com/QubesOS/qubes-issues/issues/5539#issuecomment-568863280

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f586f02e-c7cf-4143-86e8-a92258bbab9e%40googlegroups.com.


Re: [qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-26 Thread 'awokd' via qubes-users
Aaron Janse:

> At this point, I got the black screen described in issue #5165 (3). 
> Following
> the advice there, I updated my options line to the following:
> ```
> options=console=vga efi=attr=uc noapic x2apic=off loglvl=all efi=no-rs 
> iommu=no-igfx dom0_mem=min:1024M dom0_mem=max:4096M ucode=scan 
> vga=current,keep guest_loglvl=all
> ```
> 
> With the newly verbose output, it looks like I'm back to square one:
> ```
> Kernel panic - not syncing: The noapic parameter is incompatible with Xen

What happens if you use an options line like the following?

options=console=vga loglvl=all efi=no-rs

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1d0eacae-6b7f-c97f-4d88-c22826a6c0f1%40danwin1210.me.


[qubes-users] Installer crash: IO-APIC + timer doesn't work (Dell XPS 7390)

2019-12-25 Thread Aaron Janse
Hello all,

I'm trying to install Qubes on a Dell XPS 7390 (the XPS 13 developer 
edition).
I've found someone else with similar issues in a reddit thread [1] made a 
few
days ago. I'm u/qubes-xps13.

# Hardware
Dell XPS 13 (7390)
- Intel i7 (10th generation)
- 16GB RAM
- all the necessary virtualization features (according to Qubes docs)
- only UEFI boot; afaik there isn't a way to boot in legacy mode

# Software Version
Qubes 4.0.2-rc3

# Problem
I've been unable to get to the GUI installer screen.

# Things I've tried

The original cause of the crash:
```
IO-APIC + timer doesn’t work
```

Following [2], I decided to tinker with the boot options on the USB 
installer
medium.

I first tried `noapic`, got an `x2apic` error, then added `x2apic=off`.

My options line so far looks like this:
```
options=console=vga efi=attr=uc noapic x2apic=off
```

At this point, I got the black screen described in issue #5165 (3). 
Following
the advice there, I updated my options line to the following:
```
options=console=vga efi=attr=uc noapic x2apic=off loglvl=all efi=no-rs 
iommu=no-igfx dom0_mem=min:1024M dom0_mem=max:4096M ucode=scan 
vga=current,keep guest_loglvl=all
```

With the newly verbose output, it looks like I'm back to square one:
```
Kernel panic - not syncing: The noapic parameter is incompatible with Xen
```

# Ideas I have
- try with a newer kernel version (I don't know how to go about trying this,
  and it sounds like a lot of work)

---

Where should I go from here?

Thanks!

[1] https://www.reddit.com/r/Qubes/comments/edqrab/qubes_and_ice_lake/
[2] 
https://groups.google.com/forum/#!searchin/qubes-users/noapic%7Csort:date/qubes-users/PIyz7BEV1mg/0SBJTnoAAwAJ
[3] https://github.com/QubesOS/qubes-issues/issues/5165

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/828f6a42-a6a1-40d6-bd22-79495169858f%40googlegroups.com.