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

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

2018年12月23日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [sysinst] segfaults at Adding disk (RAID setup at sysinst)











NetBSD/amd64 both on 8.0 release and 8.99.28
  1. Have 4 disks attached
  2. All disklabeled as 1GB root and (some) 470GB raid partition
  3. boot from network to start sysinst (netwok is just an example)
  4. e: Utililty
  5. d: Partition a disk
  6. m: Create software RAID (photo 1)
  7. a: Disks: (photo 2)
  8. a: Add: (photo 3)
  • get sysinst and sysinst.core
    -r-xr-xr-x  1 makoto  wheel  2419136 Dec 23 15:25 sysinst
    -rw-------  1 makoto  wheel   563112 Dec 23 15:23 sysinst.core
    
  • gdb sysinst sysinst.core
    CF-SX2@makoto 16:09:47/181223(..prep/sysinst-segfault)% gdb sysinst sysinst.core
    GNU gdb (GDB) 8.0.1
    ..
    warning: exec file is newer than core file.
    [New process 1]
    Core was generated by `sysinst'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0x00000000004b26a8 in ?? ()
    (gdb) bt
    #0  0x00000000004b26a8 in ?? ()
    #1  0x0000000000000001 in ?? ()
    #2  0x00007f7fffffc140 in ?? ()
    #3  0x0000000000000000 in ?? ()
    (gdb) 
    
  • objdump -d sysinst
      4b2661:       5b                      pop    %rbx
      4b2662:       5d                      pop    %rbp
      4b2663:       41 5c                   pop    %r12
      4b2665:       c3                      retq   
    
      4b2666:       41 55                   push   %r13
      4b2668:       41 54                   push   %r12
      4b266a:       55                      push   %rbp
      4b266b:       53                      push   %rbx
      4b266c:       51                      push   %rcx
      4b266d:       48 89 fd                mov    %rdi,%rbp
      4b2670:       41 89 d4                mov    %edx,%r12d
      4b2673:       85 f6                   test   %esi,%esi
      4b2675:       79 23                   jns    0x4b269a
      4b2677:       31 db                   xor    %ebx,%ebx
      4b2679:       45 31 ed                xor    %r13d,%r13d
      4b267c:       44 89 e2                mov    %r12d,%edx
      4b267f:       44 89 ee                mov    %r13d,%esi
      4b2682:       48 89 ef                mov    %rbp,%rdi
      4b2685:       e8 dc ff ff ff          callq  0x4b2666
      4b268a:       01 c3                   add    %eax,%ebx
      4b268c:       41 ff c5                inc    %r13d
      4b268f:       41 83 fd 10             cmp    $0x10,%r13d
      4b2693:       75 e7                   jne    0x4b267c
      4b2695:       e9 02 01 00 00          jmpq   0x4b279c
      4b269a:       48 8b 3d 17 36 42 00    mov    0x423617(%rip),%rdi        # 0x8d5cb8
      4b26a1:       48 8d 87 a0 01 00 00    lea    0x1a0(%rdi),%rax
      4b26a8:       83 3f 00                cmpl   $0x0,(%rdi)
      4b26ab:       74 34                   je     0x4b26e1
      4b26ad:       48 3b 6f 10             cmp    0x10(%rdi),%rbp
      4b26b1:       75 2e                   jne    0x4b26e1
      4b26b3:       3b 77 38                cmp    0x38(%rdi),%esi
      4b26b6:       75 29                   jne    0x4b26e1
      4b26b8:       bb 01 00 00 00          mov    $0x1,%ebx
      4b26bd:       45 85 e4                test   %r12d,%r12d
      4b26c0:       0f 84 d6 00 00 00       je     0x4b279c
      4b26c6:       48 c7 47 10 00 00 00    movq   $0x0,0x10(%rdi)
      4b26cd:       00 
      4b26ce:       48 83 c7 18             add    $0x18,%rdi
      4b26d2:       be 94 37 5a 00          mov    $0x5a3794,%esi
      4b26d7:       e8 94 3e 09 00          callq  0x546570
      4b26dc:       e9 bb 00 00 00          jmpq   0x4b279c
      4b26e1:       48 83 c7 68             add    $0x68,%rdi
      4b26e5:       48 39 f8                cmp    %rdi,%rax
      4b26e8:       75 be                   jne    0x4b26a8
      4b26ea:       48 8b 05 87 35 42 00    mov    0x423587(%rip),%rax        # 0x8d5c78
      4b26f1:       4c 8d 80 80 46 00 00    lea    0x4680(%rax),%r8
      4b26f8:       8b 38                   mov    (%rax),%edi
      4b26fa:       31 d2                   xor    %edx,%edx
      4b26fc:       85 ff                   test   %edi,%edi
      4b26fe:       74 2e                   je     0x4b272e
    
But I did not find human readable labels yet

but this works OK if sysinst is started in userland:

I've copied the suspicious sysinstall binary to normal running 8.0 and started. Works fine ;-( That is also true for /usr/sbin/sysinstall








最近の日記
2019年08月24日
for 9.0_BETA
2019年08月22日
Could not locate a virtual/physical font for TFM "rml".
2019年08月14日
bulklog/rust-1.36.0nb1/install.log
completed with error 5
2019年06月28日
config-set for 8.99.45
2019年05月05日
graphic monitor for bulkbuild count
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)