SUMMARY: jumpstart fails since upgrade to Solaris 9 Recommended Dec/19/06

From: Richard Skelton <Richard.Skelton_at_infineon.com>
Date: Fri Dec 22 2006 - 06:17:49 EST
Hi,
Thanks to Casper for pointing me in the right direction.
My NIS ethers map needed to have the MAC address without leading zero's:-

8:0:20:e8:fc:f3 brscs17

This seems to be because the NIS lookup is a string match.
Which is odd as the lookup on the /etc/ethers file worked with the 
leading zero's


Richard Skelton wrote:

>Hi,
>I have patched my jumpstart server running Solaris 9 with Solaris 9 
>Recommended Dec/19/06
>Now my jumpstart fail ;-
>{0} ok boot /pci@1f,2000/network@1 - install
>Resetting ...
>
>Sun Ultra 80 UPA/PCI (4 X UltraSPARC-II 450MHz), No Keyboard
>OpenBoot 3.31, 4096 MB memory installed, Serial #15269107.
>Ethernet address 8:0:20:e8:fc:f3, Host ID: 80e8fcf3.
>
>
>
>Rebooting with command: boot /pci@1f,2000/network@1 - install
>Boot device: /pci@1f,2000/network@1  File and args: - install
>Timeout waiting for ARP/RARP packet
>Timeout waiting for ARP/RARP packet
>Timeout waiting for ARP/RARP packet
>Timeout waiting for ARP/RARP packet
>...
>.
>
>If I snoop hme0 I see:-
>root: snoop ether 8:0:20:e8:fc:f3
>Using device /dev/hme (promiscuous mode)
>OLD-BROADCAST -> (broadcast)  RARP C Who is 8:0:20:e8:fc:f3 ?
>OLD-BROADCAST -> (broadcast)  RARP C Who is 8:0:20:e8:fc:f3 ?
>OLD-BROADCAST -> (broadcast)  RARP C Who is 8:0:20:e8:fc:f3 ?
>
>
>If I truss the in.rarpd process I see :-
>root: truss -leaf -x all -p 486
>486/2:          psargs: /usr/sbin/in.rarpd -a
>486/2:          lwp_park(0, 0x00000000, 0)      (sleeping...)
>486/3:          getmsg(4, 0xFEFFBF94, 0xFEFFB788, 0xFEFFAF84) (sleeping...)
>486/3:          getmsg(4, 0xFEFFBF94, 0xFEFFB788, 0xFEFFAF84)   = 0
>486/3:          lwp_schedctl(0x0009, 0, 0xFEFFA39C)             = 0
>486/3:          mmap(0x00000000, 16384, 0x0003, 0x80000102, -1, 0) = 
>0xFF130000
>486/3:          open(0xFF22AAD8, 020000)                        = 5
>486/3:               0xFF22AAD8: "/etc/nsswitch.conf"
>486/3:          fcntl(5, 0, 0x00000100)                         = 256
>486/3:          close(5)                                        = 0
>486/3:          read(256, 0x00024518, 1024)                     = 1024
>486/3:               0x00024518: " #\n #   / e t c / n s s"..
>486/3:          read(256, 0x00024518, 1024)                     = 373
>486/3:               0x00024518: "     n i s   [ N O T F O"..
>486/3:          read(256, 0x00024518, 1024)                     = 0
>486/3:          close(256)                                      = 0
>486/3:          stat(0xFF3F1408, 0xFEFF9EB8)                    = 0
>486/3:               0xFF3F1408: "/usr/lib/nss_nis.so.1"
>486/3:          resolvepath(0xFF3F1408, 0xFEFF9AB8, 1023)       = 21
>486/3:               0xFF3F1408: "/usr/lib/nss_nis.so.1"
>486/3:               0xFEFF9AB8: "/usr/lib/nss_nis.so.1"
>486/3:          open(0xFF3F1408, 0)                             = 5
>486/3:               0xFF3F1408: "/usr/lib/nss_nis.so.1"
>486/3:          mmap(0x00010000, 8192, 0x0005, 0x80000202, 5, 0) = 
>0xFF120000
>486/3:          mmap(0x00010000, 98304, 0x0000, 0x80000342, -1, 0) = 
>0xFEEE0000
>486/3:          mmap(0xFEEE0000, 21184, 0x0005, 0x80000012, 5, 0) = 
>0xFEEE0000
>486/3:          mmap(0xFEEF6000, 1836, 0x0007, 0x80000012, 5, 24576) = 
>0xFEEF6000
>486/3:          munmap(0xFEEE6000, 65536)                       = 0
>486/3:          memcntl(0xFEEE0000, 6884, 4, 0x0003, 0, 0)      = 0
>486/3:          close(5)                                        = 0
>486/3:          mmap(0x00000000, 8192, 0x0007, 0x80000102, -1, 0) = 
>0xFF110000
>486/3:          munmap(0xFF110000, 8192)                        = 0
>486/3:          mmap(0x00000000, 8192, 0x0007, 0x80000102, -1, 0) = 
>0xFF110000
>486/3:          munmap(0xFF110000, 8192)                        = 0
>486/3:          munmap(0xFF120000, 8192)                        = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFFA328)          = 0
>486/3:          sigprocmask(3, 0xFEFFA314, 0x00000000)          = 0
>486/3:          sysinfo(9, 0xFEFFA1D8, 256)                     = 17
>486/3:               0xFEFFA1D8: "brs.infineon.com"
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFFA328)          = 0
>486/3:          sigprocmask(3, 0xFEFFA314, 0x00000000)          = 0
>486/3:          getpid()                                        = 486 [1]
>486/3:          open(0xFEFFA0A4, 020000)                        = 5
>486/3:               0xFEFFA0A4: 
>"/var/yp/binding/brs.infineon.com/cache_binding"
>486/3:          fcntl(5, 0, 0x00000100)                         = 256
>486/3:          close(5)                                        = 0
>486/3:          fcntl(256, 14, 0xFEFF9FA4)                      = 0
>486/3:          read(256, 0x00024590, 1024)                     = 140
>486/3:               0x00024590: "\0\0\001\0\0\001\0\0\001"..
>486/3:          close(256)                                      = 0
>486/3:          open(0x00025040, 02)                            = 5
>486/3:               0x00025040: "/dev/udp"
>486/3:          ioctl(5, 0x0000530B, 0xFF324CD0)                = 0
>486/3:          ioctl(5, 0x00005302, 0xFF324CD8)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F88)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F74, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9EE0)                = 0
>486/3:          fstat(5, 0xFEFF9E68)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9EE0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9ECC, 0x00000000)          = 0
>486/3:          brk(0x00025FC0)                                 = 0
>486/3:          brk(0x00027FC0)                                 = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9EE0)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9EE0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9ECC, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F88)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F74, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005305, 3)                         = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F48)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F34, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFF9ED0)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F48)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F34, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F78)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F64, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9FD8)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F78)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F64, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F98)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F84, 0x00000000)          = 0
>486/3:          brk(0x00027FC0)                                 = 0
>486/3:          brk(0x00035FC0)                                 = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F98)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F84, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9E70)          = 0
>486/3:          sigprocmask(3, 0xFEFF9E5C, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFF9DF8)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9E70)          = 0
>486/3:          sigprocmask(3, 0xFEFF9E5C, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F00)          = 0
>486/3:          sigprocmask(3, 0xFEFF9EEC, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9F00)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F00)          = 0
>486/3:          sigprocmask(3, 0xFEFF9EEC, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9D70)          = 0
>486/3:          sigprocmask(3, 0xFEFF9D5C, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFF9CF8)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9D70)          = 0
>486/3:          sigprocmask(3, 0xFEFF9D5C, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9DA0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9D8C, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9E00)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9DA0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9D8C, 0x00000000)          = 0
>486/3:          brk(0x00035FC0)                                 = 0
>486/3:          brk(0x00039FC0)                                 = 0
>486/3:          getpid()                                        = 486 [1]
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9E48)          = 0
>486/3:          sigprocmask(3, 0xFEFF9E34, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFF9DD0)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9E48)          = 0
>486/3:          sigprocmask(3, 0xFEFF9E34, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9ED8)          = 0
>486/3:          sigprocmask(3, 0xFEFF9EC4, 0x00000000)          = 0
>486/3:          ioctl(5, 0x00005308, 0xFEFF9F4C)                = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9ED8)          = 0
>486/3:          sigprocmask(3, 0xFEFF9EC4, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F18)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F04, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9F18)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F04, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9FF0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9FDC, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9FF0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9FDC, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9FE8)          = 0
>486/3:          sigprocmask(3, 0xFEFF9FD4, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9FE8)          = 0
>486/3:          sigprocmask(3, 0xFEFF9FD4, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFFA0DC)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFFA0D8)          = 0
>486/3:          sigprocmask(3, 0xFEFFA0C4, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFFA0D8)          = 0
>486/3:          sigprocmask(3, 0xFEFFA0C4, 0x00000000)          = 0
>486/3:          fcntl(5, 2, 0x00000001)                         = 0
>486/3:          fstat(5, 0xFEFFA1B0)                            = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFFA0E0)          = 0
>486/3:          sigprocmask(3, 0xFEFFA0CC, 0x00000000)          = 0
>486/3:          sigprocmask(3, 0xFF3AA094, 0xFEFF9FA0)          = 0
>486/3:          sigprocmask(3, 0xFEFF9F8C, 0x00000000)          = 0
>486/3:          fstat(5, 0xFEFF9F28)                            = 0
>
>
>As you can see I am using NIS to resolve the MAC to IP via the ethers map.
>
>If I change the /etc/nsswitch.conf from:-
>ethers:     nis [NOTFOUND=return] files
>to :-
>ethers:     files nis [NOTFOUND=return] files
>and add the file /etc/ethers with:-
>08:00:20:e8:fc:f3       brscs17
>
>The U80 builds fine.
>
>This is the output from NIS:-
>root: ypmatch -k brscs17 ethers
>brscs17: 08:00:20:e8:fc:f3 brscs17
>
>
>What is broken?
>
>  
>

-- 



Cheers

Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Dec 22 06:18:39 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:03 EST