/r/debian

Photograph via snooOG

Subreddit to discuss all the Debian things, the Universal Operating System

/r/debian

78,462 Subscribers

0

HELP!! mic and speaker issue (dual boot)

hey, i am new to dual booting linux on windows. recently i got debian 12.5 dual booted on my hp envy 15t-ep000. for my speaker and mic i have realtek. but for some reason it isnt getting detected. after running lspci i got this

00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)

00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 02)

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)

00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller

00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller

00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM

00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi

00:15.0 Serial bus controller: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0

00:15.1 Serial bus controller: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1

00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller

00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode]

00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)

00:1d.0 PCI bridge: Intel Corporation Device 06b7 (rev f0)

00:1f.0 ISA bridge: Intel Corporation Comet Lake LPC Controller

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS

00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller

00:1f.5 Serial bus controller: Intel Corporation Comet Lake PCH SPI Controller

01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)

01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)

02:00.0 Non-Volatile memory controller: SK hynix PC601 NVMe Solid State Drive

03:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01)

my speakers sound wierd and my mic dosnt work

after opening a google meet, i see i get these optinos for mic and speakers

sound
mic

2 Comments
2024/04/24
20:04 UTC

2

HEVC playback on a browser

HI I'm trying to stream HEVC file over emby in the browser. Obviously firefox doesn't support hevc at all. I found out that chromium has support, I was installed the Version 124.0.6367.60, and I'm not having any luck. I also tried upstream Chrome, and also epiphany browser.

As required 'i965-va-driver' is already installed (for my 4th gen intel cpu).

EDIT: I solved it by switching to jellyfin server and it's standalone app.

9 Comments
2024/04/24
20:02 UTC

0

RTL8125 on Debian 12.5

Hi. Is that eth chip working with 12.5.? I have a B650M-E with eth RTL 8125 and having hang ups at first startup. No way to have Debian 12.5 working while Ubuntu 22.04 or Pop-OS 22.04 work fine but I’m willing to move to Debian. Tnx

3 Comments
2024/04/24
19:30 UTC

0

Application volume not subject to master volume

Hello new debian user here. So as title suggest the problem is after initial startup application sounds does not adjust to the increase or decrease in master volume. However, if I switch speaker profile to Off and back to Play Hi-fi music, it solves the problem. I've been looking for a permanent way instead of switching speaker profile every single time. What am I missing?

Im using debian 12

0 Comments
2024/04/24
13:24 UTC

0

Malformed Entry 1

DEBIAN 11 relative newcomer to linux dont want to mess this up - here is guilty file i suspect easy fix for expert

etc/apt/sources.list.d/deb-multimedia.list

Please help Thanks

25 Comments
2024/04/24
11:48 UTC

0

Not working for me

Not able to boot up my new installation of Debian. On my first attempt, it came up without a hitch. The only problem with it was I installed the wrong distro. Being the installation went without a problem, I figured it wouldn’t be an issue to reinstall. I did so on the same drive from the USB flash drive. The installation process goes again without a problem but when it comes time to reboot it states no bootable drive found. Even though I have moved the boot order for that drive to boot first. I’ve tried everything I can find on this but can’t figure it out.

Changed SATA cables.

Used a different hard drive (even though the original drive worked on the initial setup).

Installation with the Debian netinst ISO download.

Installation with the Debian image ISO download.

New installation with MBR partition scheme on RUFUS.

New installation with GPT partition scheme on RUFUS.

Installation with Legacy disabled.

Installation with Legacy enabled.

Installation with boot secure.

Installation without boot secure.

Through the advanced BIOS options, I was able to find the installed files under the 1TB hard drive in EFI > DEBIAN > shimx64.efi.

The GNU GRUB there shows the following partitions: (proc) (memdisk) (lvm/Groobervg–swap_1) (lvm/Groober–vg-root) (hd0) (hd1) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1).

Groober is the hostname of my machine.

memdisk only shows grub.cfg fonts for the list of files there.

hd0 reads Error:unknown filesystem.

