Re: [Soekris] net6501 (Red Light Of Death) debugging

2019-01-31 Thread Chris Cappuccio
Harald Welte [lafo...@gnumonks.org] wrote:
> hi chirs,
> 
> On Wed, Jan 30, 2019 at 06:37:16PM -0800, Chris Cappuccio wrote:
> 
> > Solder up a new CPU and you will likely have a working unit...
> 
> Do you know something that I don't?  From following the list archives
> and other resources, it seemed that nobody really knew what was going
> on.  Sure, there was some speculation (I would almost call it conspiracy
> theory) about this bug being similar to the "Intel C2000" bug that hit
> Cisco and others.  However, net6501 uses E6xx..
> 

Yeah it's just a half assed guess based on the known issues with the C2000
line and the determination from Soekris that the boards are unrepairable.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501 (Red Light Of Death) debugging

2019-01-30 Thread Chris Cappuccio
> That's it for now.  Maybe this is useful to share.  At this point I'm
> not sure yet, if this will lead anywhere.
> 
> When I find another timeslot, I want to compare a not-yet-broken board
> with one that exhibits the problem.
> 

Solder up a new CPU and you will likely have a working unit...
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Dying net6501 servers

2016-09-07 Thread Chris Cappuccio
Christopher Hilton [ch...@vindaloo.com] wrote:
> I can???t move to Banana Pi today because I won???t move off of OpenBSD. 
> Having said that it???s not an issue for me because I moved my Net6501 into 
> the background about a year ago over health concerns I saw here. I replaced 
> it with a 1U SuperMicro Atom. The power draw is similar but the machine seems 
> to be a bit more rugged.
> 

The u-boot in the OpenBSD ports tree has BananaPi and BananaPro support.
There are also miniroot images with the u-boot already placed.

Considering that allwinner H3 and A64 should both work under openbsd/armv7
under -current, you should be able to use the newer boards now, as well.
You definitely want -current and not 6.0 release for Cortex-A7.

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


Re: [Soekris] net5501: FreeBSD ipfw and the elusive 75Mbps throughput

2016-06-11 Thread Chris Cappuccio
Andrew Atrens [and...@atrens.ca] wrote:
> BUGS
>  The vr driver always copies transmit mbuf chains into longword-aligned
>  buffers prior to transmission in order to pacify the Rhine chips.  If
>  buffers are not aligned correctly, the chip will round the supplied
>  buffer address and begin DMAing from the wrong location.  This buffer
>  copying impairs transmit performance on slower systems but cannot be
>  avoided.  On faster machines (e.g. a Pentium II), the performance
> impact
>  is much less noticeable.

This is not true for the version of the chip included with Soekris
and PC Engines boxes, nor is it true for the OpenBSD or FreeBSD drivers.

OpenBSD's vr driver has interrupt mitigation and hw vlan tagging that
FreeBSD does (did?) not. Both enable hw checksum capability for IPv4.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501-30 max throughput

2014-05-03 Thread Chris Cappuccio
ML mail [mlnos...@yahoo.com] wrote:
 I am using OpenBSD 5.1, would their be any performance gains in upgrading to 
 5.4 or 5.5? Btw yes I checked again and the interface is really in 1000baseT.
 

Yes

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


Re: [Soekris] net6501 won't start anymore

2013-09-18 Thread Chris Cappuccio
Eivind Eide [xeno...@gmail.com] wrote:
 I removed everything but the board (putting it on a wooden table)
 and also tried another power supply. Same result.
 Anything else? Time to contact Soekris Europe...?
 

Sounds like the same problems the net5501 had that the ALIX didn't.

Luckily there's pcengines.ch/apu.htm

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


Re: [Soekris] soekris 4801 and pfsense 2.x

2013-09-08 Thread Chris Cappuccio
chahid ouarzoun [chahid.ouarz...@gmail.com] wrote:
 Hello guys,
 
 can some one give me benchmark or share experience with an installation of
 soekris 4801 using pfsense 2.x.
 
 i planned use it for 30 pc and 30 ip phones + 3 wan connection using load
 balancing.
 
 does the soekris
 4801+case_lan1621_boardhttp://soekris.eu/shop/net4801/net4801_48_board_and_case_lan1621_board_en.html
 will
 support all this traffic ?

The 4801 is very limited and realistically scales up to 4kpps
to 10kpps depending on the OS. 

The pfsense web interface is very heavy and modern versions
don't even run on boxes like the 4801 due to RAM limitations.

You are better off with a 5501 or 6501 box. 
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501 : CPU architecture ?

2013-08-05 Thread Chris Cappuccio
Wesley PA4WDH [pa4...@yahoo.com] wrote:
 
 I just received my 6501 and i don't have any disks yet. However, i'm able to 
 boot into 32bit 64bit linux kernels and i'm able to enable/disable SMP.
 The kernel version will be 2.6.37 with some Gentoo patches.
 
 Since i can't yet use it for what i planned to do with it i'm happy to do 
 some performance testing. Anything that doesn't take too much disk space or 
 requires installation of additional packages is possible. Just keep in mind 
 that whatever i boot, userspace will always be 32bit. If it's really 
 nescessary i can see if i can change that but i rather not.
 
 Any test suggestions ?
 

There is no advantage to 64bit on this box unless forward-looking binary 
compatibility is on your list. Some Linux distros are only coming in 64bit 
flavors now.

The pointers are twice as long, 64bit applications tend to be larger, use more 
memory, and have more data to move around so 64bit mode can actually be slower. 
There are features to potentially make 64bit mode faster like the extra 
registers but the automatic register remapping happens in 32bit mode, too.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Recent netbsd-6 vr changes, trouble at boot

2013-02-25 Thread Chris Cappuccio
Improvements here:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_vr.c

Greg Troxel [g...@work.lexort.com] wrote:
 
 I have a net5501 that used to run NetBSD 5.  I updated to -6, and it's
 been fine for quite a while.  I just updated to -6 from yesterday, which
 includes an improvement to vr(4) to not reset the chip when going in and
 out of promiscuous mode.  (Before there was a ~1s hiccup when
 running/exiting tcpdump.)
 
 When I updated, I rebooted, and the machine did not come back onto the
 net.  Visiting it and experimenting, I found:
 
   booting from applying power worked fine
 
   rebooting led to the system being up but vr0 being nonfunctional
 
   on the up/no-vr0 system, running tcpdump printed a message:
 vr0: using force reset command.
   and then it worked ok.
 
 This is the change that I think might be relevant:
 
   sys/dev/pci/if_vr.c 1.112 via patch
 
 Reset the vr(4) chip if the tx engine gets stuck.  No need to
 do a full reset when enabling/disabling promiscuous mode.
 [taca, ticket #783]
 
 I wonder if anyone else is seeing this.
 



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


-- 
Once you can accept the universe as matter expanding into
nothing that is something, wearing stripes with plaid comes easy.
-- Einstein
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Clock losing time on Net5501

2013-02-05 Thread Chris Cappuccio
Lars Nood?n [lars.noo...@gmail.com] wrote:
 On 02/05/2013 01:54 PM, Soren Kristensen wrote:
  Hi Lars,
 
  Lars Nood?n wrote:
  I have a Net5501 that seems to be losing  90 seconds off the system
  clock when it is turned off for a while.  Is there anything that can or
  should be done to fix this?
 
  That need to be qualified with time to be able to say if it's out of
  spec
 
 Thanks.  How would I check that?  I have ntpd starting with to set the
 time immediately at startup.  But without that, I get log entries like
 these:
 
 Feb  1 08:43:33 net5501 ntpd[30196]: adjusting local clock by 94.899672s
 
 Am I interpreting that correctly?
 

Do you start ntpd with -s? If not, it continually adjusts the clock to bring it 
up to current time, in relatively small increments.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] OpenBSD Installation issue on net6501

2013-01-23 Thread Chris Cappuccio
You'll need a custom kernel with this device ID added to the AHCI driver.

I'll send it to you in private to test.



-- 
Great men are almost always bad men -- Lord Acton's Corollary
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 5501-70 rip

2013-01-21 Thread Chris Cappuccio
Try a new power supply.

Luis Daniel Lucio Quiroz [luis.daniel.lu...@gmail.com] wrote:
 helo
 i took out FC to do an image and i return it back, after that, i got
 the error led in red always.  I plug the console wire and not output.
 
 What can i do?
 
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501, Linux, SSD/kernel/hardware failure?

2012-05-29 Thread Chris Cappuccio
Chris Wilson [chris-soek...@aptivate.org] wrote:
 
 But after a power off (not just a hard reset) the drive is fine again!
 
 Some people are seeing issues with Debian kernels (like this one) and 
 multiple 
 drives appearing to fail at the same time, but working fine after a reboot: 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625922
 
 So I suspect there's nothing wrong with the drive; it may be a firmware bug, 
 but I was unable to apply firmware fixes using OCZ's updater for Linux. Has 
 anyone seen anything like this? Anyone got a sense for whether it could be a 
 hardware bug with the AHCI controller or BIOS on the net6501?
 

The drive wasn't responding. It's likely to be the drive itself, not some 
failure on the controller or magic in the wire. SSDs are not the ultra-reliable 
machines they're made out to be, in my experience. The firmware probably 
crashed. And if that's what happened, it'll happen again under certain 
conditions -- that is until you get an update that breaks the firmware in some 
new and bizarre way.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net6501: Timer problems with Debian, no HPET support detected

2012-03-15 Thread Chris Cappuccio
Darryl Miles [darryl-mailingli...@netbauds.net] wrote:
 Peter Neubauer wrote:
  Linux depends on an ACPI BIOS to provide configuration for the HPET. The
  net6501 does not support ACPI, so Linux does not use the HPET.
 
 Great news on the patch.
 
 
 What is the reason for not having ACPI ?
 

There is no use for it on the net6501. The BIOS implementation is a lot of work.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0

2011-11-28 Thread Chris Cappuccio
here is the key error message. it means your whole ahci disk has disappeared 
(and anything you can still run is happening from cache.)

--
ahci0: stopping the port, softreset slot 31 was still active.
ahci0: failed to reset port during timeout handling, disabling it
--

likely a reboot will fix it. this is a known problem with ahci driver and intel 
ahci controllers.

the failed to reset port and softreset slot was still active problems 
become really obvious once you start maxing out disks on an ahci controller 
with a softraid array. they rarely present problems in normal use! but, the SSD 
sata drive may evoke different behavior for some reason. i think continuous 
runs of iogen over a RAID1 array might bring out similar issues all by itself, 
even with regular hard disks 

dragonflybsd's port of openbsd's ahci driver has incorporated several of 
workarounds for problems directly related to this. (reset this when that 
happens, etc..) that might be a good place to start looking, if you can easily 
reproduce the problem then you would know quickly when a ported fix from their 
driver has helped.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Fwd: mSATA failure on 6501 w/ OpenBSD 5.0

2011-11-28 Thread Chris Cappuccio
Christopher LILJENSTOLPE [soek...@cdl.asgaard.org] wrote:
 Greetings,
 
   Any thoughts as to how to get around this - it's only been up for a few 
 days.  Rebooting my home router every 24 hours is not spouse endearing 
 behavior :)
 

port over some workarounds from dragonfly, or just figure out what is causing 
enough disk access to trigger this behavior and use a different machine for it

-- 
There are only three sports: bullfighting, motor racing, and mountaineering; 
all the rest are merely games. - E. Hemingway
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] What's the difference between OpenSoekris and flashrd?

2011-04-18 Thread Chris Cappuccio
Ed Flecko [edfle...@gmail.com] wrote:
 
 2.) Am I right so far?
 
 Once you've written the image to your CF, you just plug it back into
 your Soekris (I'm guessing), but how do you actually configure the
 Soekris (i.e., set up NIC interfaces, configure PF, etc.)?
 

Edit config files in /etc

 3.) Do you, somehow, configure your image in advance of writing it to
 the CF or you do that after you've written it to the flash???
 

This can be done after the new system is booted or you can mount the /etc 
partition of the openbsd.vnd file and do it before hand

 I'm confused about this process, so if someone could shed a little
 light on the steps that need to be taken, that would be great!
 

The flashrd faq might help.  What I do is edit openbsd.vnd and then test it in 
an emulator before pushing the image out to systems.

-- 
the preceding comment is my own and in no way reflects the opinion of the Joint 
Chiefs of Staff
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] vr interface problem

2009-09-19 Thread Chris Cappuccio
openbsd 4.6 has a reliable if_vr driver

D?nial Olsen [...@ft.fo] wrote:
 Hi,
 
 I just had a weird problem with two of my 5501 boxes, running OpenBSD 4.3, 
 connected to the same switch.
 
 The problem was that two of the four connected vr interfaces seemingly 
 stopped working.
 I tried connecting a crossed cable between the boxes and also between the 
 boxes and my laptop, but tcpdump on the 5501 did not see any incoming traffic 
 - only outgoing. After some testing the 5501s were rebooted and then the 
 interfaces worked as normal. This behaviour was perhaps triggered by the 
 switch, to which they are connected, lost power a few times over the course 
 of a couple of hours.
 
 My issue doesn't seem new as these two threads show:
 
 http://72.32.12.210/archives/openbsd/2007-10/0886.html
 http://www.nabble.com/Re:-soekris-5501-wierd-vr%284%29-maybe-PHY-problem-%28was-Re:-man-dhcpd.interfaces--%29-td15694468.html
 
 Does anyone know if there is a solution for this problem? 
 Is this solved in a newer version of OpenBSD or FreeBSD perhaps?
 
 --
 D?nial Olsen
 
 
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
Trying to bring taste and skill into a branch of artistic endeavor which had 
sunk to the lowest possible depths.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Replace an ADSL modem-router

2009-08-19 Thread Chris Cappuccio
Lars Nooden [l...@umich.edu] wrote:
 Chris Cappuccio wrote:
  this is essentially the same as an ultra-cheap versatek 170p modem... 
 
 Not at all the same capabilities.  Compare:
 
 http://www.traverse.com.au/downloads/adsl/vikingdat_03.pdf
 http://www.versatek.com/products/vxver170p.htm
 
 Point to a HOWTO for running the 170p with NetBSD, OpenBSD or a Linux.

I'll write one.  Here it is:

1. Plug in the ethernet cable
2. ifconfig YourEthernet0 192.168.0.2/24
3. Telnet or HTTP to 192.168.0.1
4. Configure VPI/VCI and mode (RFC 1483 bridging, PPPoA, PPPoE, etc...)
5. Party like it's 1999
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Replace an ADSL modem-router

2009-08-19 Thread Chris Cappuccio
Lars Nooden [l...@umich.edu] wrote:
 Chris Cappuccio wrote:
  Lars Nooden [l...@umich.edu] wrote:
  Chris Cappuccio wrote:
  this is essentially the same as an ultra-cheap versatek 170p modem... 
  Not at all the same capabilities.  Compare:
 
  http://www.traverse.com.au/downloads/adsl/vikingdat_03.pdf
  http://www.versatek.com/products/vxver170p.htm
 
  Point to a HOWTO for running the 170p with NetBSD, OpenBSD or a Linux.
  
  I'll write one.  Here it is:
  
  1. Plug in the ethernet cable
  2. ifconfig YourEthernet0 192.168.0.2/24
  3. Telnet or HTTP to 192.168.0.1
  4. Configure VPI/VCI and mode (RFC 1483 bridging, PPPoA, PPPoE, etc...)
  5. Party like it's 1999
 
 Hmm.  You've skipped the part about loading the 170p with OpenWRT,
 Tomato, PFSense or something similar...
 

The Broadcom ADSL chipset on the 170p is the same chipset used on the 
realtek/adsl combo card.

I can't tell if you're trolling me or if these things are really supported by 
some open crap.

It's not trivial since the 170p has something like 2mb flash and 1mb ram.

The ATM stuff is all emulated in software by the Linux kernel with the 170p 
default software but I think the ADSL chip bundle is probably some proprietary 
blob.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


[Soekris] flashrd - New OpenBSD installer for flash

2009-07-20 Thread Chris Cappuccio
Hi,

It's my birthday, so I decided to release a little rewrite of flashdist that 
I've been working on.

It addresses the two major shortcomings of flashdist (in light of the fact that 
an 8GB usb key costs $20 now)

First, it installs a _complete_ OpenBSD system, that runs in read-only (or 
read-write if you want) mode.  There's no 'distribution lists' to keep track of 
nor custom build environment.  It's a full, almost default system with default 
/etc/rc (ok, a bootstrap script does have to run before /etc/rc.)

Second, you can upgrade the system just by copying a few files to the flash 
(and keep multiple versions on the same flash.)

Check out the home page and FAQ if it sounds useful to you.

http://www.nmedia.net/flashrd/
http://www.nmedia.net/flashrd/flashrd-faq.html

Also there are ready-made i386 and amd64 disk images to try, see

http://www.nmedia.net/flashrd/images/

They run under qemu too.

You can even pack up an existing, running server with flashrd (just mount it to 
/mnt and run ./flashrd /mnt) and create images of that for whatever purpose.  
(I thought the idea was cool, anyways.)

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


