From owner-freebsd-bugs@freebsd.org Mon Mar 5 12:59:01 2018 Return-Path: Delivered-To: freebsd-bugs@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 11094F2CEE9 for ; Mon, 5 Mar 2018 12:59:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F28A786F1 for ; Mon, 5 Mar 2018 12:59:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BA0F21CA68 for ; Mon, 5 Mar 2018 12:58:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w25Cwx4e016283 for ; Mon, 5 Mar 2018 12:58:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w25Cwx86016281 for freebsd-bugs@FreeBSD.org; Mon, 5 Mar 2018 12:58:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 226365] ppc64: Loader: Unable to load two kernels Date: Mon, 05 Mar 2018 12:58:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: breno.leitao@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 12:59:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226365 Bug ID: 226365 Summary: ppc64: Loader: Unable to load two kernels Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: breno.leitao@gmail.com I am not able to load two kernels in the loader. If I want to load a newer kernel, I need to unload the first one, otherwise it gets in the OFW trap. Example: >> FreeBSD/powerpc Open Firmware boot block Boot path: /vdevice/v-scsi@2000/disk@8000000000000000 Boot loader: /boot/loader Boot volume: /vdevice/v-scsi@2000/disk@8000000000000000:2 Consoles: Open Firmware console=20=20 FreeBSD/powerpc64 Open Firmware loader, Revision 0.1 (Sun Feb 18 22:29:36 CET 2018 root@free8) Memory: 8388608KB Booted from: /vdevice/v-scsi@2000/disk@8000000000000000 Loading /boot/defaults/loader.conf /boot/kernel/kernel data=3D0x129ebb0+0x4ccf90 syms=3D[0x8+0x16d370+0x8+0x16= 98ac] /boot/entropy size=3D0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK load /boot/kernel.old/kernel /boot/kernel.old/kernel data=3D0x129db60+0x4ccf60=20=20 ( 700 ) Program Exception [ 0 ] R0 .. R7 R8 .. R15 R16 .. R23 R24 .. R31 0000000032fc6a70 0000000002c04000 0000000000000000 000000005f690000= =20=20=20 0000000002c46a70 00000000000001b4 0000000000000000 0000000000008000= =20=20=20 0000000000000000 000000000344bca4 0000000002c46ad8 0000000002c72080= =20=20=20 000000000000005c 0000000002c442dc 0000000002c46adc 0000000000000000= =20=20=20 ffffffffffffffef 0000000000fd0000 0000000000000000 0000000000fd0000= =20=20=20 0000000000000000 0000000000000000 0000000000007fff 0000000002c69fc0= =20=20=20 00000000000001fa 0000000000000000 0000000002c46b1c 0000000000000000= =20=20=20 0000000002c46a88 0000000000000000 0000000002c46adc 00000000000001fa= =20=20=20 CR / XER LR / CTR SRR0 / SRR1 DAR / DSISR 88020028 0000000002c3b20c 0000000002c02328 0000000000000000= =20=20=20 0000000000000000 0000000002c2f160 0000000000083000 00000000= =20=20=20 Since the loader is claiming a specific memory area from the OFW, it does n= ot fit both kernel. We should, either, ask for more memory for the newer kerne= l, or, reuse the same memory as used in the first kernel. --=20 You are receiving this mail because: You are the assignee for the bug.=