From owner-FreeBSD98-testers@jp.FreeBSD.org Sat Nov 1 23:10:07 2003 From: "Eiji Kato" To: Message-ID: Date: Sat, 1 Nov 2003 22:55:08 +0900 Subject: [FreeBSD98-testers 6323] RE: FreeBSD(98) 4.9R-Rev01 inst01 加藤です。 2台のPC98に4.9-RELEASE inst01をインストールしました。 (1) PC-9821Xt 問題なくアップグレードインストールできました。 (2) PC-9801DA(メモリ6MB増設)     EUD-HP メモリ32MB搭載     SCSI メルコ製IFN-NS インストールは問題なくできました。 しかし、EUD-HPを有効(excacheパッチをかけ再構築)にすると    突然意味不明のデータがディスプレイに表示される。    stray irq 7  のメッセージが表示される。 などの事象となり、システムが不安定になります。 boot -v でメッセージを確認すると物理メモリの認識が real memory = 16515072 (16128K bytes) Physical memory chunk(s): 0x000001000 - 0x00009ffff, 651264 bytes (159 pages) 0x000479000 - 0x0007fffff, 3698688 bytes (903 pages) 0x000fa0000 - 0x000fa1fff, 8192 bytes (2 pages) 0x000fa8000 - 0x000fb7fff, 65536 bytes (16 pages) となっており、メモリの搭載されていない8-16MBの空間にページが割当てられていま す。(後ろの2行) EUD-HP搭載の32MBが認識されていない。 そこで、 /sys/pc98/i386/machdep.c に次のパッチを当ててみました。 <<<<<<<< ここから <<<<<<<< --- machdep.c.orig Tue Aug 12 11:23:34 2003 +++ machdep.c Sat Nov 1 17:59:38 2003 @@ -1759,8 +1759,13 @@ * If Maxmem has been increased beyond what the system has detected, * extend the last memory segment to the new limit. */ - if (atop(physmap[physmap_idx + 1]) < Maxmem) + if (atop(physmap[physmap_idx + 1]) < Maxmem){ + if (physmap[physmap_idx + 1] < 0x1000000){ + physmap_idx += 2; + physmap[physmap_idx] = 0x1000000; + } physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem); + } /* * Size up each available chunk of physical memory. >>>>>>> ここまで >>>>>>> パッチ後のメモリ認識は real memory = 50331648 (49152K bytes) Physical memory chunk(s): 0x000001000 - 0x00009ffff, 651264 bytes (159 pages) 0x000479000 - 0x0007fffff, 3698688 bytes (903 pages) 0x001000000 - 0x002ff7fff, 33521664 bytes (8184 pages) となり、システムも安定しています。 以上報告します。