Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 10 x86 boot problem

351 views
Skip to first unread message

bertieb...@gmail.com

unread,
Dec 10, 2009, 9:43:08 AM12/10/09
to
Had a working system. Booted up fine but now it goes into grub,
attempts to boot, displays sun copyright lines and then reboots and
loops around.

Grub entries are:-
findroot (rootfs0,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot-archive

Also, got an entry in grub for failsafe solaris boot and this boots up
ok:-
findroot (rootfs0,0,a)
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe

Its on a laptop and I've got a feeling the user may have been powering
off without shutting down properly and that this has corrupt
something.

Anyway, is there a command to fixboot or something?

Or would I be better off booting from sol10 cd and doing an inplace
upgrade?

Richard B. Gilbert

unread,
Dec 10, 2009, 9:55:11 AM12/10/09
to

Have you tried booting from CD/DVD and running fsck on your disk? All
partitions, of course; If the boot partition is fsck'ed up you have to
expect that the rest of the disk may be in less than perfect shape.

bertieb...@gmail.com

unread,
Dec 10, 2009, 10:50:31 AM12/10/09
to
On Dec 10, 2:55 pm, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:
> expect that the rest of the disk may be in less than perfect shape.- Hide quoted text -
>
> - Show quoted text -

No. I'll try that.

bertieb...@gmail.com

unread,
Dec 10, 2009, 10:51:22 AM12/10/09
to
Also, I recently changed the boot order in the BIOS (to remove CD boot
as the first choice). Would this affect anything that grub was trying
to do?

hume.sp...@bofh.ca

unread,
Dec 10, 2009, 11:20:59 AM12/10/09
to
In comp.unix.solaris BertieB...@gmail.com <bertieb...@gmail.com> wrote:
> Also, I recently changed the boot order in the BIOS (to remove CD boot
> as the first choice). Would this affect anything that grub was trying

That shouldn't matter.

Also, if your failsafe boot option works okay, it shouldn't be necessary to
boot from DVD/CD. Just boot from failsafe, and do your checks from
maintenance mode.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/

Ian Collins

unread,
Dec 10, 2009, 1:39:59 PM12/10/09
to
BertieB...@gmail.com wrote:
> Had a working system. Booted up fine but now it goes into grub,
> attempts to boot, displays sun copyright lines and then reboots and
> loops around.
>
> Grub entries are:-
> findroot (rootfs0,0,a)
> kernel /platform/i86pc/multiboot
> module /platform/i86pc/boot-archive
>
> Also, got an entry in grub for failsafe solaris boot and this boots up
> ok:-
> findroot (rootfs0,0,a)
> kernel /boot/multiboot kernel/unix -s
> module /boot/x86.miniroot-safe
>
> Its on a laptop and I've got a feeling the user may have been powering
> off without shutting down properly and that this has corrupt
> something.
>
> Anyway, is there a command to fixboot or something?

Edit the grub entry to enter kmdb on boot. See

http://blogs.sun.com/dmick/entry/diagnosing_kernel_hangs_panics_with

--
Ian Collins

cindy

unread,
Dec 10, 2009, 3:46:01 PM12/10/09
to
On Dec 10, 7:43 am, "BertieBigBol...@gmail.com"

Which Solaris release is this? Sounds to me like your boot archives
need to be updated, depending on the Solaris release. You might
review the bootadm update-archive command, described here:

http://docs.sun.com/app/docs/doc/817-1985/gglaj?a=view

Or, do a google search of bootadm update to see other examples
that might apply to your scenario.

Cindy

Cindy

bertieb...@gmail.com

unread,
Dec 11, 2009, 4:32:40 AM12/11/09
to
> Cindy- Hide quoted text -

>
> - Show quoted text -

Cindy,

Thanks. Already tried that.

bertieb...@gmail.com

unread,
Dec 11, 2009, 4:34:45 AM12/11/09
to
On Dec 10, 6:39 pm, Ian Collins <ian-n...@hotmail.com> wrote:
> Ian Collins- Hide quoted text -

>
> - Show quoted text -

I'll give this a try...

bertieb...@gmail.com

unread,
Dec 11, 2009, 4:39:11 AM12/11/09
to
On Dec 10, 8:46 pm, cindy <cindy.swearin...@sun.com> wrote:
> Cindy- Hide quoted text -

>
> - Show quoted text -

sol 10 x86

Chris Ridd

unread,
Dec 11, 2009, 5:09:53 AM12/11/09
to
On 2009-12-11 09:39:11 +0000, BertieB...@gmail.com said:

> sol 10 x86

Which update? It makes a difference.
--
Chris

bertieb...@gmail.com

unread,
Dec 11, 2009, 6:18:05 AM12/11/09
to
On Dec 11, 10:09 am, Chris Ridd <chrisr...@mac.com> wrote:

> On 2009-12-11 09:39:11 +0000, BertieBigBol...@gmail.com said:
>
> > sol 10 x86
>
> Which update? It makes a difference.
> --
> Chris

solaris 10 5/09 x86

Paul Floyd

unread,
Dec 11, 2009, 1:47:50 PM12/11/09
to
On Fri, 11 Dec 2009 01:39:11 -0800 (PST), BertieB...@gmail.com
<bertieb...@gmail.com> wrote:
>
> sol 10 x86

And precisely which version of Solaris 10? The first release was almost
5 years ago, and the 'current' version is the 8th update. Update 1 added
grub, and update 6 added ZFS boot. Both of these change significantly
booting.

A bientot
Paul
--
Paul Floyd http://paulf.free.fr

cindy

unread,
Dec 11, 2009, 2:58:21 PM12/11/09
to
On Dec 11, 2:39 am, "BertieBigBol...@gmail.com"

Bertie,

If this is a Solaris 10 10/08 system with a UFS root, for example,
then your grub entries
look reasonable to me.

Maybe the problem is with the disk. I would boot from an s10 CD and
use format to
review the disk label to see if it is still intact.

Cindy

bertieb...@gmail.com

unread,
Dec 15, 2009, 9:23:29 AM12/15/09
to
>
> If this is a Solaris 10 10/08 system with a UFS root, for example,
> then your grub entries
> look reasonable to me.
>
> Maybe the problem is with the disk. I would boot from an s10 CD and
> use format to
> review the disk label to see if it is still intact.
>
> Cindy- Hide quoted text -
>
> - Show quoted text -

Its Sol 10 05/09. I still seem to be able to access all my files if I
boot from failsafe.

Its just if I try to boot normally, it does the SunOs release 5
banner, then resets the machine and goes back into grub.

bertieb...@gmail.com

unread,
Dec 15, 2009, 9:34:20 AM12/15/09
to
OK. So from what I understand so far:-

1. findroot (rootfs0,0,a) command is fine because failsafe boot uses
the same command and this works. So it can find the disk.

2. module /platform/i86pc/boot_archive must be OK because I've rebuilt
the boot archive with the bootadm command.

Therefore, this leaves the actual kernel? kernel /platform/i86pc/
multiboot

Could this be corrupt or something? Is there any way to rebuild this?

bertieb...@gmail.com

unread,
Dec 15, 2009, 9:44:09 AM12/15/09
to
On Dec 10, 6:39 pm, Ian Collins <ian-n...@hotmail.com> wrote:
> Ian Collins- Hide quoted text -

>
> - Show quoted text -

OK. Got it to enter kmdb.

All I get is :-
Loading kmdb...

welcome to kmdb
[0]> ?

Any ideas what next?

bertieb...@gmail.com

unread,
Dec 15, 2009, 9:52:34 AM12/15/09
to
Ah. Got some info now.

Got into kmdb and ran :-

prom_debug/W 1
:c

and this seems to attempt to boot.

At the end, there was a message which seems to be pertinent:-

Cannot mount root on /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0:a fstype ufs
panic[cpu0]/thread=fffffffffbc26480: vfs_mountroot: cannot mount root

Hmmm. So for some reason the kernel cant see the root disk. I know its
there because failsafe can see it?
Any ideas?

Rebuild the kernel? ????

hume.sp...@bofh.ca

unread,
Dec 15, 2009, 1:29:16 PM12/15/09
to
In comp.unix.solaris BertieB...@gmail.com <bertieb...@gmail.com> wrote:
> Cannot mount root on /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0:a fstype ufs
> panic[cpu0]/thread=fffffffffbc26480: vfs_mountroot: cannot mount root
>
> Hmmm. So for some reason the kernel cant see the root disk. I know its
> there because failsafe can see it?

I wouldn't assume that. When the failsafe boots, it runs off the ramdisk.
Does it offer to mount the hard disk root on /a?

If you boot failsafe, and then pop into a shell, is /a mounted? What
device is it attached to?

What happens if you do a regular boot, adding '-r' to the grub flags? It's
possible your /dev tree is damaged.

Nicolas GIMMILLARO

unread,
Dec 17, 2009, 3:38:42 AM12/17/09
to


See my post on 12/10/09 18:11

Have to try to see if bootpath in bootenv.rc (it is actually be set to
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0:a ) matchs the hardware path on
which the failsafe os has booted ?

bertieb...@gmail.com

unread,
Dec 17, 2009, 4:23:33 AM12/17/09
to
On Dec 17, 8:38 am, Nicolas GIMMILLARO <nicolas.gimmill...@wmi.fr>
wrote:
> which the failsafe os has booted ?- Hide quoted text -

>
> - Show quoted text -

Which post was that?

0 new messages