Summary: | [vt] panic in vtbuf_fill_locked from vt_upgrade with no vt(4) drivers attached | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Ed Maste <emaste> | ||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | dumbbell | ||||
Priority: | --- | Keywords: | vt | ||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193981 | ||||||
Attachments: |
|
Description
Ed Maste
2014-07-29 19:01:43 UTC
Created attachment 147965 [details]
vtterm_cnprobe: Only recompute term size if screen size != 0
I see that there's no vt(4) driver built into RPI-B kernel configuration, therefore, the screen size is unknown (and set to 0).
Could you please try the attached patch?
Oops, sorry, I added the patch to the wrong bug report... I meant to do this in 193981 :) A commit references this bug: Author: emaste Date: Fri Oct 17 13:55:46 UTC 2014 New revision: 273219 URL: https://svnweb.freebsd.org/changeset/base/273219 Log: Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 Reviewed by: ray MFC after: 3 days Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D954 Changes: head/sys/dev/vt/vt_core.c A commit references this bug: Author: emaste Date: Mon Oct 20 01:01:55 UTC 2014 New revision: 273296 URL: https://svnweb.freebsd.org/changeset/base/273296 Log: MFC r273219: Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 Changes: _U stable/10/ stable/10/sys/dev/vt/vt_core.c A commit references this bug: Author: emaste Date: Mon Oct 20 03:17:49 UTC 2014 New revision: 273300 URL: https://svnweb.freebsd.org/changeset/base/273300 Log: MFS10 r273296 (r273219 in HEAD): Do nothing in vt_upgrade if there is no vt driver Previously, if no drivers attached at boot we would panic with "vtbuf_fill_locked begin.tp_row 0 must be < screen height 0". PR: 192248 Approved by: re Changes: _U releng/10.1/ releng/10.1/sys/dev/vt/vt_core.c |