AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070725135311.5314fe76@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<warren.gale@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	BB375AF679D4A34E9CA8DFA650E2B04E04AFA260@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 25 Jul 2007 13:54:05 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Warren Gale" <warren.gale@onstor.com>
Subject: Re: oh dude
Message-ID: <20070725135405.7eb791a0@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E04AFA260@onstor-exch02.onstor.net>
References: <20070725132844.6f5a2ad8@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E04AFA260@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

On Wed, 25 Jul 2007 13:41:35 -0700 "Warren Gale"
<warren.gale@onstor.com> wrote:

> Me too  " edyookated" :)
> 
> I noticed that when I wnet into bsd (Yea I know that bad stuff)
> the sc1 port (sc1 sc2) was being used instead of sc2.
> I had to connect a second cable to be able to ssh into my bobcat when
> bsd was running.  So I'm wondering if eth1 is sc1 or sc2?
> 
> Seems like it's all going well until the "eth1:" messages. Right?

Uh, I guess.

linux   bsd
-----   ---
eth0 == sc1
eth1 == sc2

If I use eth0, I get this:

SSC-PROM> load -a 83000000 10.0.0.42 vmlinux.bin  
load, ip addr = 0xa00002a, fname = vmlinux.bin  
loading vmlinux.bin from 0xa00002a at 0x83000000
tpl_findBindCb prot=17 lport=9736               
tpl_allocBindCb                  
tftp_tplAddConnInd
TFTP transfer completed.
tftp_tplDelConnInd      
binary load, 2581640 bytes (0x276488)
SSC-PROM> g root=/dev/nfs nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth0:none -s
 do_bsd_launch argc = 5 argv[5] = -s  
                                     
env[0] = 80388dc8:.cpuclock=799975416.
env[1] = 80388e18:.memsize=512.       
env[2] = 80388e68:.osloadoptions=mAt.
env[3] = 80388eb8:.boot=cold.        
env[4] = 80388f08:.busclock=133.
env[5] = 80388f58:.ipaddr=10.2.10.1.
env[6] = 80388fa8:.netmask=255.255.0.0.
env[7] = 80388ff8:.macaddr0=.00:07:34:04:0e:00.
env[8] = 80389048:.macaddr1=.00:07:34:04:0e:01.
env[9] = 80389098:.bootdev=/dev/wd0a.          
 Load options and params for [g]     
  Address 83000080 argc = 5      
   argv [0] = g             
   argv [1] = root=/dev/nfs 
   argv [2] = nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp 
   argv [3] = ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth0:none 
   argv [4] = -s                                                           
 pointer to Prom Util routines = BFC00540 
 Command should be  (addr)(argc, argv, env_strings, ptr_prom_util_routines) 
                                                                            

Booting Linux kernel...
prom_init: env[0] = 'cpuclock=799975416'
prom_init: env[1] = 'memsize=512'       
prom_init: env[2] = 'osloadoptions=mAt'
prom_init: env[3] = 'boot=cold'        
prom_init: env[4] = 'busclock=133'
prom_init: env[5] = 'ipaddr=10.2.10.1'
prom_init: env[6] = 'netmask=255.255.0.0'
prom_init: env[7] = 'macaddr0=00:07:34:04:0e:00'
prom_init: env[8] = 'macaddr1=00:07:34:04:0e:01'
prom_init: env[9] = 'bootdev=/dev/wd0a'         
Linux version 2.6.21-rc4-bc9k-g0a187cbb-dirty (andys@ripper) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #752 Wed Jul 25 13:22:29 PDT 2007
CPU revision is: 00003440                                 
FPU revision is: 00003420
OnStor Bobcat: Board Assembly Rev. A4
Booting from prom                    
Bus clock speed: 133MHz
Determined physical RAM map:
 memory: 03000000 @ 00000000 (ROM data)
 memory: 0d000000 @ 03000000 (usable)  
 memory: 10000000 @ 20000000 (reserved)
 memory: 40000000 @ 40000000 (reserved)
Wasting 393216 bytes for tracking 12288 unused pages
Built 1 zonelists.  Total pages: 52736              
Kernel command line: console=ttyS0,57600n8 console=ttyMM0,57600n8 root=/dev/nfs nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth0:none -s
Primary instruction cache 16kB, physically tagged, 4-way, linesize 32 bytes.                
Primary data cache 16kB, 4-way, linesize 32 bytes.                          
Secondary cache size 256K, linesize 32 bytes.     
Synthesized TLB refill handler (27 instructions).
Synthesized TLB load handler fastpath (39 instructions).
Synthesized TLB store handler fastpath (39 instructions).
Synthesized TLB modify handler fastpath (38 instructions).
PID hash table entries: 1024 (order: 10, 4096 bytes)      
Using 399.988 MHz high precision timer.             
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)  
Memory: 208000k/212992k available (1963k kernel code, 4908k reserved, 448k data, 108k init, 0k highmem)
Real Time Clock base address = bf000000
Mount-cache hash table entries: 512    
NET: Registered protocol family 16 
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2         
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)       
TCP: Hash tables configured (established 8192 bind 8192) 
TCP reno registered                                     
DS1511 Real Time Clock Driver v1.1
io scheduler noop registered      
io scheduler deadline registered (default)
Serial: MPSC driver $Revision: 1.00 $     
mpsc_drv_probe: Adding MPSC 0        
ttyMM0 at MMIO 0xbc008000 (irq = 52) is a MPSC
natsemi dp8381x driver, version 2.1, Sept 11, 2006
  originally by Donald Becker <becker@scyld.com>  
  http://www.scyld.com/network/natsemi.html     
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
natsemi eth0: NatSemi DP8381[56] at 0x19000000 (0000:01:00.0), 00:07:34:04:0e:00, IRQ 8, port TP.
eth1: reset did not complete in 2000 usec.
natsemi eth1: NatSemi DP8381[56] at 0x19001000 (0000:01:01.0), 00:07:34:04:0e:01, IRQ 9, port TP.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
i2c /dev entries driver                                                    
TCP cubic registered   
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
eth0: DSPCFG accepted after 0 usec.                    
eth0: link up.                     
eth0: Setting full-duplex based on negotiated link capability.
IP-Config: Complete:                                          
      device=eth0, addr=10.2.10.1, mask=255.255.0.0, gw=10.2.0.1,
     host=badcat, domain=, nis-domain=(none),                    
     bootserver=10.0.0.42, rootserver=10.0.0.42, rootpath=
Looking up port of RPC 100003/3 on 10.0.0.42              
portmap: server 10.0.0.42 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/3 on 10.0.0.42                       


and it stops there, which suggests to me that it's really using the
real eth0, because this is essentially the failure mode of the problem.



> Warren
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Wednesday, July 25, 2007 1:29 PM
> To: Warren Gale
> Subject: Re: oh dude
> 
> On Tue, 24 Jul 2007 18:19:46 -0700 "Warren Gale"
> <warren.gale@onstor.com> wrote:
> 
> OK, now that I've been edyookated, Linux seems to be having a problem.
> What did you do in order to do this?
> 
> Here is the output in case it's meaningful:
> 
> 
> SSC-PROM> bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
> SSC-PROM> load -a 83000000 10.0.0.42 vmlinux.bin  
> load, ip addr = 0xa00002a, fname = vmlinux.bin  
> loading vmlinux.bin from 0xa00002a at 0x83000000
> tpl_findBindCb prot=17 lport=9736               
> tpl_allocBindCb                  
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd      
> binary load, 2581640 bytes (0x276488)
> SSC-PROM> g root=/dev/nfs nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth1:none -s
>  do_bsd_launch argc = 5 argv[5] = -s  
>                                      
> env[0] = 80388dc8:.cpuclock=799971138.
> env[1] = 80388e18:.memsize=512.       
> env[2] = 80388e68:.osloadoptions=mAt.
> env[3] = 80388eb8:.boot=cold.        
> env[4] = 80388f08:.busclock=133.
> env[5] = 80388f58:.ipaddr=10.2.10.1.
> env[6] = 80388fa8:.netmask=255.255.0.0.
> env[7] = 80388ff8:.macaddr0=.00:07:34:04:0e:00.
> env[8] = 80389048:.macaddr1=.00:07:34:04:0e:01.
> env[9] = 80389098:.bootdev=/dev/wd0a.          
>  Load options and params for [g]     
>   Address 83000080 argc = 5      
>    argv [0] = g             
>    argv [1] = root=/dev/nfs 
>    argv [2] = nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp 
>    argv [3] =
> ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth1:none 
>    argv [4] = -s
> 
>  pointer to Prom Util routines = BFC00540 
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines) 
>  
> 
> 
> Booting Linux kernel...
> prom_init: env[0] = 'cpuclock=799971138'
> prom_init: env[1] = 'memsize=512'       
> prom_init: env[2] = 'osloadoptions=mAt'
> prom_init: env[3] = 'boot=cold'        
> prom_init: env[4] = 'busclock=133'
> prom_init: env[5] = 'ipaddr=10.2.10.1'
> prom_init: env[6] = 'netmask=255.255.0.0'
> prom_init: env[7] = 'macaddr0=00:07:34:04:0e:00'
> prom_init: env[8] = 'macaddr1=00:07:34:04:0e:01'
> prom_init: env[9] = 'bootdev=/dev/wd0a'         
> Linux version 2.6.21-rc4-bc9k-g0a187cbb-dirty (andys@ripper) (gcc
> version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #752 Wed Jul 25
> 13:22:29 PDT 2007
> CPU revision is: 00003440                                 
> FPU revision is: 00003420
> OnStor Bobcat: Board Assembly Rev. A4
> Booting from prom                    
> Bus clock speed: 133MHz
> Determined physical RAM map:
>  memory: 03000000 @ 00000000 (ROM data)
>  memory: 0d000000 @ 03000000 (usable)  
>  memory: 10000000 @ 20000000 (reserved)
>  memory: 40000000 @ 40000000 (reserved)
> Wasting 393216 bytes for tracking 12288 unused pages
> Built 1 zonelists.  Total pages: 52736              
> Kernel command line: console=ttyS0,57600n8 console=ttyMM0,57600n8
> root=/dev/nfs nfsroot=10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth1:none -s
> Primary instruction cache 16kB, physically tagged, 4-way, linesize 32
> bytes.                
> Primary data cache 16kB, 4-way, linesize 32 bytes.
> 
> Secondary cache size 256K, linesize 32 bytes.     
> Synthesized TLB refill handler (27 instructions).
> Synthesized TLB load handler fastpath (39 instructions).
> Synthesized TLB store handler fastpath (39 instructions).
> Synthesized TLB modify handler fastpath (38 instructions).
> PID hash table entries: 1024 (order: 10, 4096 bytes)      
> Using 399.986 MHz high precision timer.             
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)  
> Memory: 208000k/212992k available (1963k kernel code, 4908k reserved,
> 448k data, 108k init, 0k highmem)
> Real Time Clock base address = bf000000
> Mount-cache hash table entries: 512    
> NET: Registered protocol family 16 
> Time: MIPS clocksource has been installed.
> NET: Registered protocol family 2         
> IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
> TCP established hash table entries: 8192 (order: 4, 65536 bytes)
> TCP bind hash table entries: 8192 (order: 3, 32768 bytes)       
> TCP: Hash tables configured (established 8192 bind 8192) 
> TCP reno registered                                     
> DS1511 Real Time Clock Driver v1.1
> io scheduler noop registered      
> io scheduler deadline registered (default)
> Serial: MPSC driver $Revision: 1.00 $     
> mpsc_drv_probe: Adding MPSC 0        
> ttyMM0 at MMIO 0xbc008000 (irq = 52) is a MPSC
> natsemi dp8381x driver, version 2.1, Sept 11, 2006
>   originally by Donald Becker <becker@scyld.com>  
>   http://www.scyld.com/network/natsemi.html     
>   2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
> natsemi eth0: NatSemi DP8381[56] at 0x19000000 (0000:01:00.0),
> 00:07:34:04:0e:00, IRQ 8, port TP.
> eth1: reset did not complete in 2000 usec.
> natsemi eth1: NatSemi DP8381[56] at 0x19001000 (0000:01:01.0),
> 00:07:34:04:0e:01, IRQ 9, port TP.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> i2c /dev entries driver
> TCP cubic registered   
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> eth1: reset did not complete in 2000 usec.             
> eth1: Wake-up event 0xffffffff            
> eth1: link up.                
> eth1: Setting full-duplex based on negotiated link capability.
> IP-Config: Complete:                                          
>       device=eth1, addr=10.2.10.1, mask=255.255.0.0, gw=10.2.0.1,
>      host=badcat, domain=, nis-domain=(none),                    
>      bootserver=10.0.0.42, rootserver=10.0.0.42, rootpath=
> Looking up port of RPC 100003/3 on 10.0.0.42              
> eth1: Tx/Rx process did not stop in 2000 usec.
> eth1: Wake-up event 0xffffffff                
> eth1: Setting full-duplex based on negotiated link capability.
> eth1: Tx/Rx process did not stop in 2000 usec.                
> eth1: Wake-up event 0xffffffff                
> eth1: Setting full-duplex based on negotiated link capability.
> eth1: Tx/Rx process did not stop in 2000 usec.                
> eth1: Wake-up event 0xffffffff                
> eth1: Setting full-duplex based on negotiated link capability.
> eth1: Tx/Rx process did not stop in 2000 usec.                
> eth1: Wake-up event 0xffffffff                
> eth1: Setting full-duplex based on negotiated link capability.
> .
> .
> .
