Re: [qubes-users] HCL - Lenovo P14s (AMD Ryzen 7 Pro 4750U)

2021-04-16 Thread Josef Johansson
No problem.

I've been trying to get suspend/resume working properly for a while now.

It seems that the machine resumes, but there is something stalling CPUs 
such that VMs can't be started properly.

If you try it out please let me know.

-- 
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/48c5c8ad-7c17-47f2-bb7c-2ed991aa4075n%40googlegroups.com.


[qubes-users] Re: Compiling XEN 4.15 in vmm-xen

2021-04-01 Thread Josef Johansson
So basically, since I'm moving from 4.14 to 4.15, there is a lot of 
dependencies e.g. core-libvirt, qubes-vchan-xen and kernel-qubes-vm that 
needs to be recompiled against the new xen-devel.

I just missed the warnings about xen-libs not being possible to upgrade.

core-libvirt fails on 3 tests though.

-- 
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/76eee58a-40b6-4b85-8389-f8ecd0b1e7f9n%40googlegroups.com.


Re: [qubes-users] Networking issue with sys-whonix, missing vif*

2021-04-01 Thread Josef Johansson
Hi,

As another data point:
This is happening in debian-10 as well. However not in debian-11.

On Friday, 19 March 2021 at 20:24:57 UTC+1 awokd wrote:

> Vladimir Lushnikov:
> > Hello,
> > 
> > Since updating to latest Whonix 15/Qubes R4.1, I am having issues with
> > sys-whonix not bringing up the virtual interfaces for downstream VMs
> > correctly. I could find nothing conclusive in the bug tracker but am
> > hesitant to raise it on qubes-issue in case it only affects me.
> > 
> > The symptoms are as follows:
> > 
> > * AppVMs connected to sys-whonix do not get networking
> > * There is an incorrect nameserver specified in the AppVM
> > /etc/resolv.conf (the IP does not match the IP of sys-whonix)
> > * There are no vif* interfaces in sys-whonix, or they are down and have
> > no IP address
> > * There are errors in the logs of sys-whonix like:
>
> Was this a fresh install of R4.1? If so, an issue would probably be the 
> best course of action since it's not released yet, so might not have 
> been widely encountered. If you upgraded by some other means, try 
> uninstalling the various Whonix templates & VMs and reinstalling via the 
> Salt commands documented on the Whonix website.
>
> -- 
> - 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/bb5c3603-1733-4bef-ae9e-f3fef19321cdn%40googlegroups.com.


[qubes-users] Re: Poor battery life running Qubes

2021-04-01 Thread Josef Johansson
Hi,

Just curious, is xen-acpi-processor module loaded in dom0 (lsmod / modprobe 
xen-acpi-processor) and what does xenpm get-cpufreq-para tell you?

On Monday, 29 March 2021 at 16:07:53 UTC+2 jonath...@gmail.com wrote:

> Hi there
>
> I've been using Qubes for about 18 months now, and it's great. My only 
> complaint is the poor battery life I get. I've followed various 
> recommendations within qubes-users about using powertop and tlp, but 
> nothing seems to address the rapid decline in power I experience when 
> running on battery. 
>
> Some system information:
>
> Kernel Version Linux version 5.4.88-1.qubes.x86_64
> System Name PurismLibrem 15 v44.0 (Pureboot)
> CPU Information 2 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
> OS Information Qubes release 4.0 (R4.0) 
>
> Probably the biggest clue I have received was from running tlp stat, which 
> suggests:
>
> "Reconfigure your Linux kernel with PM_RUNTIME=y to reduce your laptop's 
> power consumption."
>
> This seems to be reinforced by the following output from powertop:
>
> Untunable Software Issues
> Description
> I2C Adapter i2c-3 has no runtime power management
> I2C Adapter i2c-4 has no runtime power management
>
> Optimal Tuned Software Settings
> Description
> NMI watchdog should be turned off
> Enable SATA link power management for host0
> Enable SATA link power management for host1
> Enable Audio codec power management
> Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpb)
> Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpd)
> Runtime PM for I2C Adapter i2c-0 (i915 gmbus dpc)
> Runtime PM for I2C Adapter i2c-5 (SMBus I801 adapter at efa0)
> Runtime PM for PCI Device Samsung Electronics Co Ltd Device a808
> Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th 
> Gen Core Processor Thermal Subsystem
> Runtime PM for PCI Device Qualcomm Atheros AR9462 Wireless Network Adapter
> Runtime PM for PCI Device Intel Corporation Device 9d24
> Runtime PM for PCI Device Intel Corporation Device 9d30
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP HD Audio
> Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v6/7th Gen Core 
> Processor Host Bridge/DRAM Registers
> Runtime PM for PCI Device Intel Corporation Device 9d4e
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP Thermal 
> subsystem
> Runtime PM for PCI Device Intel Corporation HD Graphics 620
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP USB 3.0 xHCI 
> Controller
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP SMBus
> Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 
> v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP PCI Express 
> Root Port #5
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP PMC
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP SATA 
> Controller [AHCI mode]
> Runtime PM for PCI Device Intel Corporation Sunrise Point-LP PCI Express 
> Root Port #9 
>
> Looking at 
> https://github.com/QubesOS/qubes-linux-kernel/blob/master/config-base, I 
> can see CONFIG_PM_RUNTIME is absent from the config. I'm willing to try 
> recompiling the Linux kernel for Qubes with PM_RUNTIME=y, but my 
> understanding is that I would need to set up a VM running Fedora 25. Before 
> I head down that rabbit hole, I wanted to ask if anyone had experienced 
> similar problems and tried this solution. Further, is there a reason that 
> flag is not currently included in the base config?
>
> Thanks in advance,
>
>
> Jonathan
>
>

