Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCT tool will generate large memory fragment after SCT completion and clicking Test Report Generator. (Bugzilla Bug 4500) #232

Open
tianocore-issues opened this issue Jul 13, 2023 · 7 comments

Comments

@tianocore-issues
Copy link

This issue was created automatically with bugzilla2github

Bugzilla Bug 4500

Date: 2023-07-13T22:15:50+00:00
From: zhouyf12
To: unassigned <>
CC: edhaya.chandran

Last updated: 2024-09-05T10:19:07+00:00

@tianocore-issues
Copy link
Author

Comment 21714

Date: 2023-07-13 22:15:50 +0000
From: zhouyf12

  • Industry Specification: ---
  • Release Observed: EDK II Master
  • Releases to Fix: EDK II Master
  • Target OS: ---
  • Bugzilla Assignee(s): unassigned <>

Created attachment 1382
memory map before generating report

When we complete SCT and then click "Test Report Generator" to generate report, system will generate large memory fragment which will prevent system from boot to Windows directly with the behavior above

Attachment: BZ-1382-memory map before generating report.txt

@tianocore-issues
Copy link
Author

Comment 21715

Date: 2023-07-13 22:16:08 +0000
From: zhouyf12

Created attachment 1383
memory map after generating report.txt

Attachment: BZ-1383-memory map after generating report.txt.txt

@tianocore-issues
Copy link
Author

Comment 22519

Date: 2024-02-04 13:56:02 +0000
From: Edhay <<edhaya.chandran>>

Hi Zhou,

Thank you for reporting this issue.

A comment:
While using the SCT as part of the Arm SystemReady ACS, we had encountered a similar issue. After SCT run, booting Linux failed.
We added a reset after the SCT run to avoid any impact the SCT execution.

SCT is a complex suite, and it exercise memory map throughout its execution (not only while generating report). This issue may be complex to analyze and solve. It was not pursued further then.

Do you have any real use-case to boot Windows soon after SCT?
Can a reset of the system not be done, prior to Windows boot?

@tianocore-issues
Copy link
Author

Comment 22523

Date: 2024-02-04 22:06:40 +0000
From: zhouyf12

Hi Edhay,

If we do not generate report for SCT, the system could boot into Windows soon as normal.
For the issue I describe, I think that the generated memory fragment is too much which can not meet the requirement of OS boot.

@tianocore-issues
Copy link
Author

Comment 22748

Date: 2024-03-07 09:28:12 +0000
From: Edhay <<edhaya.chandran>>

Hi Zhou,

How does this process prevent the windows from booting? Is an exception generated?

From your results its clear that Generate Test Results is causing the OS boot to fail.
Could you further debug and provide a patch?

@tianocore-issues
Copy link
Author

Comment 22750

Date: 2024-03-08 00:47:33 +0000
From: zhouyf12

Hi Edhay,

I think it is the issue of SCT tool and I do not have any solution about that.
We need relevant owner of SCT to take a look.

@tianocore-issues
Copy link
Author

Comment 23380

Date: 2024-09-05 10:19:07 +0000
From: Edhay <<edhaya.chandran>>

Update on 5th Sept 2024

Lenovo has coding standards to uncover similar issues (allocateBuffer and freeBuffer).
They will check internally if they can give the effort to take up this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant