Subject: Re: Minimalny konfig kernela do routera i386
To: Pawel Chwalowski <chwalek@poczta.onet.pl>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: regional-pl
Date: 11/16/2005 03:19:59
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-451091344-1132107599=:806
Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

> Cze=B6=E6!
>
> Skoro akurat nic ciekawego nie ma na li=B6cie to mo=BFe kto=B6 pochwali s=
i=EA jaki minimalny konfig kernela uda=B3o mu si=EA osi=B1gn=B1=E6?
> Mam tu "maszyn=EA" 486sx 12MB i zaczynam dopasowywa=E6 kernel. Na razie m=
a 1,7MB, ale jeszcze troche zosta=B3o opcji. Jaki macie do=B6wiadczenia z u=
suwaniem zb=EAdnych opcji?

prosz=EA

NetBSD 1.5.4_ALPHA (navatrans.3miasto.net) #0: Tue Mar 22 06:42:09 PST=20
2005

root@chylonia.3miasto.net:/usr/src/sys/arch/i386/compile/navatrans.3miasto.=
net
cpu0: UMC UMC UMC   (486-class)
total memory =3D 8064 KB
avail memory =3D 6476 KB
using 64 buffers containing 256 KB of memory
mainbus0 (root)
isa0 at mainbus0
ep0 at isa0 port 0x210-0x21f irq 5: 3Com 3C509 Ethernet
ep0: address 00:20:af:55:64:15, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10base5, 10base2 (default 10base2)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
com2 at isa0 port 0x3e8-0x3ef irq 9: ns16550a, working fifo
com3 at isa0 port 0x2e8-0x2ef irq 10: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <Conner Peripherals 40MB - CP3046>
wd0: drive supports 64-sector pio transfers, chs addressing
wd0: 42120 KB, 1053 cyl, 2 head, 40 sec, 512 bytes/sect x 84240 sectors
wd0: reported multisector count wrong - resetting to 1!
lpt0 at isa0 port 0x378-0x37b irq 7
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
biomask f945 netmask f965 ttymask f9e7
boot device: wd0
root on wd0a dumps on wd0b
IP Filter: v3.4.29 initialized.  Default =3D pass all, Logging =3D disabled





include "arch/i386/conf/std.i386"
maxusers        4               # estimated number of users
options         I486_CPU
options         DUMMY_NOPS
options         MATH_EMULATE
options         CPURESET_DELAY=3D500
makeoptions     DEBUG=3D"-march=3Di386 -O2"
options         RTC_OFFSET=3D0    # hardware clock is this many mins. west=
=20
of GMT

file-system     FFS             # UFS
options         SOFTDEP         # FFS soft updates support.
options         BUFPAGES=3D64
options         NVNODE=3D256

options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IP + ICMP + TCP + UDP
options         PPP_DEFLATE
options         NMBCLUSTERS=3D512
options         IPFORWARDING=3D1
options         IPFORWSRCRT=3D0

config          netbsd  root on wd0a type ffs dumps on wd0b
mainbus0 at root
isa0    at mainbus0
lpt0    at isa0 port 0x378 irq 7        # standard PC parallel ports
wdc0    at isa0 port 0x1f0 irq 14 flags 0x00
wd0     at wdc0 channel 0 drive 0 flags 0x0000
pc0     at isa0 port 0x60 irq 1
com0    at isa0 port 0x3f8 irq 4        # Standard PC serial ports
com1    at isa0 port 0x2f8 irq 3
com2    at isa0 port 0x3e8 irq 9        # Standard PC serial ports
com3    at isa0 port 0x2e8 irq 10
ep0     at isa0 port ? irq ?

pseudo-device   ipfilter                # IP filter (firewall) and NAT
pseudo-device   bpfilter        4
pseudo-device   loop                    # network loopback
pseudo-device   ppp             4       # Point-to-Point Protocol
pseudo-device   pty             8       # pseudo-terminals
pseudo-device   rnd                     # /dev/random and in-kernel generat=
or



oczywi=B6cie wywal IPv6 i inne je=B6li nie trzeba.

m=F3j kernel ma:

-rwxr-xr-x   1 root  wheel  1085186 Mar 22  2005 netbsd

NetBSD wersja 1.5.4, i od zej=B6cia na starsz=B1 wersje nale=BFy zacz=B1=E6=
=2E

root@navatrans-r# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       26911    21312     4253    83%    /


BTW te dyski 40MB kupi=B3em po 5 z=B3 w hurcie kiedy=B6 ;) - znacznie lepsz=
e ni=BF=20
FDD
--0-451091344-1132107599=:806--