hns - 日記自動生成システム - Version 2.19.9

先月 2002年11月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2002年11月08日(金) 旧暦 [n年日記]

#1 [NetBSD] root file system type: ffs から先に行かない問題

init を次のようにして作り直して見た。
ttyp1:root@quick 0:24:33/021108(...sbin/init)# /export-n/src-20021031-ts/tools/obj/tools.NetBSD-1.6F-powerpc/bin/nbmake-macppc dependall
CC=/export-n/src/tools/obj/tools.NetBSD-1.6F-powerpc/bin/powerpc--netbsd-gcc /export-n/src/tools/obj/tools.NetBSD-1.6F-powerpc/bin/nbmkdep -a -DMFS_DEV_IF_NO_CONSOLE -DSUPPORT_UTMP -DSUPPORT_UTMPX -DALTSHELL -DSECURE -nostdinc -isystem /usr/include init.c
/export-n/src/tools/obj/tools.NetBSD-1.6F-powerpc/bin/powerpc--netbsd-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -fno-strict-aliasing -Werror -DMFS_DEV_IF_NO_CONSOLE -DSUPPORT_UTMP -DSUPPORT_UTMPX -DALTSHELL -DSECURE -nostdinc -isystem /usr/include -c init.c
/export-n/src/tools/obj/tools.NetBSD-1.6F-powerpc/bin/powerpc--netbsd-gcc -static -o init -nostdlib -Wl,-dynamic-linker=/libexec/ld.elf_so -Wl,-rpath-link,/lib:/usr/lib -Wl,-rpath,/lib:/usr/lib -L/lib /usr/lib/crt0.o /usr/lib/crtbegin.o init.o -lutil -lcrypt -L/usr/lib -lgcc -lc -lgcc /usr/lib/crtend.o
ttyp1:root@quick 0:24:42/021108(...sbin/init)#
何をしても segfault する
ような気がする。

MacOS9.2 の CDROM ドライブ設定を使って:

区画を作って 20020818ts を入れて見たが 「root file system type: ffs から先に行かない問題」

daily/200210280000 を入れると:

Process (pid 1) got signal 4

Release 1.6 の CDROM を作って入れたら、何とか復活:

しかし
ttyp0:root@ibook 9:34:41/021108(/)# tar ztvf /a/j/ftp/pub/NetBSD/port-macppc/XFree86/X11R6-2002-07-08-2.95.3.tar.gz
Illegal instruction (core dumped)
ttyp0:root@ibook 9:35:19/021108(/)# which tar
/bin/tar
ttyp0:root@ibook 9:35:24/021108(/)#

20021029-ts-insecure と 20020818ts/ld.elf_so:

を入れたが、やはり coredoum する。
ttyp0:root@ibook 9:47:34/021108(/)# gdb /bin/tar tar.core
GNU gdb 5.0nb1
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc--netbsd"...(no debugging symbols found)...
Core was generated by `tar'.
Program terminated with signal 4, Illegal instruction.
#0 0x4182a4a0 in ?? ()
(gdb) where
#0 0x4182a4a0 in ?? ()
(gdb) ttyp0:root@ibook 9:47:52/021108(/)#
何だか最近、これを捨てたという話を読んだ気がする。

pax -zrf:

ttyp0:root@ibook 9:51:40/021108(/)# pax -zrf /a/j/ftp/pub/NetBSD/port-macppc/XFree86/X11R6-2002-07-08-2.95.3.tar.gz
これで一応開いたが、iBook ではこれは動かなかったので 2002-04-17 を入れる。
X の suid bit が立っていない。... fvwm2 も入れておく
chmod 4711 /usr/X11R6/bin/XFree86 pkg_add fvwm2

これでかなり復活。:

NetBSD ibook 1.6J NetBSD 1.6J (INSECURE) #0: Wed Oct 30 11:49:16 JST 2002
makoto@ibook:/export/syssrc-ts-021029/syssrc/sys/arch/macppc/compile/INSECURE macppc

#2 [NetBSD] NetBSD/macppc の設置と設定

ちょっとがんばり過ぎか

#3 [NetBSD][CDROM] bootable macppc CDROM

distrib/cdrom の下で make するのって、ぼくには応用が効かない (というか効かせるには分り難い)気がする。ので、以前の方法を調べる。
mkisofs -part -hfs -r -J -l -o CDimage directory

mkisofs is at /usr/pkgsrc/sysutils/cdrecord/
directory has files:
  macppc/
  netbsd.GENERIC_MD.gz
  netbsd.gz
  ofwboot.xcf
これだと OF1/2 はだめだなぁ。その他に
bin/pdisk
bin/date
OF3/ofwboot.xcf-for-dd
いくつかの netbsd.GENERIC_MD.gz
を入れておくかな。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)