[OpenIndiana-discuss] krtld failed to open, again...

Gabriele Bulfon gbulfon at sonicle.com
Tue Jun 14 08:35:44 UTC 2016


Thanks Nikola, I think it may be caused by a power down here that turned off the machine not behind an ups.
Machine is a NAS like machine, with 4 sata disks and an SSD.
Because SSD failed once with a similar problem, I didn't feel safe using it again as boot, so I reinstalled on a free small SATA, keeping dev data on a raidz pool of 3 sata.
Now the same with the sata boot...
It's not the first time I have machines going down for power failure, but never lost a zpool.
Actually, the rpool can be imported, but just can't boot showing those grabled unix path error.
I tried booting from DVD, shell, mounting rpool on /a and forcing a rebuild via bootadm update-archive -R /a -v : archive were correctly rebuilt, but still can't boot, looking for a garbled unix path.
How can I just reinstall grub keeping the rpool safe? Will it keep my boot environments?
Thanks!
Gabriele
----------------------------------------------------------------------------------------
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Nikola M
A: Discussion list for OpenIndiana
Data: 14 giugno 2016 9.50.48 CEST
Oggetto: Re: [OpenIndiana-discuss] krtld failed to open, again...
On 06/14/16 09:01 AM, Gabriele Bulfon wrote:
Hi,
it's the second time I get this on the same dev system in few months, hope someone else got this and found a solution..
Both times, the message show a garbled character instead of the path for the unix to run.
First time boot was on SSD and I thought that was failing, so I reinstalled boot on a SATA disk, leaving SSD there doing nothing for a while. This required me to find and reinstall all dev packages needed to build and mantain our distro.
This time again, I just remember shutting down the system last night, rebooting today, finding the boot like the attached jpg.
Tried with this :
https://jasonbanham.wordpress.com/category/bootadm/
No way.
Always the krtld fail error.
I think I can reinstall again on SSD or SATA, that is not the problem..
I would like to know what's happening to avoid this again...
Maybe just installing often dev packages requiring new boot env often can crash the boot archive???
Any idea? Maybe just some way to fix the boot before reinstalling again may be lighter...
:(
Thanks for any idea,
Gabriele
One can recover from boot error by booting form live DVD/USB and
repairing GRUB.
Try installing development packages in a zone if they are from userland.
Can error be associated with some illumos update or userland updates to
isolate?
Do you use SATA disks on SATA controller or SAS expanders with using
SATA disks or Expanders at all - all of this is not supported as I know.
Do you have ECC RAM?
What illumos is there etc.
I don't have XstreamOS installed at the moment to try to reproduce.
Maybe question is better for oi-dev but oi-discuss will be good enough
for now.
krtld is part of 'developer/debug/mdb' package on OI. try reinstalling
GRUB with new boot archive.
I had similar strange problem booting after some illumos update about
year and a half ago, but not like this.
I couls only solve it by booting form Live DVD (and not even recent one
but older, Opensolaris one as I remember) and reinstalling GRUB. After
that reinstalling GRUB with newer ISOs worked OK..
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the openindiana-discuss mailing list