[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NetBSD/i386 for (DOS) Mobile Gear



滝沢です.

#「続きは tech-misc-ja で」という天の声が届いたのでこっちに.:-)

昨年末に,port-hpcmips-ja で

> Subject: Re: NetBSD for ``DOS'' Mobile Gear ? (Re: MGL 2) 
> From: "Y. Takizawa" <you@nightbreak.org> 
> Date: Wed, 29 Dec 1999 20:32:37 +0900 
> > >この後のログを端末ソフトでとったのが以下です.
> > >http://www.nightbreak.org/ardes/NetBSD/box/netbsdmg.txt
> > 数日中には user land まで行けそうですね。
> > もう login: とか出てたりして(^^;
> いえその,今日から帰省モードでして(^^;;;).
> その気になれば確かに数日中には multiuser にいけると思います.

と騒いだ(いわゆる) DOS 版 Mobile Gear での NetBSD/i386 の稼働ですが,
とりあえず dosboot.com の変更と kernel configuration だけで
どこまで動くか試してみました.そしたら,やっぱりというかなんというか,
コンソールまわり以外ほとんど動いちゃいました(^^;).

# やったことは,conf/INSTALL で pcic が使う irq 決め打ちして
# pc0 を無効にしてから distrib/i386/floppies/ramdisk/ramdisk.fs と
# 合体させただけです.要するにインストールフロッピー用.

そんなわけで,日本語コンソールとか APM 関連をがんばって移植すれば
はれてたけむらさん以下 PocketBSD Project な方々に
それなりの報告ができるかなと思ってるんですが,根本的な問題として,
滝沢の母艦でいまだ NetBSD から CF カードが認識できてないとゆう(;_;).
(dosboot.com を使ってるのはつまりはそーいうことだったりして)

# RATOC の REX-5051FV って割と無難だと思ったんだけどなあ.
# Psion のこともあるからちゃんと使えるようにしとかないと.
# CF アダプタがまずいのかな?

--
Y. Takizawa	(滝沢陽三)
you@nightbreak.org, takizawa@computer.org
``Don't feel as if the key to successful computing is only in your hands.''


--(ここから)--
>> NetBSD/i386 DOS Boot, Revision 1.5
>> (takizawa@W1, Tue Jan  4 05:10:08 JST 2000)
>> Memory: 639/7488 k
booting dos:netbsd
|^H1080884/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H+1672148\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H+166556]=0x2c9e38
[ netbsd ELF symbol table not valid ]
[ netbsd a.out symbol table not valid ]
[ no symbol table formats found ]
Copyright (c) 1996, 1997, 1998, 1999
    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 1.4P (INSTALL_MG) #0: Tue Jan  4 08:25:54 JST 2000
    takizawa@W1:/home/mobilegear/sys/arch/i386/compile/INSTALL_MG
cpu0: family 4 model 2 step d
cpu0: Intel 486SX (486-class)
total memory = 8128 KB
avail memory = 4544 KB
using 127 buffers containing 508 KB of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wdc1 at isa0 port 0x170-0x177 irq 15
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 11
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
wdc2 at pcmcia0 function 0 port 0x300-0x30f
pcmcia0: card irq 11
wd0 at wdc2 channel 0 drive 0: <SunDisk SDCFB-10>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 10MB, 320 cyl, 2 head, 32 sec, 512 bytes/sect x 20480 sectors
pcmcia1 at pcic0 controller 1 socket 0
biomask f7ef netmask f7ef ttymask ffef
md0: internal 1587K image area
boot device: <unknown>
root on md0a dumps on md0b
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C


 Welcome to sysinst, the NetBSD-1.4P system installation tool.  This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.  In the following
 menus, you may change the current selection by either typing the reference
 letter (a, b, c, ...).  Arrow keys may also work.  You activate the current
 selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD!

(sysinst menu)

# disklabel wd0
pcmcia0: card irq 11
wd0: no disk label
# /dev/rwd0d:
type: ESDI
disk: SunDisk SDCFB-10
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 2
sectors/cylinder: 64
cylinders: 320
total sectors: 20480
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  d:    20480        0     unused        0     0         # (Cyl.    0 - 319)
  e:    20384       32      MSDOS                        # (Cyl.    0*- 318)
  h: 1314062336        0     unused        0     0         # (Cyl.    0 - 205322
23)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partition h: partition extends past end of unit
# mount -t msdos /dev/wd0e /mnt
pcmcia0: card irq 11
# df -k
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/md0a        1367     1297       70    94%    /
kernfs              1        1        0   100%    /kern
/dev/wd0e       10164     1616     8548    15%    /mnt
# ls -Fa /mnt
./              BOOTLOG.TXT*    IO.SYS*         carb.exe*
../             COMMAND.COM*    MSDOS.SYS*      dosboot.com*
BOOTLOG.PRV*    DRVSPACE.BIN*   RECYCLED/       netbsd*
# ifconfig lo0 127.0.0.1
# ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
        inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=8.371 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=15.009 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=15.066 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=15.511 ms
^C
----127.0.0.1 PING Statistics----
4 packets transmitted, 4 packets received, 0.0% upacket loss
matih_emulate: 0xd9fda not implemente d
0 on /: file system full

/: write failed, file system is full
Illegal instruction
# df -k
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/md0a        1367     1341       26    98%    /
kernfs              1        1        0   100%    /kern
/dev/wd0e       10164     1616     8548    15%    /mnt
# halt
syncing disks... done

The operating system has halted.
Please press any key to reboot.

rebooting...
--(ここまで)--