https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239182

            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: b...@freebsd.org
          Reporter: d8zne...@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  
[0]# acpidb /tmp/dsdt
Input file /tmp/dsdt, Length 0x105F6 (67062) bytes

- 
- 
------------------------------------------------------------------

- 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

- 
- 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

- 
- 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]# 
------------------------------------------------------------------

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 ready
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to