On 01/12/10 05:20 PM, Dave Miner wrote: > Jan Damborsky wrote: >> Hi Frederic, >> >> >> On 01/12/10 12:00 PM, Fr?d?ric VANNI?RE wrote: >>> Hello, >>> >>> I've copied pxegrub, the kernel and the boot archive from AI boot CD >>> to my PXE server, >>> The menu.lst file contains : >>> >>> serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1 >>> terminal --timeout=10 serial console >>> default=0 >>> timeout=3 >>> min_mem64=512 >>> title OpenSolaris Development snv_130 AI >>> kernel$ /solaris/osol-1003-130/kernel/$ISADIR/unix -B >>> aimanifest=prompt,console=ttyb,ttyb-mode='115200,8,n,1,',livessh=enable,install_debug=enable >>> >>> -v -m verbose >>> module$ /solaris/osol-1003-130/$ISADIR/boot_archive >>> >>> >>> The kernel (amd64/unix) and the boot_archive (amd64/boot_archive) >>> are loaded from tFTP and then I got this error : >>> >>> >>> krtld: failed to open '/solaris/osol-1003-130/kernel/amd64/unix' >>> krtld: bind_primary(): no relocation information found for >>> module /solaris/osol-1003-130/kernel/amd64/unix >>> krtld: error during initial load/link phase >>> >>> krtld could neither locate nor resolve symbols for: >>> /solaris/osol-1003-130/kernel/amd64/unix >>> in the boot archive. Please verify that this file >>> matches what is found in the boot archive. >>> You may need to boot using the Solaris failsafe to fix this. >>> Unable to boot >>> Press any key to reboot. >> >> >> I ran into this problem when playing with destination path for kernel >> and boot archive - it seems kernel path in GRUB menu is expected to >> be in following format: >> >> <prefix_path>/platform/i86pc/kernel/$ISADIR/unix >> >> since /platform/i86pc/kernel/$ISADIR/unix is the location of kernel in >> boot archive and that path is somehow derived from the one in >> GRUB menu. >> >> CCing Jan S. who might shed more light on how things work and >> what assumptions are in place which have to be met. >> > > It should be a straightforward tftp read of the path specified in the > menu.lst file. The path needs to be relative to the tftp daemon's > configured root path.
I believe that Fr?d?ric had that part configured correctly, as TFTP located and loaded kernel as well as boot archive. He was then hit by the 'limitation' of kernel linker Jan S. described in his response. Jan
