Bug 248097 - [mfi] panic at boot time in mfi_attach
Summary: [mfi] panic at boot time in mfi_attach
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 12:18 UTC by wmliang.tw
Modified: 2020-07-19 19:39 UTC (History)
0 users

See Also:


Attachments
panic screen shot (417.04 KB, image/png)
2020-07-19 12:18 UTC, wmliang.tw
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description wmliang.tw 2020-07-19 12:18:33 UTC
Created attachment 216570 [details]
panic screen shot

when i use qemu + megasas device, it panic at boot time

reproduce environment
ubuntu 18.04.3 LTS amd64 desktop

reproduce method
apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
qemu-system-x86_64 -cdrom FreeBSD-12.1-RELEASE-amd64-bootonly.iso -device megasas

ps. if this is not a security case, please move to 'base system', just in case

panic: page fault
cpuid = 9
time = 1
KDB: stack backtrace:
#0 0xffffffff80c1d297 at kdb_backtrace+0x67
#1 0xffffffff80bd05cd at vpanic+0x19d
#2 0xffffffff80bd0423 at panic+0x43
#3 0xffffffff810a7d2c at trap_fatal+0x39c
#4 0xffffffff810a7d79 at trap_fatal+0x39c
#5 0xffffffff810a736f at trap+0x29f
#6 0xffffffff81081a0c at calltrap+0x8
#7 0xffffffff806c57f5 at mfi_attach+0x1195
#8 0xffffffff806cc830 at mfi_pci_attach+0x2f0
#9 0xffffffff80c0c121 at device_attach+0x3e1
#10 0xffffffff80c0d3ec at bus_generic_attach+0x5c
#11 0xffffffff80825ca5 at pci_attach+0xd5
#12 0xffffffff80c0c121 at device_attach+0x3e1
#13 0xffffffff80c0d3ec at bus_generic_attach+0x5c
#14 0xffffffff810b1120 at acpi_pcib_acpi_attach+0x440
#15 0xffffffff80c0c121 at device_attach+0x3e1
#16 0xffffffff80c0d3ec at bus_generic_attach+0x5c
#17 0xffffffff8047f141 at acpi_attach+0xd81
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort
Comment 1 Gordon Tetlow freebsd_committer freebsd_triage 2020-07-19 19:38:42 UTC
This is not a security issue that would be addressed by Secteam. Reassigning to default assignee for triage.
Comment 2 Gordon Tetlow freebsd_committer freebsd_triage 2020-07-19 19:39:48 UTC
Let me try that again. This appears to be a base system issue.