|
#1
[sysinst] segfaults at Adding disk (RAID setup at sysinst)
 
NetBSD/amd64 both on 8.0 release and 8.99.28
- Have 4 disks attached
- All disklabeled as 1GB root and (some) 470GB raid partition
- boot from network to start sysinst (netwok is just an example)
- e: Utililty
- d: Partition a disk
- m: Create software RAID (photo 1)
- a: Disks: (photo 2)
- 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
#1
[散財] Lets Note SX3
item | make | model | spec | price |
|
Let's Note | Panasonic | SX-3 | i5-4300U CPU @ 1.90GHz x 4, 4GB, 128GB SSD | 26,980 |
|
SSD Disk | Samsung | 840 EVO | 120GB | 2,480 |
|
(at Junk/Paradice)
| |
最近の日記
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
|