>>>>> "Shawn" == Shawn Walker <[EMAIL PROTECTED]> writes:
Shawn> On 7/8/05, Alexander Kolbasov <[EMAIL PROTECTED]> wrote:
>> >>>>> "Alexander" == Alexander Kolbasov <[EMAIL PROTECTED]> writes:
>>
>> >>>>> "Sunil" == Sunil <[EMAIL PROTECTED]> writes:
Sunil> just to document the problem here: when I rebooted the kernel with
Alexander> 'reboot -- 'kernel.mine/unix'' the file
/platform/i86pc/boot_archive was
Alexander> updated to be 20bytes. All I did to recover from this failure
was to boot in
Alexander> failsafe mode, mount my root partition and remove
Alexander> /a/platform/i86pc/boot_archive. Boot again into failsafe mode
and select to
Alexander> update the boot archives. Next reboot worked fine.
>>
Alexander> Sunil,
>>
Alexander> This is bug 6294481.
>>
>> P.S. See bug 6294769 as well.
Shawn> Unfortunately, neither of those bugs appear to be accessible via
Shawn> bugs.opensolaris.org...
Probably it takes some time for bugs to percolate to the opensolaris. Here are
some snippets. The problem was introduced with the fix to bug 6260804.
bootadm -a update calls the script /boot/solaris/bin/create_ramdisk
This will read in the two files
/boot/solaris/filelist.ramdisk
/etc/boot/solaris/filelist.ramdisk
and use the information in them to construct a mkisofs commandline. If the two
files contain the same directory entry then the mkisofs command line that is
constructed is not valid and errors out. This means that a 20 bytes boot_archive
file is created (this is just a gzip file by the way).
An example of such an erroneous mkisofs command line is:
mkisofs -quiet -graft-points -dlrDJN -relaxed-filenames kernel/=/kernel
platform/i86pc/kernel/=/platform/i86pc/kernel
boot/acpi/tables/=/boot/acpi/tables
platform/i86pc/kernel/=/platform/i86pc/kernel /tmp/rd_mount.1391
Note the double entry for /platform/i86pc/kernel which will cause the error:
mkisofs: Warning: Directory loop (/platform/i86pc/kernel/drv dev: 1980000 ino:
279446).
- Alexander Kolbasov
_______________________________________________
opensolaris-discuss mailing list
[email protected]