Bug 1531140
Summary: | no console output with acpi on mustang (Warning: unable to open an initial console.) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Whalen <pwhalen> | ||||
Component: | kernel | Assignee: | Peter Robinson <pbrobinson> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | airlied, awilliam, bskeggs, ewk, hdegoede, ichavero, isubramanian, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, msalter, pbrobinson, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | aarch64 | ||||||
OS: | Linux | ||||||
Whiteboard: | AcceptedFreezeException | ||||||
Fixed In Version: | kernel-4.16.3-301.fc28 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-04-25 00:05:01 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 245418, 1469207 | ||||||
Attachments: |
|
Description
Paul Whalen
2018-01-04 16:23:18 UTC
Created attachment 1377020 [details]
Mustang boot with acpi
I think this is a firmware bug uncovered by commit e361d1f85855ded967bd48 ("ACPI / scan: Fix enumeration for special UART devices"). That patch changed ACPI scanning to stop enumerating devices which are attached to serial busses (i2c, uart, etc). Unfortunately, some firmwares for xgene-based platforms describe their uart devices in such a way that they appear to be attached devices rather than uarts. On my mustang, I see this in the DSDT table: Device (URT0) { Name (_HID, "APMC0D08") // _HID: Hardware ID Name (_DDN, "URT0") // _DDN: DOS Device Name Name (_UID, "URT0") // _UID: Unique ID Name (_CCA, One) // _CCA: Cache Coherency Attribute Name (_STR, Unicode ("APM X-Gene UART0 Controller")) ... Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { Memory32Fixed (ReadWrite, 0x1C020000, // Address Base 0x00000100, // Address Length ) UartSerialBusV2 (0x0001C200, DataBitsEight, StopBitsOne, 0x00, LittleEndian, ParityTypeNone, FlowControlNone, 0x0010, 0x0010, "URT0", 0x00, ResourceConsumer, , Exclusive, ) Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) { 0x0000006C, } }) The UartSerialBusV2 resource tells the kernel that the uart controller is attached to a serial bus. The end result is that the kernel acpi doesn't register the uart. The proper solution is to remove the bogus UartSerialBusV2 resource(s) from the DSDT table. Iyappan: can you provide any assistance around firmware? Mark: is the fix to revert the change or is there another patch? From kernel-side, revert is only thing right now. I started working on a patch to add a quirks list to the code so we can avoid the problem without having to revert the whole patch. But I got distracted (and was hoping for a firmware fix). I'll take another poke at it this evening. Let's see how this goes: https://lkml.org/lkml/2018/4/19/1020 Fixed pushed to rawhide (will be in 4.17rc2 build) and the next 4.16 build post 4.16.3-300 Proposed as a Freeze Exception for 28-final by Fedora user pbrobinson using the blocker tracking app because: This fixes a console regression on X-Gene plaforms booting ACPI like the HP m400 blades (for use on OpenQA) and the mustang. Tested on mustang with acpi=force Discussed at 2018-04-23 freeze exception review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2018-04-23/f28-blocker-review.2018-04-23-16.00.html . Accepted as a freeze exception issue: this can be a major issue during install on a significant supported platform, cannot be fully fixed with a post-release update. kernel-4.16.3-301.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b921ff4b1e kernel-4.16.3-301.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |