Bug 262568 - boot hangs on acpi_dock0
Summary: boot hangs on acpi_dock0
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 10:55 UTC by Enrico Paradiso
Modified: 2022-11-08 00:54 UTC (History)
2 users (show)

See Also:


Attachments
Remove _EJ0 call (357 bytes, patch)
2022-09-27 20:19 UTC, Marcin Cieślak
no flags Details | Diff
VGN-Z21WN DSDT dump (404.26 KB, text/plain)
2022-09-27 20:22 UTC, Marcin Cieślak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Paradiso 2022-03-15 10:55:15 UTC
On my old       sony Vaio VGN-FE11H any freebsd iso (13.1-RELEASE, 12.3-STABLE) hangs at boot on acpi_dock0= station0.
No matter if I disable acpi e/o launch in safe mode.
Anybody could help me?
Thanks
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2022-03-24 17:24:35 UTC
Try booting with verbose mode, and show the last few lines that appear in the console before the hang.
Comment 2 Enrico Paradiso 2022-03-25 10:55:57 UTC
hdaa0 :Pin sense :nid =14 sense =0x00000000 (disconnected)
Pcm2 :Recording Channel set is :Front Left, Front Right,
Pcm2 :Recording Channel matrix is :2.0 (disconnected)

Last Lines after booting verbose and acpi on
Comment 3 Marcin Cieślak 2022-09-27 11:18:04 UTC
I got the same on a fresh 14.0-CURRENT main-9a7c520a781

Pressing ^C causes the message

ACPI Error: Aborting method method \_SB.DOCK.EJ0 due to previous error (AE_ERROR) (20220331/psparse-689)

I didn't have this before on 14.0-CURRENT eb45bc6829157 but I am pretty sure I didn't load acpi_dock manually before. Now it autoloads.

This is also a VAIO, VGN-Z31VN
Comment 4 Marcin Cieślak 2022-09-27 20:19:50 UTC
Created attachment 236887 [details]
Remove _EJ0 call

Patch attached (for -CURRENT) removing acpi_SetInteger(handle, "_EJ0", 0) call
fixes this for me, probably not the "right" fix.
Comment 5 Marcin Cieślak 2022-09-27 20:22:49 UTC
Created attachment 236888 [details]
VGN-Z21WN DSDT dump

Apprently _EJ0 waits for undock to complete:

           Method (_EJ0, 1, NotSerialized)  // _EJx: Eject Device
            {
                UDKR = One
                Wait (UDKE, 0xFFFF)
                Reset (UDKE)
                Notify (^^PCI0.EXP4, Zero) // Bus Check
            }

On my system, this returns only after I remove the machine from the dock.

Full DSDT attached.
Comment 6 Marcin Cieślak 2022-11-08 00:54:24 UTC
(In reply to Marcin Cieślak from comment #4)

I am sorry, this patch does not work. I get a hang every time I boot outside of the dock. (Waiting can be interrupted with Ctrl-C)