From owner-freebsd-stable@freebsd.org Fri Mar 1 21:53:52 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3745D1502E9C for ; Fri, 1 Mar 2019 21:53:52 +0000 (UTC) (envelope-from thenomad@gmail.com) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AAE0993681 for ; Fri, 1 Mar 2019 21:53:40 +0000 (UTC) (envelope-from thenomad@gmail.com) Received: by mail-pf1-x444.google.com with SMTP id i20so12021828pfo.6 for ; Fri, 01 Mar 2019 13:53:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:subject:to:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=dcTrSla/o3bVukxWS1nd/7Y97IYf7B/e7NgAUwpea48=; b=qAy+vh+E1SL5Sfz2aY0ZEUY8WvnqQ7iSuONgwJ9YEPVsReCAdD1DmIcraboXrF/uRc DmZBKH0O1B+sop8Lfg5zQvMqHcjPFZQTSzo1sXlP5UKKsG6av8zkc6014fDxW5AWtvUK XKH4v5Y8565/z8zb/N58CgeADJluFBp1qL6pNSdzgL4KOGhv636km5/atSruZ74eazpH bwpqNPdSdIj2fTWF6vfT30Cot25bW5xUxNqpTIv1QrgK3SS6vhx4LWbCCDCWV75W3XfZ QMg+62ycquchrUmubv7ltCXil1LKYl7Cs5gyfZJr6kbTiEDHEyAax8PvxPeItp52ST2c TLug== X-Gm-Message-State: APjAAAUzG1JD1sqbM8sITA8U2BZB4bYFsBNc8KHtQz+0pgSSItVPLiou uF+yeF0VfXC+gYrSWYb5dz5WE6gm X-Google-Smtp-Source: APXvYqyNaM/fPiLgMyBIv9JIBkOcz/6juj3cCetd3pr2R6KYEFGKZn4ugeIXAmwHnBFAeiO35pISxA== X-Received: by 2002:a63:305:: with SMTP id 5mr7042986pgd.57.1551477218918; Fri, 01 Mar 2019 13:53:38 -0800 (PST) Received: from vanyel.ee.washington.edu (vanyel.ee.washington.edu. [128.208.232.99]) by smtp.gmail.com with ESMTPSA id s37sm3561129pgk.36.2019.03.01.13.53.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 13:53:37 -0800 (PST) Sender: Lee Damon From: Lee Damon Subject: more fun, upgrading from 10.3-STABLE 10.4-RELENG to 11.2-RELENG - kernel panic To: freebsd-stable@freebsd.org Message-ID: <987591af-c860-2427-0f44-7e4cb491ff68@castle.org> Date: Fri, 1 Mar 2019 13:53:37 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: AAE0993681 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.38)[-0.379,0]; FORGED_SENDER(0.30)[nomad@castle.org,thenomad@gmail.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[nomad@castle.org,thenomad@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.41)[ip: (2.77), ipnet: 2607:f8b0::/32(-2.72), asn: 15169(-2.04), country: US(-0.07)]; DMARC_DNSFAIL(0.00)[castle.org : query timed out]; RCVD_IN_DNSWL_NONE(0.00)[4.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 21:53:52 -0000 After discussion with Bob Bishop (thanks for the help!) I've tried to do the following to upgrade one of the old boxes I mentioned previously. cd /usr/src tar ... . rm -rf .??* * svn checkout httpg://svn.freebsd.org/base/releng/10.3 /usr/src compile, installkernel, installworld... Now that the host is running RELENG the next step was to update from 10.4 to 11.2 via freebsd-update freebsd-update freebsd-install freebsd-update upgrade -r 11.2-RELEASE freebsd-update install so far, so good. Now it all falls apart shutdown -r now ... why isn't the host coming back? Oh look, kernel panic. Fatal trap 12: page fault while in kernel mode cpuid = 1; apci id = 01 fault virtual address = 0x84 fault code = supervisor read data, page not present Google searches find references to the same panic type in VMs running 11.1, including https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220923 The differences are, that's 11.1 not 11.2 (I would presume the fix made it into 11.2 but maybe not) and most notably, that's against VMs and the host I'm doing this on is bare iron (Sun x4500). Still, I gave the two entries in /boot/loader.conf a try, no joy. Exactly the same panic. Recording the boot with slow-mo shows the panic happening just after the USB devices are enumerated by the kernel. It never even tries to mount root. I am able to boot to kernel.old, which appears to be my old 10.4-STABLE kernel. So now I'm kind of stuck. The update has already modified the config files as part of the first pass so rolling back may be a problem and moving forward seems unwise. I have only one x4500 but I have three x4540s running 11.2-STABLE (also installed from source) just fine. Anyone have any brilliant suggestions? I'm thinking of trying to compile 11.2-RELENG in /usr/src so I can try installing that kernel but that'll take several hours at least (it's an old box). nomad