From 7df3a3a1998195fcfe83d2ea1db8cf4509503347 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 26 Mar 2017 18:42:38 +0200 Subject: [PATCH 154/325] ELECTRO_BLOAT: Disable GEOM_RAID which can cause deadlocks ... even if it's not intentionally being used: 13 100020 geom g_event mi_switch+0xd2 sleepq_wait+0x3a _sleep+0x257 biowait+0x90 g_read_data+0x7e g_raid_md_taste_sii+0xde g_raid_taste+0x16b g_new_provider_event+0xca g_run_events+0x186 fork_exit+0x85 fork_trampoline+0xe 31379 100863 zpool - mi_switch+0xd2 sleepq_timedwait+0x42 _sleep+0x237 g_waitidle+0xa1 userret+0x55 amd64_syscall+0x52f Xfast_syscall+0xfb 60137 101433 ggatel - mi_switch+0xd2 sleepq_timedwait+0x42 _sleep+0x237 g_waitidle+0xa1 userret+0x55 amd64_syscall+0x52f Xfast_syscall+0xfb Obtained from: ElectroBSD --- sys/amd64/conf/ELECTRO_BLOAT | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/amd64/conf/ELECTRO_BLOAT b/sys/amd64/conf/ELECTRO_BLOAT index 3bd60d2df610..f440d4222d02 100644 --- a/sys/amd64/conf/ELECTRO_BLOAT +++ b/sys/amd64/conf/ELECTRO_BLOAT @@ -45,7 +45,11 @@ options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. -options GEOM_RAID # Soft RAID functionality. +# This is unlikely to be intentionally used be ElectroBSD +# users but its mere presence in the kernel can result in +# deadlocks while tasting flaky providers and the deadlock +# affects other geom classes as well. +nooptions GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD10 # Compatible with FreeBSD10 -- 2.32.0