Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2023 05:31:59 -0600
From:      Rebecca Cran <rebecca@bsdio.com>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: 20230504 -CURRENT snapshot panics during install at zfs probing
Message-ID:  <d63557f6-cc54-6c3f-49dd-4f732dee58b0@bsdio.com>
In-Reply-To: <e0a0420b-98a7-7fe5-b213-012ec1200d30@bsdio.com>
References:  <e0a0420b-98a7-7fe5-b213-012ec1200d30@bsdio.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I also tried FreeBSD 13.2 and it's unhappy too, and ends up panicing and 
rebooting when trying to restart the installer after it segfaults. So 
it's apparently _not_ a new problem.

I'm guessing there's something about my disks that's causing memory 
corruption. The only thing that's changed recently is installing Windows 
Server 2022 on a different disk.

If I disable the mrsas controller, installation proceeds.


-- 
Rebecca Cran


On 5/4/23 19:02, Rebecca Cran wrote:
> I'm seeing a panic during install during the zfs probing on the 
> 14-CURRENT 20230504 amd64 snapshot on a PowerEdge R7525 dual-EPYC system.
>
> I haven't submitted a bug report for a while, so let me know what 
> other information is needed.
>
>
> Unfortunately the stack backtrace looks useless:
>
> panic: mtx_lock() of spin mutex (null) @ 
> /usr/src/sys/kern/kern_clock.c:269
> cpuid = 67
> time = 1683225642
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
> 0xfffffe037aa72db0
> vpanic() at vpanic+0x152/frame 0xfffffe037aa72e00
> panic() at panic+0x43/frame 0xfffffe037aa72e60
> __mtx_lock_flags() at __mtx_lock_flags+0x13b/frame 0xfffffe037aa72eb0
> deadlkres() at deadlkres+0xef/frame 0xfffffe037aa72ef0
> fork_exit() at fork_exit+0x80/frame 0xfffffe037aa72f30
> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe037aa72f30
> --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
> KDB: enter: panic
> [ thread pid 0 tid 101238 ]
> Stopped at      kdb_enter+0x32: movq    $0,0xddd833(%rip)
> db>
>
>
> Start of dmesg:
>
> FreeBSD 14.0-CURRENT #0 main-n262746-4194bbb34c60: Thu May  4 08:05:46 
> UTC 2023
> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
> amd64
> FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git 
> llvmorg-15.0.7-0-g8dfdcc7b7bf6)
> WARNING: WITNESS option enabled, expect reduced performance.
> SRAT: Too many memory domains
> VT(efifb): resolution 1024x768
> CPU: AMD EPYC 7713 64-Core Processor (1996.32-MHz K8-class CPU)
>   Origin="AuthenticAMD"  Id=0xa00f11  Family=0x19  Model=0x1 Stepping=1
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> 
>
> Features2=0x7efa320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> 
>
>   AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
>   AMD 
> Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX>
>   Structured Extended 
> Features=0x219c97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
>   Structured Extended 
> Features2=0x40069c<UMIP,PKU,OSPKE,VAES,VPCLMULQDQ,RDPID>
>   Structured Extended Features3=0x10<FSRM>
>   XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
>   AMD Extended Feature Extensions ID 
> EBX=0x91bef75f<CLZERO,IRPerf,XSaveErPtr,RDPRU,MCOMMIT,WBNOINVD,IBPB,IBRS,STIBP,STIBP_ALWAYSON,PREFER_IBRS,PPIN,SSBD>
>   SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
>   TSC: P-state invariant, performance statistics
> real memory  = 277021196288 (264188 MB)
> avail memory = 266164191232 (253833 MB)
>
> disk info:
>
> root@:~ # gpart show
> =>        6  233308149  nvd0  GPT  (890G)
>           6  233308149        - free -  (890G)
>
> =>        6  233308149  diskid/DISK-S61ANA0R100142  GPT  (890G)
>           6  233308149                              - free - (890G)
>
> =>       34  937571901  ada0  GPT  (447G)
>          34       2014        - free -  (1.0M)
>        2048  937568256     1  ms-basic-data  (447G)
>   937570304       1631        - free -  (816K)
>
> =>       34  937571901  diskid/DISK-74ff0e529b990010  GPT (447G)
>          34       2014                                - free - (1.0M)
>        2048  937568256                             1 ms-basic-data  
> (447G)
>   937570304       1631                                - free - (816K)
>
> =>        34  3125627501  da0  GPT  (1.5T)
>           34        2014       - free -  (1.0M)
>         2048     1048576    1  efi  (512M)
>      1050624  2929686528    2  linux-data  (1.4T)
>   2930737152    62500864    3  linux-swap  (30G)
>   2993238016   132389519       - free -  (63G)
>
> =>        34  3125627501  da1  GPT  (1.5T)
>           34        2014       - free -  (1.0M)
>         2048       32768    1  ms-reserved  (16M)
>        34816  3125592064    2  ms-basic-data  (1.5T)
>   3125626880         655       - free -  (328K)
>
> =>        34  3125627501  diskid/DISK-S61ENE0R302148  GPT (1.5T)
>           34        2014                              - free - (1.0M)
>         2048     1048576                           1  efi  (512M)
>      1050624  2929686528                           2  linux-data (1.4T)
>   2930737152    62500864                           3  linux-swap (30G)
>   2993238016   132389519                              - free - (63G)
>
> =>        34  3125627501  diskid/DISK-202229EBAC90  GPT  (1.5T)
>           34        2014                            - free - (1.0M)
>         2048       32768                         1  ms-reserved (16M)
>        34816  3125592064                         2  ms-basic-data (1.5T)
>   3125626880         655                            - free - (328K)
>
> =>    17  544157  cd0  MBR  (1.0G)
>       17  544157       - free -  (1.0G)
>
> =>    17  544157  iso9660/14_0_CURRENT_AMD64_CD  MBR  (1.0G)
>       17  544157                                 - free -  (1.0G)
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d63557f6-cc54-6c3f-49dd-4f732dee58b0>