Project

General

Profile

Bug #10594

zero-sized kmem_alloc() in acpica`used_res_io_mem

Added by John Levon about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2019-03-26
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

[0]> kmem_panic_zerosized/z 1
kmem_panic_zerosized:           0               =       0x1
[0]> :c
WARNING: Couldn't read ACPI SRAT table from BIOS. lgrp support will be limited to one group.

SunOS Release 5.11 Version joyent_20190227T133208Z 64-bit
Copyright (c) 2010-2019, Joyent Inc. All rights reserved.
DEBUG enabled

panic[cpu0]/thread=fffffffffbc550a0: attempted to kmem_alloc() size of 0

Warning - stack not written to the dump buffer
fffffffffbc94ec0 genunix:process_type+123fb6 ()
fffffffffbc94f00 genunix:kmem_zalloc+ed ()
fffffffffbc94f80 acpica:used_res_io_mem+48 ()
fffffffffbc94fd0 acpica:acpi_isa_device_enum+d9 ()
fffffffffbc95050 isa:isa_enumerate+de ()
fffffffffbc95070 unix:impl_bus_initialprobe+65 ()
fffffffffbc950a0 unix:impl_setup_ddi+dc ()
fffffffffbc950c0 genunix:create_devinfo_tree+cc ()
fffffffffbc950d0 genunix:setup_ddi+13 ()
fffffffffbc95160 unix:startup_modules+f6 ()
fffffffffbc95170 unix:startup+55 ()
fffffffffbc951b0 genunix:main+9b ()
fffffffffbc951c0 unix:_locore_start+90 ()

This happens when booting under KVM Linux (host is Ubuntu 18).

For some reason, this doesn't seem to actually make it into the log:

[0]> ::kmalog zerosized
[0]>

History

#1

Updated by John Levon about 1 year ago

See bug #10595 for the ::kmalog issue.

Also available in: Atom PDF