Re: [qubes-users] Audio Intel PCH card 0 disappeared in DOM0

2020-04-15 Thread FredGarr

On 4/14/20 1:25 AM, 'awokd' via qubes-users wrote:

Possibly try an older kernel in dom0? See
https://www.qubes-os.org/doc/software-update-dom0/#changing-default-kernel
if needed.


Hi awokd,

Thank you for your suggestion.
In fact I already tried with latest kernel 4.19.107 for Qubes 4.0 rather 
than an older kernel, but this had no effect on the issue...


kind regards

Fred.

--
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/25f9e81f-dc92-68ed-8d10-ab4e65187f5e%40gmail.com.


Re: [qubes-users] Newbie question on package management in a Fedora-based AppVM?

2020-04-12 Thread FredGarr


On 4/12/20 5:20 PM, viktor.ransm...@gmail.com wrote:

Hello Qubes community,

I'm only a short-term user of Qubes-OS - and - I'm still struggling 
with all the details you have to know & understand.


*How could it be explained, that a package, which was manually 
installed into an freshly created AppVM, get's removed?*


I've tried to find an answer or explanation both in the Qubes - as 
well as - Fedora documentation myself, unfortunately without success.


Here's the timeline of the activities I performed in that particular 
AppVM:


###

    2020-04-10 ~ 12:45 - Install PHP & Composer

    2020-04-10 ~ 15:00 - Resolve the problem using the built-in web server

    

    2020-04-11 ~ 16:10 - Read & execute the 'Installing Yii' section 