Re: [Soekris] CPUTYPE for net5501 and FreeBSD 7.2

2009-04-23 Thread Chris Cappuccio
it would be interesting to get comparisons to 486, and original pentium 
optimizations too, to see if these fancy options are worth the effort and time 
at all.

Maxim Khitrov [mkhit...@gmail.com] wrote:
 2009/4/23 Alexander Vyrlanovich iskan...@apple-park.kiev.ua:
  CPUTYPE=k6-3 in make.conf on my net5501 (FreeBSD 7.1)
 
 Yep, I think this is the best option until gcc is updated. I ended up
 trying to build world with CPUTYPE=athlon and on first boot was
 greeted by a bunch of exited on signal 4 and Illegal instruction:
 4 messages. Now rebuilding everything with k6-3. I still don't know
 if pentiumpro is a better option, maybe I'll do some benchmarks later
 on.
 
 ?? :)
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
I'm not aware of any specific concerns, Pentagon spokesman Bryan Whitman 
said, according to Reuters. Whitman added he was speaking generally and not 
talking about specific incidents. 
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] missing /dev/gpio0

2009-03-05 Thread Chris Cappuccio
cd /dev
./MAKEDEV gpio

Thomas Elsgaard [thomas.elsga...@gmail.com] wrote:
 Hi soekris-tech list
 
 I am trying to get OpenBSD 4.4 and 'gpioctl' working with an 4801, but so
 far without any luck..
 
 To the /etc/rc.securelevel i have added:
 
 /usr/sbin/gpioctl -c 20 out pp;  # error LED
 
 But, gpioctl complains about /dev/gpio0 missing ??
 
 Does anybody have any hints about what can be wrong or how i can get gpioctl
 to work?
 
 ///Thomas

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


-- 
Only failure makes us experts
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Want to build a router

2008-06-23 Thread Chris Cappuccio
Bill Maas [EMAIL PROTECTED] wrote:
 
 On Fri, 2008-05-23 at 12:51 -0400, Stephen Brown Jr wrote:
   You may find that you prefer one of the BSDs.
  
  I was just sitting here playing with OpenBSD and it's been a hair
  raising experience so far :/ 
  
 
 Maybe this will reassure you: tho OpenBSD approach towards new (Linux)
 users seems to be that only if you manage to get past the BSD disklabel
 and the least user-friendly implementation of fdisk in existence, areth
 thou worthy of operating our Softe Ware.
 

The fdisk implementation is easy.  Just answer 'yes' to 'Do you want to use the 
hwole disk?' and you don't even have to look at it.  And, if you want to create 
multiple partitions, it isn't hard to figure out.  That is, if you already 
understand the concepts (the same ones that you may have worked with using 
fdisk under DOS.)

The disklabel implementation is somewhat tedious, until you know some of the 
shortcuts documented through examples in the install faq (faq4)

 Which you apparently have, so congratulations;). The good news is that
 after that, in OpenBSD everything is infinitely more intuitive and
 simple than it is with Linux.
 

Amen brother. 

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


Re: [Soekris] cloning CF cards on OpenBSD 4.3

2008-05-14 Thread Chris Cappuccio
if you want to copy between cards of different sizes, check out growimg.sh from 
flashdist which handles fdisk, disklabel, newfs, and tar file copy

it assumes a specific disklabel layout, but you could easily change that

Lars Nood??n [EMAIL PROTECTED] wrote:
 I've got an OpenBSD 4.3 system on 1GB CF that I would like to clone to
 another CF.
 
 What are some good/easy methods?
 
 dd?
 
 
 
 Regards,
 -Lars
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
Too many clocks, not enough time (Al. Einstein)
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 + openbsd + serial device

2008-04-29 Thread Chris Cappuccio
While we're at it, there is no RJ-45.  It's RJ48.  RJ45 is 8 pin, 2 conductor.  
What everyone calls RJ45 should have been a variant of RJ48.

der Mouse [EMAIL PROTECTED] wrote:
  This converter uses an DB-9 based serial device,
 
 It's a trivial thing in one sense...but surely this should be DE-9.
 I've never seen a DB-9 and doubt they exist; what's commonly miscalled
 a DB-9 is actually a DE-9.  The letter after the D indicates the shell
 size, and the DB shell is the 25-pin size.  (The other sizes: DA is the
 15-pin size used for peecee game ports and AUI Ethernet; DC is a 37-pin
 size that isn't used for much in my experience; DD is the three-row
 50-pin size used for SCSI by the Sun-3s.  I'm sure each has plenty of
 other uses, too.  I don't know why the letters aren't in order; I
 speculate the DE size was an afterthought.)
 
 Not that this is a reflection on you; it's a very common mistake - even
 many vendors of D-shell hardware make it, and I used to make it myself
 until I got the terminology straight in my head.
 
 /~\ The ASCII der Mouse
 \ / Ribbon Campaign
  X  Against HTML [EMAIL PROTECTED]
 / \ Email! 7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
Too many clocks, not enough time (Al. Einstein)
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] net4801 + openbsd + serial device

2008-04-29 Thread Chris Cappuccio
http://en.wikipedia.org/wiki/Registered_jack

der Mouse [EMAIL PROTECTED] wrote:
  While we're at it, there is no RJ-45.  It's RJ48.  RJ45 is 8 pin, 2
  conductor.  What everyone calls RJ45 should have been a variant of
  RJ48.
 
 I thought what's usually called RJ45 isn't RJ-anything because the RJ
 stuff is for particular ways of putting POTS pairs on those connectors,
 and thus if you're not doing POTS over the lines it's not RJxx.  (Well,
 it might be fair to speak of RJ45 - or RJ48 - _connectors_, as in, the
 connectors appropriate for RJwhatever, ut then put them to another use,
 much as one could speak of a DB25 as being an RS232 connector even if
 one then uses it for a parallel port or something.)
 
 Is my impression of RJ wrong?
 
 /~\ The ASCII der Mouse
 \ / Ribbon Campaign
  X  Against HTML [EMAIL PROTECTED]
 / \ Email! 7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
Too many clocks, not enough time (Al. Einstein)
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 4G CF limitation on 45xx and 48xx?

2008-03-04 Thread Chris Cappuccio
Jon Hart [EMAIL PROTECTED] wrote:

 Is this actually the case here, or can 45xx and 48xx happily accept
  4G?  I'm hoping that this is just a case of old documentation, as when
 the 45xx and 48xx came out, I don't even believe there was a CF  4G.
 

there's 16GB CF and 32GB CF available these days
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] mounting /dev in RAM in OpenBSD

2007-12-23 Thread Chris Cappuccio
Chris Cohen [EMAIL PROTECTED] wrote:
 
 Openssh needs to write to some devices. (Don't know which ones..)
 

sshd wants to change permissions on /dev/ttyXX when you login so that only
you can write to it (or your group)  - i originally dealt with this in
flashdist by making /dev/ttyXX symbolic links to the actual devices at
writeable (mfs) /var/run/dev/ttyXX. 

unfortunately, sshd uses login() to write your login entries to utmp, which
fails if ttyname() decides that your device is not an actual character device.
this was a problem with flashdist, symbolic links caused ttyname() to fail
so utmp was always empty - and then i moved /dev to full mfs
___
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 Chris Cappuccio
at the boot prompt, you need to use the following commands to enable
the serial terminal:

set tty com0
stty com0 19200

and in /etc/ttys, tty00 should look like this:

tty00   /usr/libexec/getty std.19200  vt100   on  secure

Lars Nood??n [EMAIL PROTECTED] wrote:
 I'm working with a new Soekris 4801 w/256MB RAM and wonder about getting
 OpenBSD installed so that the system boots.  Once I can get to SSH, I'm
 home free.
 
 Netboot using PXE and tfptd goes well: I've gotten things set up so I
 can do the net boot + install and that whole installation procedure
 appears to run flawlessly.
 
 However, when I get to booting the installed system, things just appear
 to hang.  Here is the output from the serial connection just before that
 happens:
 
   http://www-personal.umich.edu/~lars/net4801.txt
 
 Where can I find info about how OpenBSD needs to be configured
 differently from your average tower/rack mounted system so as to boot
 from CF with no HD?
 
 Regards
 -Lars
 
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
You were about to change the channel when God healed you -- Benny Hinn
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] 4501 + OpenBSD -STABLE: fast installs, slowwwwwww upgrades

2007-08-27 Thread Chris Cappuccio
That's because openbsd mounts the filesystem in asychronous mode on install
(like linux ext2fs runs all the time) but does not on upgrade (so that
you don't potentially lose significant amounts of data in a crash)

If you aren't using asychronous mounts, a lot more data gets written when
the filesystem changes.  Combine this with the Elan SC420's PIO mode for
data transfers and you experience 3 hours of suffering, like you describe.

If you can create a complete disk image that you write to the flash on
upgrade, you will have a better experience.  If you must use your flash like
a hard disk, try and upgrade to a 4801 or 5501 where you can use DMA modes
with the CF (and find a suitable high-speed flash that implements it, which
yours might alreay do.)  By the way, older 4801s don't have DMA wired to the
CF port.

C. Bensend [EMAIL PROTECTED] wrote:
 
 Hey folks,
 
I have a 4501 running the latest ComBIOS (1.31b), booting OpenBSD
 4.1-STABLE on a CF card.  Everything works great.
 
However, something I'm very curious about...  When I choose the
 (I)nstall option in the OpenBSD installer, I can install a new -STABLE
 build of the OS from the CF card in about 24 minutes.  That time
 includes formatting the CF and everything.
 
If I choose (U)pgrade, it takes over 3 *hours* to install the same
 -STABLE build off the same CF card.  As the tarballs are installing,
 I get the usual progress meter, but the larger ones time out over and
 over again, saying -- stalled --.  Keep in mind, each time I test
 this, I have copied the entire distribution to the CF card, and have
 selected disk as the source of the tarballs.  Nothing's going over
 the network whatsoever.
 
Again, everything works perfectly when the OS is running.  But I'm
 really, really curious to know why this happens.  It _always_ completes
 successfully, the OS always runs fine, and I see no instabilities.
 
I'd appreciate it if someone could give it a think, and offer any
 reasons...
 
 Thanks much!
 
 Benny
 
 ps:  Dmesg follows:
 
 
 [EMAIL PROTECTED] ~]$ dmesg
 OpenBSD 4.1-stable (GENERIC) #25: Sun Aug 19 06:05:51 CDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 (AuthenticAMD 486-class)
 cpu0: FPU
 real mem  = 66678784 (65116K)
 avail mem = 52539392 (51308K)
 using 844 buffers containing 3457024 bytes (3376K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+ BIOS, date 20/70/14, BIOS32 rev. 0 @ 0xf7840
 pcibios0 at bios0: rev 2.0 @ 0xf/0x1
 pcibios0: pcibios_get_intr_routing - function not supported
 pcibios0: PCI IRQ Routing information unavailable.
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xc8000/0x9000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 elansc0 at pci0 dev 0 function 0 AMD ElanSC520 PCI rev 0x00: product 0
 stepping 0.1, CPU clock 133MHz, reset 0
 gpio0 at elansc0: 32 pins
 sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00, DP83815D: irq
 10, address 00:00:24:c0:04:ec
 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
 sis1 at pci0 dev 19 function 0 NS DP83815 10/100 rev 0x00, DP83815D: irq
 11, address 00:00:24:c0:04:ed
 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
 sis2 at pci0 dev 20 function 0 NS DP83815 10/100 rev 0x00, DP83815D: irq
 5, address 00:00:24:c0:04:ee
 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
 isa0 at mainbus0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 wdc0 at isa0 port 0x1f0/8 irq 14
 wd0 at wdc0 channel 0 drive 0: SanDisk SDCFH-2048
 wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
 wd0(wdc0:0:0): using BIOS timings
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom0: console
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 biomask f3c5 netmask ffe5 ttymask ffe7
 pctr: no performance counters in CPU
 dkcsum: wd0 matches BIOS drive 0x80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302
 
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] [Fwd: Re: Fedora 7 no drives visible]

2007-07-09 Thread Chris Cappuccio
can't you just pxe boot the OS and install like normal?
this is sheer madness

R Bruce Hoffman [EMAIL PROTECTED] wrote:
 Because private mail was not what I expected from the list... just in 
 case someone else has the same question...
 
 -- 
 Suppose you were an idiot...
  And suppose you were a member of Congress...
  But I repeat myself.
