NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Booting from a USB disk



Yes, I now have a working system. :)

Unfortunately, when I had the "Head full" error, I didn't have the time to read more than these words. I could reproduce it and try to press 'Scroll lock', or at worse film the display if it is helpful to you.

Here is the output of modstat in single user mode:

NAME                       CLASS    SOURCE   FLAG  REFS    SIZE REQUIRES
aac                        driver   builtin  -        1       - pci
accf_dataready             misc     builtin  -        0       - -
accf_httpready             misc     builtin  -        0       - -
acpiacad                   driver   builtin  -        0       - sysmon_envsys,sysmon_power acpibat                    driver   builtin  -        0       - sysmon_envsys
acpibut                    driver   builtin  -        0       - sysmon_power
acpicpu                    driver   builtin  -        0       - -
acpidalb                   driver   builtin  -        0       - sysmon_power
acpifan                    driver   builtin  -        0       - sysmon_envsys
acpilid                    driver   builtin  -        0       - sysmon_power
acpitz                     driver   builtin  -        0       - sysmon_envsys
acpivga                    driver   builtin  -        0       - -
acpiwdrt                   driver   builtin  -        0       - sysmon_wdog
acpiwmi                    driver   builtin  -        4       - -
aibs                       driver   builtin  -        0       - sysmon_envsys
aio                        misc     builtin  -        0       - -
amdsmn                     driver   builtin  -        1       - pci
amdtemp                    driver   builtin  -        0       - sysmon_envsys amdzentemp                 driver   builtin  -        0       - sysmon_envsys,amdsmn
amr                        driver   builtin  -        1       - pci
asus                       driver   builtin  -        0       - sysmon_envsys,sysmon_power
ataraid                    driver   builtin  -        1       - -
ath                        misc     builtin  -        1       - ath_hal
ath_hal                    misc     builtin  -        1       - -
au8522                     driver   builtin  -        1       - i2cexec
audio                      driver   builtin  -        5       - -
auvitek                    driver   builtin  -        0       - au8522,xc5k
blowfish                   misc     builtin  -        2       - -
bpf                        driver   builtin  -        1       - bpf_filter
bpf_filter                 misc     builtin  -        2       - -
bufq_disksort              bufq     builtin  -        0       - -
bufq_fcfs                  bufq     builtin  -        4       - -
bufq_priocscan             bufq     builtin  -        0       - -
cac                        driver   builtin  -        2       - -
cac_pci                    driver   builtin  -        0       - cac,pci
camellia                   misc     builtin  -        1       - -
cast128                    misc     builtin  -        1       - -
ccd                        driver   builtin  -        0       - dk_subr,bufq_fcfs
cd9660                     vfs      builtin  -        0       - -
cgd                        driver   builtin  -        0       - blowfish,des,dk_subr,bufq_fcfs
cir                        driver   builtin  -        1       - ir
clockctl                   driver   builtin  -        0       - -
coda                       vfs      builtin  -        0       - vcoda
compat_16                  exec     builtin  -        1       - compat_20
compat_20                  exec     builtin  -        2       - compat_30
compat_30                  exec     builtin  -        2       - compat_util,compat_40
compat_40                  exec     builtin  -        2       - compat_50
compat_43                  exec     builtin  -        2       - compat_sysctl_09_43,compat_util,compat_60
compat_50                  exec     builtin  -        5       - compat_60
compat_60                  exec     builtin  -        3       - compat_70
compat_70                  exec     builtin  -        1       - compat_80
compat_80                  exec     builtin  -        3       - -
compat_crypto_50           exec     builtin  -        0       - crypto,compat_50 compat_linux               exec     builtin  -        1       - compat_ossaudio,sysv_ipc,compat_util,compat_50,compat_43,exec_elf64 compat_linux32             exec     builtin  -        0       - compat_linux,sysv_ipc,compat_sysv_50,compat_netbsd32_50,compat_netbsd32_43,exec_elf32,compat_netbsd32,compat_netbsd32_sysvipc compat_netbsd32            exec     builtin  -        9       - ksem,coredump,compat_util,exec_elf32 compat_netbsd32_16         exec     builtin  -        0       - compat_netbsd32_20,compat_16 compat_netbsd32_20         exec     builtin  -        1       - compat_netbsd32_30,compat_20 compat_netbsd32_30         exec     builtin  -        1       - compat_netbsd32_40,compat_30 compat_netbsd32_40         exec     builtin  -        1       - compat_netbsd32_50,compat_40 compat_netbsd32_43         exec     builtin  -        1       - compat_netbsd32,compat_43 compat_netbsd32_50         exec     builtin  -        2       - compat_netbsd32_60,compat_50 compat_netbsd32_60         exec     builtin  -        1       - compat_netbsd32_80,compat_60 compat_netbsd32_80         exec     builtin  -        1       - compat_netbsd32,compat_80 compat_netbsd32_mqueue     exec     builtin  -        0       - mqueue,compat_netbsd32 compat_netbsd32_nfssrv     exec     builtin  -        0       - nfsserver,compat_netbsd32 compat_netbsd32_ptrace     exec     builtin  -        0       - compat_netbsd32,ptrace_common compat_netbsd32_raid       exec     builtin  -        0       - raid,compat_netbsd32 compat_netbsd32_sysvipc    exec     builtin  -        2       - compat_netbsd32,sysv_ipc compat_netbsd32_sysvipc_50 exec     builtin  -        0       - sysv_ipc,compat_sysv_50,compat_netbsd32,compat_netbsd32_sysvipc,
compat_ossaudio            exec     builtin  -        1       - -
compat_raid_50             exec     builtin  -        0       - raid,compat_50,compat_raid_80 compat_raid_80             exec     builtin  -        1       - raid,compat_80
compat_sysctl_09_43        exec     builtin  -        1       - -
compat_sysv_50             exec     builtin  -        2       - sysv_ipc
compat_util                misc     builtin  -        4       - -
coram                      driver   builtin  -        0       - cx24227,mt2131,pci
coredump                   misc     builtin  -        1       - -
coretemp                   driver   builtin  -        0       - sysmon_envsys
crypto                     driver   builtin  -        1       - opencrypto
cx24227                    driver   builtin  -        1       - i2cexec
cxdtv                      driver   builtin  -        0       - tvpll,nxt2k,lg3303,pci
des                        misc     builtin  -        2       - -
dk_subr                    misc     builtin  -        5       - -
drmkms                     driver   builtin  -        5       - drmkms_linux
drmkms_agp                 misc     builtin  -        0       - drmkms
drmkms_linux               misc     builtin  -        1       - i2cexec
drmkms_pci                 misc     builtin  -        3       - drmkms,pci
drvctl                     driver   builtin  -        0       - -
dtv                        driver   builtin  -        0       - -
dtv_math                   misc     builtin  -        1       - -
efs                        vfs      builtin  -        0       - -
emdtv                      driver   builtin  -        0       - cir,lg3303,xc3028
est                        driver   builtin  -        0       - -
exec_elf32                 exec     builtin  -        2       - -
exec_elf64                 exec     builtin  -        1       - -
exec_script                exec     builtin  -        0       - -
ext2fs                     vfs      builtin  -        0       - ufs
extensions                 secmodel builtin  -        1       - -
fdesc                      vfs      builtin  -        0       - -
ffs                        vfs      builtin  -        1       - ufs,wapbl
fujbp                      driver   builtin  -        0       - -
fujhk                      driver   builtin  -        0       - sysmon_power
gpio                       driver   builtin  -        1       - -
gpioow                     driver   builtin  -        0       - gpio,onewire
hdafg                      driver   builtin  -        0       - hdaudio
hdaudio                    driver   builtin  -        2       - audio
hdaudio_pci                driver   builtin  -        0       - pci,hdaudio,audio hifn                       driver   builtin  -        0       - pci,opencrypto
hpet                       driver   builtin  -        0       - -
hvheartbeat                driver   builtin  -        0       - vmbus
hvkbd                      driver   builtin  -        0       - vmbus
hvshutdown                 driver   builtin  -        0       - vmbus
hvtimesync                 driver   builtin  -        0       - vmbus
hyperv                     driver   builtin  -        1       - -
i2c_bitbang                misc     builtin  -        1       - -
i2cexec                    misc     builtin  -       10       - -
i915drmkms                 driver   builtin  -        0       - drmkms,drmkms_pci
ichsmb                     driver   builtin  -        0       - pci,iic
if_agr                     driver   builtin  -        0       - -
if_alc                     driver   builtin  -        0       - pci
if_ath_pci                 driver   builtin  -        0       - ath,pci
if_athn_usb                driver   builtin  -        0       - -
if_aue                     driver   builtin  -        0       - usbnet
if_axe                     driver   builtin  -        0       - usbnet
if_axen                    driver   builtin  -        0       - usbnet
if_cas                     driver   builtin  -        0       - pci
if_cdce                    driver   builtin  -        0       - usbnet
if_cue                     driver   builtin  -        0       - usbnet
if_gif                     driver   builtin  -        0       - ip_ecn
if_gre                     driver   builtin  -        0       - -
if_kue                     driver   builtin  -        0       - usbnet
if_l2tp                    driver   builtin  -        0       - -
if_loop                    driver   builtin  -        0       - -
if_mue                     driver   builtin  -        0       - usbnet
if_npflog                  driver   builtin  -        0       - -
if_ppp                     driver   builtin  -        2       - bpf_filter,slcompress
if_pppoe                   driver   builtin  -        0       - sppp_subr
if_rum                     driver   builtin  -        0       - -
if_run                     driver   builtin  -        0       - -
if_sl                      driver   builtin  -        0       - slcompress
if_smsc                    driver   builtin  -        0       - usbnet
if_stf                     driver   builtin  -        0       - -
if_strip                   driver   builtin  -        0       - slcompress
if_tap                     driver   builtin  -        0       - -
if_tun                     driver   builtin  -        0       - -
if_udav                    driver   builtin  -        0       - usbnet
if_upl                     driver   builtin  -        0       - usbnet
if_ure                     driver   builtin  -        0       - usbnet
if_url                     driver   builtin  -        0       - usbnet
if_urndis                  driver   builtin  -        0       - usbnet
if_urtw                    driver   builtin  -        0       - -
if_urtwn                   driver   builtin  -        0       - -
if_vioif                   driver   builtin  -        0       - virtio
if_vlan                    driver   builtin  -        0       - -
iic                        driver   builtin  -        1       - i2cexec,i2c_bitbang
ip_ecn                     misc     builtin  -        1       - -
ir                         driver   builtin  -        1       - -
irmce                      driver   builtin  -        0       - -
ismt                       driver   builtin  -        0       - pci
kernfs                     vfs      builtin  -        0       - -
ksem                       misc     builtin  -        1       - -
layerfs                    misc     builtin  -        3       - -
ld                         driver   builtin  -       11       - dk_subr
ld_aac                     driver   builtin  -        0       - ld,aac
ld_amr                     driver   builtin  -        0       - ld,amr
ld_ataraid                 driver   builtin  -        0       - ld,ataraid
ld_cac                     driver   builtin  -        0       - ld,cac
ld_icp                     driver   builtin  -        0       - ld
ld_mlx                     driver   builtin  -        0       - ld
ld_nvme                    driver   builtin  -        0       - ld,nvme,bufq_fcfs
ld_sdmmc                   driver   builtin  -        0       - ld
ld_twa                     driver   builtin  -        0       - ld,twa
ld_twe                     driver   builtin  -        0       - ld,twe
ld_virtio                  driver   builtin  -        0       - ld,virtio
lfs                        vfs      builtin  -        0       - -
lg3303                     driver   builtin  -        2       - i2cexec,dtv_math
mfs                        vfs      builtin  -        0       - ffs
midi                       driver   builtin  -        1       - audio
mlx                        driver   builtin  -        1       - -
mlx_pci                    driver   builtin  -        0       - mlx,pci
mqueue                     misc     builtin  -        1       - -
msdos                      vfs      builtin  -        0       - -
mt2131                     driver   builtin  -        1       - i2cexec
nfs                        vfs      builtin  -        1       - -
nfsserver                  misc     builtin  -        1       - nfs
nouveau                    driver   builtin  -        1       - drmkms
nouveau_pci                driver   builtin  -        0       - nouveau,drmkms_pci
npf                        misc     builtin  -        4       - bpf
npf_alg_icmp               misc     builtin  -        0       - npf
npf_ext_log                misc     builtin  -        0       - npf
npf_ext_normalize          misc     builtin  -        0       - npf
npf_ext_rndblock           misc     builtin  -        0       - npf
nsmb                       driver   builtin  -        1       - -
ntfs                       vfs      builtin  -        0       - -
null                       vfs      builtin  -        0       - layerfs
nvme                       driver   builtin  -        1       - pci,dk_subr
nxt2k                      driver   builtin  -        1       - i2cexec
onewire                    driver   builtin  -        1       - -
opencrypto                 misc     builtin  -        4       - -
overlay                    vfs      builtin  -        0       - layerfs
pad                        driver   builtin  -        0       - audio
pci                        driver   builtin  -       21       - -
powernow                   driver   builtin  -        0       - -
ppp_bsdcomp                misc     builtin  -        0       - if_ppp
ppp_deflate                misc     builtin  -        0       - zlib,if_ppp
procfs                     vfs      builtin  -        0       - ptrace_common
pseye                      driver   builtin  -        0       - -
ptrace                     exec     builtin  -        0       - ptrace_common
ptrace_common              exec     builtin  -        3       - -
ptyfs                      vfs      builtin  -        0       - -
puffs                      vfs      builtin  -        0       - putter
putter                     driver   builtin  -        1       - -
pwdog                      driver   builtin  -        0       - pci,sysmon_wdog radeon                     driver   builtin  -        0       - drmkms,drmkms_pci raid                       driver   builtin  -        3       - dk_subr,bufq_fcfs
scsiverbose                misc     builtin  -        0       - -
secmodel_bsd44             secmodel builtin  -        0       - suser,securelevel,extensions
securelevel                secmodel builtin  -        1       - -
sequencer                  driver   builtin  -        0       - midi
skipjack                   misc     builtin  -        1       - -
slcompress                 misc     builtin  -        3       - -
smbfs                      vfs      builtin  -        0       - nsmb
spkr                       driver   builtin  -        0       - audio
sppp_subr                  misc     builtin  -        1       - -
suser                      secmodel builtin  -        1       - -
swcrypto                   driver   builtin  -        0       - opencrypto,zlib,blowfish,des,cast128,camellia,skipjack
sysmon                     driver   builtin  -        3       - -
sysmon_envsys              driver   builtin  -       11       - sysmon,sysmon_taskq,sysmon_power
sysmon_power               driver   builtin  -       11       - sysmon
sysmon_taskq               misc     builtin  -        2       - -
sysmon_wdog                driver   builtin  -        3       - sysmon
sysv_ipc                   exec     builtin  -        5       - -
tco                        driver   builtin  -        0       - sysmon_wdog
thinkpad                   driver   builtin  -        0       - sysmon_envsys,sysmon_power
tmpfs                      vfs      builtin  -        0       - -
tvpll                      driver   builtin  -        1       - i2cexec
twa                        driver   builtin  -        1       - pci
twe                        driver   builtin  -        1       - pci
ubsec                      driver   builtin  -        0       - pci,opencrypto
ufs                        misc     builtin  -        2       - wapbl
umap                       vfs      builtin  -        0       - layerfs
union                      vfs      builtin  -        0       - -
usbnet                     misc     builtin  -       13       - -
vcoda                      driver   builtin  -        1       - -
viomb                      driver   builtin  -        0       - virtio
vioscsi                    driver   builtin  -        0       - virtio
virtio                     driver   builtin  -        5       - -
virtio_pci                 driver   builtin  -        0       - pci,virtio
vmbus                      driver   builtin  -        4       - hyperv
vmt                        driver   builtin  -        0       - sysmon_power,sysmon_taskq
vnd                        driver   builtin  -        0       - zlib
wapbl                      vfs      builtin  -        2       - -
wmidell                    driver   builtin  -        0       - acpiwmi,sysmon_power wmieeepc                   driver   builtin  -        0       - acpiwmi,sysmon_power wmihp                      driver   builtin  -        0       - acpiwmi,sysmon_envsys
wmimsi                     driver   builtin  -        0       - acpiwmi
xc3028                     driver   builtin  -        1       - i2cexec
xc5k                       driver   builtin  -        1       - i2cexec
zlib                       misc     builtin  -        3       - -

On 26/04/2020 20:31, Martin Husemann wrote:
On Sun, Apr 26, 2020 at 08:04:44PM +0200, Vincent DEFERT wrote:
In case anyone else would want to do the same, I've finally
found out that in order to boot from an USB disk, the
loading of modules must be enabled, i.e.:

installboot -o modules /dev/rsd0a /usr/mdec/bootxx_ffsv2
I don't understand why that would be needed or help (but I also don't
understand what that option does, the documentation is... lacking).

You now have a working setup? Can you boot single user and show
output from modstat(8)?

Martin



Home | Main Index | Thread Index | Old Index