-- 
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/f30fb136-4fa5-43ed-8fb1-be66e47a0158n%40googlegroups.com.


[qubes-users] Re: How to build Qubes with patches from Xen ?

2021-04-01 Thread Josef Johansson
Hi,

You should take my words with a grain of salt since I'm doing this the 
first time around. But anyhow.

Go to https://www.qubes-os.org/doc/qubes-iso-building/ and make sure you 
have a Fedora  VM to download everything to, and plenty of space.

Download a builder.conf file from 
https://github.com/QubesOS/qubes-release-configs/blob/master/R4.0/qubes-os-iso-full-online.conf
 
(or 4.1 if that's the version you are building)

In that file, add vmm-xen under COMPONENTS

run
make remount
make install-deps
make get-sources

Now, go into qubes-src/vmm-xen and add you patch as a file.
Enter xen.spec.in and add your patch-file under upstreamable, you'll notice 
the pattern.

Go back to qubes-builder and run make vmm-xen, and the rest of the entries 
in $COMPONENTS in builder.conf.

( At this point you have rpm-files inside chroot-* in qubes-builder that 
you actually could install in dom0 instead of building a full ISO. )

run
make iso

please note that it will take a while.

On Friday, 26 March 2021 at 01:18:01 UTC+1 Zophikel wrote:

>
> Yesterday I filed an issue regarding hardware support for my HPZ800 and 
> Nehalem era cpu’s I was wondering how to build a custom qubes image/iso 
> where the following xenpatch 
> is
>  
> included ?

-- 
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/7ddd3180-2d4b-4060-bda3-a4a3d41aef68n%40googlegroups.com.


Re: [qubes-users] HCL - Lenovo P14s (AMD Ryzen 7 Pro 4750U)

2021-03-19 Thread Josef Johansson
Hi,

I applied clocksource=tsc tsc=unstable hpetbroadcast=0 
https://github.com/QubesOS/qubes-issues/issues/6055 to my grub xen cmdline 
and the laptop is smooth as butter and really fast.
No need for dom0_max_vcpus=2 or dom0_vcpus_pin.

Managed to get the webcam working as well.

I'm quite satisfied with the 2xDP dongle so won't test out MST further, it 
may or may not work.

It's a TPM 2.0 chipset which needs secure boot to work. I don't have the 
time to work that out, so maybe TPM works? :) I will try in XEN 4.15 :)

Most function keys works (it seems that disable wifi does not work), not 
sure how to test F10-F12 (phone-related and bookmark?)

Backlight on keyboard works.

Quite satisfied, the machine is _fast_.
On Thursday, 18 March 2021 at 17:50:39 UTC+1 sv...@svensemmler.org wrote:

> Hi Josef,
>
> thank you for sending your HCL report. It is now part of this pull request:
>
> https://github.com/QubesOS/qubes-hcl/pull/53
>
> ... and will be merged into the website soon.
>
> /Sven
>
> -- 
> public key: https://www.svensemmler.org/0x8F541FB6.asc
> fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6
>
>

-- 
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/dfebdf25-97d0-4e4e-9809-5f23c456813cn%40googlegroups.com.


[qubes-users] HCL - Lenovo P14s (AMD Ryzen 7 Pro 4750U)

2021-03-18 Thread Josef Johansson
Fix reboots on suspend:
* activate Linux as type of OS in BIOS (enables S3 instead of S2idle)
* add acpi_sleep=nonvs in GRUB_CMDLINE_LINUX in /etc/default/grub
* smt=on seems to help

Boot is a bit slow, but doing this after boot solves that, it's possible to
set under GRUB_CMDLINE_XEN_DEFAULT with dom0_max_vcpus=2 dom0_vcpus_pin but
it seems that vm get this as well.
* sudo xl vcpu-set Domain-0 2
* sudo xl vcpu-pin Domain-0 0 0
* sudo xl vcpu-pin Domain-0 1 1

Running Qubes R4.1 with kernel 5.11.4-1.fc32.qubes.x86_64 and
linux-firmware 20210208-106
On install add console=vga=none dom0_max_vcpus=2 dom0_vcpus_pin to grub

Use Debian 11 for template VMs since Debian 10 is broken (at time of
writing) as network-vm.
Wireless works in Fedora 33, but not out of the box in Debian 11.

Overall there's still a bit sluggishnes from time to time. Pinning all VMs
to cores helps.

Dual 2K screens acheived via 2x DP to USB-C adapter, multiport adapters
does not work (single DP).

What does not work:
* Webcam
* MST

Not tested:
* Bluetooth

-- 
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/CAOnYue_vO4450cxoWAvQO2EAUDPOifLECXoDadN7bVfE72hnuw%40mail.gmail.com.


Qubes-HCL-LENOVO-20Y1S02400-20210318-093409.yml
Description: application/yaml


Re: [qubes-users] New HCL Entry: Lenovo ThinkPad T470 (20HDCTO1WW)

2018-01-06 Thread Josef Johansson
Just to note this here, we tried to install Qubes 3.2 on a T470p with intel
and nvidia graphics, with secureboot off and starting the installer through
refind. It all went fine, except that neither ethernet nor wifi was
detected ( solvable through fw updates I assume ). X started ok though.

/Josef

On Fri, 15 Dec 2017, 20:23 Josef Johansson, <jose...@gmail.com> wrote:

> Sorry, I missed that part of your reply. I was answering both of you :)
>
> I'll see if I can get Qubes 3.2 running on my T470p in the weekend if
> there's time. My collegue ended up with 4.0 with legacy boot to get
> everything working, so I just started from there. Using it for critical
> work and so far it's quite stable.
>
> Regards
>
>
> Josef
>
> On Fri, 15 Dec 2017, 16:20 , <kotot...@gmail.com> wrote:
>
>> Thank you for your reply.
>>
>> Could you explain to me why using EFI would solve the problem of the X
>> server not starting?
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "qubes-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/qubes-users/TEmVIozLJh0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> qubes-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to qubes-users@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/qubes-users/84284e0a-7269-44d7-ab95-98395b9330a8%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAOnYue_zZgz1%3DuWY5eHpkpLz118DtzpJh7bRjxMtULh9_JOrAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] New HCL Entry: Lenovo ThinkPad T470 (20HDCTO1WW)

2017-12-15 Thread Josef Johansson
Sorry, I missed that part of your reply. I was answering both of you :)

I'll see if I can get Qubes 3.2 running on my T470p in the weekend if
there's time. My collegue ended up with 4.0 with legacy boot to get
everything working, so I just started from there. Using it for critical
work and so far it's quite stable.

Regards
Josef

On Fri, 15 Dec 2017, 16:20 ,  wrote:

> Thank you for your reply.
>
> Could you explain to me why using EFI would solve the problem of the X
> server not starting?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "qubes-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/qubes-users/TEmVIozLJh0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> qubes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to qubes-users@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/84284e0a-7269-44d7-ab95-98395b9330a8%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAOnYue_w-zHpgbM4ZE%3DY%3DW_f35Gk8yv%3DYN5Gq%3DEMLZ0KcEC%3D8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] New HCL Entry: Lenovo ThinkPad T470 (20HDCTO1WW)

2017-12-15 Thread Josef Johansson
Hi,

I would try my path, download rEFInd to another usb-stick and boot the
installer from there.

The only file you need is the EFI-file:
https://sourceforge.net/projects/refind/

Also, that is an interesting data point as well, the bootx64.efi loader on
the usb install works if it is started through rEFInd.

Cheers
Josef

On Fri, 15 Dec 2017, 05:00 ,  wrote:

> OK, here is (I hope) a *public* version of said screen shot:
>
> https://photos.google.com/share/AF1QipMRlHUC5EOV-PQD5kfWWfCp9BDroAHDXGAFdWcq_SrmJhfhnHHOF6ZvYU7-JenLOA?key=MlJxWFRyZm1OTHBnWXpHd1pfUXNVYzJjMmJsTlRR
>
> (Just learning Google Photo, Google+, gmail, etc., for purposes of this
> post.  Until now I've been able to avoid them :-/ )
>
>   - Eric
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "qubes-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/qubes-users/TEmVIozLJh0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> qubes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to qubes-users@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/f44e144a-c45e-43a0-84f0-1ca61905bce8%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAOnYue_Rpr46xZqS6sdM7y9O-B5NGWXpbfzZLOoq2ctm-JJmyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] HCL - Lenovo T470p

2017-12-05 Thread Josef Johansson
Installation:
* Disable Secure Boot
* Use rEFInd to boot installation

Workflow:
* To restart and avoid broken LVMs (using thinpool), restart with
`qvm-shutdown --all --wait && sudo reboot`
* DPI is totally off due to awesome screen resolution/XFCE/14" screen.
Fedora just doesn't work with the DPI. Debian has no trouble at all.

Features that are tested:
* Sleep on closed lid, sometimes VM dies, and I have to restart due to VMs
not starting (MAC already existing)
* Dual monitors through HDMI/Displayport (monitor layout is not saved)
* USB works fine after allowing keyboard
* external mouse works directly
* Internal Mouse/Touchpad/Keyboard
* Function keys (volume up/down etc)

All in all everything works smootly except for the VM that dies sometimes.
The hardware is just awesome.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAOnYue_jwFLsWxJ3f4AXKeGJDZA2Auui%3DsP8r%2B7CnB5U0%3Da0OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Qubes-HCL-LENOVO-20J6003GMX-20171206-025429.yml
Description: application/yaml