The officially official Devuan Forum!

You are not logged in.

#1051 Re: Hardware & System Configuration » [Solved] Password required for startup script » 2020-06-27 15:30:55

Well, found this hint in the net on https://wiki.archlinux.de/title/GNOME#Tipps_und_Tricks

Add export NO_AT_BRIDGE=1 to /etc/environment.

The dbind-warning error when calling up the script directly as shown in the previous post is gone.

Does not bring the complete solution. Still getting asked for user or root passwd.

rolfie

#1052 Re: Hardware & System Configuration » [Solved] Password required for startup script » 2020-06-27 15:12:42

Tried to call the script with a sudo in front sudo /path/to/script.sh, that does not work.

Then I directly started the script in a user terminal and got this error:

(veracrypt:5104): dbind-WARNING **: 17:05:21.998: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

How do I have to interpret this?

rolfie

#1053 Re: Desktop and Multimedia » [Solved] Virtual Box kernel modules to be rebuilt after each boot » 2020-06-27 14:40:59

steve_v wrote:
rolfie wrote:

Can't remember that I had to do this before, e.g. under Squeeze, Wheezy, or ASCII. Anyhow, I think I have got a solution now.

VirtualBox was in the repos back then (It was dropped for buster due to oracle being "uncooperative" IIRC), so presumably you were using those packages rather than the ones from oracle, no?

No, currently I am directly downloading the latest stuff from virtualbox.org and then using dpkg -i. I have been through all the methods from using the repo stuff, the following the sources.list setup as suggested by the VBox docs, then I found that I can ease my life. No enabling/disabling in sources.list, no key to care for .... Works for me.

Thanks, rolfie

#1054 Re: Other Issues » [Solved] Copy putty sessions does not work » 2020-06-27 12:18:48

Solution: the settings need to go to ~/.putty/sessions and not into ~/.putty.

rolfie

#1055 Re: Desktop and Multimedia » [Solved] Virtual Box kernel modules to be rebuilt after each boot » 2020-06-27 12:13:40

Well, I had all pre-requisites present like kernel headers, build-essential, dkms. Installation of VBox went smooth without any errors.

Instructions I am talking about: Repeated vboxsetup, modprobe vboxdrv, rcvboxdrv setup: all run smooth, no errors, each of them fixes the issue temporarily. Just after any reboot everything seems to be forgotten.

Digged deeper into logs like the vbox logs, syslog and boot: nothing that caught my eye. The entry in /etc/init.d/vboxdrv is present, all permissions set correctly (afaik) ...

Then tried to add to /etc/modules: the entry vboxdrv was a game changer, the error when starting my Win7 VM changed. I saw that I needed to enter also vboxnetadp and vboxnetflt, and now it works.

Can't remember that I had to do this before, e.g. under Squeeze, Wheezy, or ASCII. Anyhow, I think I have got a solution now. Thanks for picking my brain, your hint to the /etc/modules finally did the job.

rolfie

PS: I used keywords like "virtualbox kernel module" and "kernel 5.6 virtualbox" and others and tags from the error messages and read through a bunch of pages without getting a clue, just an impression that kernel 5.5 works, while 5.6 seems to create issues.

#1056 Desktop and Multimedia » [Solved] Virtual Box kernel modules to be rebuilt after each boot » 2020-06-26 20:58:08

rolfie
Replies: 6

Beowulf on Kernel 5.6 with Mate Desktop, VB 6.1.10 directly loaded from Oracle and installed via dpkg -i.

Situation is that I have to rebuild kernel modules after each boot before being able to start a Win7 VM.

I am getting:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

All the nice hints found do not fix the issue. When I read the announcement right my VBox version should already support the 5.7 kernel.

When I follow the instruction I can work with VBox, the game starts next day when I have shut down the PC the evening before and restarted or past any reboot.

What is going on here?

rolfie

#1057 Hardware & System Configuration » [Solved] Password required for startup script » 2020-06-26 20:29:52

rolfie
Replies: 8

Beowulf, Mate desktop. I run a script during user login that opens a Veracrypt volume. Veracrypt is installed same way as in ASCII, same settings in sudoers, script copied from ASCII with same permissions.

Situation is that in Beowulf I am asked to enter either a user or the root password. What can be the reason for this changed behaviour?

Thanks for any idea, rolfie

#1058 Other Issues » [Solved] Copy putty sessions does not work » 2020-06-26 20:07:30

rolfie
Replies: 1

Beowulf with Mate installed in parallel to ASCII.

I selectively copied over the session settings from .putty in my ASCII home to .putty on the new Beowulf home.

Direct look into putty, log off and in again, reboot: no listing of the old sessions in the Beowulf putty. Access rights are to the user.

When reading posts from the internet a simple copy should be enough.

What else might have changed?

rolfie

#1059 Re: Installation » SOLVED: Beowulf: quite good, but ...... » 2020-06-25 17:00:25

Debuser2018 wrote:

With Beowulf, boot time takes almost 3 minutes due to udev waiting and time out. This happens with kernel 5.6 from beowuf-backports. I've posted here:https://dev1galaxy.org/viewtopic.php?pid=22907
No clues why this is happening.

Got Beowulf on kernel 5.6 running fine on two desktop machines. You must have individual hickups, hardware problems or a device that having issues.

rolfie

#1060 Re: Other Issues » [Solved] linux-5.6.0-0.bpo.2 stucks at "waiting for /dev.... udevd" » 2020-06-25 15:38:16

Guess its system specific. Got two machines here that work fine with Beowulf and kernel linux-image-5.6.0-0.bpo.2-amd64. Though I am using the openrc version that comes with Beowulf.

rolfie

#1061 Re: Installation » devuan_beowulf_3.0.0_amd64-netinstall hangs » 2020-06-24 16:11:16

Ok, Lars thinks your CPU does support 64bit, and the 64bit Life media also runs. Lets take that as granted.

Then lets look at the media used for installation.

CD: You got old mature HW including an older CD/DVD drive (at least I assume this). When you use oldfashioned CD or DVD drives to burn and read the media, the chance is high that it should work if the media quality is ok. From my experience: burning a CD on a BR drive and reading it in another PC with a BR drive may not work. Tried this with a gparted life CD: starting gparted is a gamble. I got lots of IO errors, sometimes gparted starts ok, sometimes not. The CD itself is fine, it booted perfectly with no IO errors in an older DVD burner. Same happened with Beowulf alpha and beta versions burned to CD, and installations typically fail when IO errors appear.

Memory stick: On my modern hardware I now only use flash drives for installation. I also used rufus on Win7 to generate the bootable sticks. Done that for ASCII, Arch, Beowulf in various steps, and gparted life, all worked fine. 
Note: there are people around that insist in that only the dd copy is the correct way to generate a bootable flash drive. Never used this.

One thing that might cause an installation to fail is if the flash drive itself is dodgy. If you can exchange it and try a different brand. I use a Windows utility called h2testw to check the flash drives. Don't know if this is available in English too. 

Another hint what might help: look on the other consoles if you see any errors showing up there.

Good luck, rolfie

#1062 Re: Installation » devuan_beowulf_3.0.0_amd64-netinstall hangs » 2020-06-24 11:52:28

Hi Lars,

yes I got Ryzen 7 2700X that is clearly a 64bit CPU, I am on amd64. The OP has a Core2 CPU 4300, whatever that is, I have no idea. His/her lscpu printout indicates a 686 CPU with 64bit capability. Is that enough for amd64?

rolfie

#1063 Re: Installation » devuan_beowulf_3.0.0_amd64-netinstall hangs » 2020-06-24 11:19:13

Perhaps because your CPU does not support x86_64 mode? You get: Architecture: i686, I think thats the i386 branch.

I am getting for a real 64 bit CPU:

# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       43 bits physical, 48 bits virtual
CPU(s):              16
On-line CPU(s) list: 0-15
Thread(s) per core:  2
Core(s) per socket:  8
Socket(s):           1
NUMA node(s):        1
Vendor ID:           AuthenticAMD
CPU family:          23
Model:               8
Model name:          AMD Ryzen 7 2700X Eight-Core Processor
Stepping:            2
CPU MHz:             2194.882
CPU max MHz:         3700,0000
CPU min MHz:         2200,0000
BogoMIPS:            7385.23
Virtualization:      AMD-V
L1d cache:           32K
L1i cache:           64K
L2 cache:            512K
L3 cache:            8192K
NUMA node0 CPU(s):   0-15
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca

Have you ever had a 64 bit distro working?

rolfie

#1064 Re: Installation » SOLVED: Beowulf: quite good, but ...... » 2020-06-23 14:13:17

Make sure you have contrib main non-free enabled in your sources. It maybe worth also checking if there is an update of the firmware package available in backports.

rolfie

#1065 Re: Installation » SOLVED: Beowulf: quite good, but ...... » 2020-06-23 11:23:50

There is a 5.6 kernel in the backports already. I am running this on two machines, and a 5.5 on my file server.

rolfie

#1066 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-22 20:05:25

Without knowing that fact, I now see that under ASCII pulse was installed. Maybe thats why the setup was quite easy and comfortable.

My conclusion: pure ALSA is not really comfortable, it lacks a reasonable control center that allows to setup the sound system according to the real HW and the users demands.

rolfie

#1067 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-22 20:01:21

And here is the same from my ASCII installation.

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.19.0-0.bpo.8-amd64.
# apt list *alsa*
Auflistung... Fertig
alsa-utils/oldstable,now 1.1.3-1 amd64  [Installiert,automatisch]
alsamixergui/oldstable,now 0.9.0rc2-1-10 amd64  [installiert]
alsaplayer-alsa/oldstable,now 0.99.81-2 amd64  [Installiert,automatisch]
alsaplayer-common/oldstable,now 0.99.81-2 amd64  [Installiert,automatisch]
alsaplayer-gtk/oldstable,now 0.99.81-2 amd64  [installiert]
libalsaplayer0/oldstable,now 0.99.81-2 amd64  [Installiert,automatisch]
volumeicon-alsa/oldstable,now 0.4.6-2.2+b1 amd64  [installiert]
# apt list *pulse*
Auflistung... Fertig
apulse/oldstable,now 0.1.9-6 amd64  [installiert]
gstreamer1.0-pulseaudio/oldstable,now 1.10.4-1 amd64  [installiert]
libpulse-mainloop-glib0/oldstable,now 10.0-1+deb9u1 amd64  [Installiert,automatisch]
libpulse0/oldstable,now 10.0-1+deb9u1 amd64  [Installiert,automatisch]
libpulsedsp/oldstable,now 10.0-1+deb9u1 amd64  [Installiert,automatisch]
pulseaudio/oldstable,now 10.0-1+deb9u1 amd64  [installiert]
pulseaudio-utils/oldstable,now 10.0-1+deb9u1 amd64  [Installiert,automatisch]
# apt list *jack*
Auflistung... Fertig
libjack-jackd2-0/oldstable,now 1.9.10+20150825git1ed50c92~dfsg-5 amd64  [Installiert,automatisch]
# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 9: HDMI 3 [HDMI 3]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 10: HDMI 4 [HDMI 4]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 11: HDMI 5 [HDMI 5]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
# cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfce60000 irq 106
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcd00000 irq 108

The Mate sound applet shows much more selections and a 5.1 loudspeaker system I have installed.

rolfie

#1068 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-22 19:55:22

Here is the output of a set of collected commands from my Beowulf setup. X470 mainboard with encrypted LVM on openrc with Mate desktop, manually installed from a cli minimal install using apt install xorg lightdm mate-desktop-environment-extras.

# lspci -knn | grep -A2 Audio
0c:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580] [1002:aaf0]
	Subsystem: Sapphire Technology Limited Ellesmere [Radeon RX 580] [1da2:aaf0]
	Kernel driver in use: snd_hda_intel
--
0e:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457]
	Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) HD Audio Controller [1043:8733]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 9: HDMI 3 [HDMI 3]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 10: HDMI 4 [HDMI 4]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: HDMI [HDA ATI HDMI], Gerät 11: HDMI 5 [HDMI 5]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

List cleaned out to only show the installed packages.

# apt list *alsa*
Auflistung... Fertig
alsa-tools/stable,now 1.1.7-1 amd64  [installiert]
alsa-utils/stable,now 1.1.8-2 amd64  [installiert]
alsamixergui/stable,now 0.9.0rc2-1-10 amd64  [installiert]
gstreamer1.0-alsa/stable,now 1.14.4-2 amd64  [installiert]
volumeicon-alsa/stable,now 0.5.1+git20170117-1 amd64  [installiert]
# apt list *pulse*
Auflistung... Fertig
libpulse-mainloop-glib0/stable,now 12.2-4+deb10u1 amd64  [Installiert,automatisch]
libpulse0/stable,now 12.2-4+deb10u1 amd64  [Installiert,automatisch]
# apt list *jack*
Auflistung... Fertig
libjack-jackd2-0/stable,now 1.9.12~dfsg-2 amd64  [Installiert,automatisch]

Looks like volumicon-alsa is overwritten by the Mate sound setting applet. Also qasmixer does not show up in the panel.

In this setup I have no chance to setup defaults. The Mate sound applet looks poor, I don't have the controls I have in ASCII. The Realtek is displayed as having a Mono speaker. Too bad, I have pasted some screenshots in a LO document together with the output from a lot of commands, should have saved them individually.

rolfie

#1069 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-22 19:41:27

Head_on_a_Stick wrote:

There are several ways to set the default audio device for ALSA: https://wiki.archlinux.org/index.php/Ad … sound_card

