From owner-freebsd-questions@freebsd.org Fri Apr 21 15:26:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3636AD48D6A for ; Fri, 21 Apr 2017 15:26:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 036151515 for ; Fri, 21 Apr 2017 15:26:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x229.google.com with SMTP id p80so4371414iop.3 for ; Fri, 21 Apr 2017 08:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=J+6Emh4/bEiMglhwfk9ZHsGqCI6QobGwTa5zZqLrEHY=; b=gPZ/gqniO4Tj7ZdsXbT+8sloX9hcBSF+SqoHXsE+9EYnKJ5YdPNGScoltBRREVxOYX ZjyK+wrghKFSJ6GR+kVS0OKNIBuaJ5YxhDillGlk4msujo/Px7mp6CLUa5mqq4UkBbhS oMzRU7C4vi25CMbW6KFFemYL3SX+QPCBTL0OHq+bvz2E0Si7z6NMCxYGzdvY34NoEN9y zbxKrszaDcyrF+t7b5u8VIsGYeYW8qQj0yIjTmr32C4nIijNK0ni5X7zTjiFYnncXQgc kGGiHNnV/qsfZLFDgWdMI5wqrVxMO7ik5bzQBRJ7aa5I83m0MggGJZFjXMLPmRwnkSjg N/mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=J+6Emh4/bEiMglhwfk9ZHsGqCI6QobGwTa5zZqLrEHY=; b=Ts2VRmhmzls6gmaYbwcOT+u8WRsWCtjjR2cjsUZVIlaIggoKdtNTSaFUw6Nbf4NIw7 NVRe4ryN6yfRMljINWKxbNlRenb5gVhFR5gdiQgjjKBV7WR6yC1jxkH/8B237qW7DZU+ EEf5nZox88Mr5vNFo5zvvflU89q6p4T0JTj1eRwiNvUY9E08AWf6pYyHwCVmqUMftFX4 +7vxJWgW/CMhwaxWt4GoU39YowFoEzAUBeI101kb+hoB644JKfuqT4phLef0Ik61gjK+ iqx426Sumub+LDGfgRthFyOdKuZzgZDoYroc+rA6rHMeyhU/k1tOSzkcuIlCkIkF9HgG iu8Q== X-Gm-Message-State: AN3rC/6lElDFOEeLRfJ01sRh40ES6gsJee8TsRYmocs18FspSLEqE7vo Cae5mOHt1qHn2Pgj X-Received: by 10.107.12.167 with SMTP id 39mr17251268iom.28.1492788354128; Fri, 21 Apr 2017 08:25:54 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-57.neo.res.rr.com. [74.141.88.57]) by smtp.googlemail.com with ESMTPSA id h42sm4224465ioi.16.2017.04.21.08.25.53 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Apr 2017 08:25:53 -0700 (PDT) Message-ID: <58FA248A.9020707@gmail.com> Date: Fri, 21 Apr 2017 11:26:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Manish Jain CC: "freebsd-questions@freebsd.org" Subject: Re: Saver not running References: <58F8CAB1.4070707@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 15:26:59 -0000 Manish Jain wrote: > > > On Thu, Apr 20, 2017 at 8:20 PM, Ernie Luzar wrote: >> Manish Jain wrote: >> >> Hi, I am facing a strange problem under my FreeBSD 12-CURRENT >> installation atop cloned/migrated ZFS. Beastie is not running : I >> do not remember Beastie having run even once since ZFS migration a >> week back (100% sure) and quite possibly, ever since the original >> installation was made a month back on a UFS slice (99% sure). >> Beastie is enabled in rc.conf as well as kldloaded : /home/unix # >> cat /etc/rc.conf | egrep '(beastie|saver)' saver="beastie" >> /home/unix # kldstat | egrep '(beastie|saver)' 16 1 >> 0xffffffff828fa000 2fd5 beastie_saver.ko But the saviour does not >> run, even when the console is inactive for hours. >> /var/log/messages does not indicate any problem. This is as much a >> piquant problem as a personal tragedy. Over the last month, I have >> seen and felt increasing dissociation/disenchantment in my cat. >> Tinkerbell, who used to purr and curdle up next to me so much, has >> now started keeping away, sometimes even glaring in disgust at me. >> She does not even consume her dose of catnip. I request advice on >> how to fix things. I also request a word of consolation for my >> cat. Thank you. Manish Jain >> >> If I remember correctly, the saver function is one of the functions >> in-operative in host console vt mode which is the default. Try adding >> this statement kern.vty=sc to /boot/loader.conf file and reboot the >> system. > > > Hi Ernie, > > Thanks a lot. That does fix the saver problem : -) but then also > creates a new one : - ( > > Early on in the boot process, I get : > > WARNING: WITNESS option enabled, expect reduced performance. > > Since I am not a performance freak, I let things on. But then when I do > startx, I get : > > scfb trace: probe start > scfb trace: probe done > (EE) > Fatal server error: > (EE) Cannot run in framebuffer mode. Please specify busIDs for all > framebuffer devices. > > Commenting out the line kern.vty=sc in /boot/loader.conf fixes both > problems, but then reverts to the absence of beastie. > > Thanks for the tip. If you/anyone can tell me how to get beastie without > disabling Xorg, that shall probably be ideal. > > Regards > Manish Jain > Console screen driver; "man sc" kern.vty=sc has been the OS default master command line display screen driver since FreeBSD 1.0. The screen savers, splash screen, copy/paste, and Xorg/X11 have all been developed based on this text mode driven driver. With low cost flat screen monitor technology, the monitors being sold in the market place today now have both text and graphic mode abilities. To take advantage of these new graphic enabled monitors a new driver was developed and became the os default in 10.0 or there abouts. In my opinion the vt driver was rushed into production without adequate compatibility testing. PR's have been issued on vt not supporting screen savers, splash screens, and copy/paste, all which are standard normal functions used by many people. These vt PRs are still waiting for someone to work on them, so don't hold your breath waiting for a fix to make it into 11.1. You can file your own PR or post your comments to the existing ones. One option you may want to test. In /boot/loader.conf add kern.vty=vt hw.vga.textmode=1 Another option is to discontinue trying to use saver screens and instead try splash screen, Read the handbook for details. Its also enabled in loader.conf. When you boot your system the splash screen replaces the boot messages rolling across your screen with the image you have selected & when the keyboard is inactive for some period of time the image is shown as a screen saver that fades in and out. Your choose of running "current". Current is not stable by design and intention. It's a moving target. Current has many debug functions enabled as default. WITNESS being one of those. People who work with current are the right hands of the developers. These people have the ability to read dumps and follow the findings back to the source code causing the problem and create patches as feedback to the developers. From the tone of your previous posts I don't think you are such a person.[IE; just a observation, not a put down, no insult meant]. The first thing you should do is download the LATEST current source, recompile your os and see if some new change has fixed the problem you are seeing. This is the normal cycle of following current. Many changes are applied daily to current, so rebuilding your os daily becomes a normal way of life. If you are not doing this, its another indicator you are using the wrong version of the os. I would think RELEASE 11.0 is a better fit for your needs based on your previous posts. When it comes to current and ports this is another moving target. You can NOT make the assumption that the "latest" version of the ports system will work on current, This is a proving ground for the ports system to hopefully shine a light on some of the most popular ports such as Xorg to generate an early warning about os/port incompatibility. "current" is the real bleeding edge of FreeBSD os development.