Re: software or hardware raid?

2023-03-06 Thread Tim via users
On Thu, 2023-03-02 at 19:36 -0500, Jeffrey Walton wrote:
> Also see "A Journal for MD/RAID5", https://lwn.net/Articles/665299/
> and "ext3 and RAID: silent data killers?",
> https://lwn.net/Articles/349970/0/ . But both articles are kind of old.

Yes, is a 2009 article still valid?  Likewise with the 2015 one?

I did read the articles, but not the comments.  With the exception of
one, they're as old as the articles.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: F37 systemd pulseaudio paradox

2023-03-06 Thread Felix Miata
Wolfgang Pfeiffer composed on 2023-03-06 18:38 (UTC+0100):

 > On Mar 06, 2023 at 03:34:38 -0500, Felix Miata wrote:

>>I'm not against change, but this is a result of several years of 
>>system-upgrades,
>>and I've never seen anything explaining how to make a switch:
...
> In your messages wireplumber does not appear. It seems this software
> is managing sound since F34. On this page

> https://fedoraproject.org/wiki/Common_F35_bugs#No_sound_after_upgrade_(wireplumber_not_running)

> you find

> "Wireplumber ... "needs to be running for sound to work"."
 
> The page above provides excellent documentation to find what went
> wrong, and how to fix it.

It doesn't seem to cover this:
# dnf search systemd | grep -iE 'wire|puls|audio|sound'
Last metadata expiration check: 0:20:21 ago on Mon 06 Mar 2023 06:11:55 PM EST.
# dnf list installed | grep -iE 'wire|alsa|puls'
alsa-firmware.noarch   1.2.4-7.fc37
@fedora
alsa-lib.x86_641.2.8-2.fc37
@updates
alsa-tools-firmware.x86_64 1.2.5-5.fc37
@fedora
alsa-ucm.noarch1.2.8-2.fc37
@updates
alsa-utils.x86_64  1.2.8-1.fc37
@updates
pipewire-libs.x86_64   0.3.66-1.fc37   
@updates
pipewire-pulseaudio.x86_64 0.3.66-1.fc37   
@updates
pulseaudio-libs.x86_64 16.1-4.fc37 
@updates
pulseaudio-utils.x86_6416.1-4.fc37 
@updates
python3-alsa.x86_641.2.7-3.fc37
@fedora
wireplumber.x86_64 0.4.13-1.fc37   
@updates
wireplumber-libs.x86_640.4.13-1.fc37   
@updates
zita-alsa-pcmi.x86_64  0.6.1-1.fc37
@updates
#

$ systemctl --user status wireplumber.service
Unit wireplumber.service could not be found.
$

This is after rebooting following running

dnf swap --allowerasing pulseaudio pipewire-pulseaudio
dnf install wireplumber-libs
dnf remove pulseaudio-libs-glib2 # removed phonon* too

Afterward: 
dnf install wireplumber

$ systemctl --user status wireplumber.service
# wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service: enabled; 
preset: enabled)
Active: inactive (dead)

$ aplay /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, 
Rate 48000 Hz, Mono

But, nothing coming from speakers.

$ wireplumber &
M 23:58:14.096348 mod.rt 
../src/modules/module-rt.c:274:pw_rtkit_check_xdg_portal: Can't find 
org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
M 23:58:14.096462 mod.rt 
../src/modules/module-rt.c:1035:pipewire__module_init: found session bus but no 
portal
Failed to connect to PipeWire
$ systemctl --user status pipewire-pulse
● pipewire-pulse.service - PipeWire PulseAudio
 Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; 
preset: disabled)
 Active: active (running) since Tue 2023-03-07 00:29:15 EST; 43s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 3398 (pipewire-pulse)
  Tasks: 2 (limit: 2320)
 Memory: 1.3M
CPU: 44ms
 CGroup: 
/user.slice/user-2000.slice/user@2000.service/session.slice/pipewire-pulse.service
 └─3398 /usr/bin/pipewire-pulse

