Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Michael Stone

On Wed, Jul 01, 2015 at 08:30:25AM -0400, Christopher Sean Hilton wrote:

The net4801 is supposed to be perfect as an inexpensive gps driven
clock for ntpd. But I thought that having CPU_ELAN and CPU_ELAN_PPS in
the kernel added precision to the timekeeping?


That's the net4501, not the net4801. FWIW, without replacing the clock 
and using a custom ntpd the 4501 is ok as an NTP server but not 
spectacular. The limited memory and cpu hurt if you run a current OS  
ntpd. Remember, nobody's actively targeted that hardware in a decade. 
The net4801 will probably do as well in the real world even without the 
elan timer registers. 


Mike Stone
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] USB key : Boot problem with Soekris Net6501

2015-07-01 Thread Armel TSOMENE NKENNE
Hello, 

I have a boot problem with pfsense on a USB key on the Soekris router Net6501. 
When I turn on the router, I get the following error in attachement. 
I need your help urgently . 

* Pfsense version that i use : 
pfSense-2.0.3-RELEASE-4g-i386-nanobsd-20130412-1022.img.gz, 
pfSense-2.0.3-RELEASE-2g-i386-nanobsd-20130412-1022.img.gz, 
pfSense-2.0.3-RELEASE-1g-i386-nanobsd-upgrade.img.gz. 
* Router : Soekris Net6501 

Regards. 





Armel TSOMENE NKENNE 
Resp. Réseaux  Infrastructure 
Advans Cameroun SA 
BP 5738 Douala 
Cameroun 

Fixe : +237 33 43 79 45 
Mobile : +237 91 83 27 10 (Douala = GMT+1!) 
E-mail : atsom...@advanscameroun.com 
http://www.advanscameroun.com 
Think before you print 

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Christopher Hilton

On Jul 1, 2015, at 9:01 AM, Michael Stone mstone+soek...@mathom.us wrote:

 On Wed, Jul 01, 2015 at 08:30:25AM -0400, Christopher Sean Hilton wrote:
 The net4801 is supposed to be perfect as an inexpensive gps driven
 clock for ntpd. But I thought that having CPU_ELAN and CPU_ELAN_PPS in
 the kernel added precision to the timekeeping?
 
 That's the net4501, not the net4801. FWIW, without replacing the clock and 
 using a custom ntpd the 4501 is ok as an NTP server but not spectacular. The 
 limited memory and cpu hurt if you run a current OS  ntpd. Remember, 
 nobody's actively targeted that hardware in a decade. The net4801 will 
 probably do as well in the real world even without the elan timer registers.

I assumed that a gps with PPS output was required.

— Chris

Chris

  __o  All I was trying to do was get home from work.
