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

先月 2008年03月 来月
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 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2008年03月02日() 旧暦 [n年日記] [更新:"2008/03/02 19:41:30"]

#1 [NetBSD][TeraStation] /boot/nbloader_v3.o: init_module: No such file or directory

きのう作ったカーネルで起動しようとした。 方法は にあるようなやり方。カーネル類は次のようにして持って来た。
root@TS-TGL2B8:/boot# 

wget ftp://ftp.ki.nu/pub/NetBSD/NetBSD-4.0/sandpoint/binary/kernel/netbsd-KUROBOX_MD.bin.gz
wget ftp://ftp.ki.nu/pub/NetBSD/NetBSD-4.0/sandpoint/binary/kernel/netbsd-KUROBOX.bin.gz
gunzip netbsd-KUROBOX.bin.gz
gunzip netbsd-KUROBOX_MD.bin.gz
nbloader_v31/binary/2.4.20_mvl31-ppc_terastation/nbloader_v3.o .
しかし(昼過ぎなのに) かなりボケていて、
/sbin/insmod nbloader_v3.o kenel=NetBSD-KUROBOX_MD.bin
として、
/boot/nbloader_v3.o: init_module: No such file or directory                     
と言われていて、正しくは
/sbin/insmod nbloader_v3.o kernel= netbsd -KUROBOX_MD.bin
であると気が付くのに、かなり時間がかかった。 (不思議に、あるいは当然ながら、google 先生に聞いても一つも出て来ない)
NetBSD 4.0.0_PATCH (KUROBOX_MD) #1: Sun Mar  2 00:55:07 JST 2008
	root@catania:/export/src-4.0/sys/arch/sandpoint/compile/obj/KUROBOX_MD
total memory = 128 MB
avail memory = 117 MB
mainbus0 (root)
cpu0 at mainbus0: 8245 (Revision 0.4), ID 0 (primary)
cpu0: HID0 90c000<DOZE,DPM,ICE,DCE>, powersave: 1
cpu0: 260.14MHz
eumb0 at mainbus0
..
dmesg 全文
mount: cannot open `/dev/md0a': No such file or directory
disklabel wd0
8 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    273097    771128       swap                     # (Cyl.    765*-   1035*)
 d: 156301488         0     unused      0     0        # (Cyl.      0 - 155060)
 e:    771057        63 Linux Ext2      0     0        # (Cyl.      0*-    764)
 f:    273105    771120     unused      0     0        # (Cyl.    765 -   1035*)
 g:    321298   1044225 Linux Ext2      0     0        # (Cyl.   1035*-   1354*)
 h: 154930862   1365523 Linux Ext2      0     0        # (Cyl.   1354*- 155055*)
disklabel: boot block size 0
disklabel: super block size 0
# 
fdisk がない ?
SD カードも見えていないかな。裏返しに挿していた。 (SD カードの型をした USB flash メモリ)

fdisk 入作り直し:

# fdisk wd0
wd0: no disk label
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 155061, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 156301488

BIOS disk geometry:
cylinders: 1024, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 156301488

Partition table:
0: Linux native (sysid 131)
    start 63, size 771057 (376 MB, Cyls 0-47)
        PBR is not bootable: Bad magic number (0x0000)>
1: Linux swap or Prime or Solaris (sysid 130)
    start 771120, size 273105 (133 MB, Cyls 48-64)
        PBR is not bootable: All bytes are identical (0x00)
2: Linux native (sysid 131)
    start 1044225, size 321298 (157 MB, Cyls 65-84/254/61)
        PBR is not bootable: Bad magic number (0x0000)>
3: Linux native (sysid 131)
    start 1365523, size 154930862 (75650 MB, Cyls 84/254/62-9728)
        PBR is not bootable: All bytes are identical (0x00)
# 
disklabel に変更が必要 作り直しました。現在 ftp directory に置いてあるのはこの変更が入ったものです。
(/dev/wd2 等がない)

とりあえず sysinst:

fdisk で 2 と 3 の大きさを変更しておいて sysinst
Status: openpty() failed
Command: disklabel -w -r -f /tmp/disktab wd0 'WDC WD800JD-00M'
 Hit enter to continue
COMPAT_BSDPTY かな。ではなさそう。既に入っている。 PR/37433 と同じ ?

もっと要変更 ?:

昔の修正 を見ていたら、いろいろ直すものなのかなと、片手間では無理かな ..



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)