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

[Deb]Some kernel cmdline update is missing in board_inspector.deb #8262

Open
NanlinXie opened this issue Oct 26, 2022 · 1 comment
Open

[Deb]Some kernel cmdline update is missing in board_inspector.deb #8262

NanlinXie opened this issue Oct 26, 2022 · 1 comment
Labels
status: new The issue status: new for creation

Comments

@NanlinXie
Copy link
Contributor

NanlinXie commented Oct 26, 2022

Description:
Following kernel cmdline should be added when generate the board.xml:
iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable

Step:
apt install the board_inspector.deb and reboot

Expect result
iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable should be included in
cat /proc/cmdline

Actual result:
iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable aren't included in
cat /proc/cmdline

@NanlinXie NanlinXie added the status: new The issue status: new for creation label Oct 26, 2022
@szhen11
Copy link
Contributor

szhen11 commented Oct 26, 2022

[External_System_ID] ACRN-9442

@NanlinXie NanlinXie changed the title Some kernel cmdline update is missing in board_inspector.deb [Deb]Some kernel cmdline update is missing in board_inspector.deb Oct 28, 2022
tttech-industrial-buchsbaum added a commit to tttech-industrial-buchsbaum/acrn-hypervisor that referenced this issue Nov 10, 2022
The python3-acrn-board-inspector's dependency on python3-tqdm is not detected by
automatically. Add it manually.

Tracked-On: projectacrn#8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
tttech-industrial-buchsbaum added a commit to tttech-industrial-buchsbaum/acrn-hypervisor that referenced this issue Nov 10, 2022
Installing python3-acrn-board-inspector should add a separate grub
menu entry (which is also set as default) to ensure the kernel is
parameterized correctly for the use with ACRN board inspector.
So, rebooting after install will ensure the ACRN board inspector
can run within the required environment. Deinstallation completely
removes the this temporyr entry again.

Remark: the required GRUB configuration files are linked to
/var/lib/acrn-board-inspector (handled in maintainer scripts) to keep
Debian packaging from adding them as conffiles, which would not remove
the on 'apt remove' according to
https://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles

Tracked-On: projectacrn#8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
szhen11 added a commit to szhen11/acrn-hypervisor that referenced this issue Nov 11, 2022
update the debian/debian_build.sh script to let the gbp dch to get
the email address for debian/changlog from one of the 3 ways with
priority from high to low: using environment variable 'EMAIL' or
'DEBEMAIL' if existed(this is actually gbp dch required), user.email
in git config if existed(set user.email to environment variable
'EMAIL' or 'DEBEMAIL' for gbp dch), or using a dummy address
"projectacrn@gmail.com".

Tracked-On: projectacrn#8262
Signed-off-by: szhen11 <shuang.zheng@intel.com>
acrnsi-robot pushed a commit that referenced this issue Nov 14, 2022
update the debian/debian_build.sh script to let the gbp dch to get
the email address for debian/changlog from one of the 3 ways with
priority from high to low: using environment variable 'EMAIL' or
'DEBEMAIL' if existed(this is actually gbp dch required), user.email
in git config if existed(set user.email to environment variable
'EMAIL' or 'DEBEMAIL' for gbp dch), or using a dummy address
"projectacrn@gmail.com".

Tracked-On: #8262
Signed-off-by: szhen11 <shuang.zheng@intel.com>
tttech-industrial-buchsbaum added a commit to tttech-industrial-buchsbaum/acrn-hypervisor that referenced this issue Nov 14, 2022
Remove debian/grub/acrn-board-inspector.cfg to force the respective boot
entry an next boot.

Tracked-On: projectacrn#8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
szhen11 added a commit to szhen11/acrn-hypervisor that referenced this issue Nov 16, 2022
ignore debuild intermediate files in .gitignore to avoid
these files pollute acrn-hypervisor repo when using debuild
to build acrn.

Tracked-On: projectacrn#8262
Signed-off-by: szhen11 <shuang.zheng@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
acrnsi-robot pushed a commit that referenced this issue Nov 16, 2022
ignore debuild intermediate files in .gitignore to avoid
these files pollute acrn-hypervisor repo when using debuild
to build acrn.

Tracked-On: #8262
Signed-off-by: szhen11 <shuang.zheng@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
NanlinXie pushed a commit to NanlinXie/acrn-hypervisor-1 that referenced this issue Nov 17, 2022
update the debian/debian_build.sh script to let the gbp dch to get
the email address for debian/changlog from one of the 3 ways with
priority from high to low: using environment variable 'EMAIL' or
'DEBEMAIL' if existed(this is actually gbp dch required), user.email
in git config if existed(set user.email to environment variable
'EMAIL' or 'DEBEMAIL' for gbp dch), or using a dummy address
"projectacrn@gmail.com".

Tracked-On: projectacrn#8262
Signed-off-by: szhen11 <shuang.zheng@intel.com>
tttech-industrial-buchsbaum added a commit to tttech-industrial-buchsbaum/acrn-hypervisor that referenced this issue Nov 17, 2022
The python3-acrn-board-inspector's dependency on python3-tqdm is not detected by
automatically. Add it manually.

Tracked-On: projectacrn#8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
tttech-industrial-buchsbaum added a commit to tttech-industrial-buchsbaum/acrn-hypervisor that referenced this issue Nov 17, 2022
Installing python3-acrn-board-inspector should add a separate grub
menu entry (which is also set as default) to ensure the kernel is
parameterized correctly for the use with ACRN board inspector.
So, rebooting after install will ensure the ACRN board inspector
can run within the required environment. Deinstallation completely
removes the this temporyr entry again.

Remark: the required GRUB configuration files are linked to
/var/lib/acrn-board-inspector (handled in maintainer scripts) to keep
Debian packaging from adding them as conffiles, which would not remove
the on 'apt remove' according to
https://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles

Tracked-On: projectacrn#8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
acrnsi-robot pushed a commit that referenced this issue Nov 18, 2022
The python3-acrn-board-inspector's dependency on python3-tqdm is not detected by
automatically. Add it manually.

Tracked-On: #8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
acrnsi-robot pushed a commit that referenced this issue Nov 18, 2022
Installing python3-acrn-board-inspector should add a separate grub
menu entry (which is also set as default) to ensure the kernel is
parameterized correctly for the use with ACRN board inspector.
So, rebooting after install will ensure the ACRN board inspector
can run within the required environment. Deinstallation completely
removes the this temporyr entry again.

Remark: the required GRUB configuration files are linked to
/var/lib/acrn-board-inspector (handled in maintainer scripts) to keep
Debian packaging from adding them as conffiles, which would not remove
the on 'apt remove' according to
https://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles

Tracked-On: #8262
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new The issue status: new for creation
Projects
None yet
Development

No branches or pull requests

2 participants