You are not logged in.
Last thing: please confirm that my fix works on your machine, not only on mine.
Confirmed. Replacing the stop-start-daemon section with 'udevd -d' fixes it.
OK, my head is about to explode from the intersection of two different problems. The Refracta isos already have a patched version of cryptdisks-functions to get rid of the delay during shutdown of encrypted partitions or lvm.
Right now, I'm leaning toward doing the easiest workaround to get beowulf out the door. You've done a lot of good work trying to solve this, and before I go messing with the internals of eudev, I'm gonna try to get the eudev maintainer to chime in on this.
Thanks. Stay tuned.
Made another refracta iso and set udev.conf log level to debug.
Uploaded in case anyone wants to play with it.
https://get.refracta.org/files/testing/ … 9_1205.iso
/var/log/boot differences
between boot from dvd (debug1) and boot to ram (toram)
$ diff -u boot_debug1 boot_toram
--- boot_debug1 2020-05-29 08:50:21.996452335 -0400
+++ boot_toram 2020-05-29 09:00:23.916426416 -0400
@@ -1,53 +1,39 @@
-Fri May 29 12:29:39 2020: [....] Activating swap...??7[ ok 8??done.
-Fri May 29 12:29:39 2020: [....] Creating compatibility symlink from /etc/mtab to /proc/mounts. ...??7[warn8?? (warning).
-Fri May 29 12:29:39 2020: [....] Cleaning up temporary files... /tmp??7[ ok 8??.
-Fri May 29 12:29:39 2020: [....] Setting up LVM Volume Groups...no db file to read /run/udev/data/b8:0: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:1: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:13: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:2: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:3: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:4: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:5: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b8:6: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b11:0: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:0: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:1: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:2: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:3: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:4: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:5: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:6: No such file or directory
-Fri May 29 12:29:40 2020: no db file to read /run/udev/data/b7:7: No such file or directory
-Fri May 29 12:29:41 2020: ??7[ ok 8??done.
-Fri May 29 12:29:41 2020: [....] Checking file systems...fsck from util-linux 2.33.1
-Fri May 29 12:29:41 2020: ??7[ ok 8??done.
-Fri May 29 12:29:41 2020: [....] Mounting local filesystems...??7[ ok 8??done.
-Fri May 29 12:29:41 2020: [....] Activating swapfile swap...??7[ ok 8??done.
-Fri May 29 12:29:41 2020: [....] Cleaning up temporary files...??7[ ok 8??.
-Fri May 29 12:29:41 2020: Running 0dns-down to make sure resolv.conf is ok...done.
-Fri May 29 12:29:41 2020: [....] Starting Setting kernel variables: sysctl??7[ ok 8??.
-Fri May 29 12:29:42 2020: [....] Configuring network interfaces...??7[ ok 8??done.
-Fri May 29 12:29:43 2020: [....] Starting RPC port mapper daemon: rpcbind??7[ ok 8??.
-Fri May 29 12:29:44 2020: [....] Starting NFS common utilities: statd idmapd??7[ ok 8??.
-Fri May 29 12:29:45 2020: [....] Cleaning up temporary files...??7[ ok 8??.
-Fri May 29 12:29:45 2020: [....] Setting up ALSA...??7[ ok 8??done (none loaded).
-Fri May 29 12:29:45 2020: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
-Fri May 29 12:29:45 2020: [....] Setting sensors limits...??7[ ok 8??done.
-Fri May 29 12:29:46 2020: [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix??7[ ok 8??.
-Fri May 29 12:29:46 2020: INIT: Entering runlevel: 2
-Fri May 29 12:29:46 2020: [info] Using makefile-style concurrent boot in runlevel 2.
-Fri May 29 12:29:46 2020: [....] Starting acpi_fakekey daemon...??7[ ok 8??done.
-Fri May 29 12:29:47 2020: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
-Fri May 29 12:29:47 2020: [....] Setting up console font and keymap...??7[ ok 8??done.
-Fri May 29 12:29:49 2020: [....] Starting LVM2 poll daemon: lvmpolld??7[ ok 8??.
-Fri May 29 12:29:49 2020: [....] Starting enhanced syslogd: rsyslogd??7[ ok 8??.
-Fri May 29 12:29:50 2020: [....] Starting ACPI services: acpid??7[ ok 8??.
-Fri May 29 12:29:50 2020: [....] Starting anac(h)ronistic cron: anacron??7[ ok 8??.
-Fri May 29 12:29:50 2020: [....] Starting periodic command scheduler: cron??7[ ok 8??.
-Fri May 29 12:29:50 2020: [....] Starting system message bus: dbus??7[ ok 8??.
-Fri May 29 12:29:50 2020: [....] Starting session management daemon: elogind??7[ ok 8??.
-Fri May 29 12:29:51 2020: [....] Starting MTA: exim4??7[ ok 8??.
-Fri May 29 12:29:54 2020: [....] Starting X display manager: lxdm??7[ ok 8??.
-Fri May 29 12:29:55 2020: [....] Starting MD monitoring service: mdadm --monitor??7[ ok 8??.
-Fri May 29 12:29:56 2020: [....] Starting SANE network scanner server: saned??7[ ok 8??.
-Fri May 29 12:29:59 2020: [....] Starting OpenBSD Secure Shell server: sshd??7[ ok 8??.
+Fri May 29 12:59:26 2020: [....] Activating swap...??7[ ok 8??done.
+Fri May 29 12:59:26 2020: [....] Creating compatibility symlink from /etc/mtab to /proc/mounts. ...??7[warn8?? (warning).
+Fri May 29 12:59:26 2020: [....] Cleaning up temporary files... /tmp??7[ ok 8??.
+Fri May 29 12:59:26 2020: [....] Setting up LVM Volume Groups...??7[ ok 8??done.
+Fri May 29 12:59:26 2020: [....] Checking file systems...fsck from util-linux 2.33.1
+Fri May 29 12:59:26 2020: ??7[ ok 8??done.
+Fri May 29 12:59:26 2020: [....] Mounting local filesystems...??7[ ok 8??done.
+Fri May 29 12:59:26 2020: [....] Activating swapfile swap...??7[ ok 8??done.
+Fri May 29 12:59:26 2020: [....] Cleaning up temporary files...??7[ ok 8??.
+Fri May 29 12:59:27 2020: Running 0dns-down to make sure resolv.conf is ok...done.
+Fri May 29 12:59:27 2020: [....] Starting Setting kernel variables: sysctl??7[ ok 8??.
+Fri May 29 12:59:27 2020: [....] Configuring network interfaces...??7[ ok 8??done.
+Fri May 29 12:59:27 2020: [....] Starting RPC port mapper daemon: rpcbind??7[ ok 8??.
+Fri May 29 12:59:27 2020: [....] Starting NFS common utilities: statd idmapd??7[ ok 8??.
+Fri May 29 12:59:27 2020: [....] Cleaning up temporary files...??7[ ok 8??.
+Fri May 29 12:59:27 2020: [....] Setting up ALSA...warning: 'alsactl -E HOME=/run/alsa restore' failed with error message 'No state is present for card PCH
+Fri May 29 12:59:27 2020: Found hardware: "HDA-Intel" "Realtek ALC269VB" "HDA:10ec0269,1179fc14,00100100 HDA:80862806,1179fc14,00100000" "0x1179" "0xff1e"
+Fri May 29 12:59:27 2020: Hardware is initialized using a generic method
+Fri May 29 12:59:27 2020: No state is present for card PCH'...??7[ ok 8??done.
+Fri May 29 12:59:27 2020: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
+Fri May 29 12:59:27 2020: [....] Setting sensors limits...??7[ ok 8??done.
+Fri May 29 12:59:27 2020: [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix??7[ ok 8??.
+Fri May 29 12:59:27 2020: INIT: Entering runlevel: 2
+Fri May 29 12:59:27 2020: [info] Using makefile-style concurrent boot in runlevel 2.
+Fri May 29 12:59:28 2020: [....] Starting acpi_fakekey daemon...??7[ ok 8??done.
+Fri May 29 12:59:28 2020: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Setting up console font and keymap...??7[ ok 8??done.
+Fri May 29 12:59:28 2020: [....] Starting LVM2 poll daemon: lvmpolld??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting enhanced syslogd: rsyslogd??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting ACPI services: acpid??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting anac(h)ronistic cron: anacron??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting periodic command scheduler: cron??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting system message bus: dbus??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting session management daemon: elogind??7[ ok 8??.
+Fri May 29 12:59:28 2020: [....] Starting MTA: exim4??7[ ok 8??.
+Fri May 29 12:59:29 2020: [....] Starting X display manager: lxdm??7[ ok 8??.
+Fri May 29 12:59:29 2020: [....] Starting MD monitoring service: mdadm --monitor??7[ ok 8??.
+Fri May 29 12:59:29 2020: [....] Starting SANE network scanner server: saned??7[ ok 8??.
+Fri May 29 12:59:29 2020: [....] Starting OpenBSD Secure Shell server: sshd??7[ ok 8??.sha256sum:
fe75f6ebca01501b16e6558d8b51acfb63b72c40f11ab17900775dc3dc4f88f8 refracta10+debug_xfce_amd64-20200529_1205.isoI thought about changing the log level. Still might do that to see what's going on.
Phil,
Is there no sound because sound modules didn't get loaded, or is it something else?
lsmod |grep snd
Also, make sure you stop and start the daemon in separate actions when you boot to single user.
I did something similar - added to /etc/rc.local the following line:
/etc/init.d/eudev stop && /etc/init.d/eudev start and it works. Here's a test iso:
https://get.refracta.org/files/testing/ … 7_1508.iso
sha256sum
59aea5d5075815f07f34cae046dc618a9ce99de78c2b737f8db36bd447cf8674 refracta10+stopstart_xfce_amd64-20200527_1508.isoIt's odd that using "stop" and "start" for eudev works, but using "restart" does not.
We are getting closer, thanks!
Boot to single user, give root password,
stop and start eudev is enough.
Adding kvm group is not necessary.
There' s cpufrequtils which will allow you to set the governor and/or frequency. Apparently, the kernel does some frequency scaling on its own these days, but there may be times you want to override that.
There's also cpulimit which will let you limit the amount of cpu(s) that a particular process or program can use. I use that to keep from overheating a laptop when mksquashfs is running.
Both are command-line tools and are easy to use.
The FAT partition needed for UEFI is for the EFI bootloaders. This is not the same as a separate /boot partition. A good reference for UEFI bootloaders is Rod's Books.
https://www.rodsbooks.com/efi-bootloaders/index.html
If you let the installer do the partitioning, it should give you what you need. (Note: the live installer doesn't do any partitioning for you. Only the installer isos do that.)
Adding CRYPTSETUP=y to /usr/share/initramfs-tools/conf-hooks.d/cryptsetup isn't exactly including it manually. This just specifies that cryptsetup will be added automatically if the root filesystem itself is encrypted.
Setting CRYPTSETUP=y will cause cryptsetup to be added to the initramfs if the root filesystem is NOT encrypted. (just tested this to be sure.) If root is encrypted, it'll be added without this setting. The wording in the comment for this setting suggests that in the future, it will be added if cryptsetup is installed, regardless of the root filesystem.
I use this setting in some live isos so that they can be used on a live-usb with an encrypted volume for full persistence.
You can check if the initramfs contains cryptsetup by running 'lsinitramfs' (from initramfs-tools-core package)
CRYPTSETUP=y
$ lsinitramfs /boot/initrd.img-4.19.0-9-amd64 | grep cryptsetup
usr/lib/cryptsetup
usr/lib/cryptsetup/askpass
usr/lib/cryptsetup/functions
usr/lib/x86_64-linux-gnu/libcryptsetup.so.12
usr/lib/x86_64-linux-gnu/libcryptsetup.so.12.4.0
usr/sbin/cryptsetupI commented out that setting, ran 'update-initramfs -u' and re-checked with lsinitramfs. None of the above listed files were present.
P1 (586) is no longer supported by debian kernels. The i386 ascii minimal-live iso has a plain 686 (non-pae) kernel which should work on a Pentium Pro or better.
The problems I've mentioned in this thread are specific to the live images. I think the only unsolved problem at this point is that the sound modules and some others don't get loaded every time you boot.
This may or may not be significant: The usb stick that had the failure was the no-name one I got for free. When I used one that I bought in a store, it worked. (A 16gb PNY)
Can you boot to a console by adding 4 as a kernel command line parameter?
That would be unlikely. Adding s or single would work better. (i.e. would be different from 2-5)
There should be a boot menu entry for 'Recovery mode' which will do the same thing.
Thanks for testing i386. I hadn't gotten around to doing that.
Update:
I tried the amd64 iso on a different usb stick, and it works. (snd modules are loaded)
Then I tried the i386 iso on the usb stick that failed with the amd64. It works. (snd loaded)
Then I made a dvd of the i386 and the sound modules did not get loaded.
Oh yeah, booting the amd64 iso in qemu and checking how many modules get loaded with lsmod | wc -l gives me different numbers on different reboots. Sometimes sound is loaded, sometimes not.
I'm seeing this problem on isohybrid-imaged usb. Anyone else experimenting with beowulf-based isos? C'mon guys, I need feedback. And help.
For example put concurrency=none on the boot command line.
Thanks. That's easier, and it has the advantage of showing up in /proc/cmdline, so I can check if I used it or not. Unfortunately, it doesn't help. Lots of modules are missing, including snd.
The problem also exists on isohybrid-imaged usb. It's not limited to optical media.
Multi-boot usb does not have the problem.
No change on booting with CONCURRENCY=none
Now we're cross-posting. See my update above.
I turned of anything I thought I would not need:
bluetooth, hddtemp, lm-sensors, lvm2, mdadm, nfs-common, pppd-dns, rsync, saned, smartmontools
Didn't help.
Update: How to do it -
touch /etc/init.d/.legacy-bootordering to set CONCURRENCY=none
see:
/etc/init.d/README
/usr/share/doc/insserv/README.deb
/etc/init.d/rc <- This is where it happens
Testing this now. Still building the iso.
Would it be hard to create a refracta version which uses a single-threaded boot, and manually fix the boot order?
I have no idea how to do that. How can you even tell if it's running single or multi-threaded?
What I can do is turn off some services in the default runlevel and see if that changes anything.
And it's still screwed up. No audio when boot from dvd, except when booted to ram. Fixed by modprobe the sound module. In my case, 'modprobe snd_hda_intel'
Here's a list of modules that get loaded when booting to ram but not when booting normally. If anyone has any ideas about wtf is going on, I'd love to hear it.
cmac
btusb
btrtl
btbcm
btintel
intel_rapl
arc4
x86_pkg_temp_thermal
intel_powerclamp
rtl8723ae
coretemp
btcoexist
kvm_intel
rtl8723_common
rtl_pci
snd_hda_codec_hdmi
rtlwifi
snd_hda_codec_realtek
kvm
mac80211
uvcvideo
snd_hda_codec_generic
irqbypass
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
crct10dif_pclmul
crc32_pclmul
videobuf2_common
cfg80211
videodev
rtsx_usb_ms
snd_hda_intel
ghash_clmulni_intel
media
memstick
snd_hda_codec
snd_hda_core
intel_cstate
snd_hwdep
snd_pcm
intel_uncore
snd_timer
snd
intel_rapl_perf
pcspkr
joydev
efi_pstore
toshiba_bluetooth
pcc_cpufreq
iTCO_wdt
mei_me
serio_raw
efivars
soundcore
iTCO_vendor_support
mei
batteryThese modules get loaded when booting to ram but not when booting normally from dvd. The rtl8273ae is the right one for my wireless card. Your list might be slightly different.
cmac
btusb
btrtl
btbcm
btintel
intel_rapl
arc4
x86_pkg_temp_thermal
intel_powerclamp
rtl8723ae
coretemp
btcoexist
kvm_intel
rtl8723_common
rtl_pci
snd_hda_codec_hdmi
rtlwifi
snd_hda_codec_realtek
kvm
mac80211
uvcvideo
snd_hda_codec_generic
irqbypass
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
crct10dif_pclmul
crc32_pclmul
videobuf2_common
cfg80211
videodev
rtsx_usb_ms
snd_hda_intel
ghash_clmulni_intel
media
memstick
snd_hda_codec
snd_hda_core
intel_cstate
snd_hwdep
snd_pcm
intel_uncore
snd_timer
snd
intel_rapl_perf
pcspkr
joydev
efi_pstore
toshiba_bluetooth
pcc_cpufreq
iTCO_wdt
mei_me
serio_raw
efivars
soundcore
iTCO_vendor_support
mei
batteryYeah, that worked: modprobe snd_hda_intel was all I needed to do.
Oh, and it all works just fine if I boot to ram. Modules are already loaded and sound works. I'm thinking maybe there's a timeout somewhere on reading the dvd, and it just stops reading early.
No sound on DVD. That's true for beowulf RC and refracta beta5. The latter does not have pulseaudio.
Can't run alsamixer. "No such file" (even though it's right where it belongs at /usr/bin/alsamixer and is executable.)
aplay -l says "device_list:272: no soundcards found" but lspci sees it just fine.
Again, true on both pure devuan and refracta.
I tried restarting pulseaudio, alsa, eudev; tried removing pulseaudio and running with just alsa. Nothing.
Sound works fine in qemu.
This is jessie:
$ apt-cache policy lsb-release
lsb-release:
Installed: 4.1+devuan2
Candidate: 4.1+devuan2
Version table:
*** 4.1+devuan2 0
500 http://auto.mirror.devuan.org/merged/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
$ lsb_release -a
No LSB modules are available.
Distributor ID: Devuan
Description: Devuan GNU/Linux 1.0 (jessie)
Release: 1.0
Codename: jessieOh! My ascii has the same version, but shows ascii in the output of 'lsb_release -a'
lsb-release:
Installed: 11.1.0
Candidate: 11.1.0
Version table:
*** 11.1.0 500
500 http://deb.devuan.org/merged ceres/main amd64 Packages
100 /var/lib/dpkg/statusThis is ceres:
lsb-release:
Installed: 11.1.0
Candidate: 11.1.0
Version table:
*** 11.1.0 500
500 http://deb.devuan.org/merged ceres/main amd64 Packages
100 /var/lib/dpkg/status
Distributor ID: Devuan
Description: Devuan GNU/Linux 4 (chimaera/ceres)
Release: testing/unstable
Codename: n/aBeowulf RC desktop-live and minimal-live isos are now available on files.devuan.org or your favorite iso mirror. ![]()
Not sure if anyone mentioned it, but RC installer isos are there, too.