IBM PC110でNetBSD(その1)
ある方から譲っていただいたIBM PC110 (いわゆるウルトラマンPC) をずいぶん寝かしていたので一念発起 (というほどでもないか) してNetBSDを入れることにしました。
とても古い計算機ですが、今見てもなんというか存在感のある計算機です。ずいぶん昔にT-ZONEのショウウィンドウの前で欲しいなぁ欲しいなぁ、あれとあれを売り飛ばして貯金をはたけば買えるなぁ、でも他の計算機なくなっちゃうなぁ無理だなぁ、などと自問自答していたのを思い出します。
さてインストールのその前に、何はなくても小さなkernelが必要です。GENERIC_TINYをベースに削ったconfigでkernelを作りました。
ちなみに2007-01-15の4.99.8で、kernelのファイルサイズは約1.25Mbytesでした。GENERICよりも相当小さいですが、そうはいっても1Mbytesを超えるのですね。
使用したconfigはこんな感じです。
とても古い計算機ですが、今見てもなんというか存在感のある計算機です。ずいぶん昔にT-ZONEのショウウィンドウの前で欲しいなぁ欲しいなぁ、あれとあれを売り飛ばして貯金をはたけば買えるなぁ、でも他の計算機なくなっちゃうなぁ無理だなぁ、などと自問自答していたのを思い出します。
さてインストールのその前に、何はなくても小さなkernelが必要です。GENERIC_TINYをベースに削ったconfigでkernelを作りました。
ちなみに2007-01-15の4.99.8で、kernelのファイルサイズは約1.25Mbytesでした。GENERICよりも相当小さいですが、そうはいっても1Mbytesを超えるのですね。
使用したconfigはこんな感じです。
include "arch/i386/conf/std.i386" makeoptions COPTS="-Os" maxusers 8 # estimated number of users options I486_CPU options MATH_EMULATE # floating point emulation options PIC_DELAY options NOREDZONE options INSECURE # disable kernel security levels - X needs this options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT options NMBCLUSTERS=256 options PIPE_SOCKETPAIR # smaller, but slower pipe(2) options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. file-system FFS # UFS file-system KERNFS # /kern options FFS_NO_SNAPSHOT # No FF snapshot support options INET # IP + ICMP + TCP + UDP config netbsd root on ? type ? options WSEMUL_VT100 # VT100 / VT220 emulation options WS_KERNEL_FG=WSCOL_GREEN options WSDISPLAY_COMPAT_PCVT # emulate some ioctls options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls options WSDISPLAY_COMPAT_USL # VT handling options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes options PCDISPLAY_SOFTCURSOR mainbus0 at root cpu0 at mainbus0 isa0 at mainbus? pcmcia* at pcic? controller ? socket ? pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor pckbc0 at isa? # pc keyboard controller pckbd* at pckbc? # PC keyboard vga0 at isa? pcdisplay0 at isa? # CGA, MDA, EGA, HGA wsdisplay* at vga? console ? wsdisplay* at pcdisplay? console ? wskbd* at pckbd? console ? com* at pcmcia? function ? # Modems and serial cards com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports com1 at isa? port 0x2f8 irq 3 com2 at isa? port 0x3e8 irq 5 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports wdc* at pcmcia? function ? wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers wdc1 at isa? port 0x170 irq 15 atabus* at ata? wd* at atabus? drive ? # the drives themselves atapibus* at atapi? sd* at atapibus? drive ? # ATAPI disk drives ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet ne* at pcmcia? function ? # NE2000-compatible Ethernet include "arch/i386/conf/GENERIC.local" pseudo-device fss 4 # file system snapshot device pseudo-device vnd # disk-like interface to files pseudo-device bpfilter # Berkeley packet filter pseudo-device loop # network loopback pseudo-device tun # network tunneling over tty pseudo-device pty # pseudo-terminals pseudo-device rnd # /dev/random and in-kernel generator pseudo-device clockctl # user control of clock subsystem
コメント(0件)
- TB-URL http://www.tokuda.net/diary/042/tb/