hd1 reads Error: unknown filesystem.

hd1,gpt3 Error: unknown filesystem.

hd1,gpt2 shows lost+found/ efi/ config-6.1.0-16-amd64 vmlinuz-6.1.0-18-amd64 grub/ system.map-6.1.0-18-amd64 intrd.img-6.1.0-18-amd64.

hd1,gpt1 reads efi. Going into efi file on hd1,gpt1 shows a debian file. Whiten that file, Shimx64.efi grubx64.efi mmx64.efi fbx64.efi bootx64.csv grub.cfg, shows up.

Also in lvm/Groober–vg-root, the following files show: lost+found/ boot/ etc/ media/ vmlinuz.old var/ usr/ lib lib64 sbin bin dew/ home/ proc/ root/ run/ sys/ tmp/ mnt/ srv/ opt/ initrd.im.old vmlinuz initrd.img.

When I try to pull the documents file under my username it states no such file was found.

I can’t use Windows to assist me here as I removed it entirely from the drive. All I have is GNU GRUB, BIOS of course and USB flash drive with the Debian installer to get to grub rescue. I’m guessing the boot files are possibly not loading or not loading in the right place. If so, how do I correct that? Might be I need to format the drive to start over but how do I do that without Windows and only GNU GRUB?

I apologize if this seems extensive but wanted to cover everything as I keep seeing the same solutions for this problem and thank you ahead of time for any help on this.

3 Comments
2024/04/24
09:11 UTC

0

NetworkManager-dispatcher.service error at first boot

Hi.

I'm installing Debian (netinst) latest and I'm having the following error:

NetworkManager-dispatcher.service. - Network Manager Script Dispatcher Service

Any hel is appreciated.

TX

5 Comments
2024/04/24
08:15 UTC

0

Latest kernel update broke Bluetooth after resume

I had Debian 12 running perfectly on a Thinkpad p16 gen 2 (Intel). I use a Bluetooth mouse when at my desk. Everything worked perfectly, basically straight Debian stable with Gnome, no hackery required or done.

Today I accepted a set of stable updates including a kernel upgrade. I rebooted. Now, whenever I suspend my laptop (e.g., close my lid) when I open it and resume, Bluetooth won't work until I manually stop and start it (via gnome UI, or systemctl restart).

Anyone else experience recent breakage as a result of today's updates?

Edit: Didn't want to stay up all night trying to debug why this broke so I kludged out a workaround:

bluetooth-restart-on-resume.service:

[Unit]
Description=Restart bluetooth.service on resume
After=suspend.target

[Service]
Type=oneshot
ExecStart=systemctl try-restart bluetooth.service

[Install]
WantedBy=suspend.target

Copied that to /etc/systemd/system/ and ran:

###DO NOT DO### sudo systemctl daemon-reload
###DO NOT DO### sudo systemctl enable bluetooth-restart-on-resume.service

Edit2: Nevermind. Don't do that! That causes the system to hang on resume sometimes. I guess for now I'll just have to live with manually restarting bluetooth each time I open my lid.

While waiting to see if my resume was slow or hung (it was the latter), I was staring at these console messages. I assume this is what's broken in the latest release, but I have no idea how to interpret them and Google, as usual, is useless:

Bluetooth: hci0: Opcode 0xc24 failed: -112
Bluetooth: hci0: unexpected event for opcode 0x0406

Edit3: The issue only exists on linux-image-6.1.0-20. When I boot back into linux-image-6.1.0-18, there is no problem.

Edit4: I'll attach the bug report number, once Debian acknowledges the report and assigns one.

4 Comments
2024/04/24
02:21 UTC

1

Need help with my AMD Driver

Just moved from Windows 11 to Debian 12 after the bloatware Microsoft is shoving down our throats. From using the Shift Key as a caps button to using apt install, I've been doing well.

I've installed DaVinci Resolve 19, but it seems like it can't detect my GPU (unsupported GPU processing mode). I've already followed Debian's AtiHowTo and [this Reddit post](https://www.reddit.com/r/debian/comments/vs9rj9/installing_radeon_drivers/). How do I know if I really do have the right drivers installed? If it's DaVinci's problem, how do I uninstall what I don't need?

1 Comment
2024/04/24
01:48 UTC

1

Weird problems with Nvidia drivers on Debian 12 virtual machine.

Solved! I didn't have secure boot disabled in the Proxmox OVMF BIOS.

Hello, I'm running Debian 12 inside of a Proxmox install. I successfully passed through my Quadro k620. My problem is that the GPU files disappear after installing the proprietary drivers. This means only nouveau drivers work. I ran the following to install the proprietary drivers:

  1. Added kernel headers apt install linux-headers-amd64
  2. Added non-free repository (deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware) to /etc/apt/sources.list and updated apt: apt update apt install nvidia-driver firmware-misc-nonfree
  3. Installed Nvidia driver. apt install nvidia-driver firmware-misc-nonfree

After this I get a message to reboot my system to clear out nouveau, which I did. To my surprise, the /etc/dri/renderD128 and /etc/dri/card0 files are missing every time I do this. I have also tried installing the nvidia-tesla-470-driver too, as nvidia-detect had suggested, but it didn't work. Please help me, I have no clue why this is going wrong.

Edit: Just tried doing the same setup on Ubuntu and it worked flawlessly with sudo ubuntu-drivers install. Any ideas why?

2 Comments
2024/04/24
00:17 UTC

122

Debian is just so smooth!!

Have been saying that to myself for the last two months, so figured I would make an appreciation post here. After having used almost every major flavor, except the source based distributions, for the last 15 or so years, I just cannot believe how smooth the default Debian experience is.

Don't know if this is due to the developments in the GNOME, or due to Debian's focus on stability. But minor niggles aside, I am just loving this distro!

50 Comments
2024/04/23
23:23 UTC

20

New Debian user

yoo i just moved to Debian from Microsoft, can i get any tips and advice my journey on mastering debian

21 Comments
2024/04/23
21:28 UTC

0

Debian installer can't connect to wifi. No error message.

So I'm trying to install Debian on my PC but when I get to the part of the installation where I need to connect to a network, I choose the right network and type in the right password but it just sends me back to the network selection screen. I am using a Mercusys wifi USB adapter thingy. It works fine on Windows but the installer apparently just refuses to cooperate with it. Any ideas on how to fix it? Thanks in advance!

3 Comments
2024/04/23
20:32 UTC

1

Thinkpad trackpoint resetting, does not respond to sysfs changes

I have a Gen3 T14 ThinkPad that I love, but I'm facing one annoying issue. The TrackPoint is constantly recalibrating incorrectly, causing the cursor to move on its own. It takes a few seconds to recalibrate, but during this time, the mouse becomes unusable. It does this when the trackpoint is held for about 5 seconds in one direction. This issue makes playing games really difficult. I did some digging and found a sysfs entry at /sys/devices/platform/i8042/serio1. The directory has entries like bind_mode, description, driver, drvctl, firmware_id, id, input, modalias, power, press_to_select, protocol, rate, resetafter, resolution, resync_time, sensitivity, subsystem, uevent. I'm able to change the sensitivity value and make a noticeable change to the TrackPoint behavior, so I know I'm in the right place in sysfs. I've tried setting resetafter and resync_time to a ton of different values from 0 to 100,000, and it doesn't seem to make any difference. Is there another way to change the recalibration time parameters? Why doesn't changing the resync_time and resetafter seem to work? What I'd really like is to turn off the recalibration altogether, but I don't know if that's possible.

My setup:

Gen3 Lenovo ThinkPad T14, AMD Ryzen Pro 7 6850U Debian Sid with Gnome on Wayland kernel 6.7.9

I've tried changing the values in the sysfs entry to values from 0 - 255 and up to 100000 just incase it was in milli or micro seconds for resetafter and resync_time. The default value for resetafter is 5. It takes about 5 seconds until it resets happens and I'm guessing that is the value that I can't seem to effect. I've also tried setting the values via udev rules as well.

1 Comment
2024/04/23
19:39 UTC

0

Wayland: 4k or 1440p at 27” (Gnome/KDE)? (I know this question isn’t specific to Debian but this is what I plan to switch to, so decided to post here for a lack of more fitting sub)

8 Comments
2024/04/23
18:23 UTC

2

Notebook with BE200 WIFI, how to install Debian?

Hi all

I have a notebook with an awkward BE200 Wifi card from Intel(Killer).

The current Debian 12.5 seems not to support it out of the box. There seems to exist a special iwlwifi driver version available for this card, however it seems to require kernel 6.5.

Is there a way to get the BE200 working in debian? If so how can I install debian (assuming BE200 is the only NIC)?

16 Comments
2024/04/23
18:23 UTC

0

Debian 12 blocking incoming connections by default?

I'm trying to establish a TCP socket connection on port 10000 of my Debian 12 PC, simple client/server written in Python as per this example. It works locally but not from another PC on the LAN, throwing 'Connection refused'.

nftables, ufw and iptables are not installed.

These services are running, nothing looks like a firewall to me here:

martin@Martin-P14s ~/d/m/p/s/extra> systemctl list-units --type=service --state=running
  UNIT                          LOAD   ACTIVE SUB     DESCRIPTION                                            
  accounts-daemon.service       loaded active running Accounts Service
  avahi-daemon.service          loaded active running Avahi mDNS/DNS-SD Stack
  bluetooth.service             loaded active running Bluetooth service
  colord.service                loaded active running Manage, Install and Generate Color Profiles
  cron.service                  loaded active running Regular background program processing daemon
  cups.service                  loaded active running CUPS Scheduler
  dbus.service                  loaded active running D-Bus System Message Bus
  fwupd.service                 loaded active running Firmware update daemon
  gdm.service                   loaded active running GNOME Display Manager
  geoclue.service               loaded active running Location Lookup Service
  low-memory-monitor.service    loaded active running Low Memory Monitor
  mariadb.service               loaded active running MariaDB 10.11.6 database server
  ModemManager.service          loaded active running Modem Manager
  NetworkManager.service        loaded active running Network Manager
  pcscd.service                 loaded active running PC/SC Smart Card Daemon
  polkit.service                loaded active running Authorization Manager
  power-profiles-daemon.service loaded active running Power Profiles daemon
  rtkit-daemon.service          loaded active running RealtimeKit Scheduling Policy Service
  snapd.service                 loaded active running Snap Daemon
  ssh.service                   loaded active running OpenBSD Secure Shell server
  switcheroo-control.service    loaded active running Switcheroo Control Proxy service
  systemd-journald.service      loaded active running Journal Service
  systemd-logind.service        loaded active running User Login Management
  systemd-timesyncd.service     loaded active running Network Time Synchronization
  systemd-udevd.service         loaded active running Rule-based Manager for Device Events and Files
  udisks2.service               loaded active running Disk Manager
  upower.service                loaded active running Daemon for power management
  user@1000.service             loaded active running User Manager for UID 1000
  vmware-USBArbitrator.service  loaded active running LSB: This services starts and stops the USB Arbitrator.
  vmware.service                loaded active running LSB: This service starts and stops VMware services
  wpa_supplicant.service        loaded active running WPA supplicant

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
31 loaded units listed.

Is Debian 12.5 blocking all incoming network traffic by default? If so, which process/service is in charge of this and how to configure it?

Thank you

5 Comments
2024/04/23
15:42 UTC

1

Debian on AMD 7000 + installer

So, I have been a Debian user for many many years, and a Linux user for even way longer.

I'm building a new rig on the AM5 platform + a RX7000 GPU, and I would like to stick to Debian.

I quickly tried to:

  • directly install stable ; I could not boot
  • install stable + backports via another machine ; same issue.

I already borked my previous testing installation due to some broken packages at the beginning of 64-bit time_t transition ; is it in a better state these days?

Moreover, I need a live installer because I'm using two SSDs, which are exactly the same model ; so, something like "DebInstaller does not discriminate between the two, and I cannot tell which is which.

One of these SSDs being my /home, I do not want to play Russian roulette (even with a backup, it's really tedious), and realistically that will probably not be the last time I install Debian on this machine.

I know Calamares is better in such cases with identical drives, but AFAIK, there is no live ISO for testing.

So, my question is: would there be a way to install a Debian branch which works on AM5 B650E + Ryzen 7000, and could be installed without having to rely on luck?

Edit: I had already reported this installer issue years ago, and this still exists today.

Edit 2: Rewritten for clarity.

19 Comments
2024/04/23
15:23 UTC

3

Is it possible to run Debian graphical installer with dvorak keyboard?

In the install it asks for localisation but doesn't ask fork layout. Is there a way to go through install with dvorak keyboard and have everything default to that?

4 Comments
2024/04/23
13:23 UTC

2

damaged superblock, solving damaged filesystem.

hello, so i just need help because i have an issue, when i tried to mount a disk, i was unable due to the "bad magic number in superblock" error, so i runned:

fsck /dev/sda

and to every backup of the superblock the same error happened with using:

e2fsck -b 8193 /dev/sda

e2fsck -b 32768 /dev/sda

not to mention that the other drive which contains the /boot is fine,

so after i did a quick search, every backup are damaged, so what are the possible solutions?
i thought about rewriting a new ext4 file system but idk if i'm considering the right solution.

thanks in advance and sorry if this is bothering

EDIT: it's been only 3 days that i'm using debian actively after using windows, so i'm still new so forgive me for potential mistakes.

6 Comments
2024/04/23
12:19 UTC

2

Good looking screen key for tutorial

Hello i'm looking to have a good-looking app to have my keyboard showing on my screen to make tutorial like this app on windows https://obsproject.com/forum/resources/keyviz.1565/ its really nice

i'm using screen key for gnome and its work but is not really beautiful did you know another software for this ?

Thanks

2 Comments
2024/04/23
09:40 UTC

2

How to switch kernels on newly installed Debian 12.5?

I newly installed Debian 12.5 on a laptop. I noticed that it runs kernel 6.1.0-18 by default but that 6.1.0-20 is available:

$ uname -a
Linux laptop 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

$ ls /boot
config-6.1.0-18-amd64  initrd.img-6.1.0-18-amd64  System.map-6.1.0-20-amd64
config-6.1.0-20-amd64  initrd.img-6.1.0-20-amd64  vmlinuz-6.1.0-18-amd64
efi                    lost+found                 vmlinuz-6.1.0-20-amd64
grub                   System.map-6.1.0-18-amd64

How do I switch to this new kernel (or should I) ?

9 Comments
2024/04/23
02:06 UTC

0

Does this mean I need to add the testing repo, at least temporarily?

I'm trying to install some software for my music production DAW. I admit that I didn't look at the prerequisites and now I see that it requires Ubuntu, but I figure I can figure out how to get it working on Debian 12. However, running the installer I get this:

$ sudo apt install ./Studio\ One\ 6-x86_64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'studioone6' instead of './Studio One 6-x86_64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 studioone6 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u4 is to be installed
              Depends: libglibmm-2.68-1 (>= 2.76) but 2.74.0-2 is to be installed
              Depends: libgtkmm-4.0-0 (>= 4.10.0) but it is not going to be installed
              Depends: libjpeg8 (>= 8c) but it is not installable
              Depends: libstdc++6 (>= 13.1) but 12.2.0-14 is to be installed
E: Unable to correct problems, you have held broken packages.

I suspect that means I need to add the testing repo, at least temporarily, to get those newer packages. What do you think?

13 Comments
2024/04/23
02:06 UTC

10

New to Debian, and GRUB doesn't list Windows 11

I have at least one problem, but I'm worried I may have two problems and one of them is a very big problem.

I have a Windows 11 system with two hard drives and two SSDs. I partitioned one of the SSDs and installed Debian 12 KDE on it. Problem #1 is that after installation, GRUB does not show Windows 11. I've checked to ensure that os-prober is enabled in the GRUB config, and I've run sudo update-grub, but that doesn't solve the problem.

My potential second problem is that Debian doesn't seem to see my Windows C: drive at all. It sees the two hard drives and both partitions on one of the SSD drives. However, I don't see the SSD that is my Windows C: drive. That worries me.

Any idea what my next step should be? I appreciate any help!

EDIT: I was wrong. I do see the Windows C: SSD drive using lsblk, but it just doesn't show up in the Devices list in Dolphin like the other drives do. Not sure what's up with that. But at least it looks like I just need to fix GRUB.

24 Comments
2024/04/23
00:01 UTC

1

Add encrypted partition to /etc/crypttab with auto unlock

SOLVED! Look at the end of the post for the solution.

I've just set up a new computer. I initially set it up without a swap partition, but I want to add it now. The partition has already been created as a LUKS2 partition, but I can't get update-initramfs to add it so it will automatically be decrypted at boot (both have same passphrase, but opposed to using the bootup passphrase or ask for a separate one, I'm only asked much later by grub. Running update-initramfs -ck all gives me this error:

update-initramfs: Generating /boot/initrd.img-6.6.15-amd64
cryptsetup: WARNING: target 'luks-78362aa3-760c-41de-b911-6531b684e3f7' not 
    found in /etc/crypttab

/etc/crypttab has these two lines, just like I did on my old device:

luks-775ea946-6797-4c4d-a042-72924309f3d2 UUID=775ea946-6797-4c4d-a042-72924309f3d2     /crypto_keyfile.bin luks,keyscript=/bin/cat
luks-78362aa3-760c-41de-b911-6531b684e3f7 UUID=78362aa3-760c-41de-b911-6531b684e3f7     /crypto_keyfile.bin luks,keyscript=/bin/cat

So it clearly doesn't miss from the crypttab. Though I can'ft check if the second partition has a crypto_keyfile.bin, as it is a swap partition and I have no idea how to look inside. For completeness, that's the fstab:

UUID=F5D8-8C91                                        /boot/efi      vfat    defaults,noatime 0 2
/dev/mapper/luks-775ea946-6797-4c4d-a042-72924309f3d2 /              btrfs   subvol=/@,defaults,noatime,space_cache=v2,autodefrag,discard,compress=zstd:4 0 0
/dev/mapper/luks-775ea946-6797-4c4d-a042-72924309f3d2 /home          btrfs   subvol=/@home,defaults,noatime,space_cache=v2,autodefrag,discard,compress=zstd:4 0 0
/dev/mapper/luks-78362aa3-760c-41de-b911-6531b684e3f7 swap           swap    defaults,noatime,discard   0 0
tmpfs                                                 /tmp           tmpfs   defaults,noatime,mode=1777 0 0

and this is the command line in /etc/default/grub (of course I did run update-grub afterward):

GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=775ea946-6797-4c4d-a042-72924309f3d2:luks-775ea946-6797-4c4d-a042-72924309f3d2 root=/dev/mapper/luks-775ea946-6797-4c4d-a042-72924309f3d2 splash resume=/dev/mapper/luks-78362aa3-760c-41de-b911-6531b684e3f7"

This issue doesn't seem to be new, though I have yet to find a solution that fits the setup.

EDIT: found the solution by accident. crypttab needs to end in a new line character. It can not end with the last line of content. So I'll probably open a bug report to request a better handling of this rather simple case. The maintainer may decide if that should be forwarded upstream.

9 Comments
2024/04/22
21:20 UTC

0

NFS On Reboot Not Mounting

A couple of things I will preface for the following issue:

  • I am learning Linux as I go, so I am a noob
  • I understand enough terminology to get by but may ask questions if I am unsure of something
  • I have done every possible Google, Reddit, and web search to figure this issue out, and I am still lost

My issue is that when I installed nfs-common and set the /etc/nfstab file to auto-mount my NFS directory, on reboot it failed right away because the Network was unreachable.

  • Debian Version 12 (bookworm)

  • "apt list nfs-common": shows that I have version 1:2.6.2-4 amd64 installed

  • The /etc/fstab includes the following end of file line of text:

    172.16.10.14:/mnt/Storage/controller-server/docker-containers /mnt/nfs_share nfs _netdev 0 0

  • journalctl -b shows the following log entries:

    Apr 22 15:55:25 controller-server systemd[1]: Started pmproxy.service - Proxy for Performance Metrics Collector Daemon.
    Apr 22 15:55:25 controller-server mount[761]: mount.nfs: Network is unreachable
    Apr 22 15:55:25 controller-server systemd[1]: mnt-nfs_share.mount: Mount process exited, code=exited, status=32/n/a
    Apr 22 15:55:25 controller-server systemd[1]: mnt-nfs_share.mount: Failed with result 'exit-code'.
    Apr 22 15:55:25 controller-server systemd[1]: Failed to mount mnt-nfs_share.mount - NFS Volume /mnt/nfs_share.
    Apr 22 15:55:25 controller-server dockerd[762]: time="2024-04-22T15:55:25.881917368-04:00" level=info msg="Starting up"
    Apr 22 15:55:25 controller-server systemd[1]: Started pmie.service - Performance Metrics Inference Engine.
    Apr 22 15:55:25 controller-server systemd[1]: Started pmie_check.timer - Half-hourly check of PMIE instances.
    Apr 22 15:55:25 controller-server systemd[1]: Started pmie_daily.timer - Daily processing of PMIE logs.
    Apr 22 15:55:25 controller-server systemd[1]: Starting pmie_farm.service - pmie farm service...

  • I also set up a mounting service in and enabled it

    • /etc/systemd/system/mnt-nfs_share.mount

    [Unit]
    Description = NFS Volume /mnt/nfs_share
    Requires = network-online.target
    After = network-online.target

    [Mount]
    Type = nfs
    What = 172.16.10.14:/mnt/Storage/controller-server/docker-containers
    Where = /mnt/nfs_share
    Options = _netdev,auto,nofail

    [Install]
    WantedBy = remote-fs.target

  • mnt-nfs_share.mount log:

    CODE_FILE src/core/job.c
    CODE_FUNC job_emit_done_message
    CODE_LINE 768
    INVOCATION_ID af8951db17b245cb95686b8472702fe0
    JOB_ID 114
    JOB_RESULT failed
    JOB_TYPE start
    MESSAGE_ID be02cf6855d2428ba40df7e9d022f03d
    PRIORITY 3
    SYSLOG_FACILITY 3
    SYSLOG_IDENTIFIER systemd
    TID 1
    UNIT mnt-nfs_share.mount
    _BOOT_ID d5616000a83a48268b9a81946be8f443
    _CAP_EFFECTIVE 1ffffffffff
    _CMDLINE /sbin/init
    _COMM systemd
    _EXE /usr/lib/systemd/systemd
    _GID 0
    _HOSTNAME controller-server
    _MACHINE_ID 4353c322860e400cb3d79098bd122e72
    _PID 1
    _RUNTIME_SCOPE system
    _SELINUX_CONTEXT unconfined
    _SOURCE_REALTIME_TIMESTAMP 1713815725808996
    _SYSTEMD_CGROUP /init.scope
    _SYSTEMD_SLICE -.slice
    _SYSTEMD_UNIT init.scope
    _TRANSPORT journal
    _UID 0
    __CURSOR s=3e01caf9810f49bd836288be1d3611ad;i=e433;b=d5616000a83a48268b9a81946be8f443;m=5acf51;t=616b4d18c1ecf;x=19a698df1bab6e82
    __MONOTONIC_TIMESTAMP 5951313
    __REALTIME_TIMESTAMP 1713815725809359

Any help would be wonderful, please.

** Edits: ** Formatting (because reddit formatting is "fun")

6 Comments
2024/04/22
20:14 UTC

Back To Top