Re: How do I enable bsd.mp kernel in 4.4/i386?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Don Jackson <don.jackson@...>
Cc: <misc@...>
Date: Sunday, May 3, 2009 - 2:00 pm

On Sun, 3 May 2009 09:39:23 -0700 Don Jackson
wrote:

> On May 3, 2009, at 9:15 AM, Thomas Pfaff wrote:

I never said the boot.conf was not useful. I said the i386\amd64 hack
for loading kernels is redundant and leads to confusion.

The new installer (destined for 4.6) in snapshots *already* picks the
right kernel (GENERIC or GENERIC.MP) for the system, and installs it
as /bsd.

On all archs, when you wish to boot to a different on-disk kernel you
cab do it either by copying/moving kernel file to /bsd, and/or
specifying the kernel file at boot time `boot /mybsd.custom.hack`

When you treat i386\amd64 differently with the boot.conf kernel
designation feature, you are not only making things less portable, but
worse, you're showing a bias towards what many consider to be a flawed
system design.

Now, let's say you are using the /etc/boot.conf hack to boot to bsd.mp,
and you go to update your stable system running an MP kernel. You read
the FAQ and follow the directions for installing a new kernel and
rebooting before building the whole system.

When you do `make install` in your ../compile/GENERIC.MP/ directory,
the newly built kernel gets installed as /bsd

You supposedly reboot to your new kernel... and guess what? --Due to
your boot.conf hack you're still running your *old* /bsd.mp kernel
rather than your newly built /bsd kernel.

If your subsequent build of the whole system fails with some mysterious
error due to booting to the old kernel, and you start yammering on misc@
about reading/following the FAQ, you're still wrong because you weren't
paying attention.

Tricky, confusing situations like the above should not be allowed to
happen. It's a design flaw, and especially so since it's a hack to
support an unnecessary feature for particular architecture.

--
J.C. Roberts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How do I enable bsd.mp kernel in 4.4/i386?, Anon Y. Mous, (Sat May 2, 8:03 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Parvinder Bhasin, (Sat May 2, 10:18 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386? , Theo de Raadt, (Sat May 2, 11:26 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, J.C. Roberts, (Sun May 3, 11:45 am)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Steve Shockley, (Mon May 4, 7:17 am)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Thomas Pfaff, (Sun May 3, 12:15 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Don Jackson, (Sun May 3, 12:39 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, J.C. Roberts, (Sun May 3, 2:00 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Toni Mueller, (Mon May 4, 6:35 am)
Re: How do I enable bsd.mp kernel in 4.4/i386?, J.C. Roberts, (Mon May 4, 1:42 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Hannah Schroeter, (Sun May 3, 4:41 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386? , Theo de Raadt, (Sun May 3, 12:43 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Thomas Pfaff, (Sun May 3, 12:36 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Nick Holland, (Sat May 2, 11:19 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386? , Theo de Raadt, (Sat May 2, 9:10 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386? , Theo de Raadt, (Sat May 2, 9:15 pm)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Toni Mueller, (Mon May 4, 6:22 am)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Otto Moerbeek, (Mon May 4, 6:33 am)
Re: How do I enable bsd.mp kernel in 4.4/i386?, Toni Mueller, (Mon May 4, 6:44 am)