Recent Nevada builds have caused me to experience a new failure when trying
to install x64 systems.
I don't 'own' the DHCP server on the network and thus can not set up PXE
boot. Instead, I have created GRUB entries that hard code the system
network information, similar to that below. This used to work until
recently, maybe until the new boot mechanism.
I noticed that install-discovery calls netstrategy, which is returning
values that don't configure the network, it seems. Below is the output of
'sh -x /sbin/install-discovery'. The interfaces are getting plumbed, but
due to netstrategy, the system does not know what to do next.
My boot setup is unconventional, but the only way I could figure out how to
do network installs without PXE. Any suggestions what to do? My only
work-around right now it to use DVD to boot, then select NFS for the
installation media. This does not work well remotely.
Thanks
Steffen
PS: It is interesting that line 57 of
http://src.opensolaris.org/source/xref/onnv/aside/usr/src/cmd/cmd-inet/sbin/netstrategy/netstrategy.c
has: * CAVEATS: what about autoclient systems? XXX
My typical GRUB entry:
#---------- ADDED BY Steffen - DO NOT EDIT ----------
title (13) netboot Solaris Nevada (via marlton)
ifconfig --address=129.154.53.11 --gateway=129.154.53.215
--mask=255.255.255.0 --server=129.154.53.130
rarp
root (nd)
kernel /I86PC.Solaris_11-1/platform/i86pc/kernel/unix -B
install_media=129.154.53.130:/jumpstart/nv/x86/latest,console=ttya
module /I86PC.Solaris_11-1/x86.miniroot
#---------------------END Steffen--------------------
And I also tried forcing the rarp to do the work, but similar results:
#---------- ADDED BY Steffen - DO NOT EDIT ----------
title (13) netboot Solaris Nevada (via marlton)
###ifconfig --address=129.154.53.11 --gateway=129.154.53.215
--mask=255.255.255.0 --server=129.154.53.130
rarp
root (nd)
kernel /I86PC.Solaris_11-1/platform/i86pc/kernel/unix -B
install_media=129.154.53.130:/jumpstart/nv/x86/latest,console=ttya
module /I86PC.Solaris_11-1/x86.miniroot
#---------------------END Steffen--------------------
SunOS Release 5.11 Version snv_64 32-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring /dev
|
1. Solaris Interactive (default)
2. Custom JumpStart
3. Solaris Interactive Text (Desktop session)
4. Solaris Interactive Text (Console session)
5. Apply driver updates
6. Single user shell
Enter the number of your choice.
Selected: 1
Solaris Interactive
ERROR: Unable to configure network interface
Exiting to shell.
#
# sh -x install-discovery
PATH=/sbin:/sbin:/usr/sbin:/usr/bin
+ export PATH
+ /sbin/uname -p
PLATFORM=i386
+ export PLATFORM
I386=i386
SPARC=sparc
ROOT=/tmp/root
LOGS=/tmp/root/var/sadm/system/logs
NETBOOTINFO=/usr/lib/inet/wanboot/netbootinfo
CDROOT=/tmp/.cdroot
NO_AUTOSTART_NFS_DAEMONS=
+ export NO_AUTOSTART_NFS_DAEMONS
Network=no
FJS_BOOT=no
DoDrvconfig=yes
SINGLE_USER=0
USING_DHCP=0
MENU_INTERACTIVE=Solaris Interactive
MENU_JUMPSTART=Custom JumpStart
MENU_INTERACTIVE_DESKTOP=Solaris Interactive Text (Desktop session)
MENU_INTERACTIVE_CONSOLE=Solaris Interactive Text (Console session)
MENU_DRIVER_UPDATES=Apply driver updates
MENU_SHELL=Single user shell
+ [ ! -f /tmp/.rcSmnt ]
+ [ = YES ]
+ [ -f /tmp/.rcSrun ]
+ [ -x /sbin/dial ]
dial_pid=137
+ /sbin/dial
+ cd /.tmp_proto
+ cpio -pdm /tmp
+ find . -print -depth
+ mkdir -p /tmp/root/var/sadm/system/logs
+ /sbin/mem
MEMSIZE=7633428
+ echo Memory free after tmpfs initialization: 7633428
+ echo swap - /tmp tmpfs - no -
+ echo /proc - /proc proc - no -
+ [ -f /kernel/fs/dev -o -f /kernel/fs/sparcv9/dev -o -f /kernel/fs/amd64/dev ]
+ echo Configuring /dev
Configuring /dev
+ cpio -pdum /tmp
+ find dev -depth -print
find: stat() error dev: No such file or directory
+ /usr/sbin/devfsadm -r /tmp -p /tmp/root/etc/path_to_inst
+ /sbin/mount -F dev -o remount,attrdir=/tmp/dev /dev /dev
+ mkdir -p /tmp/etc
+ mkdir -p /tmp/etc/sysevent
+ /usr/lib/sysevent/syseventd -r /tmp
+ /usr/lib/devfsadm/devfsadmd -a /tmp -p /tmp/root/etc/path_to_inst
devfsadmd: daemon pid 28 is already running
BOOTFS_DISK=/devices/ramdisk-bootfs:a
+ [ -b /devices/ramdisk-bootfs:a ]
install_menu=none
+ set --
+ /sbin/getbootargs
+ set --
+ [ 1 -gt 0 ]
+ [ 1 -gt 0 ]
+ shift
+ [ 0 -gt 0 ]
+ /sbin/get_root -t Roottype -b Rootfs /
+ eval Roottype='ufs'; Rootfs='/devices/ramdisk:a';
Roottype=ufs
Rootfs=/devices/ramdisk:a
+ echo fd - /dev/fd fd - no -
+ /sbin/mount -F fd /dev/fd
+ [ i386 = i386 ]
+ grep soldevx
+ prtconf -v /devices
+ [ 1 = 0 ]
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /keyboard-layout/{;n;p;}
kbdlayout=Unknown
+ grep -v setprop keyboard-layout /boot/solaris/bootenv.rc
+ echo setprop keyboard-layout 'Unknown'
+ cat /tmp/bootenv135
+ rm /tmp/bootenv135
+ init_keyboard
+ test -x /usr/lib/set_keyboard_layout
+ /usr/lib/set_keyboard_layout
+ /usr/bin/loadkeys
+ [ -h /dev/kbd -a -x /usr/bin/kbd ]
+ /usr/bin/kbd -i
+ pkill dial
+ echo /devices/ramdisk:a - / ufs - no ro
+ check_recovery
+ grep install_media
+ prtconf -v /devices
+ [ 0 != 0 ]
+ itu_jumpstart_menu
+ true
+ echo \b\n
+ echo 1. Solaris Interactive (default)
1. Solaris Interactive (default)
+ echo 2. Custom JumpStart
2. Custom JumpStart
+ echo 3. Solaris Interactive Text (Desktop session)
3. Solaris Interactive Text (Desktop session)
+ echo 4. Solaris Interactive Text (Console session)
4. Solaris Interactive Text (Console session)
+ echo 5. Apply driver updates
5. Apply driver updates
+ echo 6. Single user shell
6. Single user shell
+ echo \nEnter the number of your choice.
Enter the number of your choice.
+ /sbin/selection 30 6
Selected: 1
x=1
+ echo \nSolaris Interactive\n
Solaris Interactive
+ break
+ /boot/solaris/bin/create_diskmap
+ [ -x /sbin/dial ]
dial_pid=210
+ /sbin/ifconfig lo0 plumb
+ /sbin/dial
+ /sbin/ifconfig lo0 127.0.0.1 up
+ /sbin/ifconfig -a plumb
+ awk /^[a-z0-9]*:/{print $1}
+ ifconfig -a
net_device_list=lo0:
net_device_list=e1000g0:lo0:
net_device_list=e1000g1:e1000g0:lo0:
net_device_list=e1000g2:e1000g1:e1000g0:lo0:
net_device_list=e1000g3:e1000g2:e1000g1:e1000g0:lo0:
+ basedevof /devices/ramdisk:a
D=/devices/ramdisk:a
T=
IFS=:
+ set -- /devices/ramdisk a
U=/devices/ramdisk
+ shift
+ [ 1 -gt 1 ]
+ [ i386 = sparc ]
+ [ = ufs ]
+ echo /devices/ramdisk:q
Installfs=/devices/ramdisk:q
+ [ X/devices/ramdisk:q = X/devices/ramdisk:a ]
+ [ -b /devices/ramdisk:q ]
+ find_media
+ grep install_media
+ prtconf -v /devices
+ [ 0 = 0 ]
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /install_media/{;n;p;}
MEDIA=129.154.53.130:/jumpstart/nv/x86/latest
+ [ 129.154.53.130:/jumpstart/nv/x86/latest = cdrom ]
+ trymountnet 129.154.53.130:/jumpstart/nv/x86/latest
nfspath=129.154.53.130:/jumpstart/nv/x86/latest
+ /sbin/ifconfig lo0 plumb
+ /sbin/ifconfig lo0 127.0.0.1 up
+ /sbin/ifconfig -a plumb
+ cut -f 3 -d
+ /sbin/netstrategy
strat=none
+ [ _none = _dhcp ]
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /boot-mac/{;n;p;}
bootmac=
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /host-ip/{;n;p;}
hostip=
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /subnet-mask/{;n;p;}
netmask=
+ cut -f 2 -d '
+ prtconf -v /devices
+ sed -n /router-ip/{;n;p;}
def_route=
+ [ X = X ]
netmask=255.255.255.0
+ [ X != X -a X != X -a X255.255.255.0 != X ]
+ [ X != Xyes ]
+ echo ERROR: Unable to configure network interface
ERROR: Unable to configure network interface
+ echo Exiting to shell.
Exiting to shell.
+ pkill dial
+ /sbin/sh
#
#
# /sbin/netstrategy
ufs none none
#
_______________________________________________
networking-discuss mailing list
[email protected]