From owner-freebsd-questions@freebsd.org Tue Nov 21 11:07:37 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 1E95BDEAC82 for ; Tue, 21 Nov 2017 11:07:37 +0000 (UTC) (envelope-from k.shesternin@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 A05C06961C for ; Tue, 21 Nov 2017 11:07:36 +0000 (UTC) (envelope-from k.shesternin@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id x63so2451913wmf.4 for ; Tue, 21 Nov 2017 03:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1lhtwnMja22Nh4qJ6dJfNePOiDkpc2sZq0Fj0QxBzmM=; b=gR1SvbUiOvWN+o4yKDCfcwZ4dtz2Rlr5SOtdV/POTrY6UDQxF6Q24kLxNgWYZ+l+MS aJZpRFwaYREu/+/WDdIvMs2rdSLf86lF55ExalLaEXbmIqe7Z7vWEL9Nkd0HMM44uecq kkTzan2CmVDnsrmIovPPGjy4HiSVm54ZCNb8XHUplCPyt69poJG58wjC/8YltUrJ8Doo HHsqZAVW7GoyN91ukziveTSnGLrsbccNxN2/sGC2RaK7jHB01UGOmFC/beO/yNCLZQjV MDxz/COe6SQ+ARLCr9IFcNuzhjG0RQ2qAlqRZOw5dOVDoYXlfCpWLXZnEZALMcvO22JV /XtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1lhtwnMja22Nh4qJ6dJfNePOiDkpc2sZq0Fj0QxBzmM=; b=fqlP2DYm7e394oKBoiMWvxQNebFCSF0X1oMoaspkNgYUdiYJQMVzugNCZ7kKYV1PDa f3Wi2/XIr02s5UI7D+4nd0V3pn0wCiK7Oj+1XF9OZzeA9G8L+8B6rANdZohZYXEJUsnp k5Ktsl2O+7h9pp9WruCrn7d5gj3fSeg6SeBwQb7dHFwhDggqvCcZQBM20/NzWaI1poyC YhDcPTjvKk6uxT9wfUSCY8iYgmdXBFi3AGUI2vLgE5AYxs07Zp3xKmmuHOKjnC7HnLjx P0pvMgRaYIY01hfAdWzqMkyOdV1y/49asAPMY1z1mvhvCdf5eTjffseUAjseHrOKNPQ/ LdGg== X-Gm-Message-State: AJaThX44K+7eo4OHnmbEnIRXlDn4zOFgzO4Nntm+WWryAMJClvGMvJR+ bOF0F8LKApKdnO6Cvk1Cq4i9pzExfWX1Kvlp69DdLg== X-Google-Smtp-Source: AGs4zMY+AHi089c20p2ksZBekBr8aIhKXAYGTym3jbXnuD3EtMZbCtX+Qj0VV6f27IcwPgPj+G3Nq4npfuBwCdm8ZMk= X-Received: by 10.80.226.12 with SMTP id n12mr8070302edl.177.1511262455252; Tue, 21 Nov 2017 03:07:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.166.203 with HTTP; Tue, 21 Nov 2017 03:07:34 -0800 (PST) In-Reply-To: <20171121102645.5a5d58fd.freebsd@edvax.de> References: <20171121102645.5a5d58fd.freebsd@edvax.de> From: Konstantin Date: Tue, 21 Nov 2017 14:07:34 +0300 Message-ID: Subject: Re: Boot problem To: Polytropon Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 11:07:37 -0000 2017-11-21 12:26 GMT+03:00 Polytropon : > > What exactly is this "first stage"? The actual first stage of > (classic BIOS) booting is the MBR / boot manager, second stage > is the kernel loader, third stage is the kernel itself, fourth > stage is init. :-) > =E2=80=8BIt stop when on screen i see "...FreeBSD bootstrap loader..." > Also, please explain the system behaviour: Does it hang (i. e., > become fully unresponsive both regarding keyboard input and > network access, for example via SSH or telnet), does it > crash (and if yes, with which message), or does it suddenly > reboot? Does it do this every time or just occassionally? =E2=80=8BDue first 15-20 seconds i can reboot PC with ctl-alt-del, so keybo= ard=E2=80=8B is working, but after this time it hang - image on screen froze, keyboard stop working. Only hard-reset or power-off. > In case your keyboard is a USB keyboard which first runs in > some legacy mode (via BIOS), and then using the kernel's ukbd > driver: If the kernel didn't recognize your keyboard, its input > won't reach anything. Can you check the boot messages for the > "ukbd" entry? > > Six months ago, did you do something "unusual" to your system, > like replacing a hardware component or changing the OS software? > =E2=80=8BMaybe some updates via freebsd-update fetch|install, not sure. =E2=80=8B > > I boot the system from the installation flash drive, from the bootloade= r > > command line I do the following > > unload > > set currdev=3D"disk1p2" > > read-conf /boot/loader.conf > > boot-conf > > Does the OS (on the disk) boot correctly, and will it stay > responsive after booting this way? > =E2=80=8B After boot this way system work well about 2-3 month without any problems= =E2=80=8B. I shutdown it myself for cleaning dust. Have you tried booting from a 11.0 flash drive and using the > kernel from that media (i. e., without the "unload" command)? > This way you could rule out a kernel problem. Additionally, > when booting from USB flash media, does booting the _whole OS_ > from that media stay responsive after booting? > =E2=80=8BI do not try boot without "unload", but system boot from USB-flash= and work in normal mode.=E2=80=8B > > FreeBSD 11.0-RELEASE-p12 > > That's a > =E2=80=8B=E2=80=8B > fairly current OS version. Is it running a custom kernel? > =E2=80=8BNo, it runs with generic kernel=E2=80=8B On Mon, 20 Nov 2017 17:55:04 +0300, Konstantin wrote: > > There are no UEFI on the PC - it`s a 8-years old socket 775 platform. A= nd > > no optical drive. > > This shouldn't be a problem, except of course you're experiencing some > kind of hardware failure, which is at least possible at such an age, > but the age alone doesn't imply it. (My home PC is 10 years old and > still working.) =E2=80=8BIt was answer to =E2=80=8BManish Jain, who ask me try run the syst= em without UEFI.