Casper Dik's Weblog
Casper Dik's Weblog

Wednesday April 27, 2005
The End of Realmode Boot I've already mentioned two great new features in our current development release; ACPICA and USB hotplug.
But there's one change that's much more far reaching than that: Newboot.
Most Solaris x86 users will be familiar with the blue screen/device configuration assistant/boot sequence and how ancient some of that feels. Perhaps few are aware that the DCA is actually a realmode DOS like environment where each boot device requires its own realmode driver. These drivers needed to be compiled with a 16 bit compiler and 16 bit MASM, not available for ready money anywhere. While the official build environment required NT, I managed to build it on
environments ranging from MS Windows 98 and 2000 on actual PCs to Caldera DOS 7 on a SunPCi card (which allowed for automatic building which was great fun). Now that this
piece of shameful history lies in the past, I am not afraid to confess.
But as of last Sunday, April 17th, 2005, we have "legacy free" newboot. Newboot uses grub with ufs support so we now have native grub support
and a menu we can edit from inside Solaris. Device enumeration completely done using ACPI
Because it skip the device configuration assistant and boot a single large file with all kernel device drivers which makes startup quite a bit quicker and allows
us to boot from any bootable device as long as we also support it in the kernel so we can mount root.
And we've reverted back to white on black consoles; this again takes some getting used, surprisingly enough.
One thing to note is that before you may had to disable ACPI in the kernel and the BIOS; with Newboot + ACPICA, you actually stand a much better chance of the
system working with all the default settings: ACPI on, ACPI 2.0 enabled. Even legacy USB enabled now has a much better chance of working than before.
But this is a radical change an PC BIOSes and hardware being like it is, interesting times ahead. SO please test drive when this hits Solaris Express in a few months
time.
As of this writing, it's a bit in the balance whether you'll get to see the source first as part of OpenSolaris or the binaries as part of a Solaris Express.
(2005-04-27 00:00:00.0)
Permalink
Trackback URL: http://blogs.sun.com/casper/entry/the_end_of_realmode_boot
|
Calendar
| « November 2009 | | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|
| | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | | | | Today |
RSS Feeds
All
/General
/OpenSolaris
/Solaris
Search
Links
Navigation
Referers
Today's Page Hits: 111
|
Posted by Patrick Mauritz on April 27, 2005 at 10:08 AM MEST #
Devices are new enumerated through ACPICA but this really doesn't matter much for the /devices generation. If anything, writing device drivers is now easier; you no longer have to give real mode drivers any thought.
Posted by Casper Dik on April 27, 2005 at 11:52 AM MEST #
Posted by Dan Price on April 27, 2005 at 12:20 PM MEST #
Even my old vaio can boot from a USB device, but it seems it only wants to boot from a Sony USB floppy.
Posted by Casper Dik on April 27, 2005 at 03:48 PM MEST #
Posted by Jignesh Shah on April 27, 2005 at 06:03 PM MEST #
Posted by Casper Dik on April 27, 2005 at 10:42 PM MEST #
Posted by Paul Jakma's Weblog on May 12, 2005 at 07:06 AM MEST #
Posted by Azeem Jiva on May 23, 2005 at 08:36 PM MEST #
Posted by Vladimir Ivanov on May 24, 2005 at 09:18 PM MEST #
So that would basically be twice the amount of work for the kernel and twice the amount of work for the BIOS; the economics of that do not look good.
Posted by Casper Dik on June 01, 2005 at 11:01 AM MEST #
Posted by UNIX admin on June 07, 2005 at 03:57 PM MEST #
Hi, being late to this thread, I am curious about how Sun integrates grub with Solaris.
Does Sun write a stage 1.5 loader for grub to understand Solaris ufs, and zfs in the future? Or /boot is needed to be on a partition in file systems currently supported by grub?
And is grub2 used in the new boot scheme or grub?
Thanks!
Posted by Ivan Wang on June 14, 2005 at 01:55 PM MEST #
Grub is used, not grub 2.
Posted by Casper Dik on June 28, 2005 at 09:24 PM MEST #
OF system: OF -> loading kernel, passing control
legacy system: PC BIOS -> loading boot loader -> OF -> loading kernel, passing control
it will be enough fun implementing OF (for sparc), EFI (for some x86 boxes) and PC BIOS support (for other x86 boxes) soon enough. (or did intel drop their EFI plans again?)
And _maybe_ sun (both as the initiator of OF and one of its biggest users, as well as a big client of AMD) could convince those people at AMD that OF is a more sensible standard than EFI (and pcbios). (>10 years track record, multivendor, crossplatform, open, less bloat -- 300 pages of specs instead of 3000)
we already got some favorable responses and interest there, but "who's openbios?"
Posted by Patrick Mauritz on June 29, 2005 at 11:26 AM MEST #