Mar 07 00:29:15 gx62b systemd[2718]: Started pipewire-pulse.service - PipeWire 
PulseAudio.
Mar 07 00:29:15 gx62b pipewire-pulse[3398]: mod.rt: Can't find 
org.freedesktop.portal.Desktop. Is xdg-desktop-portal ru>
Mar 07 00:29:15 gx62b pipewire-pulse[3398]: mod.rt: found session bus but no 
portal
Mar 07 00:29:15 gx62b pipewire-pulse[3398]: mod.fallback-sink: can't connect: 
Host is down
Mar 07 00:29:15 gx62b pipewire-pulse[3398]: default: can't run command 
load-module module-always-sink: Host is down
$

# systemctl list-unit-files | grep xdg
#

Google hits for '"Is xdg-desktop-portal running?" site:fedoraproject.org' that 
are
labeled as to being on ask.fedoraproject.org redirect to 
discussion.fedoraproject.org
URIs totally unrelated to the indicated hit. Apparently 
https://ask.fedoraproject.org/
also redirects to discussion DDG doesn't return any hits for the same 
search terms.

$ alsa-info.sh output:
http://alsa-project.org/db/?f=9b4dd6548b64719700fe9f8dadcdfc47edf600d5 (older)
https://paste.centos.org/view/3dbcc4b3 (current; 23hr expire)
Is there anything helpful there? What else can I try? Are there additional
packages that need to be installed? Where does xdg-desktop-portal come from?
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team 

Re: 37 systemd pulseaudio paradox

2023-03-06 Thread Wolfgang Pfeiffer

Felix,

In your messages wireplumber does not appear. It seems this software
is managing sound since F34. On this page

https://fedoraproject.org/wiki/Common_F35_bugs#No_sound_after_upgrade_(wireplumber_not_running)

you find

"Wireplumber ... "needs to be running for sound to work"."

The page above provides excellent documentation to find what went
wrong, and how to fix it.

HTH

On Mon, Mar 06, 2023 at 03:34:38AM -0500, Felix Miata wrote:

francis.montag...@inria.fr composed on 2023-03-06 08:01 (UTC+0100):


On Mon, 06 Mar 2023 01:47:44 -0500 Felix Miata wrote:



Can anyone reconcile the following?
# journalctl -b --no-hostname | grep pulse
Mar 06 01:38:45 systemd[577]: pulseaudio.socket - Sound System was skipped 
because of a failed condition check (ConditionUser=!root).
Mar 06 01:38:45 systemd[577]: pulseaudio.service - Sound Service was skipped 
because of a failed condition check (ConditionUser=!root).



A systemd user for root has been attempted (pid 577, not 1).
The ConditionUser forbid to start it.



# systemctl cat pulseaudio.service
No files found for pulseaudio.service.
# systemctl cat pulseaudio.socket
No files found for pulseaudio.socket.
#



This is a user unit. Use thus: systemctl --user cat pulseaudio.service


Interesting. How would a global configuration change be implemented, since any
edit made for a user who runs it goes into a user settings directory?


You seem to have pulseaudio installed, but as far as I now, pipewire should
replace it nowadays.


I'm not against change, but this is a result of several years of 
system-upgrades,
and I've never seen anything explaining how to make a switch:
# rpm -qa | grep -iE 'pulse|wire'
pulseaudio-libs-16.1-4.fc37.x86_64
pulseaudio-16.1-4.fc37.x86_64
pulseaudio-libs-glib2-16.1-4.fc37.x86_64
# dnf search pipewire | wc -l
Last metadata expiration check: 2:43:14 ago on Mon 06 Mar 2023 12:29:01 AM EST.
54
#
With close to 54 possibilities, it's unlikely I'd choose correctly what to 
install,
or whether or which pulse packages to remove. Is there a conversion script 
available?
Googling

site:fedoraproject.org switch from pulseaudio to pipewire

