Re: Can OpenBSD run in 24 MB of RAM?

2008-09-09 Thread Giancarlo Razzolini
Andrew Daugherity escreveu:
 On Wed, Sep 3, 2008 at 10:00 PM,  [EMAIL PROTECTED] wrote:
   
 I've searched the FAQ and the Web for any guidance on what the minimum RAM
 is for OpenBSD, with and without X.

 I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
 RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.

 
 My router for several years was an IBM PS/2E, model 9533 with a
 50MHz 486 SLC2 + 25MHz 387SX FPU(not a typo) and 16MB RAM.  I haven't
 run anything newer than about 3.8 or 3.9 on it, but it worked fine
 then, including the install.  I'm sure I've posted in more detail
 about it before -- check the archives.  Heck, I even ran X on it as a
 see if it works thing, but it wasn't good for anything more than
 opening a couple xterms.

 The reason I abandoned it is that when faster connections became
 available, the CPU couldn't keep up.  It would only pass about 2Mbit
 of traffic before the interrupts from the ethernet cards (16-bit
 PCMCIA, essentially ISA) consumed 90% CPU.


   
Almost the same with me but, in my case, the machine was a pentium
133Mhz with 64MB of memory. But i was doing QoS. My advice: Don't use
qos on limited hardware machines with ISA Network Cards. Simply don't
use. It will, sometime, consume all cpu. It's not even memory the
problem, it's CPU. And my connection wasn't that fast. But it's
interesting to listen about these experiences.

-- 
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-06 Thread Andrew Daugherity
On Wed, Sep 3, 2008 at 10:00 PM,  [EMAIL PROTECTED] wrote:
 I've searched the FAQ and the Web for any guidance on what the minimum RAM
 is for OpenBSD, with and without X.

 I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
 RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.

My router for several years was an IBM PS/2E, model 9533 with a
50MHz 486 SLC2 + 25MHz 387SX FPU(not a typo) and 16MB RAM.  I haven't
run anything newer than about 3.8 or 3.9 on it, but it worked fine
then, including the install.  I'm sure I've posted in more detail
about it before -- check the archives.  Heck, I even ran X on it as a
see if it works thing, but it wasn't good for anything more than
opening a couple xterms.

The reason I abandoned it is that when faster connections became
available, the CPU couldn't keep up.  It would only pass about 2Mbit
of traffic before the interrupts from the ethernet cards (16-bit
PCMCIA, essentially ISA) consumed 90% CPU.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-05 Thread Boris Goldberg
Hello Shr,

Wednesday, September 3, 2008, 10:00:22 PM, you wrote:

sdc I've searched the FAQ and the Web for any guidance on what the minimum RAM
sdc is for OpenBSD, with and without X.

sdc I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
sdc RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.

$ dmesg
OpenBSD 3.5 (GENERIC) #34: Mon Mar 29 12:24:55 MST 2004
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel 486DX (486-class)
real mem  = 20824064 (20336K)
avail mem = 13275136 (12964K)
using 279 buffers containing 1142784 bytes (1116K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/10/94
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0x8000
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
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: WDC AC21600H
wd0: 16-sector PIO, LBA, 1549MB, 3173184 sectors
wd1 at wdc0 channel 0 drive 1: QUANTUM FIREBALL EX5.1A
wd1: 16-sector PIO, LBA, 4892MB, 10018890 sectors
wd0(wdc0:0:0): using BIOS timings
wd1(wdc0:0:1): using BIOS timings
ep0 at isa0 port 0x300/16 irq 10: address 00:20:af:27:c1:5d, utp/aui/bnc 
(default utp)
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16450, no fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask 4440 ttymask 44c2
pctr: no performance counters in CPU
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

$ swapctl -kl
Device  1K-blocks UsedAvail Capacity  Priority
swap_device102312 442097892 4%0

$ uptime
10:07AM  up 378 days, 16:48, 1 user, load averages: 0.20, 0.21, 0.14

  It's 486DX4 50MHz with 20 meg of RAM, working as a production (!)
secondary mail/DNS server. Has been used (and occasionally being used) as
an ftp server (vsftp) - login process is slow, but transfer(s) at full T1
speed causing no problem.
  I've installed a GENERIC 3.5 from floppy/ftp very easily. Modern boxes
are giving me much more troubles.
  There is no X, of course.

  Don't know if OBSD 4.4 require much more resources than 3.5, but the
size of GENERIC kernel is just a little bigger.

-- 
Best regards,
 Borismailto:[EMAIL PROTECTED]



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Tomas Bodzar
It's running fine in console or X (just a longer start).Ofcourse,that you can't 
use Firefox or similiar SW :-)



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]

Sent: Thursday, September 04, 2008 5:00 AM

To: misc@openbsd.org

Subject: Can OpenBSD run in 24 MB of RAM?



I've searched the FAQ and the Web for any guidance on what the minimum RAM is 
for OpenBSD, with and without X.



I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of RAM, and 
I'm wondering whether or not it's feasible to run OpenBSD on it.




Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Steve Shockley

[EMAIL PROTECTED] wrote:

I've searched the FAQ and the Web for any guidance on what the minimum RAM
is for OpenBSD, with and without X.

I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.


From ftp://ftp.openbsd.org/pub/OpenBSD/4.3/i386/INSTALL.i386:

The minimal configuration to install the system is 24MB or 32MB of RAM 
and perhaps 200MB of disk space.  To install the entire system requires 
much more disk space, and to run X or compile the system, more RAM is 
recommended.



So, OpenBSD will run.  It's going to be slow, it's only a Pentium 100. 
I ran OpenBSD on a P133 for a while, I had to run the older version of X 
because the video wasn't supported by the new version, not sure if 
that's still the case.


Patience will be important.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Peter N. M. Hansteen
Steve Shockley [EMAIL PROTECTED] writes:

 So, OpenBSD will run.  It's going to be slow, it's only a Pentium
 100. I ran OpenBSD on a P133 for a while, I had to run the older
 version of X because the video wasn't supported by the new version,
 not sure if that's still the case.

The archives will reveal that around 2.5-2.7 times (cant't remember
exactly), some of us have installed and (briefly) run OpenBSD on
i386/33 with all of 8MB of RAM, and I think even the trick for making
the installer complete under these conditions made it into the FAQ at
least for a while.  Not recommended, but apparently doable, FSVO.

 Patience will be important.

Oh yes, loads of it.  By the time you've actually gotten a system with
that spec to do something marginally useful, something much more
recent is bound to have fallen into your lap for free.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Giancarlo Razzolini
Peter N. M. Hansteen escreveu:
 Steve Shockley [EMAIL PROTECTED] writes:

   
 So, OpenBSD will run.  It's going to be slow, it's only a Pentium
 100. I ran OpenBSD on a P133 for a while, I had to run the older
 version of X because the video wasn't supported by the new version,
 not sure if that's still the case.
 

 The archives will reveal that around 2.5-2.7 times (cant't remember
 exactly), some of us have installed and (briefly) run OpenBSD on
 i386/33 with all of 8MB of RAM, and I think even the trick for making
 the installer complete under these conditions made it into the FAQ at
 least for a while.  Not recommended, but apparently doable, FSVO.

   
 Patience will be important.
 

 Oh yes, loads of it.  By the time you've actually gotten a system with
 that spec to do something marginally useful, something much more
 recent is bound to have fallen into your lap for free.

   
Never ran with 24MB, but note mentioned that I've run an openbsd
firewall on a pentium 133, with 32MB of ram. It had everything a
firewall for home uses need, DNS, DHCP and the firewall rules. I've
upgraded to 64MB so i could run a squid proxy, apache server and openvpn
server. Ran it for more than a year. OpenBSD is a very small footprint
operational system. I believe it will run in 24MB with no problems.

My regards,

-- 
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread ropers
2008/9/4 Peter N. M. Hansteen [EMAIL PROTECTED]:
 Steve Shockley [EMAIL PROTECTED] writes:

 So, OpenBSD will run.  It's going to be slow, it's only a Pentium
 100. I ran OpenBSD on a P133 for a while, I had to run the older
 version of X because the video wasn't supported by the new version,
 not sure if that's still the case.

 The archives will reveal that around 2.5-2.7 times (cant't remember
 exactly), some of us have installed and (briefly) run OpenBSD on
 i386/33 with all of 8MB of RAM, and I think even the trick for making
 the installer complete under these conditions made it into the FAQ at
 least for a while.  Not recommended, but apparently doable, FSVO.

 Patience will be important.

 Oh yes, loads of it.  By the time you've actually gotten a system with
 that spec to do something marginally useful, something much more
 recent is bound to have fallen into your lap for free.

I did for a time run a 133MHz Pentium 1 clone PF firewall with a 210MB
HDD and 48 MB RAM. I don't recommend using such a puny HDD. Even
promotional freebie USB sticks are probably 512MB these days, and you
really do want at least 512MB HDD space (of course bigger still is a
lot better), because otherwise there is so much stuff that you
probably would want and just cannot install. As for the RAM and the
speed, I found the above quite acceptable for my home network purposes
(no X11) once I gave it a bigger HDD. Of course OpenBSD will also put
a better CPU and more RAM to excellent use, but based on my personal
experience I would consider a Pentium 1 with 512MB HDD and 48 MB RAM
the minimum for very basic 10/100 Megabit home network PF stuff. It's
possible that even 24MB RAM will work ok for you, I just haven't tried
it. YMMV.

regards,
--ropers



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Paul de Weerd
Oh come on .. there's no challenge in 16M. Less, that's where it gets
really interesting (if you're in to BSDM, of course ;)

OpenBSD 4.4-beta (GENERIC) #0: Thu Jul 10 11:55:18 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz (GenuineIntel 686-class) 
2.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,DS-CPL,CX16
real mem  = 16281600 (15MB)
avail mem = 5730304 (5MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/10/07, BIOS32 rev. 0 @ 0xfd880, SMBIOS 
rev. 2.31 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 04/10/2007
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 99%
apm0: AC on, battery charge high
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xdc000/0x4000! 0xe/0x4000!
vmt0 at mainbus0
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: VMware Virtual IDE Hard Drive
wd0: 64-sector PIO, LBA, 1024MB, 2097152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR10, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
bha3 at pci0 dev 16 function 0 BusLogic MultiMaster rev 0x01: irq 11, 
BusLogic 9xxC SCSI
bha3: model BT-958, firmware 5.07B
bha3: sync, parity
scsibus1 at bha3: 8 targets, initiator 7
ppb1 at pci0 dev 17 function 0 VMware Virtual PCI-PCI rev 0x02
pci2 at ppb1 bus 2
vic0 at pci2 dev 0 function 0 AMD 79c970 PCnet-PCI rev 0x10: irq 9, address 
00:0c:29:ff:4d:0d
eap0 at pci2 dev 1 function 0 Ensoniq AudioPCI97 rev 0x02: irq 10
ac97: codec id 0x43525913 (Cirrus Logic CS4297A rev 3)
audio0 at eap0
midi0 at eap0: AudioPCI MIDI UART
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask e965 netmask eb65 ttymask fbff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


(i'll admit that this one was installed with 256M .. but it's a
GENERIC kernel and it boots with the default daemons and gettys etc,
including ntpd).

Cheers,

Paul 'WEiRD' de Weerd

PS: BSDM = BSD Masochism

On Thu, Sep 04, 2008 at 11:22:14AM -0300, Giancarlo Razzolini wrote:
| Peter N. M. Hansteen escreveu:
|  Steve Shockley [EMAIL PROTECTED] writes:
| 
|
|  So, OpenBSD will run.  It's going to be slow, it's only a Pentium
|  100. I ran OpenBSD on a P133 for a while, I had to run the older
|  version of X because the video wasn't supported by the new version,
|  not sure if that's still the case.
|  
| 
|  The archives will reveal that around 2.5-2.7 times (cant't remember
|  exactly), some of us have installed and (briefly) run OpenBSD on
|  i386/33 with all of 8MB of RAM, and I think even the trick for making
|  the installer complete under these conditions made it into the FAQ at
|  least for a while.  Not recommended, but apparently doable, FSVO.
| 
|
|  Patience will be important.
|  
| 
|  Oh yes, loads of it.  By the time you've actually gotten a system with
|  that spec to do something marginally useful, something much more
|  recent is bound to have fallen into your lap for free.
| 
|
| Never ran with 24MB, but note mentioned that I've run an openbsd
| firewall on a pentium 133, with 32MB of ram. It had everything a
| firewall for home uses need, DNS, DHCP and the firewall rules. I've
| upgraded to 64MB so i could 

Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Stuart Henderson
On 2008-09-04, Giancarlo Razzolini [EMAIL PROTECTED] wrote:
 Never ran with 24MB, but note mentioned that I've run an openbsd
 firewall on a pentium 133, with 32MB of ram. It had everything a
 firewall for home uses need, DNS, DHCP and the firewall rules. I've
 upgraded to 64MB so i could run a squid proxy, apache server and openvpn
 server. Ran it for more than a year. OpenBSD is a very small footprint
 operational system. I believe it will run in 24MB with no problems.

I had problems on a 32MB soekris 4526 just using it as an access point.
bridge + hostap + that's it. but with swap available you could do more.

I don't know how the installer will do with that little RAM; you may
have to install the OS onto the hard drive on a machine with more.

It's not going to make a normal workstation, that's for sure,
but there are things you can do with it.

X server, running apps remotely? perhaps, though I think you still
have to be careful what you run.

Basic router or nat gateway? maybe, but the network interfaces on
that sort of laptop are going to suck.

Cheap smallish device to leave at a colo site for when you need serial
console access to machines?

Got/can add USB? simple one-wire sensor controller with uow(4)?

The cheapest Eee is considerably better-spec, of course...



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Paul de Weerd
On Thu, Sep 04, 2008 at 04:46:07PM +0200, Paul de Weerd wrote:
| Oh come on .. there's no challenge in 16M. Less, that's where it gets
| really interesting (if you're in to BSDM, of course ;)

OK, at 8MB it runs with a non-GENERIC kernel, still booting with all
the default services (including ntpd). Logging in over ssh is slow as
molasses, but it works (swap is not an option - it's mandatory now ;)
This kernel actually has useful options (ipv6, pf, vlan, briding, etc)
enabled. It weighs in at 1663498 bytes. You can probably get smaller
but not by much.

The first idiot to send me a dmesg of a working (real, no VMWare
trickery like I'm doing) machine with less memory can come by to pick
up a better machine (at least with more RAM) for free. (I may have
more machines I want to get rid of and am too lazy to take out to the
trash, first come first served)

That's it for today, I'm done with BSDM for now ;)

Cheers,

Paul 'WEiRD' de Weerd

OpenBSD 4.4-current (I_AM_IDIOT) #1: Thu Sep  4 18:04:18 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/I_AM_IDIOT
cpu0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz (GenuineIntel 686-class) 
2.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,DS-CPL,CX16
real mem  = 7892992 (7MB)
avail mem = 3051520 (2MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/10/07, BIOS32 rev. 0 @ 0xfd880, SMBIOS 
rev. 2.31 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 04/10/2007
bios0: VMware, Inc. VMware Virtual Platform
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (vendor 0x8086 product 0x122e rev 
0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xdc000/0x4000! 0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor 0x8086 product 0x7190 rev 0x01
ppb0 at pci0 dev 1 function 0 vendor 0x8086 product 0x7191 rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 vendor 0x8086 product 0x7110 rev 0x08
pciide0 at pci0 dev 7 function 1 vendor 0x8086 product 0x7111 rev 0x01: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: VMware Virtual IDE Hard Drive
wd0: 64-sector PIO, LBA, 1024MB, 2097152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
drive at pciide0 channel 1 drive 0 not configured
pciide0: channel 1 disabled (no drives)
vendor 0x8086 product 0x7113 (class bridge subclass miscellaneous, rev 0x08) at 
pci0 dev 7 function 3 not configured
vga0 at pci0 dev 15 function 0 vendor 0x15ad product 0x0405 rev 0x00
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor 0x104b product 0x1040 (class mass storage subclass SCSI, rev 0x01) at 
pci0 dev 16 function 0 not configured
ppb1 at pci0 dev 17 function 0 vendor 0x15ad product 0x0790 rev 0x02
pci2 at ppb1 bus 2
vic0 at pci2 dev 0 function 0 vendor 0x1022 product 0x2000 rev 0x10: irq 9, 
address 00:0c:29:ff:4d:0d
vendor 0x1274 product 0x1371 (class multimedia subclass audio, rev 0x02) at 
pci2 dev 1 function 0 not configured
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fde5 netmask ffe5 ttymask 
mtrr: Pentium Pro MTRR support
root on wd0a swap on wd0b dump on wd0b

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Hannah Schroeter
Hi!

On Thu, Sep 04, 2008 at 06:19:30PM +0200, Paul de Weerd wrote:
On Thu, Sep 04, 2008 at 04:46:07PM +0200, Paul de Weerd wrote:
| Oh come on .. there's no challenge in 16M. Less, that's where it gets
| really interesting (if you're in to BSDM, of course ;)

OK, at 8MB it runs with a non-GENERIC kernel, still booting with all
the default services (including ntpd). Logging in over ssh is slow as
molasses, but it works (swap is not an option - it's mandatory now ;)

That were times when encrypted/kerberized telnet was really useful, back
then, when I really used small boxen as router. Even with more RAM, ssh
was *slow* (because of CPU) on some boxen, while e/k telnet was quite
fast still.

[...]

The first idiot to send me a dmesg of a working (real, no VMWare
trickery like I'm doing) machine with less memory can come by to pick
up a better machine (at least with more RAM) for free. (I may have
more machines I want to get rid of and am too lazy to take out to the
trash, first come first served)

About 10 years ago, I built a dedicated bridge-only system, using a 386
or 486 (don't remember any more, it was at times when obsd actually
*did* run, when GPL_MATH_EMU wasn't dropped from the kernel yet). It ran
on *4* MB of RAM, highly custom kernel, of course. Floppy only, no hard
disk. The only way to fix/customize the box was to generate a new floppy
image on my build host. The floppy was derived from the very old kernel
install stuff (crunchgen/crunchide based binary, initialization shell
script, but not ramdisk, but floppy as root filesystem!). IIRC the box
could be run without any fan, i.e. noiseless, and bridged 2 10-mbit coax
based ethernets quite fine (fine in relation to what was fine *then*!).

Kind regards,

Hannah.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Wade, Daniel
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Stuart Henderson
 Sent: Thursday, September 04, 2008 12:11 PM
 To: misc@openbsd.org
 Subject: Re: Can OpenBSD run in 24 MB of RAM?

 On 2008-09-04, Giancarlo Razzolini [EMAIL PROTECTED] wrote:
  Never ran with 24MB, but note mentioned that I've run an openbsd
  firewall on a pentium 133, with 32MB of ram. It had everything a
  firewall for home uses need, DNS, DHCP and the firewall rules.
 I've
  upgraded to 64MB so i could run a squid proxy, apache server and
 openvpn
  server. Ran it for more than a year. OpenBSD is a very small
 footprint
  operational system. I believe it will run in 24MB with no
 problems.

 I had problems on a 32MB soekris 4526 just using it as an access
 point.
 bridge + hostap + that's it. but with swap available you could do
 more.


I run my home router with 32MB of RAM, it does require some swap though.
I'm running dhcpd, ntpd, pf, named, and two bitchx clients.
The heavy hitter on RAM being named, it's currently using around 17MB
I've been meaning to change over to djbdns, I just haven't yet.
Everything runs smoothly as is.

load averages:  0.09,  0.18,  0.14
28 processes:  27 idle, 1 on processor
CPU states:  0.5% user,  0.0% nice,  0.5% system,  0.2% interrupt, 98.9% idle
Memory: Real: 5884K/22M act/tot  Free: 2188K  Swap: 20M/65M used/tot

OpenBSD 4.4-beta (GENERIC) #1012: Sun Aug  3 09:57:38 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6tm w/ multimedia extensions (AuthenticAMD 586-class) 200 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 33124352 (31MB)
avail mem = 22052864 (21MB)



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Tim Beikuefner

[EMAIL PROTECTED] schrieb:

I've searched the FAQ and the Web for any guidance on what the minimum RAM
is for OpenBSD, with and without X.

I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.




Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Nuno Magalhães
I installed 4.3 onto a Compaq  Armada 1500 with 32RAM. I got nginx
working with PHP though fastcgi but before i could test it any further
i got it upgraded to 96MB. It was handling it well enough with 32, i
guess... you can't really tell just how much RAM is in deed being
used. I'm still keeping it low profile, with SQLite. It's basically my
test box for fiddling around with servers. FTP was a try but needs
work, i was trying vsftp i think.

Then i got very slow ssh responses but worked around it disabling DNS
in ssh.conf (or something like that). Quite a fun thread to read :D
Next step will be fiddling around with the printer. I was trying CUPS
but guess what, it depends on X - which i obviously don't have
installed. The best response i got here was man lpd... So we'll see.

The main purpose of using it, besides the fun, is to maybe upgrade it
to support a large hard-drive so it can be on 24/7 and act as my /home
throughout my home network. Using its USB 1.0 would be kinda slow but
finding a decent HD for this old box is not that easy (i.e. internal
or fiddle with the cables and adapt a normal external IDE)... Plus i
dunno if there are any size limits for booting and all that, maybe
that's solved with a small /boot partition at the begining of the
drive?

-- 
Nuno MagalhC#es



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Stuart Henderson
On 2008-09-04, Wade, Daniel [EMAIL PROTECTED] wrote:
 I've been meaning to change over to djbdns, I just haven't yet.

take a look at Unbound (port/package in 4.4/-current), it's quite nice.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Tim Beikuefner
I used to run OpenBSD 4.2 on a sun SparcClassic with 24MB and it ran 
pretty cool, i used the box as web server and vpn gateway, 2 users had 
screen sessions with irssi and mcabber.




Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread ropers
2008/9/4  [EMAIL PROTECTED]:
 I've searched the FAQ and the Web for any guidance on what the minimum RAM
 is for OpenBSD, with and without X.

 I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
 RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.

I kept thinking that I had read an answer to that question in some
part of the documentation in the past, but like the OP, I couldn't
find it in the FAQ. Now I've found it: It's in INSTALL.386 --on the
web e.g. at http://anga.funkfeuer.at/ftp/pub/OpenBSD/4.3/i386/INSTALL.i386
(and other mirrors)-- where is says among other things:

 The minimal configuration to install the system is 24MB or 32MB of RAM and
perhaps 200MB of disk space.  To install the entire system requires much more
disk space, and to run X or compile the system, more RAM is recommended.

I'm not, btw. entirely sure why it says 24MB *or* 32MB, but anyway.

kind regards,
--ropers



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Nick Holland
ropers wrote:
 2008/9/4  [EMAIL PROTECTED]:
 I've searched the FAQ and the Web for any guidance on what the minimum RAM
 is for OpenBSD, with and without X.

 I just acquired a Compaq Armada 1125 laptop that maxes out at 24 MB of
 RAM, and I'm wondering whether or not it's feasible to run OpenBSD on it.
 
 I kept thinking that I had read an answer to that question in some
 part of the documentation in the past, but like the OP, I couldn't
 find it in the FAQ. Now I've found it: It's in INSTALL.386 --on the
 web e.g. at http://anga.funkfeuer.at/ftp/pub/OpenBSD/4.3/i386/INSTALL.i386
 (and other mirrors)-- where is says among other things:
 
 The minimal configuration to install the system is 24MB or 32MB of RAM and
 perhaps 200MB of disk space.  To install the entire system requires much more
 disk space, and to run X or compile the system, more RAM is recommended.
 
 I'm not, btw. entirely sure why it says 24MB *or* 32MB, but anyway.

Because it is hard to get a machine down to 24M RAM anymore. :)

I actually have some 16M DIMMs which allowed me to build a real 450MHz
PII machine with 16M RAM. :)

I have difficulty coming up with a practical app for such a machine,
however.  IF it doesn't already have 24M RAM in it, upgrading to that
would be unpleasant.

You won't want to compile anything.
You won't want to use X (don't know that you would want to do that
on that screen anyway).
You won't be using any big applications.
You won't be using any medium-sized applications.
You won't be running many small applications.

I guess if you need a portable serial console, it might be pretty
good, though the battery is probably dead.

100MHz P1 is enough for ssh, but it isn't really fun.

Finding a PCMCIA network adapter that works on a machine that old
might be lots of fun, too.

I think I started writing a FAQ article a few times on minimum
hardware a few times.  It kept turning into a sermon. :)

Short version: If you are new to OpenBSD, I'm going to say a P-II,
4G HD, 64M RAM would be the least I'd suggest.  A lot of things
a LOT less will work just fine for a LOT of applications, but
when you are learning, you want to have something you can
screw-up and reload many times without horrible delays.  You want
to be able to say, What happens when I do THIS? and even look
forward to it blowing up and requiring a complete reload.  Can you
do repeated reloads on a 486/25?  Of course.  However, if you got
that kinda time on your hands, you need a job.

Experienced users usually have no problem figuring out what they
need to run their applications.

Also keep in mind, the goal is most likely not running OpenBSD,
the goal is probably some task which runs on top OpenBSD.  24M is
plenty to sit at a shell prompt, but I doubt that's your goal.

Nick.



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Rod Whitworth
On Thu, 04 Sep 2008 19:33:11 -0400, Nick Holland wrote:

Experienced users usually have no problem figuring out what they
need to run their applications.

Also keep in mind, the goal is most likely not running OpenBSD,
the goal is probably some task which runs on top OpenBSD.  24M is
plenty to sit at a shell prompt, but I doubt that's your goal.

Hehe. I did a favour for a client and took his son's Thinkpad 240 (nice
and small, dead battery, PCMCIA CD drive etc) I forget how much RAM but
not very.

Can't install from a CD because of catch 22 - CD unbootable until an OS
is installed 8-)
OBSD boots nicely from external floppy, connnects via PCMCIA NIC to my
install server, installs happily.

All I want it for is to run cu to talk to Soekris boxes in the field so
I can even leave out the external FDD but it's then i find out that the
RS232 port is dead.

At that point I am glad that OBSD is so easy to install that the effort
was not great and sad that I didn't forsee that something that old and
so battered would likely have problems.

Ahhh well, another paperweight like most of the machines mentioned in
threads like this. It just makes me feel as old as these war stories...

~|^
 ==

R/
(Offlist replies to the supplied reply-to: or discover tarpitting ;-} )


Rod/
_
Depressed? Me?
Don't make me laugh!
:Spike Milligan:1918-2002:



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-04 Thread Steve Shockley

ropers wrote:

I'm not, btw. entirely sure why it says 24MB *or* 32MB, but anyway.


Must be the video ram used by AGP...



Re: Can OpenBSD run in 24 MB of RAM?

2008-09-03 Thread Ted Unangst
On Wed, Sep 3, 2008 at 11:00 PM,  [EMAIL PROTECTED] wrote:
 I've searched the FAQ and the Web for any guidance on what the minimum RAM
 is for OpenBSD, with and without X.

It's the smallest amount of RAM that lets you get your work done.