_`\,_   -Rosa Parks
___(*)/_(*).___o..___..o...ooO..._
Christopher Sean Hilton[chris/at/vindaloo/dot/com]





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Michael Stone

On Wed, Jul 01, 2015 at 09:15:20AM -0400, Christopher Hilton wrote:

On Jul 1, 2015, at 9:01 AM, Michael Stone mstone+soek...@mathom.us wrote:

On Wed, Jul 01, 2015 at 08:30:25AM -0400, Christopher Sean Hilton wrote:

The net4801 is supposed to be perfect as an inexpensive gps driven
clock for ntpd. But I thought that having CPU_ELAN and CPU_ELAN_PPS in
the kernel added precision to the timekeeping?


That's the net4501, not the net4801. FWIW, without replacing the clock and using a 
custom ntpd the 4501 is ok as an NTP server but not spectacular. The limited memory 
and cpu hurt if you run a current OS  ntpd. Remember, nobody's actively 
targeted that hardware in a decade. The net4801 will probably do as well in the 
real world even without the elan timer registers.


I assumed that a gps with PPS output was required.


I'm not entirely sure what you mean. Most hardware can handle PPS, over 
the serial port if nothing else. It's typically implemented in ntpd, 
possibly with gpsd providing abstraction. The net4501's timestamp 
registers provide better theoretical performance than a serial port PPS. 
In theory it's also possible to use the GPIO pins on a net4801 to 
provide the PPS, but that still doesn't have anything to do with the 
kernel PPS functionality tied to the elan timestamp regiesters. In the 
real world NTP servers are generally used to serve time over the 
network, and a 15 year old embedded processor is somewhat slow at doing 
network things; the network jitter will far outweigh any theoretical 
accuracy of the time source. 


Mike Stone
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Christian Weisgerber
On 2015-07-01, Harlan Stenn har...@everett.org wrote:

 For a long while I've been gently trying to get FreeBSD/nanobsd built
 for a 4801 and installed on a Sandisk 4G CF card.

Have you considered a standard FreeBSD install?

I'm running FreeBSD 10, as an NTP server, on a net5501 using 2G of
CF.  I originally installed FreeBSD 9.x and keep updating it with
freebsd-update(8).  Even 2G of flash is enough for a standard
install.

The information at http://wiki.soekris.info/Installing_FreeBSD is
to be taken with a grain of salt.  E.g., for the net5501 its
recommendations for a custom kernel include Add 'options CPU_SOEKRIS'
and 'options CPU_GEODE'.  However, CPU_SOEKRIS only concerns the
net4xxx and CPU_GEODE isn't referenced anywhere in the 10-STABLE
kernel source.

Regarding the net4801, CPU_SOEKRIS and CPU_ELAN_* only appear to
concern the GPIO port, so if you don't hook up anything there, my
best guess is that a standard install with GENERIC should work just
fine.

-- 
Christian naddy Weisgerber  na...@mips.inka.de
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Christopher Sean Hilton
On Wed, Jul 01, 2015 at 11:38:15AM +, Christian Weisgerber wrote:
 On 2015-07-01, Harlan Stenn har...@everett.org wrote:
 
  For a long while I've been gently trying to get FreeBSD/nanobsd built
  for a 4801 and installed on a Sandisk 4G CF card.
 
 Have you considered a standard FreeBSD install?
 

A CF - PATA adapter might be helpful. If you are going to use Virtual
Machines I find it more useful to setup a FreeBSD VM as an nfs/tftp
server for remote installs. I find the OpenBSD setup here much much
easier but the FreeBSD setup isn't impossible.

 I'm running FreeBSD 10, as an NTP server, on a net5501 using 2G of
 CF.  I originally installed FreeBSD 9.x and keep updating it with
 freebsd-update(8).  Even 2G of flash is enough for a standard
 install.
 
 The information at http://wiki.soekris.info/Installing_FreeBSD is
 to be taken with a grain of salt.  E.g., for the net5501 its
 recommendations for a custom kernel include Add 'options CPU_SOEKRIS'
 and 'options CPU_GEODE'.  However, CPU_SOEKRIS only concerns the
 net4xxx and CPU_GEODE isn't referenced anywhere in the 10-STABLE
 kernel source.
 
 Regarding the net4801, CPU_SOEKRIS and CPU_ELAN_* only appear to
 concern the GPIO port, so if you don't hook up anything there, my
 best guess is that a standard install with GENERIC should work just
 fine.
 

The net4801 is supposed to be perfect as an inexpensive gps driven
clock for ntpd. But I thought that having CPU_ELAN and CPU_ELAN_PPS in
the kernel added precision to the timekeeping?

-- 
Chris

  __o  All I was trying to do was get home from work.
_`\,_   -Rosa Parks
___(*)/_(*).___o..___..o...ooO..._
Christopher Sean Hilton[chris/at/vindaloo/dot/com]
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD-recent + nanobsd for 4801?

2015-07-01 Thread Christian Weisgerber
On 2015-07-01, Christopher Sean Hilton ch...@vindaloo.com wrote:

 Regarding the net4801, CPU_SOEKRIS and CPU_ELAN_* only appear to
 concern the GPIO port, so if you don't hook up anything there, my
 best guess is that a standard install with GENERIC should work just
 fine.

 The net4801 is supposed to be perfect as an inexpensive gps driven
 clock for ntpd. But I thought that having CPU_ELAN and CPU_ELAN_PPS in
 the kernel added precision to the timekeeping?

Looking again, I see that it's the net4501 that is based on the AMD
ElanSC520.  The net4801 has an NSC SC1100 and is thus completely
unaffected by CPU_ELAN_*.

FreeBSD's special Elan support is concentrated in a single file,
sys/i386/i386/elan-mmcr.c:
https://svnweb.freebsd.org/base/stable/10/sys/i386/i386/elan-mmcr.c?view=log

CPU_ELAN_PPS is only of interest if you want to precisely timestamp
a PPS signal on a GPIO pin.  CPU_ELAN_XTAL is for people who want
to run the CPU from a different clock.  CPU_ELAN just pulls in the
support for the other CPU_ELAN_* defines.

-- 
Christian naddy Weisgerber  na...@mips.inka.de
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] USB key : Boot problem with Soekris Net6501

2015-07-01 Thread Miha Šetina
Try using the following instructions:
https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_from_USB_Booting_from_USB

the line:

set kern.cam.boot_delay=1

Did it for me.



2015-07-01 19:14 GMT+02:00 ED Fochler soek...@liquidbinary.com:

 I can’t tell what exactly has gone wrong on your system.  Perhaps the disk
 is corrupted, or the mount point is just wrong for your system.

 What I can tell you is that I can boot just fine and run reliably on the
 net6501 using pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img.gz
 I used dd to copy that to my 4G USB stick, and my net6501 boots and runs
 from that just fine.  I do also have an internal SSD in that machine that
 is the primary boot device under normal circumstances, but I don’t think
 that makes a difference.

 ED.


  On 2015, Jul 1, at 9:10 AM, Armel TSOMENE NKENNE 
 atsom...@advanscameroun.com wrote:
 
  Hello,
 
  I have a boot problem with pfsense on a USB key on the Soekris router
 Net6501. When I turn on the router, I get the following error in
 attachement.
  I need your help urgently .
• Pfsense version that i use :
 pfSense-2.0.3-RELEASE-4g-i386-nanobsd-20130412-1022.img.gz,
 pfSense-2.0.3-RELEASE-2g-i386-nanobsd-20130412-1022.img.gz,
 pfSense-2.0.3-RELEASE-1g-i386-nanobsd-upgrade.img.gz.
• Router : Soekris Net6501
   Regards.
 
  petit_logo_advcam.JPG
 
  Armel TSOMENE NKENNE
  Resp. Réseaux  Infrastructure
  Advans Cameroun SA
  BP 5738  Douala
  Cameroun
 
  Fixe :+237 33 43 79 45
  Mobile :  +237 91 83 27 10 (Douala = GMT+1!)
  E-mail : atsom...@advanscameroun.com
  http://www.advanscameroun.com
  Think before you print
 
  IMG_30062015_121552.png___
  Soekris-tech mailing list
  Soekris-tech@lists.soekris.com
  http://lists.soekris.com/mailman/listinfo/soekris-tech

 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] USB key : Boot problem with Soekris Net6501

2015-07-01 Thread ED Fochler
I can’t tell what exactly has gone wrong on your system.  Perhaps the disk is 
corrupted, or the mount point is just wrong for your system.

What I can tell you is that I can boot just fine and run reliably on the 
net6501 using pfSense-2.1.5-RELEASE-4g-i386-nanobsd.img.gz
I used dd to copy that to my 4G USB stick, and my net6501 boots and runs from 
that just fine.  I do also have an internal SSD in that machine that is the 
primary boot device under normal circumstances, but I don’t think that makes a 
difference.

ED.


 On 2015, Jul 1, at 9:10 AM, Armel TSOMENE NKENNE 
 atsom...@advanscameroun.com wrote:
 
 Hello,
 
 I have a boot problem with pfsense on a USB key on the Soekris router 
 Net6501. When I turn on the router, I get the following error in attachement.
 I need your help urgently .
   • Pfsense version that i use : 
 pfSense-2.0.3-RELEASE-4g-i386-nanobsd-20130412-1022.img.gz, 
 pfSense-2.0.3-RELEASE-2g-i386-nanobsd-20130412-1022.img.gz, 
 pfSense-2.0.3-RELEASE-1g-i386-nanobsd-upgrade.img.gz.
   • Router : Soekris Net6501
  Regards.
 
 petit_logo_advcam.JPG
 
 Armel TSOMENE NKENNE
 Resp. Réseaux  Infrastructure
 Advans Cameroun SA
 BP 5738  Douala
 Cameroun
  
 Fixe :+237 33 43 79 45
 Mobile :  +237 91 83 27 10 (Douala = GMT+1!)
 E-mail : atsom...@advanscameroun.com
 http://www.advanscameroun.com
 Think before you print
 
 IMG_30062015_121552.png___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] How to install libusb-1.0

2015-07-01 Thread Ingar Steinsland

Hi all,

I have an Omnikey RFID reader installed on a Soekris board, and the 
driver complains about

a missing library libusb-1.0.so.0.

So I guess I need to install libusb-1.0. But so far, I haven't managed 
to figure out how to install this library.


Regards,
Ingar

--
Ingar Rune Steinsland CEO LabelCraft AS P

*Ingar Rune Steinsland
Managing Director*

*LabelCraft AS
Løkkegata 15, N-1532 Moss, Norway
Phone: +47-64982400 / +47-90055401
www.labelcraft.net *

___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech