Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 08:53:32 -0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        Jeremie Le Hen <jlh@freebsd.org>, Ryan Stone <rysto32@gmail.com>,  FreeBSD Current <freebsd-current@freebsd.org>,  =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <dumbbell@freebsd.org>
Subject:   Re: Panic from vesa_configure()
Message-ID:  <CAJ-VmonGOs2f%2BrzciEcV=VuaNrZt0hqNePQx4LZDWu6BxuR9NQ@mail.gmail.com>
In-Reply-To: <201601070947.u079lWFk066644@slippy.cwsent.com>
References:  <jlh@FreeBSD.org> <CAGSa5y0QiKV9SgJYJ_mz3SnJGNjieHSvYP8nLjt9eWXo4RU6ww@mail.gmail.com> <201601070947.u079lWFk066644@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok,

So try adding this check:

vmbuf = x86bios_alloc(&offs, sizeof(*buf), M_WAITOK);
if (vmbuf == NULL) {
    printf("%s: x86bios_alloc failed!\n", __func__);
    goto fail;
}

... that call shouldn't be failing, but if it's truely failing on the
bcopy(), the only reason is because vmbuf is NULL.


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonGOs2f%2BrzciEcV=VuaNrZt0hqNePQx4LZDWu6BxuR9NQ>