なんとかマルチユーザモード
なんとかマルチユーザモードで目立ったエラーなしに起動するところまできました。
最終的にはlibhackからgetpwent, utmp, yplibを抜いたりしながらなんとかたどり着いた感じです。
現在のファイルサイズは1,472,301バイト。ftpもpaxも削ってなんとか収めた感じです。ただ、NFSが使えるのでマウントしちゃえば何とかなるかなと。まぁ、何するわけでもないんですけど。
目標のtelnetd起動まで、ですが苦しいです。inetdとtelnetdを両方入れないといけないというファイルサイズの問題とinetd経由でtelnetできない問題があるのです。前者はともかくとして、後者は設定の問題なんですよねぇ。telnetdもinetdもいろいろなオプションを落として作っているのでそれが影響してるんでしょうかねぇ。
最終的にはlibhackからgetpwent, utmp, yplibを抜いたりしながらなんとかたどり着いた感じです。
現在のファイルサイズは1,472,301バイト。ftpもpaxも削ってなんとか収めた感じです。ただ、NFSが使えるのでマウントしちゃえば何とかなるかなと。まぁ、何するわけでもないんですけど。
目標のtelnetd起動まで、ですが苦しいです。inetdとtelnetdを両方入れないといけないというファイルサイズの問題とinetd経由でtelnetできない問題があるのです。前者はともかくとして、後者は設定の問題なんですよねぇ。telnetdもinetdもいろいろなオプションを落として作っているのでそれが影響してるんでしょうかねぇ。
hermit> boot NetBSD/Armadillo-210 booting ... Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.33 (ARMADILLO210_TINY) #1: Sun Oct 28 00:08:06 JST 2007 tokuda@macbook.local:/Users/tokuda/NetBSD/o/20071014/evbarm/sys/arch/evbarm/compile/ARMADILLO210_TINY total memory = 32768 KB avail memory = 26392 KB mainbus0 (root) cpu0 at mainbus0: ARM920T rev 0 (ARM9TDMI core) cpu0: DC enabled IC enabled WB enabled EABT cpu0: 16KB/32B 64-way Instruction cache cpu0: 16KB/32B 64-way write-back-locking-A Data cache epsoc0 at mainbus0: Cirrus Logic EP93xx SoC rev E0 epsoc0: fclk 200.02 MHz hclk 100.01 MHz pclk 50.00 MHz epclk0 at epsoc0 addr 0x80810000-0x8081008f intr 4 epgpio0 at epsoc0 addr 0x80840000-0x808400cb intr 59 gpio0 at epgpio0: port A: 8 pins gpio1 at epgpio0: port B: 8 pins gpio2 at epgpio0: port C: 8 pins gpio3 at epgpio0: port D: 8 pins gpio4 at epgpio0: port E: 8 pins gpio5 at epgpio0: port F: 8 pins gpio6 at epgpio0: port G: 8 pins gpio7 at epgpio0: port H: 8 pins epled0 at epgpio0: port E bit1 1 bit2 0 armadillo9iic0 at epgpio0: port B bit1 4 bit2 5 iic0 at armadillo9iic0: I2C bus seeprom0 at iic0 addr 0x50: AT24Cxx EEPROM armadillo9iic0: WARNING: unable to read MAC address from SEEPROM epe0 at epsoc0 addr 0x80010000-0x8001ffff intr 39 epe0: MAC address 00:00:00:00:00:00 lxtphy0 at epe0 phy 0: LXT971/2 10/100 media interface, rev. 2 lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto epcom0 at epsoc0 addr 0x808c0000-0x808c0fff intr 52 epcom0: console epcom1 at epsoc0 addr 0x808d0000-0x808d0fff intr 54 epwdog0 at epsoc0 addr 0x80940000-0x80940007 intr 36 eprtc0 at epsoc0 addr 0x80920000-0x8092010b intr 37 md0: internal 4096 KB image area boot device: <unknown> root on md0a dumps on md0b root file system type: ffs WARNING: preposterous TOD clock time WARNING: using filesystem time WARNING: CHECK AND RESET THE DATE! Mon Oct 29 17:39:17 UTC 2007 Starting file system checks: Setting tty flags. Setting sysctl variables: Starting network. Hostname: a210 Configuring network interfaces: epe0. add net default: gateway 192.168.100.1 Adding interface aliases: Building databases: dev, utmp, utmpx, services, master.passwd done /etc/rc: WARNING: No crash dump directory; savecore not run. Mounting all filesystems... Clearing temporary files. Checking quotas: done. Setting securelevel: kern.securelevel: 0 -> 1 /etc/rc: WARNING: No swap space configured! Starting local daemons:. Updating motd. Mon Oct 29 17:39:20 UTC 2007 NetBSD/evbarm (a210) (console) login: root Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.33 (ARMADILLO210_TINY) #1: Sun Oct 28 00:08:06 JST 2007 Welcome to NetBSD! This system is running a development snapshot of the NetBSD operating system, also known as NetBSD-current. It is highly possible for it to contain serious bugs, regressions, broken features or other problems. Please bear this in mind and use the system with care. You are encouraged to test this version as thoroughly as possible. Should you encounter any problem, please report it back to the development team using the send-pr(1) utility (requires a working MTA). If yours is not properly set up, use the web interface at: http://www.NetBSD.org/support/send-pr.html Thank you for helping us test and improve NetBSD. # cd / # ls bin sbin usr/bin usr/sbin bin: cat date ed ls pax rm stty chmod dd hostname mkdir ps rmdir sync cp df ln mv pwd sh sbin: dmesg init mount_kernfs ping shutdown umount fsck mknod mount_mfs rcorder swapctl halt mount mount_nfs reboot sysctl ifconfig mount_ffs newfs route ttyflags usr/bin: awk cmp gunzip install more stat xinstall basename find gzcat less readlink tar chgrp grep gzip login sed tset usr/sbin: chown dev_mkdb quotacheck services_mkdb chroot pwd_mkdb quotaon #
コメント(0件)
- TB-URL http://www.tokuda.net/diary/adiary.cgi/0382/tb/