AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080212163244.2131b0cb@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<charissa.willard@onstor.com>,<chris.vandever@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E08496F47@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 12 Feb 2008 16:32:50 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Charissa Willard" <charissa.willard@onstor.com>
Cc: Chris Vandever <chris.vandever@onstor.com>
Subject: Re: Defect  SW-CLI Opened TED00022297
Message-ID: <20080212163250.219d060e@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E08496F47@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E08496F47@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

This is the same bug that I filed in December and you came and
discussed with me.  TED00021593.  Which is duped to 21144.  Which is
marked as fixed by cl#26870.

However, you still have to run nfxsh and I'm pretty sure you still have
to reboot an extra time.

On Tue, 12 Feb 2008 16:17:19 -0800 "Charissa Willard"
<charissa.willard@onstor.com> wrote:

> Andy,
> 
>  
> 
> Did something in the initial config code that Sripal did break this?
> 
>  
> 
> Thanks,
> 
> Charissa
> 
>  
> 
> -----Original Message-----
> From: chris.vandever@onstor.com [mailto:chris.vandever@onstor.com] 
> Sent: Tuesday, February 12, 2008 4:14 PM
> To: Charissa Willard
> Cc: Chris Vandever
> Subject: Defect SW-CLI Opened TED00022297
> 
>  
> 
> id: TED00022297
> 
> Headline: flash_install.sh no longer copies config from secondary
> flash on reboot
> 
> Severity: 2-Major
> 
> Build: Submittal 5
> 
> Description: I was running R3.0 on my primary flash (wd1x) and had to
> rebuild my secondary flash (wd0x).  I ran /etc/flash_install.sh with
> it set up to install sub 5 of cougar.  This appeared to install
> correctly. It then asked if I wanted it to automatically copy the
> config files from the original flash when the newly formatted flash
> was first booted.  I replied, 'y':
> 
>  
> 
> Do you wish for this flash to automatically copy
> 
> the configuration from the other flash at boot time
> 
> rather than running the initial config menu? [N] Y
> 
> I'll take Y as a 'Yes' and set the new flash to autoupgrade.
> 
> eng28# 
> 
>  
> 
> I rebooted off the newly formatted flash (wd0x), but it did NOT copy
> the config from the original flash (wd1x).  Instead, I had to run
> nfxsh to get the FTI menu and tell it to copy the config from the
> original flash (wd1x).  Apparently, the cougar code base no longer
> understands the setting in the flash that tells it to automatically
> copy the config from the alternate flash at boot time, yet the option
> exists.  This will be very confusing for customers.
> 
>  
> 
> /etc/rc.shutdown in progress...
> 
> /etc/rc.shutdown complete.
> 
> syncing disks... done
> 
> System restart.
> 
>  
> 
>  
> 
>  
> 
> PowerOn Self Test........OK
> 
>  
> 
> Initializing System......please wait
> 
>  
> 
> PS0 ibutton not present
> 
> PS1 ibutton not present
> 
>  
> 
> flash program 0x50 bytes to 0xbfc7ff80 from 0x808a4120
> 
> sectors ... 7 done
> 
>  
> 
>  
> 
>  
> 
>  
> 
> PMON [SSC,EL,FP]
> 
> ONStor Inc. PROM_R7000 : prom-2.0.9 : Tue Mar 15 16:48:18 2005
> 
> CPU type R7000.  Rev 3.3.  400 MHz/100 MHz.
> 
> module: SSC, Slot 0, CPU 0
> 
> Memory size 256 MB.
> 
> Icache size  16 KB, 32/line (4 way)
> 
> Dcache size  16 KB, 32/line (4 way)
> 
> Scache size 256 KB, 32/line (4 way)
> 
> debug IP addr = 10.2.5.118
> 
> debug IP mask = 255.255.0.0
> 
>  
> 
>  
> 
> Initializing Autoloader, hit control-E to bypass
> 
> ........................................................................
> ........
> 
> SOCKET A: CIS info: TOSHIBA THNCF512MDG , , ,
> 
> SOCKET B: CIS info: TOSHIBA THNCF512MDG , , ,
> 
> disk model: TOSHIBA THNCF512MDG                     
> 
> disk geometry: cylinders=993 heads=16 sectors=63
> 
> Loaded /dev/wd0a/ssc-mgmt.bin at b0008000 length 453748
> 
> disk model: TOSHIBA THNCF512MDG                     
> 
> disk geometry: cylinders=993 heads=16 sectors=63
> 
> 0x80100000:0x12f900, Zero 0x8022f900:0x271940, start at 0x80100080
> 
> MAC address in chassis seep is invalid
> 
> MAC address in chassis seep is invalid
> 
> env[0] = 80b99228:.cpuclock=400000000.
> 
> env[1] = 80b99278:.memsize=256.
> 
> env[2] = 80b992c8:.osloadoptions=mAt.
> 
> env[3] = 80b99318:.boot=cold.
> 
> env[4] = 80b99368:.busclock=100.
> 
> env[5] = 80b993b8:.ipaddr=10.2.5.118.
> 
> env[6] = 80b99408:.netmask=255.255.0.0.
> 
> env[7] = 80b99458:.macaddr0=.00:07:34:05:76:00.
> 
> env[8] = 80b994a8:.macaddr1=.00:07:34:05:76:01.
> 
> env[9] = 80b994f8:.bootdev=/dev/wd0a.
> 
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> 
>         The Regents of the University of California.  All rights
> reserved.
> 
> Copyright (c) 1995-2000 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
>  
> 
> kmem_init: start c02f7000 end c6238000 size 5f41000
> 
> OpenBSD 2.8 (SSC_I) #0: Tue Jan 22 22:18:48 PST 2008
> 
>     root@k2:/usr/openbsd.new/src/sys/arch/pmonmips/compile/SSC_I
> 
> real mem = 266338304
> 
> buffers = c0af8000 base = 8 residual = 0 nbuf = 199 bufpages = cc8
> MAXBSIZE = 8000 CLBYTES = 1000
> 
> avail mem = 244551680 (bytes) (233 MBs)
> 
> using 409 buffers containing 13402112 bytes of memory
> 
> mainbus0 (root)
> 
> cpu0 at mainbus0: QED RM7000A CPU Rev. 3.3 with QED RM7000 FPC Rev.
> 2.0
> 
>         L1 Cache: I size 16kb(32 line), D size 16kb(32 line), four
> way.
> 
>         L2 Cache: Size 256kb, four way
> 
> localbus0 at mainbus0
> 
> clock0 at localbus0: mc146818 or compatible
> 
> galileo match: device id 6430, vendor id = 11ab
> 
> galileo0 at mainbus0: GT-64240
> 
> pcibr0 at galileo0
> 
> PCI BRIDGE: pcibr at bus 1
> 
> pci0 at pcibr0 bus 0
> 
> vendor 0x14e4 product 0x5600 (class network, subclass miscellaneous,
> rev 0x03) at pci0 dev 6 function 0 not configured
> 
> vendor 0x102f product 0x000a (class bridge, subclass host, rev 0x07)
> at pci0 dev 7 function 0 not configured
> 
> pcic0 at pci0 dev 8 function 0 vendor 0x1013 product 0x1100 rev 0x07
> 
> pcic0 controller 0: <Cirrus PD672X> has sockets A and B
> 
> pcmcia0 at pcic0 controller 0 socket 0
> 
> wdc0 at pcmcia0 function 0 "TOSHIBA THNCF512MDG , , " port 0x400/16
> 
> wd0 at wdc0 channel 0 drive 0: <TOSHIBA THNCF512MDG>
> 
> wd0: can use 16-bit, PIO mode 4
> 
> wd0: 1-sector PIO, LBA, 488MB, 993 cyl, 16 head, 63 sec, 1000944
> sectors
> 
> pcmcia1 at pcic0 controller 0 socket 1
> 
> wdc1 at pcmcia1 function 0 "TOSHIBA THNCF512MDG , , " port 0x800/16
> 
> wd1 at wdc1 channel 0 drive 0: <TOSHIBA THNCF512MDG>
> 
> wd1: can use 16-bit, PIO mode 4
> 
> wd1: 1-sector PIO, LBA, 488MB, 993 cyl, 16 head, 63 sec, 1000944
> sectors
> 
> pcic0: no irq, polling enabled
> 
> gtuart0 at galileo0
> 
> gtuart0: console attached
> 
> sc0 at galileo0 address 08:08:00:00:01:02
> 
> sc0: no phy found, using manual mode
> 
> sc1 at galileo0 address 00:07:34:05:76:00
> 
> sc1: no phy found, using manual mode
> 
> sc2 at galileo0 address 00:07:34:05:76:01
> 
> sc2: no phy found, using manual mode
> 
> prom0 at galileo0
> 
> da=0 cntr=1
> 
> boot device: wd0.
> 
> root on wd0a
> 
> swp=8022f86c swp->sw_dev=1025 m=4
> 
> clock_alt_init: IDLE_MASK & IC_INT_TIMR = 1000
> 
> tsc0: tx at 0x8fed0000 rx at 0x8fef8b68
> 
> rootdev=0x400 rrootdev=0x1200 rawdev=0x1202
> 
> Automatic boot in progress: starting file system checks.
> 
> /dev/rwd0a: file system is clean; not checking
> 
> /dev/rwd0d: file system is clean; not checking
> 
> /dev/rwd0e: file system is clean; not checking
> 
> /dev/rwd0f: file system is clean; not checking
> 
> swapon: adding /dev/wd0b as swap device at priority 0
> 
> setting tty flags
> 
> net.inet.ip.portfirst: 1024 -> 2100
> 
> kern.nosuidcoredump: 1 -> 0
> 
> starting network
> 
> writing to routing socket: File exists
> 
> duplicate IP address 0.0.0.0 sent from ethernet address
> 00:04:02:ec:05:90
> 
> duplicate IP address 0.0.0.0 sent from ethernet address
> 00:04:02:ec:04:7f
> 
> duplicate IP address 0.0.0.0 sent from ethernet address
> 00:07:34:01:08:00
> 
> duplicate IP address 0.0.0.0 sent from ethernet address
> 00:07:34:00:00:00
> 
> Listening on BPF/sc1/00:07:34:05:76:00/unattached
> 
> Sending on   BPF/sc1/00:07:34:05:76:00/unattached
> 
> Sending on   Socket/fallback/fallback-net
> 
> DHCPDISCOVER on sc1 to 255.255.255.255 port 67 interval 12
> 
> DHCPOFFER from <null address>
> 
> DHCPOFFER isn't satisfactory.
> 
> Memory fault (core dumped)
> 
> ps: warning: /var/run/dev.db: No such file or directory
> 
> ifconfig: SIOCAIFADDR: File exists
> 
> Listening on BPF/sc2/00:07:34:05:76:01/unattached
> 
> Sending on   BPF/sc2/00:07:34:05:76:01/unattached
> 
> Sending on   Socket/fallback/fallback-net
> 
> DHCPDISCOVER on sc2 to 255.255.255.255 port 67 interval 21
> 
> No DHCPOFFERS received.
> 
> No working leases in persistent database - sleeping.
> 
>  
> 
> ps: warning: /var/run/dev.db: No such file or directory
> 
> starting system logger
> 
> starting rpc daemons: portmap ypserv ypbind.
> 
> sendto: No route to host
> 
> savecore: no core dump
> 
> building ps databases: kvm dev.
> 
> clearing /tmp
> 
> starting pre-securelevel daemons:.
> 
> setting kernel security level: kern.securelevel: 0 -> 1
> 
> ssh-keygen: generating new DSA host key... done.
> 
> ssh-keygen: generating new RSA host key... done.
> 
> ssh_keygen: generating new RSA1 host key...done.
> 
> remounting root read-only...done.
> 
> starting network daemons: inetd hostidd sshd.
> 
> starting local daemons: ntpdate.
> 
> starting onstor daemons: mgmtbus0 pm.
> 
> created /tmp/ramdisk
> 
> starting mount_mfs: done
> 
> standard daemons: cron.
> 
> checking domain name [NASgateway]... passed
> 
> Tue Feb 12 15:42:22 PST 2008
> 
>  
> 
> login: root
> 
> Password:
> 
> OpenBSD 2.8 (SSC_I) #0: Tue Jan 22 22:18:48 PST 2008
> 
>  
> 
> Terminal type? [vt220] xterm
> 
> cd /onlocalhost# cd /onstor/conf
> 
> localhost# ll
> 
> total 258
> 
> -rw-r--r--  1 root  wheel  194687 Jan 22 23:38 R3.3.0.0DBG-012208.bom
> 
> lrwxr-xr-x  1 root  wheel      22 Feb 12 15:23 current.bom ->
> R3.3.0.0DBG-012208.bom
> 
> -rwxr-xr-x  1 root  wheel    2046 Jan 22 23:37 emrs_client.pem
> 
> -rwxr-xr-x  1 root  wheel    1363 Jan 22 23:37 emrs_server.crt
> 
> -rw-r--r--  1 root  wheel     107 Feb 12 15:39 nasgwayinit.conf
> 
> -rwxr-xr-x  1 root  wheel   53742 Jan 22 23:37 sdm-devcap
> 
> localhost# ps -ax
> 
>   PID TT   STAT      TIME COMMAND
> 
>     1 ??  Is      0:00.02 /sbin/init
> 
>  6829 ??  Is      0:00.01 portmap
> 
>  6988 ??  Is      0:00.03 /onstor/bin/sshd
> 
> 14188 ??  S       0:00.10 /onstor/bin/sscccc
> 
> 14528 ??  Is      0:00.07 /onstor/bin/hostidd
> 
> 15487 ??  Ss      0:00.09 syslogd
> 
> 15752 ??  R       0:00.36 /onstor/bin/elog
> 
> 17727 ??  Is      0:00.03 inetd
> 
> 17869 ??  I       0:00.05 ypserv -a /var/yp/securenet
> 
> 20072 ??  Ss      0:00.00 ypbind -ypsetme
> 
> 20707 ??  Ds      0:00.03 mount_mfs -s 2000 -o union,noatime,rw swap
> /dev
> 
> 24796 ??  Ds      0:00.06 /sbin/mount_mfs -s 10240 -o union,noatime,rw
> swap /tm
> 
> 27977 ??  Ss      0:00.11 /onstor/bin/pm
> 
> 30212 ??  Is      0:00.04 cron
> 
>   178 ??  Ss      0:00.11 -csh (csh)
> 
> 24836 ??  R+      0:00.02 ps -ax
> 
> localhost# 
> 
>  
> 
> Release_Project: Cougar
> 
>  
> 
