Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2014 19:03:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-xen@FreeBSD.org
Subject:   [Bug 195537] [xen] vt console somehow causes failures to boot and disk errors
Message-ID:  <bug-195537-23905-mMg9rMBzsP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195537-23905@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195537-23905@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195537

Roger Pau Monn=C3=83=C2=A9 <royger@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-xen@FreeBSD.org     |royger@freebsd.org

--- Comment #1 from Roger Pau Monn=C3=83=C2=A9 <royger@freebsd.org> ---
Created attachment 150078
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D150078&action=
=3Dedit
Make vt_vga reserve the memory it uses

Yes, I'm aware of the issue. It comes from the fact that FreeBSD/Xen uses t=
he
holes in the memory map to map the grant table, foreign memory from other
domains, &c.

The problem is that the vt_vga driver doesn't reserve the memory region it
uses, so Xen will happily use it for it's ends, this as you already realized
ends up very badly.

I'm attaching a crappy patch that solves this by making vt_vga register the
memory it uses, but the patch is incomplete:

 * It unconditionally reserves the memory, even if vt_vga is not used.
 * I've not checked if other vt_* drivers have the same issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195537-23905-mMg9rMBzsP>