Bug 205665 - ACPI Error: No handler for Region [VRTC] - MSI GS75
Summary: ACPI Error: No handler for Region [VRTC] - MSI GS75
Status: CLOSED DOCUMENTED
Alias: None
Product: ACPI
Classification: Unclassified
Component: Other (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-26 20:03 UTC by ssergio-ll
Modified: 2022-06-21 07:57 UTC (History)
4 users (show)

See Also:
Kernel Version: 5.0.0-36-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
ACPI Dump of Razer Blade 15 Mid 2019 Base Model (1.68 MB, text/plain)
2020-01-01 18:11 UTC, vutung.ct
Details
install CMOS opregion handler for ACPI ROOT object (940 bytes, patch)
2020-01-03 04:00 UTC, Zhang Rui
Details | Diff
Full dmesg log after patch applying (74.66 KB, text/plain)
2020-01-03 13:14 UTC, vutung.ct
Details
acpidump of Razer Blade 15 Advanced Mid 2019 (1.68 MB, text/plain)
2020-04-30 13:40 UTC, Pedro Vanzella
Details
acpidump MSI GS75 (1.40 MB, text/plain)
2020-06-29 14:55 UTC, ssergio-ll
Details
debug patch to install RTC address space handler under EC object (827 bytes, patch)
2021-03-19 07:14 UTC, Zhang Rui
Details | Diff
ACPI DUMP (1.44 MB, text/plain)
2021-09-22 15:19 UTC, ssergio-ll
Details

Description ssergio-ll 2019-11-26 20:03:05 UTC
Hello. 

I have a laptop (MSI GS75). I get this messages of acpi error:

[12907.319109] ACPI Error: No handler for Region [VRTC] (00000000ae2137d8) [SystemCMOS] (20181213/evregion-132)        
                                                                                               
[12907.319123] ACPI Error: Region SystemCMOS (ID=5) has no handler (20181213/exfldio-265)

[12907.319140] No Local Variables are initialized for Method [_Q9A]

[12907.319144] No Arguments are initialized for method [_Q9A]

[12907.319148] ACPI Error: Method parse/execution failed \_SB.PCI0.LPCB.EC._Q9A, AE_NOT_EXIST (20181213/psparse-531)   



How can i fix it? Someone idea?  Thanks!
Comment 1 Zhang Rui 2019-12-29 04:02:09 UTC
please attach the acpidump output.

can you reproduce the problem with latest upstream kernel?
Comment 2 vutung.ct 2020-01-01 18:11:42 UTC
Created attachment 286555 [details]
ACPI Dump of Razer Blade 15 Mid 2019 Base Model

ACPI Dump of Razer Blade 15 Mid 2019 Base Model
Comment 3 Zhang Rui 2020-01-03 03:59:06 UTC
(In reply to ssergio-ll from comment #0)
> Hello. 
> 
> I have a laptop (MSI GS75). I get this messages of acpi error:
> 
> [12907.319109] ACPI Error: No handler for Region [VRTC] (00000000ae2137d8)
> [SystemCMOS] (20181213/evregion-132)        
>                                                                             
> 
> [12907.319123] ACPI Error: Region SystemCMOS (ID=5) has no handler
> (20181213/exfldio-265)

These two problems are caused by the buggy firmware, which defines the SystemCMOS operation region under EC object instead of the RTC device object.
Please try the patch attached later and see if it fixes this problem or not.

> 
> [12907.319140] No Local Variables are initialized for Method [_Q9A]
> 
> [12907.319144] No Arguments are initialized for method [_Q9A]
> 
> [12907.319148] ACPI Error: Method parse/execution failed
> \_SB.PCI0.LPCB.EC._Q9A, AE_NOT_EXIST (20181213/psparse-531)   
> 
Interesting, I didn't find _Q9A defined anywhere is your ACPI table. Please confirm if this still exists or not with the attached patch applied.
And please attach the full dmesg output after boot, with the patch applied.
Comment 4 Zhang Rui 2020-01-03 04:00:00 UTC
Created attachment 286597 [details]
install CMOS opregion handler for ACPI ROOT object
Comment 5 ssergio-ll 2020-01-03 08:59:39 UTC
(In reply to Zhang Rui from comment #4)
> Created attachment 286597 [details]
> install CMOS opregion handler for ACPI ROOT object

Sorry. 

How can i get "acpidump output" in terminal? 

I don't know apply your path. How can i do it?

How can i install CMOS opregion handler for ACPI ROOT object?

Thanks!
Comment 6 vutung.ct 2020-01-03 13:10:36 UTC
(In reply to Zhang Rui from comment #3)
> (In reply to ssergio-ll from comment #0)
> > Hello. 
> > 
> > I have a laptop (MSI GS75). I get this messages of acpi error:
> > 
> > [12907.319109] ACPI Error: No handler for Region [VRTC] (00000000ae2137d8)
> > [SystemCMOS] (20181213/evregion-132)        
> >                                                                             
> > 
> > [12907.319123] ACPI Error: Region SystemCMOS (ID=5) has no handler
> > (20181213/exfldio-265)
> 
> These two problems are caused by the buggy firmware, which defines the
> SystemCMOS operation region under EC object instead of the RTC device object.
> Please try the patch attached later and see if it fixes this problem or not.
> 
> > 
> > [12907.319140] No Local Variables are initialized for Method [_Q9A]
> > 
> > [12907.319144] No Arguments are initialized for method [_Q9A]
> > 
> > [12907.319148] ACPI Error: Method parse/execution failed
> > \_SB.PCI0.LPCB.EC._Q9A, AE_NOT_EXIST (20181213/psparse-531)   
> > 
> Interesting, I didn't find _Q9A defined anywhere is your ACPI table. Please
> confirm if this still exists or not with the attached patch applied.
> And please attach the full dmesg output after boot, with the patch applied.

Thank you for investigating it. The above acidump is from my laptop which is different from the original comment.
Comment 7 vutung.ct 2020-01-03 13:14:43 UTC
Created attachment 286603 [details]
Full dmesg log after patch applying

>[    0.324121] ACPI Error: No handler for Region [VRTC] (00000000b3f1e5ad)
>>[SystemCMOS] (20190703/evregion-132)
>[    0.324124] ACPI Error: Region SystemCMOS (ID=5) has no handler
>(20190703/exfldio-265)
>[    0.324128] No Local Variables are initialized for Method [RTEC]
>[    0.324129] No Arguments are initialized for method [RTEC]
>[    0.324130] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0.RTEC due to
>previous error (AE_NOT_EXIST) (20190703/psparse-531)
>[    0.324134] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._REG due to
>previous error (AE_NOT_EXIST) (20190703/psparse-531)

I think the issue is still there.
Comment 8 Pedro Vanzella 2020-04-30 13:40:45 UTC
Created attachment 288843 [details]
acpidump of Razer Blade 15 Advanced Mid 2019

I'm attaching the acpidump of the Blade 15 Advanced Mid 2019, which suffers from the same issue.
Comment 9 Zhang Rui 2020-06-29 11:02:03 UTC
I was lost in the information from multiple reporters.
vutung and Pedro, please file a new bug for each of your platform. Together with detailed description of the problem, your hardware info, acpidump output and full dmesg output after boot.
Comment 10 Zhang Rui 2020-06-29 11:02:59 UTC
@ssergio-II, please attach the acpidump output of your latpops.
Please confirm the problem still exists in the latest upstream kernel.
Comment 11 ssergio-ll 2020-06-29 14:55:07 UTC
Created attachment 289939 [details]
acpidump MSI GS75

(In reply to Zhang Rui from comment #10)
> @ssergio-II, please attach the acpidump output of your latpops.
> Please confirm the problem still exists in the latest upstream kernel.

Hello. I Attach my acpidump of my laptop.

I have now kernel 5.3.0-61-generic and i confirm that this is happing.
Comment 12 Zhang Rui 2021-03-19 07:14:20 UTC
Created attachment 295949 [details]
debug patch to install RTC address space handler under EC object

Please apply this patch on top of latest upstream kernel, and see if the problem still exists or not.
Comment 13 Zhang Rui 2021-06-03 03:12:08 UTC
Bug closed as there is no response from the bug reporter.
Please feel free to re-open it if the problem still exists in latest upstream kernel, with the debug patch in comment #12 applied.
Comment 14 ssergio-ll 2021-09-22 15:19:26 UTC
Created attachment 298917 [details]
ACPI DUMP


Hello.

Hello. I Attach my acpidump of my laptop. Yes, the problem still exists in lastest upstream kernel.

Thanks.
Comment 15 Dimitar Atanasov 2021-11-04 11:02:50 UTC
Confirm problem still exists in 5.15, Razer Blade Studio 2020
Comment 16 Zhang Rui 2021-12-15 06:06:18 UTC
(In reply to ssergio-ll from comment #14)
> Created attachment 298917 [details]
> ACPI DUMP
> 
> 
> Hello.
> 
> Hello. I Attach my acpidump of my laptop. Yes, the problem still exists in
> lastest upstream kernel.
> 
with or without the debug patch in comment #12?
Comment 17 Zhang Rui 2021-12-15 06:06:32 UTC
(In reply to Dimitar Atanasov from comment #15)
> Confirm problem still exists in 5.15, Razer Blade Studio 2020

with or without the debug patch in comment #12?
Comment 18 Dimitar Atanasov 2021-12-15 09:12:11 UTC
(In reply to Zhang Rui from comment #17)
> (In reply to Dimitar Atanasov from comment #15)
> > Confirm problem still exists in 5.15, Razer Blade Studio 2020
> 
> with or without the debug patch in comment #12?

with patch in comment #12
Comment 19 Zhang Rui 2022-06-21 02:37:54 UTC
Then please make sure
1. your kernel is built with CONFIG_ACPI_DEBUG=y, and with my debug patch in comment #12 applied.
2. boot kernel with kernel parameters acpi.debug_level=0xC0C acpi.debug_layer=0x4
3. attach the full dmesg output after boot.
Comment 20 Zhang Rui 2022-06-21 07:57:08 UTC
As described in https://bugzilla.kernel.org/show_bug.cgi?id=212131#c18,
"Main RTC of the system is detected as supposed with or without this patch. Just EC controller have it's own RTC which is not used at all but is described in ACPI entry. So in Razer laptops this patch solve nothing (even ACPI error is there) but breaks lid switch."

And this also apply to this machine.
The VRTC is just a dummy one.
The error messages are caused by the bogus firmware, and there is no functionality issue.

Bug closed.
Please feel free to reopen it if you found the RTC functionality issue on this model.

Note You need to log in before you can comment on or make changes to this bug.