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

[doc] The script in Sample Application Guide is not working #8448

Closed
jiaqingz-intel opened this issue Jul 10, 2023 · 1 comment
Closed

[doc] The script in Sample Application Guide is not working #8448

jiaqingz-intel opened this issue Jul 10, 2023 · 1 comment
Labels
status: new The issue status: new for creation

Comments

@jiaqingz-intel
Copy link
Contributor

jiaqingz-intel commented Jul 10, 2023

  1. Cannot install linux-modules-extra-$(uname -r) as it runs in chroot environment, uname reads host kernel version
  2. Need to install new kernel to support GVT-d on 13th Gen Intel Processors
  3. The documentation need to be updated about how to enable acrn-br0 for devicemodel.
@jiaqingz-intel jiaqingz-intel added the status: new The issue status: new for creation label Jul 10, 2023
jiaqingz-intel added a commit to jiaqingz-intel/acrn-hypervisor that referenced this issue Jul 10, 2023
The create_image.sh script uses qemu-img to create image files. Users
only need to install qemu-image in qemu-utils instead of the whole
qemu package.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
jiaqingz-intel added a commit to jiaqingz-intel/acrn-hypervisor that referenced this issue Jul 10, 2023
In chroot environment, the running kernel is the host kernel, so uname
command cannot get the kernel verison in image. Since hmi-vm uses
GVT-d, and kernel 5.15 does not support newer iGPUs in 13th Gen
processors, this patch installs the linux-generic-hwe kernel (5.19)
instead of linux-modules-extra package.

In Ubuntu 22.04, package needrestart is installed by default to
interactively prompt user there is a pending kernel upgrade or serivces
need to be restarted in apt. This patch removes it.

Also, this patch expands hmi-vm image by 2GB to hold the new kernel and
runs 'apt autoremove' after everything is installed.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
jiaqingz-intel added a commit to jiaqingz-intel/acrn-hypervisor that referenced this issue Jul 10, 2023
In chroot environment, the running kernel is the host kernel, so uname
command cannot get the kernel verison in image. Since hmi-vm uses
GVT-d, and kernel 5.15 does not support newer iGPUs in 13th Gen
processors, this patch installs the linux-generic-hwe kernel (5.19)
instead of linux-modules-extra package.

In Ubuntu 22.04, package needrestart is installed by default to
interactively prompt user there is a pending kernel upgrade or serivces
need to be restarted in apt. This patch removes it.

Also, this patch expands hmi-vm image by 2GB to hold the new kernel and
runs 'apt autoremove' after everything is installed.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
jiaqingz-intel added a commit to jiaqingz-intel/acrn-hypervisor that referenced this issue Jul 10, 2023
Launch script attaches guest network to bridge acrn-br0 by default,
while this bridge is not automatically created during installation.
This patch updates the documentation to guide users with the sample
bridge configuration in Getting Started Guide and Sample Application
Guide.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
acrnsi-robot pushed a commit that referenced this issue Jul 10, 2023
In chroot environment, the running kernel is the host kernel, so uname
command cannot get the kernel verison in image. Since hmi-vm uses
GVT-d, and kernel 5.15 does not support newer iGPUs in 13th Gen
processors, this patch installs the linux-generic-hwe kernel (5.19)
instead of linux-modules-extra package.

In Ubuntu 22.04, package needrestart is installed by default to
interactively prompt user there is a pending kernel upgrade or serivces
need to be restarted in apt. This patch removes it.

Also, this patch expands hmi-vm image by 2GB to hold the new kernel and
runs 'apt autoremove' after everything is installed.

Tracked-On: #8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
acrnsi-robot pushed a commit that referenced this issue Jul 10, 2023
In chroot environment, the running kernel is the host kernel, so uname
command cannot get the kernel verison in image. Since hmi-vm uses
GVT-d, and kernel 5.15 does not support newer iGPUs in 13th Gen
processors, this patch installs the linux-generic-hwe kernel (5.19)
instead of linux-modules-extra package.

In Ubuntu 22.04, package needrestart is installed by default to
interactively prompt user there is a pending kernel upgrade or serivces
need to be restarted in apt. This patch removes it.

Also, this patch expands hmi-vm image by 2GB to hold the new kernel and
runs 'apt autoremove' after everything is installed.

Tracked-On: #8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
@jiaqingz-intel
Copy link
Contributor Author

Fix merged

dbkinder pushed a commit that referenced this issue Aug 3, 2023
Launch script attaches guest network to bridge acrn-br0 by default,
while this bridge is not automatically created during installation.
This patch updates the documentation to guide users with the sample
bridge configuration in Getting Started Guide and Sample Application
Guide.

Tracked-On: #8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
dbkinder pushed a commit that referenced this issue Aug 3, 2023
The create_image.sh script uses qemu-img to create image files. Users
only need to install qemu-image in qemu-utils instead of the whole
qemu package.

Tracked-On: #8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
izhouwu pushed a commit to izhouwu/acrn-hypervisor that referenced this issue Jan 19, 2024
Launch script attaches guest network to bridge acrn-br0 by default,
while this bridge is not automatically created during installation.
This patch updates the documentation to guide users with the sample
bridge configuration in Getting Started Guide and Sample Application
Guide.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
izhouwu pushed a commit to izhouwu/acrn-hypervisor that referenced this issue Jan 19, 2024
The create_image.sh script uses qemu-img to create image files. Users
only need to install qemu-image in qemu-utils instead of the whole
qemu package.

Tracked-On: projectacrn#8448
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.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

1 participant