Re: edgerouter lite

2018-05-09 Thread Michael van Elst
ed...@pettijohn-web.com (Edgar Pettijohn) writes:

>I'm currently using OpenBSD on a soekris with no problems. So I doubt I 
>really need SMP for my home network, but I really want to give NPF a 
>solid shot. 

It's good enough to route about 200Mbit/s with a small common set of
firewall rules and NAT on a single Core.

The Erlite hardware itself could do much better by offloading packet
filtering and forwarding, but that would require some very custom network
code.

-- 
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."


Re: edgerouter lite

2018-05-08 Thread Cág
Maya wrote:
 
> I think only this super new nanoMIPS stuff:
> https://www.anandtech.com/show/12699/mips-announces-i7200-32bit-cpu-with-new-nanomips-isa

Hopefully there is some truth in the presentation, not only business
buzzwords. Always nice to see a competition.

-- 
caóc



Re: edgerouter lite

2018-05-08 Thread maya
On Mon, May 07, 2018 at 05:39:28PM -0400, C?g wrote:
> Maya wrote:
> 
> > MIPS has* fixed size instructions, so 64bit instructions are very big,
> > and so it runs a 32bit userland that only runs on 64bit CPUs, kinda
> > like the amd64 x32 ABI.
> > * They now made a variant which isn't like this
> 
> Are you talking about the Warrior series?

I think only this super new nanoMIPS stuff:
https://www.anandtech.com/show/12699/mips-announces-i7200-32bit-cpu-with-new-nanomips-isa

And warrior is MIPSnnR6

But I haven't been following super closely!


Re: edgerouter lite

2018-05-07 Thread Edgar Pettijohn
On Mon, May 07, 2018 at 09:19:23PM +, m...@netbsd.org wrote:
> On Mon, May 07, 2018 at 06:51:42AM -0500, ed...@pettijohn-web.com wrote:
> > Appreciate your response. I feel confident I can install. More curious 
> > about what isn't supported yet. Such as multiple processors, altq, and the 
> > like.
> 
> yeah, SMP is what isn't working. I don't know what makes it eventually
> panic, though it does make it to multiuser in -current.
> Modules also won't work, you will need everything as a builtin.
> 
> MIPS has* fixed size instructions, so 64bit instructions are very big,
> and so it runs a 32bit userland that only runs on 64bit CPUs, kinda like
> the amd64 x32 ABI.
> 
> Most architectures don't have as good a reason to do it, so MIPS is the
> 'official 32bit compat tester'. Most bugs of missing features were
> actually missing 32bit compat. I suspect we forgot to backport some
> things.
> 
> I have an ERLITE, but I don't use it as a router, so I can't tell you
> how well it does. MIPS is just my favourite architecture.
> Other netbsd people do use it as a router though.
> 
> * They now made a variant which isn't like this

I'm currently using OpenBSD on a soekris with no problems. So I doubt I 
really need SMP for my home network, but I really want to give NPF a 
solid shot. 


Re: edgerouter lite

2018-05-07 Thread Cág
Maya wrote:

> MIPS has* fixed size instructions, so 64bit instructions are very big,
> and so it runs a 32bit userland that only runs on 64bit CPUs, kinda
> like the amd64 x32 ABI.
> * They now made a variant which isn't like this

Are you talking about the Warrior series?

-- 
caóc



Re: edgerouter lite

2018-05-07 Thread maya
On Mon, May 07, 2018 at 06:51:42AM -0500, ed...@pettijohn-web.com wrote:
> Appreciate your response. I feel confident I can install. More curious about 
> what isn't supported yet. Such as multiple processors, altq, and the like.

yeah, SMP is what isn't working. I don't know what makes it eventually
panic, though it does make it to multiuser in -current.
Modules also won't work, you will need everything as a builtin.

MIPS has* fixed size instructions, so 64bit instructions are very big,
and so it runs a 32bit userland that only runs on 64bit CPUs, kinda like
the amd64 x32 ABI.

Most architectures don't have as good a reason to do it, so MIPS is the
'official 32bit compat tester'. Most bugs of missing features were
actually missing 32bit compat. I suspect we forgot to backport some
things.

I have an ERLITE, but I don't use it as a router, so I can't tell you
how well it does. MIPS is just my favourite architecture.
Other netbsd people do use it as a router though.

* They now made a variant which isn't like this


Re: edgerouter lite

2018-05-07 Thread edgar