Thanks, I have been through that document several times. Its informative but does not cover all the issues.

rolfie

#1070 Re: Installation » SOLVED: Beowulf: quite good, but ...... » 2020-06-22 19:29:31

Are you using LVM? I am using openrc on encrypted systems with LVM, no issues with shutdown except that you need a patch to speed the closing of the volumes and the LVM: https://dev1galaxy.org/viewtopic.php?id=2690&p=2 #34.

Read the thread if you experience similar problems. Maybe it helps.

rolfie

#1071 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-21 21:05:39

Hi Lars,

larsH wrote:

In voulmeicon (wich are solely using alsa) you can in preferences set your device. I am sure it will rembember it.  And yes you will have to add it the startup of your desktop. In alsamixer F6 will allow you to do the same.

Don't know how you do that. Under Beowulf I do not get the option to change the soundcard in volumeicon. And no way to modify the default in alsamixer. I can select a device and configure the channels, the settings are remembered, but no way to assign the Realtek Analogue to default.

I found a way to get audio in Firefox working. Created a /etc/asound.conf with this contents:

defaults.pcm.!card Generic
defaults.ctl.!card Generic
defaults.pcm.!device 0
defaults.ctl.!device 0

where Generic points to my Realtek Audio chip on the main board, and device 0 to the Analogue output. And changed the Firefox starter to apulse /opt/firefox/firefox. Currently I am listening to a Youtube video playing Summer Wine from Nancy Sinatra & Lee Hazlewood......

Such a fiddeling.....

rolfie

#1072 Re: Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-21 20:07:53

A few reboots later: Audacious still working, volumeicon-alsa is in the tray, Firefox plays Youtube videos without sound.

Audacious seems to remember the settings which is perfect.

Mean thing about volumeicon-alsa is that you have to call (/usr/bin/)volumeicon in the Startup files.

Firefox seems to depend on the ALSA default, which still is not set.

Need to go on.

rolfie

#1073 Desktop and Multimedia » Sound with Beowulf - always trouble? » 2020-06-21 19:18:28

rolfie
Replies: 12

It took quite a while to get Audacious to play sound on my X470 board. Finally it does. Here is a summary. Don't know yet if the result is persistant, but thats the next post probably.

Beowulf is installed in parallel to ASCII, where sound is working fine. I'm running Mate on an encrypted LVM, and since today with backports kernel 5.6. HW is a Prime X470 Pro mainboard with Realtek Audio and a RX570 Pulse AMD graphics card.

Copied my Audacious playlist from ASCII to Beowulf.

Per default libpulse0 and libpulse-mainloop-glib0, and if I am not mistaken, I can't get rid of them because Mate (mate-settings-daemon) depends on them.

alsamixer allows to select either HDMI from the RX570 as device 0 or the Realtek as device 1. The crucial thing is that I haven't found any way to set the Realtek as default. Audacious would react with the error message ALSA error: snd_pcm_open failed.

Searched this forum and the internet for hints to a solution, and was about to try to write a conf file, when I had the idea first to check the Audacious settings. And that did the job. Selecting the 5.1 Analog device from a very long list did the job, at least for the time being. Music is playing while I am typing this.

qasmixer is installed, but not visible as a tray icon. I guess I have to add this program to the startup folder.

Conclusion: there seems to be no easy way to configure nowadays sound systems under ALSA.

rolfie

#1074 Re: Other Issues » EFI trouble » 2020-06-21 13:46:49

Again hurrah, finally got it sorted, its working now. I can boot into Beowulf from the grub in my ASCII installation, despite my bad EFI. 

@HOAS: I owe you a crate of Frankonian beer.

Took me a while to sort everything. The uuids and the kernel were the easy part. I had to add insmod lvm and ext2, the hardest bit was to figure out what to replace "cryptroot" with. There you need to enter the /dev/mapper-name for the decrypted in my case ext4 root device.

Have a nice Sunday, cheers.

rolfie

PS: I would be interested where and how you found the above info. I was searching around with the duck with keywords grub(2) custom.cfg encrypted and found references to Arch and Ubuntu wikis and a lot of rants/posts from various forums, but none was really pointing to the right thing (for me at least).

#1075 Re: Other Issues » EFI trouble » 2020-06-20 21:50:52

Hurrah, after renaming grubx64.efi an additional strange entry is displayed on F8, and it actually boots Beowulf. Thanks for the slab.

Lets see if I also can get the custom cfg to work, but that a topic for tomorrow, I am too tired already. Too many typos...

Have a nice evening, rolfie

Board footer

Forum Software