NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mvme68k/56991: mvme68k systems fail to mount root from SCSItargets other than zero
The following reply was made to PR port-mvme68k/56991; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: rokuyama.rk%gmail.com@localhost
Cc: gnats-bugs%netbsd.org@localhost, sciatic.tribune.0o%icloud.com@localhost,
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-mvme68k/56991: mvme68k systems fail to mount root from SCSItargets
other than zero
Date: Sat, 3 Sep 2022 23:00:06 +0900
> Is there any reference for parameters passed from PROM and
> their definitions?
It looks:
(1) bootdevlun is set by locore.s per arg passed from bootloader
https://nxr.netbsd.org/xref/src/sys/arch/mvme68k/mvme68k/locore.s?r=1.118#116
(2) the bootdevlun is from bootloader passed as bootars.dev_lun in bugargs:
https://nxr.netbsd.org/xref/src/sys/arch/mvme68k/stand/libsa/exec_mvme.c?r=1.16#75
(3) "bugargs" is defined in mvme68k/include/prom.h:
https://nxr.netbsd.org/xref/src/sys/arch/mvme68k/include/prom.h?r=1.18#136
(4) the prom.h came from OpenBSD and it had "get_taget()" function
to determine target, bus, and lun per host controllers?
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/mvme68k/mvme68k/Attic/autoconf.c?rev=1.47&content-type=text/x-cvsweb-markup
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/mvme68k/mvme68k/Attic/autoconf.c.diff?r1=1.42&r2=1.43
Maybe the attached patch in this PR will work on MVME327, but not MVME328?
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index