Date: Sat, 13 Jul 2019 09:49:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239182] acpidb issues Message-ID: <bug-239182-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239182 Bug ID: 239182 Summary: acpidb issues Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - Laptop Lenovo W520 (ca. 2011) - Trying to use and learn /usr/sbin/acpidb Results when executing the following commands (the three sections show the display at various stage of execution): - Initial double prompt: ------------------------------------------------------------------ [0]# acpidump -o /tmp/dsdt=20=20 [0]# acpidb /tmp/dsdt Input file /tmp/dsdt, Length 0x105F6 (67062) bytes -=20 -=20 ------------------------------------------------------------------ - First character eaten & command ignored, second command ignored entirely, third command accepted, thereafter the prompt is missing: ------------------------------------------------------------------ [0]# acpidb /tmp/dsdt Input file /tmp/dsdt, Length 0x105F6 (67062) bytes -=20 - Methods ETHODS: unknown command - Methods - Methods Objects of type [Method] defined in the current ACPI Namespace: \_OSI Method 0x8006ea5f0 00 Args 1 Len 0000 Aml 0x0 Found 2 objects of type [Method] in the current ACPI Namespace ------------------------------------------------------------------ - Evaluating the \OSI method crashes the program: ------------------------------------------------------------------ [0]# acpidb /tmp/dsdt Input file /tmp/dsdt, Length 0x105F6 (67062) bytes -=20 - Methods ETHODS: unknown command - Methods - Methods Objects of type [Method] defined in the current ACPI Namespace: \_OSI Method 0x8006ea5f0 00 Args 1 Len 0000 Aml 0x0 Found 2 objects of type [Method] in the current ACPI Namespace - Evaluate \_OSI "FreeBSD" Evaluating \_OSI zsh: segmentation fault (core dumped) acpidb /tmp/dsdt [139]# \rm acpidb.core [0]#=20 ------------------------------------------------------------------ Expected results: - The command starts with two consecutive prompts. Expected would be one. - Starting the command seems to eat the first character input. This should = not happen. - The prompting is strange: The prompt appears after entering the first character. Expected is that the prompt is displayed when the debugger is re= ady to accept another command. - Executing the \_OSI method crashes the program. Question: - Why do I not see any other methods? - How could I execute the other methods shown in "acpidump -dt"? -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239182-227>