Hi,

On Sun, May 12, 2019 at 11:42:00PM -0700, Greg Steuck wrote:
> My snapshot installation routine[1] worked for May 11th snapshots and
> breaks on May 12. I have a reason to suspect fowl play by QEMU (running on
> Linux) because I can only trigger the error when the same instance that
> just finished the install then fails to reboot into a newly installed
> system. If I boot the image into a separate qemu instance, it boots
> just fine.
> [1]
> https://github.com/google/syzkaller/blob/master/tools/create-openbsd-gce-ci.sh
> 
> Here's the panic fragment in case it helps somebody to diagnose the issue.
> Because the whole script is running in expect(1) I can't easily get a more
> complete log
> extent_alloc_region: extent `ioport' (0x0 - 0xffff)
> extent_alloc_region: start 0x397d08e800000000, end 0x397d08e800000001
> panic: extent_alloc_region: region lies outside extent
> Stopped at      db_enter+0x10:  popq    %rbp
>     TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *     0      0      0     0x10000      0x200    0K swapper
> db_enter(10,ffffffff820078f0,282,8,ffffffff81939c80,ffffffff820078f0) at
> db_enter+0x10
> panic(ffffffff81acd0d7,ffffffff81acd0d7,397d08e800000000,ffffffff81d69140,397d08e800000001,2)
> at panic+0x128
> extent_alloc_region(ffffffff81d69140,397d08e800000000,2,10,3ced4451d34a019e,16)
> at extent_alloc_region+0x31b
> bus_space_map(ffffffff81c38c68,397d08e800000000,2,0,ffff800000021510,ffffffff81c38c68)
> at bus_space_map+0x96
> acpi_map_pmregs(ffff800000021400,ffff800000021400,b296f5ec31720e1a,ffff800022000850,ffff800000021400,ffff800000021478)
> at acpi_map_pmregs+0x222
> acpi_attach_common(ffff800000021400,f6850,8538a42a2600eff,ffff800000023180,ffffffff82007c58,ffffffff81d0d6b0)
> at acpi_attach_common+0x1b5
> config_attach(ffff800000023180,ffffffff81d09848,ffffffff82007c58,ffffffff816f9240,75168f425d9711b9,50)
> at config_attach+0x1ee
> bios_attach(ffff800000023100,ffff800000023180,ffffffff82007db8,ffff800000023100,e7cf2825b72b017d,ffff800000023100)
> at bios_attach+0x71d
> config_attach(ffff800000023100,ffffffff81d043a0,ffffffff82007db8,ffffffff815dd580,75168f425da54253,ffffffff82007db8)
> at config_attach+0x1ee
> mainbus_attach(0,ffff800000023100,0,0,7baefe45dce7d4a4,0) at
> mainbus_attach+0x8

Try the following fix by kettenis@ committed yesterday:

  https://marc.info/?l=openbsd-cvs&m=155767639531163&w=2

Reply via email to