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

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

2013年06月01日() 旧暦 [n年日記] [更新:"2013/06/01 17:30:08"]

#1 [DragonFly] DragonFly i386 BSD 3.4.2

05/05 に DragonFly BSD 3.4.1 を入れた。この時は 15GB。しかし gdb を作ろうとしたりしている時に、disk が溢れてしまった。

3.4.1 と 3.4.2 は大きく違わない、 という話を読んだ気もするが、 入直すなら新しい方が良いので、今回は 30GB にして、3.4.2 を入れる 今回は allbsd.org から iso-image をもらって来た

  1. 起動
  2. LiveCD で起動したので
    login: installer
    
    と入力
  3. Welcome to DragonFly BSD で
    <Install DragonFly BSD> 
    
    を選ぶ
  4. Partition はそのままで
    < Accept and Create >
    
  5. Hammer File system を選択
  6. Install Bootblock(s)
  7. DragonFly BSD is Installed
  8. Configure an Installed System
今回は keymap に jp.106 を選んだので前回の jp.106x のような、 とまどう配置ではなくなった。/etc/rc.conf に、次の行がある
keymap="jp.106" # via installer configuration

^P ^N ^A ^E が効かない。tcsh だと効く:

zsh で、今回も ^P ^N ^A ^E が効かない。tcsh だと効くので zsh の作り方に関係するのかな。自分で作らないで pkgin して見よう
pkgin install zsh
しても動作が変らない。~/.zshrc を 良く見たら、NetBSD 版では必要のない
bindkey -e
を書いておけば、DragonFly でも同じように動くことが分った。
  • 今回は bootstrap をしなかった (どうもしなくても良いらしいので)
> uname -a
DragonFly dragon342.i.ki.nu 3.4-RELEASE DragonFly
v3.4.2-RELEASE #2: Mon May 27 20:28:43 PDT 2013
root@pkgbox32.dragonflybsd.org:/usr/obj/build/home/justin/src/sys/GENERIC
i386

今回の Xen の設定は次の通り:

xen3@makoto 12:30:09/130601(~)% cat /usr/pkg/etc/xen/disk-e
kernel = "/usr/pkg/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048 
name = "disk-e-dragonflyBSD-3.4.2"
vif = [ 'mac=00:16:3e:01:25:31,bridge=bridge0,type=ioemu' ]
device_model = '/usr/pkg/libexec/qemu-dm'
disk = [ 'phy:/dev/rwd1e, ioemu:hda,w']
#       'file:/e/tera3/iso/dfly-i386-3.4.2_RELEASE.iso, ioemu:hdc:cdrom,r']
pae     = 1
boot    ='dca'
#dl     = 1
usb     = 1
vnc     = 1
usbdevice='tablet'
keymap = 'ja'
sudo xm create disk-e
とした後に vncviewer :0 で画面を開けて作業をする。

gcc binutils gdb の版:

dragon342@makoto 12:45:52/130601(~)% gcc --version
gcc 4.7.2 [DragonFly] Release/2012-09-20
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dragon342@makoto 12:46:05/130601(~)% as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i386-just-dragonfly'.
gdb 7.4.1
dragon342@makoto 12:46:09/130601(~)% gdb --version
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-dragonfly".
For bug reporting instructions, please see:
<http://bugs.dragonflybsd.org/>.

#2 [wip] wip/gdb (7.5.1)

env DEJAGNU=/usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/config/default.exp make test
(took some 60 minutes)
dragon343@makoto 16:47:40/130601(..wip/gdb)% tail -12  ./work/gdb-7.5.1/gdb/testsuite/gdb.sum

                === gdb Summary ===

# of expected passes            4970
# of unexpected failures        3051
# of expected failures          35
# of known failures             20
# of untested testcases         174
# of unresolved testcases       201
# of unsupported tests          149
/usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/../../gdb/gdb 
version  7.5.1 -nw -nx 
-data-directory /usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/../data-directory 



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