Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NFS boot fails with ip_output.c rev 1.261



NFS boot fails with ip_output.c rev 1.261 with my ERLITE (evbmips64-eb):

  root on cnmac0
  nfs_boot: trying BOOTP
  cnmac0: link state DOWN (was UNKNOWN)
  cnmac0: link state UP (was DOWN)
  nfs_boot: BOOTP next-server: 192.168.10.128
  nfs_boot: my_name=erlite
  nfs_boot: my_addr=192.168.10.131
  nfs_boot: my_mask=255.255.255.0
  nfs_boot: gateway=192.168.10.1
  nfs_boot: sosend: 49
  nfs_boot: sosend: 49
  nfs_boot: sosend: 49
  nfs_boot: mountd error=49
  nfs_boot: mountd `cubietruck:/exports/erlite', error=49
  cannot mount root, error = 49
  root device (default cnmac0):

In the kernel configuration file, NFS_BOOT_BOOTP option is specified
instead of NFS_BOOT_DHCP in the original configuration file.

By reverting ip_output.c to rev 1.260, the system boots up normally.
And the root directory can be mounted from other (non-NetBSD) hosts.

I attached the full boot message below.

Thanks,
Rin
====
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.38 (ERLITE_RO) #1: Fri Sep 16 21:17:13 JST 2016
        rin@XXX:XXX
Cavium Octeon CN50XX
total memory = 512 MB
avail memory = 500 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpunode0 at mainbus0: 2 cores, crypto+kasumi, 64bit-mul, unaligned-access ok
cpu0 at cpunode0 core 0: 500.00MHz (hz cycles = 5000000, delay divisor = 500)
cpu0: Cavium CN50xx (0xd0601) Rev. 1 with software emulated floating point
cpu0: 64 TLB entries, 512TB (49-bit) VAs, 512TB (49-bit) PAs, 256MB max page size
cpu0: 32KB/128B 4-way set-associative L1 instruction cache
cpu0: 16KB/128B 64-way set-associative write-through coherent L1 data cache
cpu0: 128KB/128B 8-way set-associative write-back L2 unified cache
cpu1 at cpunode0 core 1: disabled (uniprocessor kernel)
wdog0 at cpunode0: default period is 4 seconds
iobus0 at mainbus0
iobus0: initializing POW
iobus0: initializing FPA
com0 at iobus0 address 0x0001180000000800: ns16650, no ERS, working fifo
com0: console
com at iobus0 address 0x0001180000000c00 not configured
octeon_rnm0 at iobus0 address 0x0001180040000000
octeon_rnm0: random number generator enabled: 1hz
octeon_twsi at iobus0 address 0x0001180000001000 not configured
octeon_mpi at iobus0 address 0x0001070000001000 not configured
octeon_gmx0 at iobus0 address 0x0001180008000000
cnmac0 at octeon_gmx0: address=0x0001180008000000: RGMII
cnmac0: Ethernet address xx:xx:xx:xx:xx:xx
atphy0 at cnmac0 phy 7: Atheros AR8035 10/100/1000 PHY, rev. 2
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
cnmac1 at octeon_gmx0: address=0x0001180008000000: RGMII
cnmac1: Ethernet address xx:xx:xx:xx:xx:xx
atphy1 at cnmac1 phy 6: Atheros AR8035 10/100/1000 PHY, rev. 2
atphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
cnmac2 at octeon_gmx0: address=0x0001180008000000: RGMII
cnmac2: Ethernet address xx:xx:xx:xx:xx:xx
atphy2 at cnmac2 phy 5: Atheros AR8035 10/100/1000 PHY, rev. 2
atphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
dwctwo0 at iobus0 address 0x0001180068000000
usb0 at dwctwo0: USB revision 2.0
bootbus0 at mainbus0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 500000000 Hz quality 100
uhub0 at usb0: vendor 0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: vendor 13fe USB DISK 2.0, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
uhub0: illegal enable change, port 1
sd0 at scsibus0 target 0 lun 0: <, USB DISK 2.0, PMAP> disk removable
sd0: 3700 MB, 928 cyl, 255 head, 32 sec, 512 bytes/sect x 7579008 sectors
WARNING: 1 error while detecting hardware; check system log.
boot device: sd0
root on cnmac0
nfs_boot: trying BOOTP
cnmac0: link state DOWN (was UNKNOWN)
cnmac0: link state UP (was DOWN)
nfs_boot: BOOTP next-server: 192.168.10.128
nfs_boot: my_name=erlite
nfs_boot: my_addr=192.168.10.131
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.10.1
nfs_boot: sosend: 49
nfs_boot: sosend: 49
nfs_boot: sosend: 49
nfs_boot: mountd error=49
nfs_boot: mountd `cubietruck:/exports/erlite', error=49
cannot mount root, error = 49
root device (default cnmac0):


Home | Main Index | Thread Index | Old Index