andrew wrote:
>> 17451: open("/rpool/boot/grub/menu.lst", O_RDONLY) = 6
>> 17451: fstat64(6, 0x08045F50) = 0
>> 17451: fstat64(6, 0x08045E80) = 0
>> 17451: ioctl(6, TCGETA, 0x08045F1C) Err#25 ENOTTY
>> 17451: read(6, " s p l a s h i m a g e ".., 1536) = 1046
>> 17451: llseek(6, 0xFFFFFFFFFFFFFF69, SEEK_CUR) = 895
>> 17451: close(6) = 0
>>     
>
> This looks broken - it is reading in the first 1536 bytes of menu.lst (which 
> is presumably the size of the file as returned by the call to fstat64). 
> However, only 1046 bytes are returned. It then tries to seek another 895 
> bytes past the end of the file, then closes it.
>
> Can you try manually adding an entry for opensolaris-7 to the grub menu and 
> booting that? Just copy the lines for opensolaris-5 and change any ocurrence 
> of opensolaris-5 to opensolaris-7.
>   
Well, 1046 is the size of the file, and opensolaris-7 has made it in there:

 > ls -l /rpool/boot/grub/menu.lst
-rw-------    1 root     root         1046 2008-08-20 10:48 
/rpool/boot/grub/menu.lst
 > wc /rpool/boot/grub/menu.lst
     26      89    1046 /rpool/boot/grub/menu.lst
 > tail -11 /rpool/boot/grub/menu.lst
#============ End of LIBBE entry =============
title opensolaris-5
bootfs rpool/ROOT/opensolaris-5
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry =============
title opensolaris-7
bootfs rpool/ROOT/opensolaris-7
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#============ End of LIBBE entry =============
 >

I don't know where 1536 comes in.  Hmm, I wonder if the issue is that it 
*is* already in there (maybe from a previous failed attempt).

Cheers,

Rob

-- 
E-Mail: [EMAIL PROTECTED]               PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to