Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot smartos hung on new server #275

Open
tozhu opened this issue Mar 26, 2020 · 2 comments
Open

boot smartos hung on new server #275

tozhu opened this issue Mar 26, 2020 · 2 comments

Comments

@tozhu
Copy link

tozhu commented Mar 26, 2020

we install smartos hung when booting it. when the system hung, then we fire nmi , and get following core dump

Warning - stack not written to the dump buffer
fffffffffbc13ed0 apix:apic_nmi_intr+83 ()
fffffffffbc13f00 unix:av_dispatch_nmivect+34 ()
fffffffffbc13f10 unix:nmiint+152 ()
fffffffffbc87a90 acpica:AcpiPsAppendArg+77 ()
fffffffffbc87af0 acpica:AcpiPsCreateOp+dd ()
fffffffffbc87b70 acpica:AcpiPsParseLoop+111 ()
fffffffffbc87bf0 acpica:AcpiPsParseAml+20b ()
fffffffffbc87c40 acpica:AcpiPsExecuteTable+125 ()
fffffffffbc87cd0 acpica:AcpiNsExecuteTable+170 ()
fffffffffbc87d20 acpica:AcpiNsParseTable+65 ()
fffffffffbc87d60 acpica:AcpiNsLoadTable+b2 ()
fffffffffbc87db0 acpica:AcpiTbLoadTable+53 ()
fffffffffbc87e30 acpica:AcpiExLoadTableOp+140 ()
fffffffffbc87ea0 acpica:AcpiExOpcode_6A_0T_1R+dc ()
fffffffffbc87f00 acpica:AcpiDsExecEndOp+169 ()
fffffffffbc87f80 acpica:AcpiPsParseLoop+259 ()
fffffffffbc88000 acpica:AcpiPsParseAml+20b ()
fffffffffbc88070 acpica:AcpiPsExecuteMethod+125 ()
fffffffffbc880e0 acpica:AcpiNsEvaluate+267 ()
fffffffffbc88160 acpica:AcpiEvaluateObject+148 ()
fffffffffbc88200 unix:cpu_acpi_write_pdc+cf ()
fffffffffbc88240 unix:cpupm_intel_init+b1 ()
fffffffffbc882a0 unix:cpupm_init+8a ()
fffffffffbc882b0 unix:post_startup+6e ()
fffffffffbc882f0 genunix:main+163 ()
fffffffffbc88300 unix:_locore_start+90 ()

skipping system dump - no dump device configured
rebooting...

when run kmdb to break it, and get following stack
::bp -Dn 1 -c '.+77::bp -c "0>dx;::cont" ; ::cont' acpica`AcpiPsAppendArg
moddebug/W 0xF0040000

[0]> ::stack
acpicaAcpiPsAppendArg+0x77(fffffdf22ca17cd0, fffffdf22ca17370) acpicaAcpiPsGetArguments+0xb9(fffffdf2044d4948, fffffdf1be201b3b, fffffdf22ca17cd0)
acpicaAcpiPsParseLoop+0x2d7(fffffdf2044d4948) acpicaAcpiPsParseAml+0x20b(fffffdf2044d4948)
acpicaAcpiPsExecuteTable+0x125(fffffdf22ca17eb0) acpicaAcpiNsExecuteTable+0x170(1, fffffffffbedc620)
acpicaAcpiNsParseTable+0x65(1, fffffffffbedc620) acpicaAcpiNsLoadTable+0xb2(1, fffffffffbedc620)
acpicaAcpiTbLoadNamespace+0x112() acpicaAcpiLoadTables+0x3d()
acpicaacpica_init+0x56() acpidevacpidev_initialize+0x105()
acpidevacpidev_boot_probe+0x6d(0) impl_bus_initialprobe+0x65() impl_setup_ddi+0xd4() create_devinfo_tree+0xbd() setup_ddi+0x13() startup_modules+0xf6() startup+0x55() main+0x3b() _locore_start+0x90() [0]> ::regs %rax = 0x0000000000000000 %r9 = 0xfffffdf2492ed870 %rbx = 0xfffffdf22ca17370 %r10 = 0xfffffffffb87603c bzero+0x18c %rcx = 0x0000000000000020 %r11 = 0x0000000000000000 %rdx = 0x0000000000000000 %r12 = 0xfffffdf22ca17cd0 %rsi = 0xfffffffff78e5fc0 acpicafunc.24191 %r13 = 0xfffffdf2044d4978
%rdi = 0x0000000000000081 %r14 = 0xfffffffffbc87db8 t0stack+0x49b8
%r8 = 0x0000000000000000 %r15 = 0xfffffdf1be201b3b

%rip = 0xfffffffff78bc097 acpica`AcpiPsAppendArg+0x77
%rbp = 0xfffffffffbc87d80
%rsp = 0xfffffffffbc87d60
%rflags = 0x00000082
id=0 vip=0 vif=0 ac=0 vm=0 rf=0 nt=0 iopl=0x0
status=<of,df,if,tf,SF,zf,af,pf,cf>

%cs = 0x0030 %ds = 0x0000 %es = 0x0000 %fs = 0x0000
%gs = 0x0000 %gsbase = 0xfffffffffbc4a000 %kgsbase = 0x200000000
%trapno = 0x3 %err = 0x0 %cr2 = 0x0 %cr3 = 0x1f800000
[0]>

https://acpica.org/downloads

@tozhu
Copy link
Author

tozhu commented Mar 26, 2020

the server is inspur, bios version is 2019/11/30, not sure if upgrade acpica to latest version? seems current used it released in 2018

@tozhu
Copy link
Author

tozhu commented Mar 26, 2020

acpica`AcpiPsAppendArg+0x77: testq %rax,%rax
WARNING: Can't get pciclass,060100 ranges property
WARNING: asy0: could not map UART registers @ 0
WARNING: Can't get pciclass,060100 ranges property
WARNING: asy0: could not map UART registers @ 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant