|
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 を直接編集してしまえばいいのかな。 ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||