- Mark Twain
 
 ===
 R Bruce Hoffman
 
 

 Date: Mon, 09 Jul 2007 18:19:32 -0400
 From: R Bruce Hoffman [EMAIL PROTECTED]
 To: Kannaiyan Natesan [EMAIL PROTECTED]
 Subject: Re: [Soekris] Fedora 7 no drives visible
 User-Agent: Thunderbird 2.0.0.4 (X11/20070615)
 
 Honestly... no. I am unable to share the details of that information... 
 it's considered proprietary. And there is very little truely relevant 
 information currently available on the web.
 
 Off the record... build an FC4 machine. Three partitions. First 
 partition full root and install. Boot. Mount second partition as 
 /duplicate, copy foundation to /duplicate. Screw with grub config to 
 bring up /duplicate as root (boot into second partition.) Scrub to small 
 system with essential services on /duplicate. Reboot back into first 
 partition. Construct image files on third partition. Mount image file in 
 loop device. Copy /duplicate parts to the mounted image file. Unmount. 
 Copy image to CF card.  Grub up the CF card. Pull out the CF card. Mount 
 in Soekris.
 
 But this is just the beginning. You need to mess with the init.d scripts 
 and Red Hat has specific ways of booting read only and shutdown's are a 
 problem as is making ramdisk images available for certain writeable 
 directories during normal operations.
 
 
 Kannaiyan Natesan wrote:
 Hi Bruce,
 
 Can you please let me know how you managed to run Fedora Core 4 onto
 CF and boot the soekris. I'm looking for similar solution for net
 5501.
 
 Thanks.
 
 Regards,
 kannaiyan
 
 On 7/9/07, R Bruce Hoffman [EMAIL PROTECTED] wrote:
 I have both 4801 and 5501 running with Fedora Core 4 from CF.
 
 I have noticed that during the attempted boot of Fedora 7, that there
 are no drives visible during the nash init script running from the
 initial ram disk image, nor during a non-initrd boot. No hda, no sda, no
 labels...
 
 Does anyone know what driver I might be missing here?
 
 I have tried the various ones that are listed from a search of the
 CS5536 and AMD stuff through the initrd image, (like , pata_cs5535.ko ,
 5530 and 5520) but I don't see anything in the modules that acknowledges
 the CF configuration like what happened in the FC4 versions.
 
 Is this just a matter of the 5536 being too new for Fedora? Or am I
 missing something else?
 
 
 -- 
 Suppose you were an idiot...
   And suppose you were a member of Congress...
   But I repeat myself.
 - Mark Twain
 
 ===
 R Bruce Hoffman
 
 
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech
 
 
 -- 
 Suppose you were an idiot...
  And suppose you were a member of Congress...
  But I repeat myself.
- Mark Twain
 
 ===
 R Bruce Hoffman
 
 
 

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


-- 
The lessons of history teach us - if they teach us anything - that nobody
learns the lessons that history teaches us. - Paul Robinson
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] Sandisk SDCFX-2048 in 4801

2007-05-29 Thread Chris Cappuccio
As DMA mode worked for you but Ultra-DMA mode did not, I would try
to keep DMA mode enabled in the wd driver.  That might be faster, or
at least less CPU intensive, than PIO mode.  Someone who cares to look
at the spec can tell you if the unwired lines are relevant to DMA,
Ultra-DMA, or both.

Emilio Perea [EMAIL PROTECTED] wrote:
 On Thu, May 10, 2007 at 01:11:26PM +0100, Stuart Henderson wrote:
  On 2007/05/10 13:51, Soren Kristensen wrote:
   The net4801 added support for DMA on the CompactFlash from PCB rev 3, 
   dated 040226. If you have an older board then you will need to tell the 
   ATA driver to disable DMA, as it will detect that the disk support DMA 
   but don't know it's not wired
  
  In OpenBSD, you do this with flags to the wd(4) driver.
  
  You can edit a kernel which is already built using the -e option
  to config(8);
  
  $ config -e -o newkernel bsd
  OpenBSD 4.1-current (GENERIC) #126: Mon May  7 12:43:41 MDT 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  Enter 'help' for information
  ukc change wd
   42 wd* at wdc*|pciide* channel -1 flags 0x0
  change [n] y
  channel [-1] ? 
  flags [0] ? 0x0ff0
   42 wd* changed
   42 wd* at wdc*|pciide* channel -1 flags 0xff0
  ukc quit
  
  If you build your own custom kernel, you can change this in the
  configuration file.
  
  The flags value I show here, 0x0ff0, disables DMA and UltraDMA
  and uses whichever PIO mode the device claims to support.
 
 Thanks Stuart, Graham, Rod and Soren!  I didn't realize my board was not
 current.  I really appreciate all your help.
 
 Emilio
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
It's beneficial to your health to try and believe a few impossible things
before breakfast. -- Lewis Carroll
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech