X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7CF08.5E26C8BB@onstor-exch02.onstor.net>; Wed, 25 Jul 2007 14:08:44 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: oh dude
Date: Wed, 25 Jul 2007 14:08:43 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E04AFA302@onstor-exch02.onstor.net>
In-Reply-To: <20070725145714.41cc1104@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: oh dude
Thread-Index: AcfPBsLfZLozAVTlQNWtI1Or16+IhAAAHbiw
From: "Warren Gale" <warren.gale@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Not sure about the linux driver. Maybe that's why I needed a=20
second cable attached to sc1 in bsd?(so I could ssh to IP address)

I changed the base address for the port=20

Prom code:
  File: pci-bobcat.c   in sm-pci

        /*
         *  Port 0 DP83816 PCI master cycle, BAR
         */
//WTG  change for AndyS--  bad port.  Swap them ----
        pci_cfg_write(PCI1_SEC_BUS, PCI1_DP0_DEV, 0, 0x04, 0x02a00006);
//      pci_cfg_write(PCI1_SEC_BUS, PCI1_DP0_DEV, 0, 0x14,
HW_DP83816_0_BASE);
        pci_cfg_write(PCI1_SEC_BUS, PCI1_DP0_DEV, 0, 0x14,
HW_DP83816_1_BASE);

        /*
         *  Port 1 DP83816 PCI master cycle, BAR
         */
        pci_cfg_write(PCI1_SEC_BUS, PCI1_DP1_DEV, 0, 0x04, 0x02a00006);
//      pci_cfg_write(PCI1_SEC_BUS, PCI1_DP1_DEV, 0, 0x14,
HW_DP83816_1_BASE);
        pci_cfg_write(PCI1_SEC_BUS, PCI1_DP1_DEV, 0, 0x14,
HW_DP83816_0_BASE);


Warren

-----Original Message-----
From: Andy Sharp=20
Sent: Wednesday, July 25, 2007 2:57 PM
To: Warren Gale
Subject: Re: oh dude

Well, how exactly did you make sc2 look like sc1?  What did you
change?  Could it be interfereing with the linux driver somehow?

On Wed, 25 Jul 2007 14:39:33 -0700 "Warren Gale"
<warren.gale@onstor.com> wrote:

> Ok So I did the following:
> =20
>=20
> SSC-PROM> bsd rt add 10.0.0.0 255.255.0.0 10.1.1.1
> SSC-PROM> load -a 83000000 10.0.0.42 vmlinux.bin
>=20
> g root=3D/dev/nfs nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.1.1.109:10.0.0.42:10.1.1.1:255.255.0.0:badcat:eth1:none -s
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D out put =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> SSC-PROM> g root=3D/dev/nfs =
nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.1.1.109:10.0.0.42:10.1.1.1:255.255.0.0:badcat:eth1:none -s
>  do_bsd_launch argc =3D 5 argv[5] =3D -s
>=20
> env[0] =3D 80388dc8:.cpuclock=3D799983972.
> env[1] =3D 80388e18:.memsize=3D512.
> env[2] =3D 80388e68:.osloadoptions=3DmAt.
> env[3] =3D 80388eb8:.boot=3Dcold.
> env[4] =3D 80388f08:.busclock=3D133.
> env[5] =3D 80388f58:.ipaddr=3D10.1.1.109.
> env[6] =3D 80388fa8:.netmask=3D255.255.0.0.
> env[7] =3D 80388ff8:.macaddr0=3D.00:07:34:01:aa:00.
> env[8] =3D 80389048:.macaddr1=3D.00:07:34:01:aa:01.
> env[9] =3D 80389098:.bootdev=3D/dev/wd0a.
>  Load options and params for [g]
>   Address 83000080 argc =3D 5
>    argv [0] =3D g
>    argv [1] =3D root=3D/dev/nfs
>    argv [2] =3D nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
>    argv [3] =3D
> ip=3D10.1.1.109:10.0.0.42:10.1.1.1:255.255.0.0:badcat:eth1:none
>    argv [4] =3D -s
>  pointer to Prom Util routines =3D BFC00540
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines)
>=20
>=20
> Booting Linux kernel...
> prom_init: env[0] =3D 'cpuclock=3D799983972'
> prom_init: env[1] =3D 'memsize=3D512'
> prom_init: env[2] =3D 'osloadoptions=3DmAt'
> prom_init: env[3] =3D 'boot=3Dcold'
> prom_init: env[4] =3D 'busclock=3D133'
> prom_init: env[5] =3D 'ipaddr=3D10.1.1.109'
> prom_init: env[6] =3D 'netmask=3D255.255.0.0'
> prom_init: env[7] =3D 'macaddr0=3D00:07:34:01:aa:00'
> prom_init: env[8] =3D 'macaddr1=3D00:07:34:01:aa:01'
> prom_init: env[9] =3D 'bootdev=3D/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. A3
> 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=3DttyS0,57600n8 console=3DttyMM0,57600n8
> root=3D/dev/nfs nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.1.1.109:10.0.0.42:10.1.1.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.992 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 =3D 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 =3D 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:01:aa: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:01:aa: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=3Dxx
> 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=3Deth1, addr=3D10.1.1.109, mask=3D255.255.0.0, =
gw=3D10.1.1.1,
>      host=3Dbadcat, domain=3D, nis-domain=3D(none),
>      bootserver=3D10.0.0.42, rootserver=3D10.0.0.42, rootpath=3D
> 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.
> 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.
> 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.
> 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.
> eth1: Tx/Rx process did not stop in 2000 usec.
> eth1: Wake-up event 0xffffffff
> eth1: Setting full-duplex based on negotiated link capability.
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Looks like we get the same thing ...
>=20
> Trying the same with eth0 instead of eth1....
>=20
> [[[[[[[[[[[[[[[[[[[[[[[[[[[  out put ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>=20
> SSC-PROM> bsd rt add 10.0.0.0 255.255.0.0 10.1.1.1
> SSC-PROM> load -a 83000000 10.0.0.42 vmlinux.bin
> load, ip addr =3D 0xa00002a, fname =3D vmlinux.bin
> loading vmlinux.bin from 0xa00002a at 0x83000000
> tpl_findBindCb prot=3D17 lport=3D9736
> tpl_allocBindCb
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd
> binary load, 2581640 bytes (0x276488)
> SSC-PROM> g root=3D/dev/nfs =
nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.1.1.109:10.0.0.42:10.1.1.1:255.255.0.0:badcat:eth0:none -s
>  do_bsd_launch argc =3D 5 argv[5] =3D -s
>=20
> env[0] =3D 80388dc8:.cpuclock=3D799983972.
> env[1] =3D 80388e18:.memsize=3D512.
> env[2] =3D 80388e68:.osloadoptions=3DmAt.
> env[3] =3D 80388eb8:.boot=3Dcold.
> env[4] =3D 80388f08:.busclock=3D133.
> env[5] =3D 80388f58:.ipaddr=3D10.1.1.109.
> env[6] =3D 80388fa8:.netmask=3D255.255.0.0.
> env[7] =3D 80388ff8:.macaddr0=3D.00:07:34:01:aa:00.
> env[8] =3D 80389048:.macaddr1=3D.00:07:34:01:aa:01.
> env[9] =3D 80389098:.bootdev=3D/dev/wd0a.
>  Load options and params for [g]
>   Address 83000080 argc =3D 5
>    argv [0] =3D g
>    argv [1] =3D root=3D/dev/nfs
>    argv [2] =3D nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
>    argv [3] =3D
> ip=3D10.1.1.109:10.0.0.42:10.1.1.1:255.255.0.0:badcat:eth0:none
>    argv [4] =3D -s
>  pointer to Prom Util routines =3D BFC00540
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines)
>=20
>=20
> Booting Linux kernel...
> prom_init: env[0] =3D 'cpuclock=3D799983972'
> prom_init: env[1] =3D 'memsize=3D512'
> prom_init: env[2] =3D 'osloadoptions=3DmAt'
> prom_init: env[3] =3D 'boot=3Dcold'
> prom_init: env[4] =3D 'busclock=3D133'
> prom_init: env[5] =3D 'ipaddr=3D10.1.1.109'
> prom_init: env[6] =3D 'netmask=3D255.255.0.0'
> prom_init: env[7] =3D 'macaddr0=3D00:07:34:01:aa:00'
> prom_init: env[8] =3D 'macaddr1=3D00:07:34:01:aa:01'
> prom_init: env[9] =3D 'bootdev=3D/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. A3
> 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=3DttyS0,57600n8 console=3DttyMM0,57600n8
> root=3D/dev/nfs nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.1.1.109:10.0.0.42:10.1.1.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.992 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 =3D 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 =3D 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:01:aa: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:01:aa: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=3Dxx
> 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.
> IP-Config: Complete:
>       device=3Deth0, addr=3D10.1.1.109, mask=3D255.255.0.0, =
gw=3D10.1.1.1,
>      host=3Dbadcat, domain=3D, nis-domain=3D(none),
>      bootserver=3D10.0.0.42, rootserver=3D10.0.0.42, rootpath=3D
> Looking up port of RPC 100003/3 on 10.0.0.42
>
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[*]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
> ]]
>=20
>=20
> Yup looks the same to me... I don't know what to look at next.
> I know that both of my sc ports work.
>=20
>=20
> After writing this e-mail  I noticed a few more messages:
>=20
> 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
> portmap: server 10.0.0.42 not responding, timed out
> Root-NFS: Unable to get mountd port number from server, using default
>=20
>=20
> Warren
>=20
>=20
>=20
>=20
>=20
>=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Wednesday, July 25, 2007 1:54 PM
> To: Warren Gale
> Subject: Re: oh dude
>=20
> On Wed, 25 Jul 2007 13:41:35 -0700 "Warren Gale"
> <warren.gale@onstor.com> wrote:
>=20
> > Me too  " edyookated" :)
> >=20
> > 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?
> >=20
> > Seems like it's all going well until the "eth1:" messages. Right?
>=20
> Uh, I guess.
>=20
> linux   bsd
> -----   ---
> eth0 =3D=3D sc1
> eth1 =3D=3D sc2
>=20
> If I use eth0, I get this:
>=20
> SSC-PROM> load -a 83000000 10.0.0.42 vmlinux.bin =20
> load, ip addr =3D 0xa00002a, fname =3D vmlinux.bin =20
> loading vmlinux.bin from 0xa00002a at 0x83000000
> tpl_findBindCb prot=3D17 lport=3D9736              =20
> tpl_allocBindCb                 =20
> tftp_tplAddConnInd
> TFTP transfer completed.
> tftp_tplDelConnInd     =20
> binary load, 2581640 bytes (0x276488)
> SSC-PROM> g root=3D/dev/nfs =
nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth0:none -s
>  do_bsd_launch argc =3D 5 argv[5] =3D -s =20
>                                     =20
> env[0] =3D 80388dc8:.cpuclock=3D799975416.
> env[1] =3D 80388e18:.memsize=3D512.      =20
> env[2] =3D 80388e68:.osloadoptions=3DmAt.
> env[3] =3D 80388eb8:.boot=3Dcold.       =20
> env[4] =3D 80388f08:.busclock=3D133.
> env[5] =3D 80388f58:.ipaddr=3D10.2.10.1.
> env[6] =3D 80388fa8:.netmask=3D255.255.0.0.
> env[7] =3D 80388ff8:.macaddr0=3D.00:07:34:04:0e:00.
> env[8] =3D 80389048:.macaddr1=3D.00:07:34:04:0e:01.
> env[9] =3D 80389098:.bootdev=3D/dev/wd0a.         =20
>  Load options and params for [g]    =20
>   Address 83000080 argc =3D 5     =20
>    argv [0] =3D g            =20
>    argv [1] =3D root=3D/dev/nfs=20
>    argv [2] =3D nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp=20
>    argv [3] =3D
> ip=3D10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth0:none=20
>    argv [4] =3D -s
>=20
>  pointer to Prom Util routines =3D BFC00540=20
>  Command should be  (addr)(argc, argv, env_strings,
> ptr_prom_util_routines)=20
> =20
>=20
>=20
> Booting Linux kernel...
> prom_init: env[0] =3D 'cpuclock=3D799975416'
> prom_init: env[1] =3D 'memsize=3D512'      =20
> prom_init: env[2] =3D 'osloadoptions=3DmAt'
> prom_init: env[3] =3D 'boot=3Dcold'       =20
> prom_init: env[4] =3D 'busclock=3D133'
> prom_init: env[5] =3D 'ipaddr=3D10.2.10.1'
> prom_init: env[6] =3D 'netmask=3D255.255.0.0'
> prom_init: env[7] =3D 'macaddr0=3D00:07:34:04:0e:00'
> prom_init: env[8] =3D 'macaddr1=3D00:07:34:04:0e:01'
> prom_init: env[9] =3D 'bootdev=3D/dev/wd0a'        =20
> 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                                =20
> FPU revision is: 00003420
> OnStor Bobcat: Board Assembly Rev. A4
> Booting from prom                   =20
> Bus clock speed: 133MHz
> Determined physical RAM map:
>  memory: 03000000 @ 00000000 (ROM data)
>  memory: 0d000000 @ 03000000 (usable) =20
>  memory: 10000000 @ 20000000 (reserved)
>  memory: 40000000 @ 40000000 (reserved)
> Wasting 393216 bytes for tracking 12288 unused pages
> Built 1 zonelists.  Total pages: 52736             =20
> Kernel command line: console=3DttyS0,57600n8 console=3DttyMM0,57600n8
> root=3D/dev/nfs nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> ip=3D10.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.               =20
> Primary data cache 16kB, 4-way, linesize 32 bytes.
>=20
> Secondary cache size 256K, linesize 32 bytes.    =20
> 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)     =20
> Using 399.988 MHz high precision timer.            =20
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) =20
> Memory: 208000k/212992k available (1963k kernel code, 4908k reserved,
> 448k data, 108k init, 0k highmem)
> Real Time Clock base address =3D bf000000
> Mount-cache hash table entries: 512   =20
> NET: Registered protocol family 16=20
> Time: MIPS clocksource has been installed.
> NET: Registered protocol family 2        =20
> 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)      =20
> TCP: Hash tables configured (established 8192 bind 8192)=20
> TCP reno registered                                    =20
> DS1511 Real Time Clock Driver v1.1
> io scheduler noop registered     =20
> io scheduler deadline registered (default)
> Serial: MPSC driver $Revision: 1.00 $    =20
> mpsc_drv_probe: Adding MPSC 0       =20
> ttyMM0 at MMIO 0xbc008000 (irq =3D 52) is a MPSC
> natsemi dp8381x driver, version 2.1, Sept 11, 2006
>   originally by Donald Becker <becker@scyld.com> =20
>   http://www.scyld.com/network/natsemi.html    =20
>   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=3Dxx
> i2c /dev entries driver
>=20
> TCP cubic registered  =20
> 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.                   =20
> eth0: link up.                    =20
> eth0: Setting full-duplex based on negotiated link capability.
> IP-Config: Complete:                                         =20
>       device=3Deth0, addr=3D10.2.10.1, mask=3D255.255.0.0, =
gw=3D10.2.0.1,
>      host=3Dbadcat, domain=3D, nis-domain=3D(none),                    =

>      bootserver=3D10.0.0.42, rootserver=3D10.0.0.42, rootpath=3D
> Looking up port of RPC 100003/3 on 10.0.0.42             =20
> 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                      =20
>=20
>=20
> 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.
>=20
>=20
>=20
> > Warren
> >=20
> > -----Original Message-----
> > From: Andy Sharp=20
> > Sent: Wednesday, July 25, 2007 1:29 PM
> > To: Warren Gale
> > Subject: Re: oh dude
> >=20
> > On Tue, 24 Jul 2007 18:19:46 -0700 "Warren Gale"
> > <warren.gale@onstor.com> wrote:
> >=20
> > OK, now that I've been edyookated, Linux seems to be having a
> > problem. What did you do in order to do this?
> >=20
> > Here is the output in case it's meaningful:
> >=20
> >=20
> > 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 =20
> > load, ip addr =3D 0xa00002a, fname =3D vmlinux.bin =20
> > loading vmlinux.bin from 0xa00002a at 0x83000000
> > tpl_findBindCb prot=3D17 lport=3D9736              =20
> > tpl_allocBindCb                 =20
> > tftp_tplAddConnInd
> > TFTP transfer completed.
> > tftp_tplDelConnInd     =20
> > binary load, 2581640 bytes (0x276488)
> > SSC-PROM> g root=3D/dev/nfs
> > nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> > ip=3D10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth1:none -s
> > do_bsd_launch argc =3D 5 argv[5] =3D -s=20
> > env[0] =3D 80388dc8:.cpuclock=3D799971138.
> > env[1] =3D 80388e18:.memsize=3D512.      =20
> > env[2] =3D 80388e68:.osloadoptions=3DmAt.
> > env[3] =3D 80388eb8:.boot=3Dcold.       =20
> > env[4] =3D 80388f08:.busclock=3D133.
> > env[5] =3D 80388f58:.ipaddr=3D10.2.10.1.
> > env[6] =3D 80388fa8:.netmask=3D255.255.0.0.
> > env[7] =3D 80388ff8:.macaddr0=3D.00:07:34:04:0e:00.
> > env[8] =3D 80389048:.macaddr1=3D.00:07:34:04:0e:01.
> > env[9] =3D 80389098:.bootdev=3D/dev/wd0a.         =20
> >  Load options and params for [g]    =20
> >   Address 83000080 argc =3D 5     =20
> >    argv [0] =3D g            =20
> >    argv [1] =3D root=3D/dev/nfs=20
> >    argv [2] =3D nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp=20
> >    argv [3] =3D
> > ip=3D10.2.10.1:10.0.0.42:10.2.0.1:255.255.0.0:badcat:eth1:none=20
> >    argv [4] =3D -s
> >=20
> >  pointer to Prom Util routines =3D BFC00540=20
> >  Command should be  (addr)(argc, argv, env_strings,
> > ptr_prom_util_routines)=20
> > =20
> >=20
> >=20
> > Booting Linux kernel...
> > prom_init: env[0] =3D 'cpuclock=3D799971138'
> > prom_init: env[1] =3D 'memsize=3D512'      =20
> > prom_init: env[2] =3D 'osloadoptions=3DmAt'
> > prom_init: env[3] =3D 'boot=3Dcold'       =20
> > prom_init: env[4] =3D 'busclock=3D133'
> > prom_init: env[5] =3D 'ipaddr=3D10.2.10.1'
> > prom_init: env[6] =3D 'netmask=3D255.255.0.0'
> > prom_init: env[7] =3D 'macaddr0=3D00:07:34:04:0e:00'
> > prom_init: env[8] =3D 'macaddr1=3D00:07:34:04:0e:01'
> > prom_init: env[9] =3D 'bootdev=3D/dev/wd0a'        =20
> > 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                                =20
> > FPU revision is: 00003420
> > OnStor Bobcat: Board Assembly Rev. A4
> > Booting from prom                   =20
> > Bus clock speed: 133MHz
> > Determined physical RAM map:
> >  memory: 03000000 @ 00000000 (ROM data)
> >  memory: 0d000000 @ 03000000 (usable) =20
> >  memory: 10000000 @ 20000000 (reserved)
> >  memory: 40000000 @ 40000000 (reserved)
> > Wasting 393216 bytes for tracking 12288 unused pages
> > Built 1 zonelists.  Total pages: 52736             =20
> > Kernel command line: console=3DttyS0,57600n8 =
console=3DttyMM0,57600n8
> > root=3D/dev/nfs nfsroot=3D10.0.0.42:/var/nfsroot/badcat,v3,tcp
> > ip=3D10.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.               =20
> > Primary data cache 16kB, 4-way, linesize 32 bytes.
> >=20
> > Secondary cache size 256K, linesize 32 bytes.    =20
> > 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)     =20
> > Using 399.986 MHz high precision timer.            =20
> > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) =20
> > Memory: 208000k/212992k available (1963k kernel code, 4908k
> > reserved, 448k data, 108k init, 0k highmem)
> > Real Time Clock base address =3D bf000000
> > Mount-cache hash table entries: 512   =20
> > NET: Registered protocol family 16=20
> > Time: MIPS clocksource has been installed.
> > NET: Registered protocol family 2        =20
> > 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)      =20
> > TCP: Hash tables configured (established 8192 bind 8192)=20
> > TCP reno registered                                    =20
> > DS1511 Real Time Clock Driver v1.1
> > io scheduler noop registered     =20
> > io scheduler deadline registered (default)
> > Serial: MPSC driver $Revision: 1.00 $    =20
> > mpsc_drv_probe: Adding MPSC 0       =20
> > ttyMM0 at MMIO 0xbc008000 (irq =3D 52) is a MPSC
> > natsemi dp8381x driver, version 2.1, Sept 11, 2006
> >   originally by Donald Becker <becker@scyld.com> =20
> >   http://www.scyld.com/network/natsemi.html    =20
> >   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=3Dxx
> > i2c /dev entries driver
> > TCP cubic registered  =20
> > 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.            =20
> > eth1: Wake-up event 0xffffffff           =20
> > eth1: link up.               =20
> > eth1: Setting full-duplex based on negotiated link capability.
> > IP-Config: Complete:                                         =20
> >       device=3Deth1, addr=3D10.2.10.1, mask=3D255.255.0.0, =
gw=3D10.2.0.1,
> >      host=3Dbadcat, domain=3D, nis-domain=3D(none),                  =
 =20
> >      bootserver=3D10.0.0.42, rootserver=3D10.0.0.42, rootpath=3D
> > Looking up port of RPC 100003/3 on 10.0.0.42             =20
> > eth1: Tx/Rx process did not stop in 2000 usec.
> > eth1: Wake-up event 0xffffffff               =20
> > eth1: Setting full-duplex based on negotiated link capability.
> > eth1: Tx/Rx process did not stop in 2000 usec.               =20
> > eth1: Wake-up event 0xffffffff               =20
> > eth1: Setting full-duplex based on negotiated link capability.
> > eth1: Tx/Rx process did not stop in 2000 usec.               =20
> > eth1: Wake-up event 0xffffffff               =20
> > eth1: Setting full-duplex based on negotiated link capability.
> > eth1: Tx/Rx process did not stop in 2000 usec.               =20
> > eth1: Wake-up event 0xffffffff               =20
> > eth1: Setting full-duplex based on negotiated link capability.
> > .
> > .
> > .
