NetBSD Problem Report #45496
From reed@reedmedia.net Wed Oct 19 13:04:00 2011
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 1907363B955
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Oct 2011 13:04:00 +0000 (UTC)
Message-Id: <17244-1319029438@reedmedia.net>
Date: Wed, 19 Oct 2011 08:03:59 -0500
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.NetBSD.org
Subject: vbetool fails after kernel upgrade and screen off when re-opened
X-Send-Pr-Version: 3.95
>Number: 45496
>Category: kern
>Synopsis: vbetool fails after kernel upgrade and screen off when re-opened
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 19 13:05:00 +0000 2011
>Last-Modified: Wed Oct 19 23:25:01 +0000 2011
>Originator: reed@reedmedia.net
>Release: NetBSD 5.99.56
>Organization:
Jeremy C. Reed
>Environment:
System: NetBSD new-host 5.99.56 NetBSD 5.99.56 (MONOLITHIC) #0: Sat Oct 8 21:02:54 UTC 2011 builds@b6.netbsd.org:/home/builds/ab/HEAD/i386/201110081430Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
Running recent -current on i386 and now when I close my laptop
lid, the screen stays off when I open it back up. While in X.
My workaround is to press ctrl-alt-F1, wait a moment and screen
wakes up, and then press ctrl-alt-f5.
It happens every time. (I originally thought it was random, but one hinge
is broken so when I close my laptop lid sometimes the lid switch
is not pressed.)
My first terminal says every time:
/etc/powerd/scripts/lid_switch exited with status 1
I have
$NetBSD: lid_switch,v 1.5 2008/06/20 02:38:00 jmcneill Exp $
my customization is:
released)
/usr/pkg/sbin/vbetool dpms on
I have been using for over two years.
So now I see
$ sudo /usr/pkg/sbin/vbetool dpms on
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
This is vbetool-0.7-1nb1
I didn't try rebuilding/reinstalling vbetool as I don't think
NetBSD kernel upgrade should break my system.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Jared McNeill <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/45496: vbetool fails after kernel upgrade and screen off
when re-opened
Date: Wed, 19 Oct 2011 19:23:54 -0400 (EDT)
Make sure that the vm.user_va0_disable sysctl is set to 0.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.