Produced
https://ask.fedoraproject.org/t/how-do-i-switch-from-pulseaudio-to-pipewire-and-back/27441
that seemed appropriate, but clicking on it loaded
https://discussion.fedoraproject.org/t/article-proposal-playing-with-modular-synth/27441
instead. 2nd hit was
https://ask.fedoraproject.org/t/how-to-switch-from-pipewire-to-pulseaudio-on-fedora-37/29356
but clicking it produced 404. The few remaining I skipped. Searching elsewhere 
was also
unhelpful. :(


--
"Press Green" > "Say Yes" > "Run"
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 37 systemd pulseaudio paradox

2023-03-06 Thread Todd Zullinger
Felix Miata wrote:
> francis.montag...@inria.fr composed on 2023-03-06 08:01 (UTC+0100):
>> This is a user unit. Use thus: systemctl --user cat pulseaudio.service
> 
> Interesting. How would a global configuration change be implemented, since any
> edit made for a user who runs it goes into a user settings directory? 

I believe the --global option should do what you want:

systemctl --global --user edit pulseaudio.service

and I presume that needs to be run as root, so it can write
to /etc/systemd/user/pulseaudio.service.d/override.conf.

Or you can just create the override config directly.

I've only done the latter, so I can't say the former works
as written with certainty.

-- 
Todd


signature.asc
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 37 systemd pulseaudio paradox

2023-03-06 Thread Go Canes
On Mon, Mar 6, 2023 at 3:34 AM Felix Miata  wrote:
> [...] [How to switch between pulseaudio and pipewire]
> I'm not against change, but this is a result of several years of 
> system-upgrades,
> and I've never seen anything explaining how to make a switch:

https://discussion.fedoraproject.org/t/how-to-switch-from-pipewire-to-pulseaudio-on-fedora-37/64025
appears to have the commands for switching between pulseaudio and
pipewire in either direction.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: 37 systemd pulseaudio paradox

2023-03-06 Thread Felix Miata
francis.montag...@inria.fr composed on 2023-03-06 08:01 (UTC+0100):
 
> On Mon, 06 Mar 2023 01:47:44 -0500 Felix Miata wrote:
 
>> Can anyone reconcile the following?
>> # journalctl -b --no-hostname | grep pulse
>> Mar 06 01:38:45 systemd[577]: pulseaudio.socket - Sound System was skipped 
>> because of a failed condition check (ConditionUser=!root).
>> Mar 06 01:38:45 systemd[577]: pulseaudio.service - Sound Service was skipped 
>> because of a failed condition check (ConditionUser=!root).
 
> A systemd user for root has been attempted (pid 577, not 1).
> The ConditionUser forbid to start it.
 
>> # systemctl cat pulseaudio.service
>> No files found for pulseaudio.service.
>> # systemctl cat pulseaudio.socket
>> No files found for pulseaudio.socket.
>> #
 
> This is a user unit. Use thus: systemctl --user cat pulseaudio.service

Interesting. How would a global configuration change be implemented, since any
edit made for a user who runs it goes into a user settings directory? 

> You seem to have pulseaudio installed, but as far as I now, pipewire should
> replace it nowadays.
 
I'm not against change, but this is a result of several years of 
system-upgrades,
and I've never seen anything explaining how to make a switch:
# rpm -qa | grep -iE 'pulse|wire'
pulseaudio-libs-16.1-4.fc37.x86_64
pulseaudio-16.1-4.fc37.x86_64
pulseaudio-libs-glib2-16.1-4.fc37.x86_64
# dnf search pipewire | wc -l
Last metadata expiration check: 2:43:14 ago on Mon 06 Mar 2023 12:29:01 AM EST.
54
#
With close to 54 possibilities, it's unlikely I'd choose correctly what to 
install,
or whether or which pulse packages to remove. Is there a conversion script 
available?
Googling

site:fedoraproject.org switch from pulseaudio to pipewire

Produced
https://ask.fedoraproject.org/t/how-do-i-switch-from-pulseaudio-to-pipewire-and-back/27441
that seemed appropriate, but clicking on it loaded
https://discussion.fedoraproject.org/t/article-proposal-playing-with-modular-synth/27441
instead. 2nd hit was
https://ask.fedoraproject.org/t/how-to-switch-from-pipewire-to-pulseaudio-on-fedora-37/29356
but clicking it produced 404. The few remaining I skipped. Searching elsewhere 
was also
unhelpful. :(
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue