[gentoo-user] kernel panic not syncing

2023-11-08 Thread thelma

I have a "kernel panic not syncing" when sometimes trying to boot the PC, it small intel 
"atom" processor
Here is the image:
https://imgur.com/a/dDXUx3t

Many times when I press the power button it keeps flashing three times, but 
wont boot.

--
Thelma



RE: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread John Covici



-Original Message-
From: Michael Orlitzky  
Sent: Wednesday, November 8, 2023 4:32 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] alsa not working with hda intel sound card

On Wed, 2023-11-08 at 14:53 -0500, John Covici wrote:
> Hi all.
> 
> I have run into a problem, where I am getting no sound out of the jack
> on my sound card.  I think this happened since the last major reboot
> after my world update.

The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?

Yep, all there.  I may try with older kernel and see if that makes a 
difference, but I suspect alsa.






Re: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread Michael Orlitzky
On Wed, 2023-11-08 at 14:53 -0500, John Covici wrote:
> Hi all.
> 
> I have run into a problem, where I am getting no sound out of the jack
> on my sound card.  I think this happened since the last major reboot
> after my world update.

The last time I did this to myself, it was by disabling all of the
codecs in the kernel. Search for CONFIG_SND_HDA_CODEC and make sure
they're enabled?




RE: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread Jude DaShiell
If pipewire is used, and wireplumber isn't already on the machine it's
time to install it and allow the install to remove a soon deprecated
pipewire-media-manager package.  That may help.
If pulseaudio is used could be pulseaudio --cleanup-shm needs doing.
In either case, I'd first run alsactl init then amixer set Master 100%
unmute and check volume levels.  If good alsactl store may also help or
throw an error.
Perhaps plug a headset into the onboard sound card and listen to see if
it's doing anything at all before doing any of this so you have a
baseline.  Somehow the card could have got disabled.
This is why I bought a crystal cs usb sound card I can plug into a usb-a
port and still have sound no matter what the computer thinks it's doing.
Saved my bacon a few times.

You could also be having jackd problems in which case I can't help you
since I haven't the necessary jackd degree.


-- Jude  "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.

On Wed, 8 Nov 2023, John Covici wrote:

> Everything is unmuted, verified with amixer and even alsami
>
> -Original Message-
> From: Dale 
> Sent: Wednesday, November 8, 2023 3:26 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] alsa not working with hda intel sound card
>
> John Covici wrote:
> > Hi all.
> >
> > I have run into a problem, where I am getting no sound out of the jack
> > on my sound card.  I think this happened since the last major reboot
> > after my world update.
> >
> > If I use a usb sound card I have things work fine, but not the one on
> > the motherboard.  Here is the card spec using the listpci.
> >
> > 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
> > Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
> >Flags: bus master, fast devsel, latency 32, IRQ 157
> >  Memory at a243 (64-bit, non-prefetchable)
> > [size=16K]
> >Memory at a200 (64-bit, non-prefetchable)
> > [size=1M]
> >Capabilities: [50] Power Management version 3
> >  Capabilities: [80] Vendor Specific
> > Information: Len=14 
> >Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
> > 64bit+
> >Kernel driver in use: snd_hda_intel
> >  Kernel modules: snd_hda_intel, snd_soc_skl
> >
> > Any suggestions would be appreciated.
> >
>
>
> I'm going to mention this because I've done this myself, more than
> once.  Are you sure you have enabled, unmuted, the controls in all the
> places that control it?  I recall my first install.  I think I had to
> unmute the sound in three places before I had sound.  I seem to recall
> at least these possibilities in more recent memory.  Kmix if using KDE,
> ALSA, possibly pipewire which is kinda new and I'm not sure what
> desktops use or don't use it.  You could have pulseaudio as well.  Jack
> I think is another one but never used it so not sure.  Of course, there
> could be others as well.  The bad thing is, it only takes one to disable
> the sound.  The upgrade could have triggered something.
>
> Also, make sure you run the tool to update config changes, just in case
> it has something waiting and is needed.
>
> That may or may not help but thought it worth a mention.  Just in case.;-)
>
> Thanks for the quick response.  Everything is unmuted, verified with amixerr 
> and even alsamixer.  This is just in a virtual console, no gui involved.
>
>
>
>
>



RE: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread John Covici
Everything is unmuted, verified with amixer and even alsami

-Original Message-
From: Dale  
Sent: Wednesday, November 8, 2023 3:26 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] alsa not working with hda intel sound card

John Covici wrote:
> Hi all.
>
> I have run into a problem, where I am getting no sound out of the jack
> on my sound card.  I think this happened since the last major reboot
> after my world update.
>
> If I use a usb sound card I have things work fine, but not the one on
> the motherboard.  Here is the card spec using the listpci.
>
> 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
> Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
>  Flags: bus master, fast devsel, latency 32, IRQ 157
>Memory at a243 (64-bit, non-prefetchable)
> [size=16K]
>  Memory at a200 (64-bit, non-prefetchable)
> [size=1M]
>  Capabilities: [50] Power Management version 3
>Capabilities: [80] Vendor Specific
> Information: Len=14 
>  Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
> 64bit+
>  Kernel driver in use: snd_hda_intel
>Kernel modules: snd_hda_intel, snd_soc_skl
>
> Any suggestions would be appreciated.
>


I'm going to mention this because I've done this myself, more than
once.  Are you sure you have enabled, unmuted, the controls in all the
places that control it?  I recall my first install.  I think I had to
unmute the sound in three places before I had sound.  I seem to recall
at least these possibilities in more recent memory.  Kmix if using KDE,
ALSA, possibly pipewire which is kinda new and I'm not sure what
desktops use or don't use it.  You could have pulseaudio as well.  Jack
I think is another one but never used it so not sure.  Of course, there
could be others as well.  The bad thing is, it only takes one to disable
the sound.  The upgrade could have triggered something. 

Also, make sure you run the tool to update config changes, just in case
it has something waiting and is needed. 

That may or may not help but thought it worth a mention.  Just in case.;-) 

Thanks for the quick response.  Everything is unmuted, verified with amixerr 
and even alsamixer.  This is just in a virtual console, no gui involved.






RE: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread John Covici
The kernel I am using is 6.1.60-gentoo


-Original Message-
From: John Covici  
Sent: Wednesday, November 8, 2023 2:54 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] alsa not working with hda intel sound card

Hi all.

I have run into a problem, where I am getting no sound out of the jack
on my sound card.  I think this happened since the last major reboot
after my world update.

If I use a usb sound card I have things work fine, but not the one on
the motherboard.  Here is the card spec using the listpci.

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
   Flags: bus master, fast devsel, latency 32, IRQ 157
 Memory at a243 (64-bit, non-prefetchable)
[size=16K]
   Memory at a200 (64-bit, non-prefetchable)
[size=1M]
   Capabilities: [50] Power Management version 3
 Capabilities: [80] Vendor Specific
Information: Len=14 
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
   Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel, snd_soc_skl

Any suggestions would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com





Re: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread Michael
On Wednesday, 8 November 2023 19:53:56 GMT John Covici wrote:
> Hi all.
> 
> I have run into a problem, where I am getting no sound out of the jack
> on my sound card.  I think this happened since the last major reboot
> after my world update.
> 
> If I use a usb sound card I have things work fine, but not the one on
> the motherboard.  Here is the card spec using the listpci.
> 
> 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
> Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
>  Flags: bus master, fast devsel, latency 32, IRQ 157
>Memory at a243 (64-bit, non-
prefetchable)
> [size=16K]
>  Memory at a200 (64-bit, non-prefetchable)
> [size=1M]
>  Capabilities: [50] Power Management version 3
>Capabilities: [80] Vendor Specific
> Information: Len=14 
>  Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
> 64bit+
>  Kernel driver in use: snd_hda_intel
>Kernel modules: snd_hda_intel, 
snd_soc_skl
> 
> Any suggestions would be appreciated.

Have you walked through the obvious first, e.g. dmesg does not complain of 
missing firmware and alsamixer, or pactl, or the desktop's audio mixer GUI, 
(e.g. kmix), do not show a muted headphone jack output?

There's also a chance the HDMI channel is configured as the default output 
device, rather than PCM.  In this case 'aplay --list-devices' will shed some 
light and you can set your default device in ~/.asoundrc.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread Dale
John Covici wrote:
> Hi all.
>
> I have run into a problem, where I am getting no sound out of the jack
> on my sound card.  I think this happened since the last major reboot
> after my world update.
>
> If I use a usb sound card I have things work fine, but not the one on
> the motherboard.  Here is the card spec using the listpci.
>
> 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
> Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
>  Flags: bus master, fast devsel, latency 32, IRQ 157
>Memory at a243 (64-bit, non-prefetchable)
> [size=16K]
>  Memory at a200 (64-bit, non-prefetchable)
> [size=1M]
>  Capabilities: [50] Power Management version 3
>Capabilities: [80] Vendor Specific
> Information: Len=14 
>  Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
> 64bit+
>  Kernel driver in use: snd_hda_intel
>Kernel modules: snd_hda_intel, snd_soc_skl
>
> Any suggestions would be appreciated.
>


