Alexander Bluhm <[email protected]> wrote: > in regress/etc/MAKEDEV I see this "wd0: unknown device" error in > riscv64 ramdisk. > > ==== run-riscv64-ramdisk ==== > rm -rf -- riscv64-ramdisk.dir > mkdir -m 700 riscv64-ramdisk.dir > cp /usr/src/regress/etc/MAKEDEV/../../../etc/etc.riscv64/MAKEDEV > riscv64-ramdisk.dir/ > chown root:wheel riscv64-ramdisk.dir > time sh -c 'cd riscv64-ramdisk.dir && sh ./MAKEDEV ramdisk' > wd0: unknown device > 0m00.27s real 0m00.06s user 0m00.21s system > ls -ln riscv64-ramdisk.dir/ | awk '/^[bcps]/ {printf "%s %x.%x > %x,%x%s\n",$1,$3,$4,$5,$6,$10} /^l/ {printf "%s > %s.%s%s>%s\n",$1,$3,$4,$9,$11}' | sort +5 -n | sed -e > 's/rwx/7/g;s/rw-/6/g;s/r-x/5/g;s/r--/4/g' -e > 's/-wx/3/g;s/-w-/2/g;s/--x/1/g;s/---/0/g' -e 's/^\([bcpsl]\)\([0-9][0-9]*\) > /\2\1/' >riscv64-ramdisk.out > > If we have no wd(4) on riscv64, we should also remove it from ramdisk.
there are a whole bunch of things wrong in conf.c, because the riscv64 codebase was built upon code from an architecture which had wd support ripped out. I'll work on putting the pieces back in place, and send a diff later.
