Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 23:05:09 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Kurt Lidl <lidl@pix.net>
Cc:        Devin Teske <dteske@freebsd.org>, "<freebsd-current@freebsd.org> Current" <freebsd-current@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>
Subject:   Re: [CFT] Kernel-Selection Enhancemnt to Boot Menu
Message-ID:  <62E3FA11-E6E1-4072-9226-993FF83EBC0D@fisglobal.com>
In-Reply-To: <527822FE.1010602@pix.net>
References:  <BCCA393F-9D58-4B45-9DD3-2E03F989E50D@fisglobal.com> <527822FE.1010602@pix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_5A79406A-3BC4-4834-8B67-F5999B250847
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Nov 4, 2013, at 2:43 PM, Kurt Lidl wrote:

>> On Nov 2, 2013, at 1:45 AM, Sam Fourman Jr. wrote:
>>> On Sat, Nov 2, 2013 at 7:09 AM, Teske, Devin <Devin.Teske at fisglobal.=
com> wrote:
>>> Hi all,
>>>=20
>>> Here's a chance to test out the kernel selection menu enhancements
>>> to the boot loader menu before they go into HEAD.
>>>=20
>>> Discussion welcome, feedback desired.
>>>=20
>>> No recompile needed, just drop the new forth files onto a HEAD or
>>> stable/9 box and reboot.
>>> --
>>> Cheers,
>>> Devin
>>>=20
>>> where are the forth files in question?
>>>=20
>>=20
>> D'Oh!
>>=20
>> Here they are:
>>=20
>> http://druidbsd.cvs.sf.net/viewvc/druidbsd/forth_zfs/
>>=20
>> Supplied as patches to either stable/9 or head.
>> --
>> Devin
>=20
> Hmmm.  I saw no appreciable changes to behavior when I patched all
> the files in /boot with these versions.  This was on a sparc64 host
> running 10-BETA3 (compile this morning).
>=20

Excellent!

Thank you for testing.

NB: That's what *should* happen on sparc64 since that architecture
doesn't actually enable the beastie menu (sad, I know... I wish that the
beastie menu was active on all platforms by default).



> Notably, the kernel and modules still loaded before presenting me
> with the option to tell it which kernel to load:
>=20
> Executing last command: boot /pci@1f,0/pci@1/scsi@8/disk@0,0:a
> Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0:a  File and args:
>=20
> >> FreeBSD/sparc64 ZFS boot block
>   Boot path:   /pci@1f,0/pci@1/scsi@8/disk@0,0:a
> Consoles: Open Firmware console
> \
> FreeBSD/sparc64 ZFS enabled bootstrap loader, Revision 1.0
> (root@snap.freebsd.org, Sun Oct 27 07:20:42 UTC 2013)
> bootpath=3D"zfs:sys/ROOT/default:"
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel data=3D0x8d54c0+0x66180 syms=3D[0x8+0x954f0+0x8+0x8d7=
ef]
> /boot/kernel/zfs.ko text=3D0x223328 data=3D0xa4e0+0x17fc0 syms=3D[0x8+0x1=
97b8+0x8+0x143f8]
> loading required module 'opensolaris'
> /boot/kernel/opensolaris.ko text=3D0x3130 data=3D0x2c8+0x2030 syms=3D[0x8=
+0xd98+0x8+0x929]
> /boot/kernel/geom_mirror.ko text=3D0x38430 data=3D0x5b0+0x20 syms=3D[0x8+=
0x16b0+0x8+0x119e]
>=20
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel] in 9 seconds...
>=20

You can try enabling the beastie menu on sparc64 by editing
/boot/loader.rc:

=3D=3D=3D Change #1 in /boot/loader.rc to enable beastie menu =3D=3D=3D

Find:
	\ Reads and processes loader.conf variables
	\ NOTE: Change to `initialize' if you enable the below boot menu
	start

Change "start" to "initialize" as shown below:
	\ Reads and processes loader.conf variables
	\ NOTE: Change to `initialize' if you enable the below boot menu
	initialize

=3D=3D=3D Change #2 in [same file] to enable beastie menu =3D=3D=3D

Find:
	\ Uncomment to enable boot menu
	\ include /boot/beastie.4th
	\ beastie-start

Uncomment "beastie-start" as shown below:
	\ Uncomment to enable boot menu
	\ include /boot/beastie.4th
	beastie-start

=3D=3D=3D=3D=3D=3D

If you find that making those two trivial changes, that you are able to load
the menu... then maybe it's time for us to start thinking about enabling the
beastie menu by-default for the sparc64 architecture.

Does anybody else have any thoughts on enabling it for sparc64?

--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.

--Apple-Mail=_5A79406A-3BC4-4834-8B67-F5999B250847
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJSeCglAAoJEKrMn5R9npq5lBcH/0QFAM9ku99/BhQcbONeWMkI
z1b95zj4dB7C/X5zUYvJPOvr89uNpQQVK/50MHeJ1F5xIa4d1jyFG2Y5u2MkaWhI
HJw4k0DiS7RhCQ2+G67KRQDG9RfLJnvbNo7pEOHI8nseGJw0mYdggtnq7vaLP7te
aq7ToE6Kw0LQmJPCevpoPkXqGD6wRJ5DM317tpYHWT3Ykmh8rSIsnHryvj7tpbCI
ebhv4qV7JIALLUg7LzIDUEAaFmXkXCjofvCgJi4gnCPusLyDWw4bRE5A9ycD8/Zf
JLIERClNqTNrTXYIY50QV0ZEIi4Aogy2XCosXGtonU3r0vloLrHEOwi/UgWFA2E=
=RgE1
-----END PGP SIGNATURE-----

--Apple-Mail=_5A79406A-3BC4-4834-8B67-F5999B250847--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62E3FA11-E6E1-4072-9226-993FF83EBC0D>