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

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

2016年01月25日(月) 旧暦 [n年日記] [更新:"2016/01/25 10:01:12"]

#1 [NetBSD] bge0 gets no carrier with NetBSD/i386 5.2

With the box DELL T105, netbooting goes fine while the sysinst after that gets no carrier on bge0 interface, strange. (netbooting NetBSD/i386 5.2.2)
bge0 at pci2 dev 0 function 0: Broadcom BCM5722 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 1
adjust device control 0x102000 -> 0x105000
bge0: ASIC BCM5755 C0 (0xa200), Ethernet address 00:1e:c9:56:98:56
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5722 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
# ifconfig -a
bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,
		TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:1e:c9:56:98:56
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
# ifconfig -a
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:1e:c9:56:98:56
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        inet6 fe80::21e:c9ff:fe56:9856%bge0 prefixlen 64 scopeid 0x1
lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> mtu 33192
# ifconfig bge0 192.168.60.29
# ifconfig -a   
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:1e:c9:56:98:56
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 192.168.60.29 netmask 0xffffff00 broadcast 192.168.60.255
        inet6 fe80::21e:c9ff:fe56:9856%bge0 prefixlen 64 scopeid 0x1
lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> mtu 33192
#


2016年01月24日() 旧暦 [n年日記] [更新:"2016/01/24 18:03:31"]

#1 [NetBSD] New network

最近まで
IPv4 old  + IPv6 new 
の PPPoE session を張っていたが、 IPv4 移行のため、IPv6 new を一時中止して、IPv4 を追加し
IPv4 old  + IPv4 new 
の PPPoE にしている
  • 新しい router を用意し 単独に PPPoE session を張る
    (同時に二つまでは PPPoE session を張れる)
  • 新しい DNS server を用意し、新しい router の後につなぐ
    (内容はもちろん新しい IP address を返すようにしておく)
  • 全てに alias を設定して、どちらでも行けるようにする
    と思ったが default route は自動的には変らない ..手動で変えれば、対応する
  • Registler に新しい DNS を伝えて変更してもらう
  • mygate の調整

#2 [NetBSD] eagle

Eagle を走らせるには License file をさわるため、root privilidge が必要
と言われるので、
h97@makoto 17:57:57/160124(..cad/eagle)% sudo -s
h97# export XAUTHORITY=/home/makoto/.Xauthority
h97# eagle             
としている。 参考:


2016年01月18日(月) 旧暦 [n年日記] [更新:"2016/01/18 23:18:38"]

#1 [NetBSD] Installing NetBSD/macppc to PowerBook G3 Pismo

以前に 4.0 が入っていた PowerBook G3 Pismo に sysinst で入れた。
という訳で、boot の設定には苦労せずに起動出来た。
ただし X11 がまだ動いていない
2008/11 と同じ問題が出ていると理解している。
[   245.036] (WW) xf86EnableIO -1
[   245.036] (II) xf86EnableIO: ffffffff
[   245.036] (WW) Can't map IO space!
[   245.037] (--) PCI:*(0:0:16:0) 1002:4c46:1002:4c46 rev 2, 
	Mem @ 0xb4000000/67108864, 
              0xb0000000/16384, 
        I/O @ 0x00000400/256, 
       BIOS @ 0x????????/131072
[   245.040] List of video drivers:
IIJ-NetBSD の netbsd-src には xsrc は入っていないと思っているので
h97@makoto 23:16:20/160118(/export)% \
time cvs  -Q -d :pserver:anoncvs@anoncvs.jp.netbsd.org:/cvs/cvsroot \
co -r netbsd-release-7-0 xsrc
して見た。


2016年01月15日(金) 旧暦 [n年日記] [更新:"2016/01/18 23:09:03"]

#1 [pkgsrc] make test for perl-5.22.1

h97# grep Fail /bulklog/perl-5.22.1/*
LD_LIBRARY_PATH=/WRKOBJDIR/lang/perl5/work/perl\-5.22.1 
	./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' 
	|| sh -c 'echo >&2 Failed to build miniperl.  Please run make minitest; exit 1'
t/op/time ..................................................... 
	# Failed test 7 - changes to $ENV{TZ} respected at op/time.t line 62
t/porting/customized .......................................... 
	# Failed test 26 - SHA for cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 
		matches stashed SHA at porting/customized.t line 105
	# Failed test 48 - SHA for cpan/version/lib/version.pm 
		matches stashed SHA at porting/customized.t line 105
t/porting/regen ............................................... 
	# Failed test 1 - generated regcharclass.h is up to date at porting/regen.t line 85
	# Failed test 4 - generated charclass_invlists.h is up to date at porting/regen.t line 85
ext/POSIX/t/wrappers .......................................... 
	#   Failed test 'sleep'
Failed 5 tests out of 2291, 99.78% okay.
h97# echo LANG


2016年01月02日() 旧暦 [n年日記] [更新:"2016/01/02 15:46:47"]

#1 [NetBSD] FireFox Browser 専用 NetBSD 機械

  • OS は NetBSD (7.0)
  • 3 万円以下 (あるいは 4 万円以下)、中古でも良い
  • 消費電力は 40 W 以下
  • 静音のこと
  • FireFox が(普通の速さで)動く
  • Youtube が見えて、音が出る
  • radiru が聴ける
  • pdf を読める
  • (電源を入れて) 起動すると X11 は立上っていて、 FireFox のアイコンが見えて、クリックすると FireFox が立上る
    (Mac OS X と同じような動作というつもり)。パスワードは不要
  • 日本語入力も出来ること、出来れば、(ローマ字入力でなく) かな入力も出来ること
  • Internet には直接接続、自分で PPPoE をしゃべる
  • 当然パスワード無のようなアカウントはないこと
  • 停止 (shutdown) も、アイコンから出来ると良い、まあ、power button で良いと思うけれど
候補: シリアル・ポートが付いていると、つぶしが効いて (= 他に流用可)、良いので 正直なところ、
安くて、消費電力が少なくて、小さい
とうことと
NetBSD でこういう機能は出来るか
という別のことを一緒にしているけれど、
GUI と、性能を考えると、上記条件になる、と思っている。


2016年01月01日(金) 旧暦 [n年日記] [更新:"2016/01/02 15:43:07"]

#1 [Disk] disk > 2T (gpt)

lala4@root 17:43:52/160101(~)% gpt show raid1
       start        size  index  contents
           0  8664872832         
lala4@root 17:44:03/160101(~)% 
lala4@root 18:06:04/160101(~)% gpt show raid1  
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34  8664872765         
  8664872799          32         Sec GPT table
  8664872831           1         Sec GPT header
lala4@root 18:06:05/160101(~)% gpt add -s 8664872765 raid1
Partition 1 added, use:
        dkctl raid1 addwedge <wedgename> 34 8664872765 <type>
to create a wedge for it
lala4@root 18:06:34/160101(~)% dkctl raid1 addwedge dk1 34 8664872765 
usage: dkctl device
       dkctl device command [arg [...]]
   Available commands:
        getcache 
        setcache none | r | w | rw [save]
        synccache [force]
        keeplabel yes | no
        badsector flush | list | retry
        addwedge name startblk blkcnt ptype
        delwedge dk
        getwedgeinfo 
        listwedges 
        makewedges 
        strategy [name]
lala4@root 21:12:14/160101(~)% dkctl raid1 addwedge dk1 34 8664872765 ffs
dk0 created successfully.
lala4@root 21:12:37/160101(~)% gpt show raid1
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34  8664872765      1  GPT part - NetBSD FFSv1/FFSv2
  8664872799          32         Sec GPT table
  8664872831           1         Sec GPT header

lala4@root 21:13:17/160101(~)% newfs -O 2 /dev/dk1
newfs: /dev/rdk1: open for read: Operation not supported by device

lala4@root 21:14:52/160101(~)% dkctl raid1 listwedges
/dev/rraid1d: 1 wedge:
dk0: dk1, 8664872765 blocks at 34, type: ffs

lala4@root 21:14:56/160101(~)% newfs -O 2 /dev/dk0   
/dev/rdk0: 4230895.0MB (8664872760 sectors) block size 32768, fragment size 4096
        using 5700 cylinder groups of 742.28MB, 23753 blks, 46848 inodes.
super-block backups (for fsck_ffs -b #) at:
192, 1520384, 3040576, 4560768, 6080960, 7601152, 9121344,
  10641536, 12161728, 13681920, 15202112, 16722304, 18242496,
  19762688, 21282880, 22803072, 24323264, .............



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
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
以上、6 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)