I'm going to mention this because I've done this myself, more than
once.  Are you sure you have enabled, unmuted, the controls in all the
places that control it?  I recall my first install.  I think I had to
unmute the sound in three places before I had sound.  I seem to recall
at least these possibilities in more recent memory.  Kmix if using KDE,
ALSA, possibly pipewire which is kinda new and I'm not sure what
desktops use or don't use it.  You could have pulseaudio as well.  Jack
I think is another one but never used it so not sure.  Of course, there
could be others as well.  The bad thing is, it only takes one to disable
the sound.  The upgrade could have triggered something. 

Also, make sure you run the tool to update config changes, just in case
it has something waiting and is needed. 

That may or may not help but thought it worth a mention.  Just in case. 
;-) 

Dale

:-)  :-) 



[gentoo-user] alsa not working with hda intel sound card

2023-11-08 Thread John Covici
Hi all.

I have run into a problem, where I am getting no sound out of the jack
on my sound card.  I think this happened since the last major reboot
after my world update.

If I use a usb sound card I have things work fine, but not the one on
the motherboard.  Here is the card spec using the listpci.

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Super Micro Computer Inc Cannon Lake PCH cAVS
   Flags: bus master, fast devsel, latency 32, IRQ 157
 Memory at a243 (64-bit, non-prefetchable)
[size=16K]
   Memory at a200 (64-bit, non-prefetchable)
[size=1M]
   Capabilities: [50] Power Management version 3
 Capabilities: [80] Vendor Specific
Information: Len=14 
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable-
64bit+
   Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel, snd_soc_skl

Any suggestions would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] tmpfs filling up with nothing

2023-11-08 Thread Neil Bothwick
On Wed, 8 Nov 2023 16:17:19 +0200, Alan McKinnon wrote:

> On Wed, Nov 8, 2023 at 4:10 PM Neil Bothwick  wrote:
> 
> > I have PORTAGE_TMPDIR on /tmp, which is a 24GB tmpfs. Last night, an
> > update failed with an out of space error. df showed only 440MB free
> > but du and ndcu both showed well under 1GB in use (including hidden
> > files). this has happened on the odd occasion in the past and the
> > only solution appears to be to reboot. Of course, that means I cannot
> > provide any more information until it happens again.
> >
> > Has anyone else experienced this or, hopefully, resolved it without
> > rebooting?

> Hey Neil,
> 
> Yeah had this a few times. Always turns out to be deleted files that
> something still has a handle on

Hah! I never thought of that one. I'll try that next time it happens.


-- 
Neil Bothwick

Irritable? Who the bloody hell are you calling irritable?


pgpDlfl56l3fK.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] tmpfs filling up with nothing

2023-11-08 Thread Alan McKinnon
On Wed, Nov 8, 2023 at 4:10 PM Neil Bothwick  wrote:

> I have PORTAGE_TMPDIR on /tmp, which is a 24GB tmpfs. Last night, an
> update failed with an out of space error. df showed only 440MB free but
> du and ndcu both showed well under 1GB in use (including hidden files).
> this has happened on the odd occasion in the past and the only solution
> appears to be to reboot. Of course, that means I cannot provide any more
> information until it happens again.
>
> Has anyone else experienced this or, hopefully, resolved it without
> rebooting?
>
>
> --
> Neil Bothwick
>
> Your lack of organisation does not represent an
> emergency in my world.
>


Hey Neil,

Yeah had this a few times. Always turns out to be deleted files that
something still has a handle on

Run this:
# lsof /tmp | grep deleted
sddm-help 324615 root   13u   REG   0,32   96  184 /tmp/#184 (deleted)

So here I have one. To release the 1 file, kill the process holding it open

Alan


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com


[gentoo-user] tmpfs filling up with nothing

2023-11-08 Thread Neil Bothwick
I have PORTAGE_TMPDIR on /tmp, which is a 24GB tmpfs. Last night, an
update failed with an out of space error. df showed only 440MB free but
du and ndcu both showed well under 1GB in use (including hidden files).
this has happened on the odd occasion in the past and the only solution
appears to be to reboot. Of course, that means I cannot provide any more
information until it happens again.

Has anyone else experienced this or, hopefully, resolved it without
rebooting?


-- 
Neil Bothwick

Your lack of organisation does not represent an
emergency in my world.


pgp_GN_A_W5UP.pgp
Description: OpenPGP digital signature