Re: [Soekris] Two PCI peripherals on one unit?

2008-08-22 Thread Maurice Janssen
On Friday, August 22, 2008 at 11:19:24 +0300, Lars Noodén wrote:
>Maurice Janssen wrote:
>> On Friday, August 22, 2008 at 10:55:37 +0300, Lars Noodén wrote:
>>> I'm looking into a project that appears to require two PCI cards
>>> operating at the same time: one 4 port serial PCI card and one PCI Dual
>>> ethernet board.
>> 
>> Why not use serial ports over USB?
>
>That might be an option.  Which hardware gives 4 serial ports from 1 USB?

I'm quite happy with products from Vcsom:
http://www.vscom.de/1_1_09.htm

But I'm sure there are many other products available.

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


Re: [Soekris] Two PCI peripherals on one unit?

2008-08-22 Thread Maurice Janssen
On Friday, August 22, 2008 at 10:55:37 +0300, Lars Noodén wrote:
>I'm looking into a project that appears to require two PCI cards
>operating at the same time: one 4 port serial PCI card and one PCI Dual
>ethernet board.

Why not use serial ports over USB?

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


Re: [Soekris] PXE Installation of OpenBSD 4.2 on Soekris 4801

2007-12-20 Thread Maurice Janssen
On Thursday, December 20, 2007 at 15:56:05 -0600, Preston Kutzner wrote:
>Doesn't look like you chose to set the default console to your serial
>port.  You'll need to re-install and make sure to choose that option
>during setup.

That's not necessary if sshd is running.  The machine will boot fine, it
justs takes a while to calculate the ssh-keys at the first boot.
Wait a couple of minutes, ssh into the machine as root and put something
like this into your /etc/boot.conf:
stty com0 9600
set tty com0

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


Re: [Soekris] Choosing Compact flash (Was: Memory upgrade)

2007-12-17 Thread Maurice Janssen
On Monday, December 17, 2007 at 11:06:24 -0500, Brian A. Seklecki wrote:
>
>> Wear leveling would be nice, but it looks like it might be cheaper to 
>
>Recompiling OpenBSD on a remotely deployed CF is a situation that you
>can avoid by using my bsd-appliance framework.  I've been meaning to
>release some pre-compiled images.

I started to build releases(8) for a handfull of architectures of the
-stable branches of OpenBSD some time ago.  Please take a look at
ftp://ftp.z74.net/pub/OpenBSD/ if anyone is interessted.  You can use
these files to do a normal install or upgrade.
Of course, it's up to you to decide whether you trust me.

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


Re: [Soekris] Power Supply

2007-09-27 Thread Maurice Janssen
On Thursday, September 27, 2007 at 14:57:01 -0400, Bob Keyes wrote:
>We've had a small bit of unreliable activity from the net4826. There's no 
>manual for the net4826, but I am generally referred to the net4801 manual 
>when I have questions on it. It says, regarding power, "... 
>a small wall mount unregulated power adapter,supplying 6V-28V DC at 15 VA"
>
>I have been running three units off of 12V wall-warts at 750, 850, and 
>1000 mA. This fits the spec.

I'd say it doesn't.  1000 mA at 12 V is only 12 VA.  You need a bit more
to be able to deliver 15 VA.
I think 12 VA should be enough in most cases, but you might need more
than 12 VA if you have some extras in the case.

>The unit that hung was running on the 750mA 
>supply. It has been suggested by some of my partners on this project that 
>is not sufficient.

I agree with them.

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


Re: [Soekris] openbsd won't boot from net4801 after pxe installation

2007-09-19 Thread Maurice Janssen
On Wednesday, September 19, 2007 at 08:40:50 -0700, Vincent Li wrote:

>Then I typed reboot at prompt, it reboot and hangs here:
>---
>boot>
>booting hd0a:/bsd:5567348+871228 [52+283664+263996]=0x6a9ba4
>entry point at 0x200120
>-
>
>does this mean that the bootloader boot OpenBSD from address 0x200120 and
>could not find the boot partition? do I have a faulty CF because of
>"pciide0:0:0: bus-master DMA error: missing interrupt, status=0x20"?

Looks like the system isn't using the serial console.  Please try to
enter
boot> set tty com0
boot> set stty 19200
at the boot prompt and see how it goes.
If this works, put these lines in /etc/boot.conf.

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


Re: [Soekris] high CPU usage for network interrupts on 4801

2007-09-16 Thread Maurice Janssen
On Sunday, September 16, 2007 at 21:26:36 +, Poul-Henning Kamp wrote:
>The 4801 unfortunately has all three internal network cards on the
>same interrupt line, that's not a good thing because for every interrupt
>the kernel will have to check all three network interfaces to see
>where it came from.

I'm by no means an expert on this subject, but others seem to think that
interrupt sharing is a good thing:
http://mail-index.netbsd.org/tech-perform/2003/02/03/.html
http://www.openbsd.org/faq/faq12.html#IrqShare

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


Re: [Soekris] Soekris model recommendation for OpenBSD + SPAMD

2007-09-07 Thread Maurice Janssen
On Friday, September  7, 2007 at 14:33:23 -0700, Vincent Li wrote:
>
>Is it worth to compile and install custom OpenBSD kernel for net4801 using
>flashdist? will general OpenBSD kernel be fine?

I've been using the GENERIC kernel with a 4501 and a 4801 without any
problem.  It's possible that there are some advantages by using a custom
kernel that I'm unaware of, but I never felt the need to try.

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


Re: [Soekris] PCI Modem for Console Access on net 4801

2007-08-10 Thread Maurice Janssen
On Friday, August 10, 2007 at 08:30:24 -0700, Heather Lockridge wrote:
>Thanks for the links.
>
>So, after looking around on these, it looks like an inexpensive modem
>like the Aopen FM56-SVV which uses a Conexant chip set might work.
>
>And am I correct in thinking that I would need to make a link from to
>connect /dev/modem to a tty so when dialing into the modem I could get
>a console prompt?

You need something more than just that.  Something needs to tell the
modem to go off hook when a call comes in.
I've been using mgetty for this and I'm quite happy with it.

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


Re: [Soekris] trouble with net4826 and powered USB hub

2007-07-24 Thread Maurice Janssen
On Wednesday, July 25, 2007 at 06:53:37 +0200, Maurice Janssen wrote:
>Perhaps the GND levels of the DWL-P50's is different when set to 5 or 12
>Volt output?  That would cause a short-circuit current that destroys the
>USB port.  You can measure the voltage between GND of two adapaters
>without the Soekris and USB hub connected.  If you measure (very close
>to) 0 V between both GND outputs, you can't use them like this.

Oops, that should have been:
If you DON'T measure close to zero, you can't use them.

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


Re: [Soekris] trouble with net4826 and powered USB hub

2007-07-24 Thread Maurice Janssen
On Wednesday, July 25, 2007 at 02:24:43 +0100, Brad Karp wrote:
>Greetings, all.
>
>We're using about a dozen net4826 boxes here, and we need to connect
>a few USB devices to each box via a single USB hub.
>
>We power each net4826 box using PoE supplied by an HP PoE switch,
>through a D-Link DWL-P50 PoE "splitter" (12V output). (As you know, we
>need the splitter because the net4826 isn't PoE standards-compliant,
>and the splitter puts the power on a pair the net4826 can use.)
>
>We originally intended to power each net4826's USB hub over USB
>itself, and the USB devices from that USB hub. But we found the USB
>devices in the numbers we need draw too much power for that, so we've
>had to fall back on powering the USB hub by other means.
>
>Since we have PoE readily available, we decided to power each USB hub
>using the 5V output of a dedicated D-Link DWL-P50 PoE splitter (each
>supplied with power by a dedicated PoE switch port).
>
>We use D-Link DUB-H7 USB hubs.
>
>So in full, the picture is:
>
>   PoE12V
> port0 > DWL-P50 > net4826
>/  |
>   HP PoE switch   | USB cable
>\  |
> port1 > DWL-P50 > DUB-H7 USB hub
>   PoE 5V
>
>Note that no USB devices are hanging off the hub in any of the cases
>I'm describing.
>
>We find that while the net4826 can talk to the USB hub when the USB
>hub is *not* externally powered (i.e., unplug the 5V cable in the
>above picture), the net4826 fails to talk to the USB hub when the USB
>hub *is* externally powered.
>
>In fact, it's worse than that: when we power the USB hub using PoE,
>and connect its USB cable to the net4826, the net4826 hangs
>immediately, and resets upon our disconnecting the USB
>cable. Moreover, we seem to have *permanently* killed the internal USB
>hub on at least one of our net4826 boxes by connecting an externally
>powered USB hub in this way.

Perhaps the GND levels of the DWL-P50's is different when set to 5 or 12
Volt output?  That would cause a short-circuit current that destroys the
USB port.  You can measure the voltage between GND of two adapaters
without the Soekris and USB hub connected.  If you measure (very close
to) 0 V between both GND outputs, you can't use them like this.

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