The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » Strange behaviour with last version of grub » 2021-03-16 15:15:13

@fsmtihred:
Thanks for the hint, indeed by removing grub-efi-amd64-signed, the problem disappered. The prefix is now set to another value where also the grub configuration files are saved after another:

grub-install

#2 Re: Hardware & System Configuration » Strange behaviour with last version of grub » 2021-03-15 19:00:45

I  had the same problem that viverna had. But in my case grub-efi was already installed, beside grub-pc.
Deleting grub-pc and reinstalling grub-efi (I reinstalled grub-efi common and grub-efi 2 common) did not solved the problem.

Later I found ot that it is the prefix that causes grub to enter the shell/rescue mode.

It is set to .../efi/debian.

As soon I change it in the rescue mode to .../efi/devuan I can enter normal mode and the system starts normally.
This fits to the directories  found in /boot/efi/EFI/.

I  could not find a method to change the prefix presetting. The only solution I found was to force grub to install itself under .../efi/debian with

grub-install --bootloader-id=debian

Could it be that in one of the last updates the change of the prefix from debian to devuan has been forgotten?
Or that the directory name has been changed without changing the prefix?

#3 Re: Desktop and Multimedia » severe sound problems with audacity » 2021-01-19 23:11:37

fsmithred wrote:

I can reproduce this error. You need to start jack or set audacity to use alsa. (or maybe pulseaudio if you use that.)

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

Thanks for the answer.
I figured out that the problem has been caused mainly by a setting of audacity.
I had to uncheck the "SW playthrough of input" option. This caused a feedback loop and therefore causing a saturation of the signal.

This is also mentioned here in the PulseAudio  section:
https://manual.audacityteam.org/man/tut … linux.html

Following this and some of the recommendations here (https://www.freedesktop.org/wiki/Softwa … fectSetup/), where I am not sure if the later ones were really necessary, solved the problem.

Matze

#4 Desktop and Multimedia » severe sound problems with audacity » 2021-01-18 20:45:01

matze72
Replies: 2

Hello,

I have severe sound problems with audacity.

When I start a recording, it can happen that the sound i would like to record it suddenly very disturbed, that it is hardly recognized any more.
As soon as I stop the audacity recording the sound problem disappears.
The same disturbance can happen during playback with audacity.
But this happens not all the time. Sometime it just works fine, sometimes I just got dropouts during in the recorded data.

This is the printout in a shell after I started audacity, there are quite some errors/warnings but I do not have a clue if they are related to the problem or not.

Does anybody have a hint what I could do to solve the problems?

/usr/bin/audacity

(Audacity:9627): Gtk-WARNING **: 21:26:10.344: gtk_disable_setlocale() must be called before gtk_init()
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
21:26:13: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
[AVAudioResampleContext @ 0x560fe8fcf6c0] Value 160,000000 for parameter 'phase_shift' out of range [0 - 30]
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4628

And when I just wanted to check again the probelms I just mentioned above audacity refused to make any recording at all.

Matze

#5 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 14:18:53

@Vernon

No, allow-hotplug did not make the trick. Nothing changed.
Ethernet cable is also plugged in all the time.

@Lars

I have not the impression that sysv-rc-conf is broken.
And I did this when I still used ascii and did not change it.

I also have the impression that first connman is started and then the networking service, is there an easy way to check this?
I guess it is somewhere in the init scripts at /etc/rc.... , can I just adapt the names to force a different order?

For example change K01connman  to K09connman to make sure that the connam service is started after K07networking is starting the networking service, or can I break something doing so?

#6 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 13:31:03

@Lars

I used sysv-rc-conf to define the following:

 
service        1      2     3     4     5      0     6       S
connman       [ ]    [x]   [x]   [x]    [x]   [ ]    [ ]    [ ]

I believe that this should do the same as update-rc.d connman enable, isn't it?

#7 Re: Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 13:18:44

@Vernon:

Sorry the path was a typo, indeed my interface-file is at /etc/network/interfaces.

Do you think the "allow-hotplug" is making the difference, or have you additional files in your interfaces.d-directory?
Mine is empty.

I will try the allow-hotplug.

Thanks,

matze

#8 Installation » Network and other problems after upgrading from ascii to beowulf » 2020-08-20 10:37:16

matze72
Replies: 11

After ugrading from ascii to beowulf I came across some problems, for some I could find solutions or workarounds on my own, for some not.

But let's start with the main problem:

1) After the upgrade I did not have internet access any more. It turned out that no dhc clinet is runing. After I added the following lines to /etc/interfaces
auto eth0
iface eth0 inet dhcp

dhclient is running after booting, but I still have to restart connman with the following command to get access to the internet:
service connman restart
How can I fix this?

2) During booting the boot process stops for some minutes at Starting MTA. Is there a possibility to avoid this?

3) There must be change in the firejail profile file firefox-common.profile that caused problems with my firefox installation. is there a way to download the ascii version of that file to make a comparison?

4) The directory /usr/sbin was not part of the PATH variable any more, at the moment I use the following command as root after boot:
export PATH=/usr/sbin:/sbin:/usr/local/sbin/:$PATH
How can I define this permanently?
Do I have to include this in .bashrc in the root home directory or is there a system wide configuration file?

5) After the upgrade I do not have the possibility any more to send the computer into "sleep mode" with obsession-logout, does anybody know a reason for that?
Can this be caused by the upgrade hint to downgrade upower because of a bug (and I followed that hint)

Board footer

Forum Software