Skip to content

bus_error during startup guest kernel #5503

@huang-jl

Description

@huang-jl

Describe the bug

During guest kernel startup (after sending InstanceStart to firecracker), the firecracker log will contains the following message:

[anonymous-instance:fc_vcpu 0:WARN:src/vmm/src/arch/x86_64/vcpu.rs:725] vcpu: IO write @ 0xcf8:0x4 failed: bus_error: MissingAddressRange
[anonymous-instance:fc_vcpu 0:WARN:src/vmm/src/arch/x86_64/vcpu.rs:715] vcpu: IO read @ 0xcfc:0x2 failed: bus_error: MissingAddressRange
[anonymous-instance:fc_vcpu 0:WARN:src/vmm/src/arch/x86_64/vcpu.rs:715] vcpu: IO read @ 0x87:0x1 failed: bus_error: MissingAddressRange

To Reproduce

I just follow the get-started, except I run firecracker as follows (i.e., I do not enable pci):

sudo ./firecracker --api-sock "${API_SOCKET}"

Actually, the firecracker just warn!() that error, instead of panic, and the guest was successfully booted and enter the userspace. However, this error message is shown in the firecracker log, I wonder is there something wrong, or it is the expect behaviour when kernel boot up?

Expected behaviour

There should be no such message, which seems to be an error for users.

Environment

  • Firecracker version: v.1.13.1
  • Host and guest kernel versions: Host is ubuntu 6.8.0-83-generic, guest is 6.1.141 as in get-started
  • Rootfs used: As in the get-started
  • Architecture: x86_64

Checks

  • Have you searched the Firecracker Issues database for similar problems?
  • Have you read the existing relevant Firecracker documentation?
  • Are you certain the bug being reported is a Firecracker issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions