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

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

2008年02月05日(火) 旧暦 [n年日記] [更新:"2008/02/08 10:14:42"]

#1 [NetBSD][xen] Let's Note CF-R1 で xen

まづ、grub を設定して見る。xen とは関係なく、NetBSD-3.1.1 と NetBSD-4.0 の二つを切替えて 起動出来るようにする。以下はその時の /grup/menu.list の内容
default=1 
timeout=10
# #######################
        title NetBSD 3.1.1
        root (hd0,0,a)       # NetBSD on 1st MBR partition of 1st IDE disk
        chainloader +1

#Alternatively, for NetBSD 4.x kernels and above, you can use the following
#provided that your kernel was built with "options MULTIBOOT" (the default):
# #######################
        title NetBSD 4.0
        root (hd0,0,h)       # NetBSD on 1st MBR partition of 1st IDE disk
        kernel /netbsd

xen の設定:

上の /grub/menu.lst に xen の内容を追加して起動したのが右の画面。
> pkg_info |grep xen
xentools3-3.1.2     Userland Tools for Xen
xenkernel3-3.1.2nb1 Xen3 Kernel
カーネルの配置
ttyp0:makoto@hostname 10:09:05/080208(/)> ls -tl netbsd*gz xen*
-rw-r--r--  2 root  wheel  4371365 Feb  5 16:50 netbsd-XEN3_DOM0.gz
-rw-r--r--  2 root  wheel  4371365 Feb  5 16:50 netbsd.gz
-r--r--r--  1 root  wheel   309660 Jan  9 08:47 xen.gz
/grub/menu.list
default=2
timeout=10
 ## 0 #############################################
title Xen 3.0 / NetBSD (hda0, vga)
  root(hd0,0,h)
  kernel (hd0,0,h)/xen.gz dom0_mem=65536 
  module (hd0,0,h)/netbsd.gz root=/dev/hda1 ro console=tty0 
 ## 1 #############################################
title Xen 3.0 / NetBSD (hda0, backup, VGA)
  root(hd0,0)
  kernel (hd0,0,h)/xen.gz dom0_mem=65536
  module (hd0,0,h)/netbsd.6 root=/dev/hda1 ro console=tty0
 ## 2 #############################################
title NetBSD 4.0
  root (hd0,0,h)
  kernel /netbsd.5
 ## 3 #############################################
title NetBSD chain
  root        (hd0,0)
  chainloader +1

panic の時の画面:

直列線はないので、画面の写真を撮って見た (画面をつついて選ぶと拡大)



DOM0 で panic:

DOM0 を起動すると panic するが、その時の様子が上の四つの画面。 二番目の画面の下の方と三番目の上の方から手で写した一部は次の通り (netbsd-4.0 dom0)
auich0: interrupting at irq 10, event channel 3
auich0: DMA bug workaround enabled
uvm_fault(0xc0989520, 0xbff19000, 2) -> 0xe
kernel: supervisor trap page fault, code = 0
Stopped in pid 0.1 (swapper) at netbsd_bus_dmamem_map+0x14d:  movl %edx,0xb
fc00000(%eax)
db> bt
_bus_dmamem_map( ...
auich_attach(
config_attach_loc(
auich0 を外したカーネルを作って見ようと思うが、 'no xxxx' という書き方が出来ないとすると、ちょっと面倒。GENERIC を直接編集してしまえばいいのかな。



最近の日記
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)