9837 nfs_dlinet: allow nfs:// urls

Review Request #1205 - Created Sept. 13, 2018 and submitted

Information
Toomas Soome
illumos-gate
9837
5986fcd...
Reviewers
general
9837 nfs_dlinet: allow nfs:// urls

Without the patch:

mount_root: name=root
dhcp:  dhcack ffffff024d48fd00, len 304
dhcp:  setting netmask to: 255.255.255.0
dhcp:  no broadcast address supplied
dlifconfig:  entered
dlifconfig:  addr 192.168.225.130
dlifconfig:  mask 255.255.255.0
dlifconfig:  broadcast 255.255.255.255
dlifconfig:  returned
dhcp: added route 192.168.225.2
dhcpinit: leaving
init_config: ifname e1000g0 is up
getfile: entered
NOTICE: server_ipaddr nfs is invalid
server ip is 0.0.0.0
dhcp:  root path //192.168.1.244/export/uefi-oi
dhcp: file server ip address missing, fallback to dhcp server as file serverdhcp
:  no rootopts or too long
ping_prog: 6 return 26 (RPC: Couldn't make connection)
mount_root: mount beastie.local://192.168.1.244/export/uefi-oi failed: error 120
mount_root: name=root
getfile: entered
mountnfs3: entered
mountnfs3: fhs_status 13
mountnfs3: leaving
mount_root: mount beastie.local://192.168.1.244/export/uefi-oi failed: error 6
WARNING: Unable to mount NFS root filesystem: error 6
Cannot mount root on /pci@0,0/pci15ad,790@11/pci15ad,750@0 fstype nfsdyn

^Mpanic[cpu0]/thread=fffffffffbc46040: vfs_mountroot: cannot mount root

With patch, NFS boot is working again:

mount_root: name=root
dhcp:  dhcack ffffff024d890800, len 304
dhcp:  setting netmask to: 255.255.255.0
dhcp:  no broadcast address supplied
dlifconfig:  entered
dlifconfig:  addr 192.168.225.130
dlifconfig:  mask 255.255.255.0
dlifconfig:  broadcast 255.255.255.255
dlifconfig:  returned
dhcp: added route 192.168.225.2
dhcpinit: leaving
init_config: ifname e1000g0 is up
getfile: entered
server ip is 192.168.1.244
dhcp:  root path /export/uefi-oi
dhcp:  no rootopts or too long
ping_prog: 6 return 26 (RPC: Couldn't make connection)
mount_root: mount beastie.local:/export/uefi-oi failed: error 120
mount_root: name=root
getfile: entered
mountnfs3: entered
ping_prog: 6 return 0 (RPC: Success)
mountnfs3: leaving
getfile: entered
mount_root: leaving
mount_root: name=root
getfile: entered
mountnfs3: entered
ping_prog: 6 return 0 (RPC: Success)
mountnfs3: leaving
rootopts = 
mount_root: leaving
NOTICE: Kernel debugger present: disabling console power management.
Hostname: oi-nfs
Peter Tribble
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...