| Solaris |
|
|
Currently there is inetboot as the only bootloader that is functional on the ODW, Mac and EFIKA targets. Make sure your nfs server is set to nfs 3. Edit the file
/etc/default/nfs
uncomment the following line and set NFS_SERVER_VESMAX=3
We haven't yet debugged why the target will hang if using NFS 4, but it does.
Changes to inetboot so that it functions without issue. Biggest problem was the 32KB I/Os that inetboot was doing what the ODW OF couldn't handle due to its lack of more than one receive buffer causing back-to-back packets to be dropped. With the addition of VOF this is no longer an issue. NFS3 works, NFS4 probably is ok too now.
NFS diskless boot (the inetboot) has been ported and currently functional with all three targets. No modifications to the source are required to support them. Codes (mainly src/psm and src/stand) are checked in. For an overview on the client -- server boot process see Sameer Seth's Weblog Boot-net with BOOTPARAMS/RARP in Solaris for details of how inetboot works. The minimal services that need to be run at the server are
In Solaris 10 OS, services for tftp, rarp(in.rarpd), and bootparamd(rcp.bootparamd), are now managed by parts of the new Service Management Facility(SMF), rather than started by rc scripts.
Notes: For changes that may cause the rebuilding of stand, you have to rebuild it by yourself and install them. inetboot make does not check dependencies for it
Very early on the community hads a conf call to discuss the bootstrap topic bootstrap conf call and other threads and came down the following choices:
Grub patched to support multiboot on PPC tested on ODW, and Noah's PowerMac G4 Thanks to Noah Yan for this initial work.
Much of this below is not applicable at the moment but just informational to know where we started from.
GRUB2 had been chosen by the community as the bootloader. It functions on PPC and the Genesi ODW. The NewBoot project here at Sun has used GRUB as a base. The changes for solaris support in GRUB are put back, they will need to be merged into GRUB2, Sun's team as no solid timeline yet to do this and expect the community to assist. Fortunately we do not need a bootloader to start with the low level kernel work. Why? Our JTAG tools can directly download the bin files into DRAM and jump to the start address ie: start and begin stepping.
sparc: The approach is similar for PPC. In the case of a local ufs root file system, the secondary boot loader is the file /platform/uname -m/ufsboot. The primary boot loader knows just enough about how to interpret the ufs on-disk format to find the secondary boot loader in the root file system. The device containing the root file system is the same as the boot device.
Loading the core kernel modules and starting Solaris
This stage is the process of loading kernel/unix and krtld and then starting Solaris.
Sparc:
On sparc, the boot archive is not being used yet for booting. Instead, the secondary boot loader reads the kernel modules from the root file system.
The secondary boot loader knows enough about ufs to find and read the /platform/uname -i/kernel/unix and krtld modules. After loading them, jump to "main" and start executing. Solaris is now running, though without a root file system. File accesses are accomplished by the kobj interfaces, which in turn use the boot ops provided by the boot loader, since the vn* operations aren't available yet, (since the root isn't mounted and so there is no file system that can be accessed).
At the end of this file there are details in Shudongs analysis and they have been posted to the PPC Forum.
The boot environment need to load the ramdisk and the multiboot program. multiboot loads unix.
Community Boot Conf Call Notes
Post new-boot Solaris on 128Mb systems
The New Bootloader for x86 Platforms
Solaris Deployment and Kernel Development with Diskless Clients
OpenSolaris Xen Community (OpenSolaris
Open Firmware Network Boot and Diskless Client
IEEE 1275 Open Firmware Multiboot Specification
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.