OpenSolaris

Printable Version Enter a New Search
Bug ID 6754049
Synopsis eeprom is writing menu.lst with out -B $ZFS-BOOTFS for ZFS file system
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:boot-x86
Keywords rtiq_reviewed
Responsible Engineer Gangadhar M
Reported Against snv_99
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_120
Fixed In snv_120
Release Fixed solaris_nevada(snv_120)
Related Bugs 6521468 , 6714681 , 6737302 , 6777868 , 6831067 , 6856453 , 6856469 , 6878665
Submit Date 30-September-2008
Last Update Date 5-October-2009
Description
I used eeprom twice on my w2100z on different installations. The first time, I was setting console=text and the second time
I was setting console=tty.

Both times my /rpool/boot/grub/menu.lst got rewritten with this additional entry and it was automatically made the default:

#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris bootenv rc
findroot pool_rpool
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B console=ttya bootadm: kernel comm
and on line 64 not recognized.
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------

And both times my system went into a panic loop until I could manually change the boot option.


krtld: Unused kernel arguments: `bootadm: kernel command on line 64 not recognized.'.
SunOS Release 5.11 Version snv_99 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
NOTICE: mount: not a UFS magic number (0x0)
Cannot mount root on /ramdisk:a fstype ufs

panic[cpu0]/thread=fffffffffbc293a0: vfs_mountroot: cannot mount root

fffffffffbc48dc0 genunix:vfs_mountroot+356 ()
fffffffffbc48df0 genunix:main+e6 ()
fffffffffbc48e00 unix:_locore_start+92 ()

skipping system dump - no dump device configured


[root@warlock solaris]>	tail -20 /boot/solaris/bootenv.rc
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#pragma ident	"%Z%%M%	%I%	%E% SMI"
#
#	bootenv.rc -- boot "environment variables"
#
setprop ata-dma-enabled '1'
setprop atapi-cd-dma-enabled '1'
setprop ttyb-rts-dtr-off 'false'
setprop ttyb-ignore-cd 'true'
setprop ttya-rts-dtr-off 'false'
setprop ttya-ignore-cd 'true'
setprop ttyb-mode '9600,8,n,1,-'
setprop ttya-mode '9600,8,n,1,-'
setprop lba-access-ok '1'
setprop prealloc-chunk-size '0x2000'
setprop keyboard-layout 'Unknown'
setprop console 'ttya'



[root@warlock ~]> eeprom
console=ttya
ata-dma-enabled=1
atapi-cd-dma-enabled=1
ttyb-rts-dtr-off=false
ttyb-ignore-cd=true
ttya-rts-dtr-off=false
ttya-ignore-cd=true
ttyb-mode=9600,8,n,1,-
ttya-mode=9600,8,n,1,-
lba-access-ok=1
prealloc-chunk-size=0x2000
keyboard-layout=Unknown
boot-file=bootadm: kernel command on line 64 not recognized.
boot-args=bootadm: kernel command on line 64 not recognized.
-B bootadm: kernel command on line 64 not recognized.
[root@warlock ~]>
Work Around
add -B $ZFS-BOOTFS in menu.lst if root file system is ZFS.

Like this:
kernel$ /platform/i86pc/kernel/$ISADIR/unix  -B $ZFS-BOOTFS -k
Comments
N/A