in 'The Definitive Guide to Yii2'


    * Unable to install Yii2, since PHP & Composer are no longer found :-(

    2020-04-11 ~ 16:50 - Analyze 

    * I guess it's time to learn / read more about 'DNF' ...

###

I did not further touch that AppVM, beside running a few DNF commands 
in order to understand the status a bit better ...


Any ideas, what might have happened to this Fedora 30-based AppVM - or 
- any pointers, what I could check/ do in order to resolve this issue?


With kind regards,

VR

--
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/777b323f-0708-4f9f-99a6-af89747f9ac0%40googlegroups.com 
.


Hello Viktor,

I'm not so old as a Qubes user too, but as far as I understand, is you 
install a packet with dnf (fedora) or apt (debian) in your appVM, it 
will disapear once you turn off the AppVM.


To keep your package from one reboot to another, you have to start a 
terminal on the TemplateVM your AppVM is based on.
Then you can add your package in the Template, power off the Template 
(don't forget this before next step) and start your AppVM.


This should work.

Kind regards,

Fred.

--
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/398890e5-515a-7c25-f3d2-d78de3c590e2%40gmail.com.


[qubes-users] Audio Intel PCH card 0 disappeared in DOM0

2020-04-11 Thread FredGarr

Hi everyone,

I have an audio issue in DOM0 since last Wednesday (04/08/2020), and I'm 
unable to fix it...


Any help or advise is welcomed!!
(as a non English native, please excuse my English)

Issue Explanation:

Intel PCH Audio card 0 is no more present in pulseaudio GUI, only the 
NVIDIA HDMI audio card 1 is present.

Although hardware is OK (verified with my previous debian hard drive today).

Commands, configuration and things that may help:

    Kernel version: 4.14 (latest versions cause issue on laptop screen 
power off/on with Nvidia card...)

    Qubes release 4.0-8

*lspici : OK*
                00:1b.0 Audio device: Intel Corporation 8 Series/C220 
Series Chipset High Definition Audio Controller (rev 04)

                   Subsystem: Hewlett-Packard Company ZBook 15
                    Flags: bus master, fast devsel, latency 0, IRQ 22
                    Memory at d033 (64-bit, non-prefetchable) 
[size=16K]

                    Capabilities: 
                    Kernel driver in use: pciback
                --
                01:00.1 Audio device: NVIDIA Corporation GK106 HDMI 
Audio Controller (rev a1)

                    Subsystem: Hewlett-Packard Company Device 197b
                    Flags: bus master, fast devsel, latency 0, IRQ 17
                    Memory at d000 (32-bit, non-prefetchable) 
[size=16K]

                    Capabilities: 
                    Kernel driver in use: snd_hda_intel

*/var/lib/alsa/asound.state*:OK
    This file has the two cards definitions well configured (PCH & NVidia).

*journalctl parsing *since January: Only one error on alsa, alsactl 
kernel crash on Apr08 upon shutdown command (another but beg March so, 
ignored)


        Apr 08 17:54:53 dom0 systemd[1]: Stopping Manage Sound Card 
State (restore and store)...
        Apr 08 17:54:53 dom0 kernel: audit: type=1131 
audit(1586361293.216:308): pid=1 uid=0 auid=4294967295 ses=4294967295 
msg='unit=xen-init-dom0 comm="systemd" exe="/usr/lib/systemd/systemd" host
        Apr 08 17:54:53 dom0 kernel: audit: type=1113 
audit(1586361293.216:309): pid=4353 uid=0 auid=1000 ses=2 msg='op=logout 
id=1000 exe="/usr/sbin/lightdm" hostname=dom0 addr=? terminal=/dev/tty1
        Apr 08 17:54:53 dom0 kernel: alsactl[1989]: segfault at 28 ip 
5f6263fbc806 sp 7ffcff227110 error 4 in alsactl[5f6263fab000+17000]
        Apr 08 17:54:53 dom0 kernel: audit: type=1701 
audit(1586361293.222:310): auid=4294967295 uid=0 gid=0 ses=4294967295 
pid=1989 comm="alsactl" exe="/usr/sbin/alsactl" sig=11 res=1
        Apr 08 17:54:53 dom0 audit[1]: SERVICE_STOP pid=1 uid=0 
auid=4294967295 ses=4294967295 msg='unit=xen-init-dom0 comm="systemd" 
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=
        Apr 08 17:54:53 dom0 audit[4353]: USER_LOGOUT pid=4353 uid=0 
auid=1000 ses=2 msg='op=logout id=1000 exe="/usr/sbin/lightdm" 
hostname=dom0 addr=? terminal=/dev/tty1 res=success'
        Apr 08 17:54:53 dom0 audit[1989]: ANOM_ABEND auid=4294967295 
uid=0 gid=0 ses=4294967295 pid=1989 comm="alsactl" 
exe="/usr/sbin/alsactl" sig=11 res=1


*    From alsa-info.sh:*

        Loaded ALSA modules   : snd_hda_intel
        Soundcards recognised by ALSA : 1 [NVidia  ]: HDA-Intel 
- HDA NVidia   (HDA-Intel  HDA Intel PCH not present)


        Amixer output only sees Card hw:1 'Nvidia'
        Alsactl output only presents NVidia card 1 controls, not the 
PCH card 0 ones



        !!ALSA/HDA dmesg
        !!--

        [   33.223400] Already setup the GSI :17
        [   33.223410] snd_hda_intel :01:00.1: Disabling MSI
        [   33.223414] snd_hda_intel :01:00.1: Handle 
vga_switcheroo audio client
        [   33.241080] snd_hda_codec_idt hdaudioC0D0: autoconfig for 
92HD91BXX: line_outs=1 (0xa/0x0/0x0/0x0/0x0) type:line
        [   33.241082] snd_hda_codec_idt hdaudioC0D0: speaker_outs=1 
(0xd/0x0/0x0/0x0/0x0)
        [   33.241084] snd_hda_codec_idt hdaudioC0D0:    hp_outs=1 
(0xb/0x0/0x0/0x0/0x0)

        [   33.241085] snd_hda_codec_idt hdaudioC0D0:    mono: mono_out=0x0
        [   33.241086] snd_hda_codec_idt hdaudioC0D0:    inputs:
        [   33.241088] snd_hda_codec_idt hdaudioC0D0:  Mic=0xc
        [   33.241089] snd_hda_codec_idt hdaudioC0D0: Internal Mic=0x11
        [   33.241091] snd_hda_codec_idt hdaudioC0D0: Line=0xf
        [   33.480372] input: HDA NVidia HDMI/DP,pcm=3 as 
/devices/pci:00/:00:01.0/:01:00.1/sound/card1/input20
        [   33.480458] input: HDA NVidia HDMI/DP,pcm=7 as 
/devices/pci:00/:00:01.0/:01:00.1/sound/card1/input21
        [   33.480526] input: HDA NVidia HDMI/DP,pcm=8 as 
/devices/pci:00/:00:01.0/:01:00.1/sound/card1/input22
        [   33.588662] Adding 11931644k swap on 
/dev/mapper/qubes_dom0-swap.  Priority:-2 extents:1 across:11931644k SSFS
*        [   34.289114] input: HDA Intel PCH Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input16**
**        [   34.289373] input: HDA Int