jmccamb
September 27, 2024, 4:00pm
1
Overview
I set up pihole on a pi 3b +. I used the current 64bit lite version of the raspberrian os and flashed a sd card with the image. Then I installed pihole and imported settings with the teleporter. I opted to only import the lists, and not the other stuff like clients, audit logs, etc
The pi has unbound installed as the recursive DNS server, and pfsense hands out the IP of the pi to clients
I noticed in the log there was this, but I am not sure if it is relevant.
*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
/etc/lighttpd/conf.d does not exist.
After boothing the pi, pihole runs fine for 40 minutes or so and then completely fails to respond. I also couldn't ssh into the pi either. I am not sure what the issue is, but I was wondering if someone could help.
Expected Behaviour:
Pihole runs without freezing
Actual Behaviour:
Freezes after 40 minutes
Debug Token:
https://tricorder.pi-hole.net/Rxc1ELVz/
jmccamb:
I noticed in the log there was this, but I am not sure if it is relevant.
*** [ DIAGNOSING ]: contents of /etc/lighttpd/conf.d
/etc/lighttpd/conf.d does not exist.
This is normal in Debian and Ubuntu operating systems.
1 Like
The fact that SSH breaks as well indicates that this isn't a pihole issue as much as possibly hardware or SD card related. Possibly even a poor / faulty powersupply.
You may wish to go through the logs ( journalctl ) and see if anything shows up there. If your unlcear on journalctl this article is a good start.
You could also just keep journalctl running on the ssh session, dumping its output to the terminal and wait for the crash if it happens that often you may catch something realtime ( sudo journalctl -f ).
2 Likes
Some quick particulars to look for.
Under voltage:
sudo journalctl --full --dmesg --grep voltage
Out Of Memory:
sudo journalctl --full --grep oom
Anything critical + warnings:
sudo journalctl --full --catalog --priority emerg..warning
1 Like
jmccamb
September 28, 2024, 2:12pm
5
Okay thank you. I will check these out and see what is going on.
1 Like
jmccamb
September 28, 2024, 2:31pm
6
Here is what I am seeing:
for sudo journalctl --full --dmesg --grep voltage
-- No entries --
sudo journalctl --full --grep oom
-- Boot 9afe98cca1254fa79a3e431621d04196 --
-- Boot 44dbc1ef3049402eaa13be7d6bf80677 --
-- Boot dfc758d5143d45008a28d830a48c8ade --
-- Boot 73dd9c4d80cb4daaa7d82ac4fe7916c0 --
-- Boot 023fc4b42f014ca1aaccadd812ceb610 --
-- Boot 813944b228884f78b6b738cd3d047130 --
-- Boot 94a8b0f509754812921b8f24ceac6226 --
-- Boot 813944b228884f78b6b738cd3d047130 --
-- Boot 94a8b0f509754812921b8f24ceac6226 --
Finally, sudo journalctl --full --catalog --priority emerg..warning
Sep 27 11:18:16 pihole kernel: Core Release: 2.80a
Sep 27 11:18:16 pihole kernel: Setting default values for core params
Sep 27 11:18:16 pihole kernel: Finished setting default values for core params
Sep 27 11:18:16 pihole kernel: Using Buffer DMA mode
Sep 27 11:18:16 pihole kernel: Periodic Transfer Interrupt Enhancement - disabled
Sep 27 11:18:16 pihole kernel: Multiprocessor Interrupt Enhancement - disabled
Sep 27 11:18:16 pihole kernel: OTG VER PARAM: 0, OTG VER FLAG: 0
Sep 27 11:18:16 pihole kernel: Dedicated Tx FIFOs mode
Sep 27 11:18:16 pihole kernel:
Sep 27 11:18:16 pihole kernel: WARN::dwc_otg_hcd_init:1070: FIQ DMA bounce buffers: virt = ffffffc080ba2000 dma = 0x00000000de800000 len=9024
Sep 27 11:18:16 pihole kernel: FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
Sep 27 11:18:16 pihole kernel:
Sep 27 11:18:16 pihole kernel: WARN::hcd_init_fiq:496: MPHI regs_base at ffffffc08006d000
Sep 27 11:18:16 pihole kernel: Init: Port Power? op_state=1
Sep 27 11:18:16 pihole kernel: Init: Power Port (0)
Sep 27 11:18:16 pihole kernel: Indeed it is in host mode hprt0 = 00021501
Sep 27 11:18:16 pihole kernel: mmc0: host does not support reading read-only switch, assuming write-enable
Sep 27 11:18:16 pihole kernel: Indeed it is in host mode hprt0 = 00001101
Sep 27 11:18:17 pihole systemd-journald[232]: File /var/log/journal/67451a8db9f04b7a82801d221996aba0/system.journal corrupted or uncleanly shut down, renaming and replacing.
Sep 27 11:18:18 pihole kernel: vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:18 pihole kernel: snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:18 pihole kernel: bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:18 pihole kernel: bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:18 pihole kernel: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:18 pihole kernel: bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 11:18:19 pihole kernel: hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
Sep 27 11:18:19 pihole kernel: hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
Sep 27 11:18:21 pihole (uetoothd)[609]: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Sep 27 11:18:21 pihole (udev-worker)[530]: event1: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Sep 27 11:18:21 pihole (udev-worker)[563]: event0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Sep 27 11:18:22 pihole bluetoothd[609]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Sep 27 11:18:22 pihole bluetoothd[609]: src/plugin.c:plugin_init() Failed to init vcp plugin
Sep 27 11:18:22 pihole bluetoothd[609]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Sep 27 11:18:22 pihole bluetoothd[609]: src/plugin.c:plugin_init() Failed to init mcp plugin
Sep 27 11:18:22 pihole bluetoothd[609]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Sep 27 11:18:22 pihole bluetoothd[609]: src/plugin.c:plugin_init() Failed to init bap plugin
Sep 27 11:18:22 pihole unbound[628]: [628:0] warning: subnetcache: prefetch is set but not working for data originating from the subnet module cache.
Sep 27 11:18:22 pihole bluetoothd[609]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Sep 27 11:18:22 pihole bluetoothd[609]: sap-server: Operation not permitted (1)
Sep 27 11:18:33 pihole kernel: systemd[752]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Sep 27 16:25:04 pihole systemd-logind[484]: Failed to abandon session scope, ignoring: Connection timed out
-- Boot 94a8b0f509754812921b8f24ceac6226 --
Sep 27 16:17:07 pihole kernel: Core Release: 2.80a
Sep 27 16:17:07 pihole kernel: Setting default values for core params
Sep 27 16:17:07 pihole kernel: Finished setting default values for core params
Sep 27 16:17:07 pihole kernel: Using Buffer DMA mode
Sep 27 16:17:07 pihole kernel: Periodic Transfer Interrupt Enhancement - disabled
Sep 27 16:17:07 pihole kernel: Multiprocessor Interrupt Enhancement - disabled
Sep 27 16:17:07 pihole kernel: OTG VER PARAM: 0, OTG VER FLAG: 0
Sep 27 16:17:07 pihole kernel: Dedicated Tx FIFOs mode
Sep 27 16:17:07 pihole kernel:
Sep 27 16:17:07 pihole kernel: WARN::dwc_otg_hcd_init:1070: FIQ DMA bounce buffers: virt = ffffffc080b9a000 dma = 0x00000000de800000 len=9024
Sep 27 16:17:07 pihole kernel: FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
Sep 27 16:17:07 pihole kernel:
Sep 27 16:17:07 pihole kernel: WARN::hcd_init_fiq:496: MPHI regs_base at ffffffc08006d000
Sep 27 16:17:07 pihole kernel: Init: Port Power? op_state=1
Sep 27 16:17:07 pihole kernel: Init: Power Port (0)
Sep 27 16:17:07 pihole kernel: Indeed it is in host mode hprt0 = 00021501
Sep 27 16:17:07 pihole kernel: mmc0: host does not support reading read-only switch, assuming write-enable
Sep 27 16:17:07 pihole kernel: Indeed it is in host mode hprt0 = 00001101
Sep 27 16:17:07 pihole kernel: vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 16:17:07 pihole kernel: snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 16:17:07 pihole kernel: bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Sep 27 16:17:07 pihole kernel: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
I dont know what time it froze.
But thats where you need to focus.
From that "timed out" error above, it could be network related.
But you might have better luck on the Raspi forums as I dont see any evidence Pi-hole is causing this.
At least not from the journal.
jmccamb
September 28, 2024, 4:19pm
8
Okay thank you. I tried re configuring the pihole with pihole -r
based on another thread I found. If that doesn't help I think it's safe to say this isn't related to pihole anways. Appreciate your help regardless
1 Like