From owner-freebsd-questions@freebsd.org Fri Nov 11 16:10:13 2016 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 65C71C3AB80 for ; Fri, 11 Nov 2016 16:10:13 +0000 (UTC) (envelope-from mtnmickmt@gmail.com) Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 246ED14C0 for ; Fri, 11 Nov 2016 16:10:13 +0000 (UTC) (envelope-from mtnmickmt@gmail.com) Received: by mail-yw0-x235.google.com with SMTP id t125so16894091ywc.1 for ; Fri, 11 Nov 2016 08:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AEoHt+xXjzQGNtfvYHFGx2gQ0Upv2qEl25FxupM5ndY=; b=jJttb2iRgm08GMTiUHn3GZXgE0mZeSVFPJY4tCMSyus7G+zMImfk6mUQFAqV2YHuwp LIqm5fBEbO2twTahc0Pk60wrzGuuK/KHCRspNb58ds+uoC0zBiLey/2C51XmQS8s56pk 6KaKsSbRobDiQw+DSOHcaEJGKA4Povbt9Rcn2YKyo/F+ij0oCeg2Uds7EFJwhVlXpzKJ FecqkI33h0tFLnptNtlCMIPItLaQxz3rKg3QDNlhX0WZHc+v3GM4YKPqJGA3AqQrVopM ak0wihBQT08EzFZYKhFolsAqtY3TgLOx9H62K4P5Kk0PDXKghDovZ1rNQaKghuw/yNhY fv4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AEoHt+xXjzQGNtfvYHFGx2gQ0Upv2qEl25FxupM5ndY=; b=B/S0HkUlFY5lt85Kerf/LXE2pjRgcwaVel+E50lYLNR0n57UOGYzvq0LrcLgFW6/Nf eOJSFnSXxfV+jugx4fNLaRKQjvmZX+LJal1W1fNBw3OnrMfXxUVwkSVgI+hive/ZPrDP 1v8HFwhIS+zxsPGe5M57kIwNTjQNfmdsPZQmi8m25ywV8yc/gdjzNRV+Y5qnRCR95AzS qCqCDMF6Y1akptsO3vTK1hxzKJ9g54FO3rujw8tdQEO89r1fKUdxt9BqtY8wkToIBTdQ JbXFMNV44XkQgrYyoHwEP9/3HfBMP0UayeYOIrBLbv0GXOZuMD+ZPwqKLHZ2nKTU+TMx Vmgw== X-Gm-Message-State: ABUngvchvXupyd0MjhVfdpP9VcYJNOVvFcukd6gtDSO8pD2eouFeda+Bhlht377XOTA6cg46zNGgoFmYe4swGQ== X-Received: by 10.157.37.195 with SMTP id q61mr1280893ota.195.1478880612404; Fri, 11 Nov 2016 08:10:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.15.42 with HTTP; Fri, 11 Nov 2016 08:10:11 -0800 (PST) In-Reply-To: <20161111091838.69e2ae06.freebsd@edvax.de> References: <20161111091838.69e2ae06.freebsd@edvax.de> From: Mick mtn Date: Fri, 11 Nov 2016 09:10:11 -0700 Message-ID: Subject: Re: Access to shell during or after kernel panic? To: Polytropon Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 11 Nov 2016 16:10:13 -0000 On Fri, Nov 11, 2016 at 1:18 AM, Polytropon wrote: > On Fri, 11 Nov 2016 00:18:39 -0700, Mick mtn wrote: > > FreeBSD 11R on macbook pro. > > does not see dvd, yet the system was installed via > > FreeBSD-11.0-RELEASE-amd64-dvd1.iso > > ---------------------------------------------------------------- > > partial panic printout: > > module visa failed to register: 17 > > kbd0 at kbdmux0 > > Panic Module_register_init > > CPUID=0 > > ... > > ... > > ... > > #1 0 . . . kdb backtrace at 0x67 > > #2 ... vpanic at 0x182 > > #3 panic at 0x43 > > #4 module_register_init at 0x11c > > #5 mi_startup at 0x118 > > #6 btext at 0x2c > > > > uptime 1s > > ----------------------------------------------------------------- > > I can see the files in the rescue directory, but can not move to that > > directory or issue commands like rescue/vi -v boot/loader.conf > > After a kernel panic, you usually cannot access the shell anymore, > not locally, not remotely. But you can press Ctrl+Alt+Esc to enter > the kernel debugger (which probably won't be much help at this > point). > > I will try Ctrl+Alt+Esc renders OK prompt, back to square one. > > > > ANY HINTS on possible keyboard combinations to force boot from dvd? > > Holding "C" on boot is not getting the result i expected. > > Is pressing C at boot a Mac-specific action? > YES, pressing C prior/during initial boot should direct the process to boot from alternate media, typically looking at optical drive media. But can be used to find USB devices as well if the mac boot partition has not been destroyed. In this case that partition has been destroyed. The entire disk was repartitioned to boot FreeBSD only. > > When you can access the FreeBSD loader prompt, entering the > command "boot -C" will usually try to boot from optical media. > This is the same prompt where you can unload unwanted kernel > modules, set a different kernel, or enter "boot -s" to continue > into single user mode (where mounting / r/w and editing files > using /rescue/vi would be possible). > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >