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

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

2023年05月04日(木) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [TODO]

raid setup by sysinst:

(how to install netbsd on raid1 using raidframe)
  1. do as described on 2016 advent calendar
  2. (say, manual installboot for -t raid)
    # installboot -fv -o console=com0,speed=115200 -t raid /dev/wd0a bootxx_ffsv2 /boot
    File system:         /dev/rwd0a                                                                 
    File system type:    raid (blocksize 16384, needswap 0)                                         
    Primary bootstrap:   bootxx_ffsv2                                                               
    Secondary bootstrap: /boot                                                                      
    Boot options:        timeout 5, flags 0, speed 115200, ioaddr 0, console com0                   
    # installboot -fv -o console=com0,speed=115200 -t raid /dev/wd1a bootxx_ffsv2 /boot
    File system:         /dev/rwd1a                                                                 
    File system type:    raid (blocksize 16384, needswap 0)                                         
    Primary bootstrap:   bootxx_ffsv2                                                               
    Secondary bootstrap: /boot                                                                      
    Boot options:        timeout 5, flags 0, speed 115200, ioaddr 0, console com0                   
    # exit
    
  3. The first reboot may fail as saying cannot mount root, error = 16
    [   6.0764013] uhub3: single transaction translator                                
    [   6.4968109] WARNING: findroot: double match for boot device 
                   (bootinfo/bootwedge:wd0 bootinfo/bootwedge:wd1)
    [   6.5168301] raid5: RAID Level 1                                                 
    [   6.5268407] raid5: Components: /dev/wd1a /dev/wd0a                              
    [   6.5268407] raid5: Total Sectors: 159999936 (78124 MB)                          
    [   6.5568691] WARNING: 3 errors while detecting hardware; check system log.       
    [   6.5668794] boot device: wd0                                                    
    [   6.5668794] root on wd0a dumps on wd0b                                          
    [   6.5668794] vfs_mountroot: can't open root device                               
    [   6.5768887] cannot mount root, error = 16
    [   6.5768887] root device (default wd0a): raid5a
    [  16.4264490] dump device (default raid5b):
    [  17.7076926] file system (default generic):
    [  18.3483145] root on raid5a dumps on raid5b                                      
    [  18.3783460] root file system type: ffs                                          
    [  18.3783460] kern.module.path=/stand/amd64/9.3/modules                           
    [  18.3883539] kern info: [drm] Memory usable by graphics device = 2048M           
    [  18.3990870] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).                                                                              
    [  18.4083730] kern info: [drm] Driver supports precise vblank timestamp query.    
    [  18.4083730] kern info: [drm] failed to find VBIOS tables                        
    [  18.4584207] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)           
    [  18.6486087] kern info: [drm] GMBUS [i915 gmbus dpc] timed out, 
                   falling back to bit banging on pin 4                                                    
    
    but type
    raid5 (in my case) for boot device
  4. raidctl -A softroot raid5
  5. reboot
  6. working fine
Really unbelievable !!



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