On May 6, 2018 11:48 PM, m...@netbsd.org wrote:
>
> On Mon, May 07, 2018 at 04:46:41AM +, m...@netbsd.org wrote:
> > Attach console cable and ethernet cable.
> > On host, configure it to a known IP, e.g. I use
> > ifconfig re0 192.168.0.1
> > enable tftp via uncommenting the /etc/inetd.conf entry and restarting
> > inetd.
> > in /tftpboot, place ERLITE INSTALL kernel.
> > e.g. /tftpboot/erlite-install
> > 
> > cu -s 115200 -l /dev/ttyU0
> > 
> > On u-boot console (not in linux):
> > set serverip 192.168.0.1
> > set ipaddr 192.168.0.5
> > tftp $loadaddr erlite-install
> > bootoctlinux
> > 
> > netbsd should boot fine. ignore the installer.
> > In the msdos filesystem, replace vmlinux.64 with a netbsd ERLITE kernel
> > (not INSTALL).
> > replace the ext4 filesystem with a better root filesysttem for
> > netbsd,like FFSv2.
> > 
> > Configure networking to fetch the sets from the host. Use mips64eb sets.
> > ifconfig cnmac0 192.168.0.5
> > route add default 192.168.0.1
> > 
> > scp myhostusername@192.168.0.1:/path/to/sets/*.tgz .
> > cd /
> cd /targetroot
> > for i in *.tgz; do tar xzpf $i; done
> cd /targetroot/dev
> sh MAKEDEV all
> echo "rc_configured=YES" >> /targetroot/etc/rc.conf
> Adjust /etc/fstab
>
> > 
> > Reboot.
> > 
> > It works, but some things are not supported as good as e.g. amd64.

Appreciate your response. I feel confident I can install. More curious about 
what isn't supported yet. Such as multiple processors, altq, and the like.

Thanks

Re: edgerouter lite

2018-05-06 Thread maya
On Mon, May 07, 2018 at 04:46:41AM +, m...@netbsd.org wrote:
> Attach console cable and ethernet cable.
> On host, configure it to a known IP, e.g. I use
> ifconfig re0 192.168.0.1
> enable tftp via uncommenting the /etc/inetd.conf entry and restarting
> inetd.
> in /tftpboot, place ERLITE INSTALL kernel.
> e.g. /tftpboot/erlite-install
> 
> cu -s 115200 -l /dev/ttyU0
> 
> On u-boot console (not in linux):
> set serverip 192.168.0.1
> set ipaddr 192.168.0.5
> tftp $loadaddr erlite-install
> bootoctlinux
> 
> netbsd should boot fine. ignore the installer.
> In the msdos filesystem, replace vmlinux.64 with a netbsd ERLITE kernel
> (not INSTALL).
> replace the ext4 filesystem with a better root filesysttem for
> netbsd,like FFSv2.
> 
> Configure networking to fetch the sets from the host. Use mips64eb sets.
> ifconfig cnmac0 192.168.0.5
> route add default 192.168.0.1
> 
> scp myhostusername@192.168.0.1:/path/to/sets/*.tgz .
> cd /
cd /targetroot
> for i in *.tgz; do tar xzpf $i; done
cd /targetroot/dev
sh MAKEDEV all
echo "rc_configured=YES" >> /targetroot/etc/rc.conf
Adjust /etc/fstab

> 
> Reboot.
> 
> It works, but some things are not supported as good as e.g. amd64.


Re: edgerouter lite

2018-05-06 Thread maya
Attach console cable and ethernet cable.
On host, configure it to a known IP, e.g. I use
ifconfig re0 192.168.0.1
enable tftp via uncommenting the /etc/inetd.conf entry and restarting
inetd.
in /tftpboot, place ERLITE INSTALL kernel.
e.g. /tftpboot/erlite-install

cu -s 115200 -l /dev/ttyU0

On u-boot console (not in linux):
set serverip 192.168.0.1
set ipaddr 192.168.0.5
tftp $loadaddr erlite-install
bootoctlinux

netbsd should boot fine. ignore the installer.
In the msdos filesystem, replace vmlinux.64 with a netbsd ERLITE kernel
(not INSTALL).
replace the ext4 filesystem with a better root filesysttem for
netbsd,like FFSv2.

Configure networking to fetch the sets from the host. Use mips64eb sets.
ifconfig cnmac0 192.168.0.5
route add default 192.168.0.1

scp myhostusername@192.168.0.1:/path/to/sets/*.tgz .
cd /
for i in *.tgz; do tar xzpf $i; done

Reboot.

It works, but some things are not supported as good as e.g. amd64.


edgerouter lite

2018-05-06 Thread Edgar Pettijohn
I'm curious as to the current state of affairs for the 
edgerouter lite. I saw this:

https://blog.netbsd.org/tnf/entry/hands_on_experience_with_edgerouter

However, it is a couple of years old now. I tried to find an
INSTALL.html for it, but have been unsuccessful. Any information
is appreciated.

Thanks,

Edgar


edgerouter lite

2018-05-06 Thread Edgar Pettijohn
Just curious if anyone knows the current state of affairs for the
edgerouter lite. I saw this 
https://blog.netbsd.org/tnf/entry/hands_on_experience_with_edgerouter.
Its a couple of years old now though. I found the install media and
what not, but I didn't see an INSTALL.html file.

Thanks,

Edgar