1.\" $NetBSD: autoconf.4,v 1.11 2017/02/17 22:24:46 christos Exp $ 2.\" 3.\" Copyright (c) 1990, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. Neither the name of the University nor the names of its contributors 15.\" may be used to endorse or promote products derived from this software 16.\" without specific prior written permission. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)autoconf.4 8.1 (Berkeley) 6/9/93 31.\" 32.Dd February 17, 2017 33.Dt AUTOCONF 4 hp300 34.Os 35.Sh NAME 36.Nm autoconf 37.Nd diagnostics from the autoconfiguration code 38.Sh DESCRIPTION 39When 40.Nx 41bootstraps it probes the innards of the machine 42on which it is running 43and locates controllers, drives, and other devices, printing out 44what it finds on the console. This procedure is driven by a system 45configuration table which is processed by 46.Xr config 1 47and compiled into each kernel. 48.Pp 49Autoconfiguration on the 50.Tn HP300 Ns s 51is similar to that on the 52.Tn VAX , 53the primary difference is in the naming conventions. 54On the 55.Tn HP300 , 56if devices exist which are not configured they will be ignored; 57if devices exist of unsupported type they will be ignored. 58.Pp 59Normally, the system uses the disk from which it was loaded as the root 60filesystem. 61If that is not possible, 62a generic system will use 63.Sq Li rd0 64if it exists. 65If such a system is booted with the 66.Dv RB_ASKNAME 67option (see 68.Xr reboot 2 ) , 69then the name of the root device is read from the console terminal at boot 70time, and any available device may be used. 71.Sh DIAGNOSTICS 72.Bl -diag 73.It CPU type not configured. 74You tried to boot 75.Nx 76on a 77.Tn CPU 78type which it doesn't 79(or at least this compiled version of 80.Nx 81doesn't) understand. 82.Pp 83.It hpibbus%d at sc%d, ipl %d. 84An 85.Tn HP-IB 86was found at sc%d (the select code) 87with ipl%d (interrupt priority level). 88.Nx 89will call it hpibbus%d. 90.Pp 91.It %s%d: %s. 92.It %s%d at hpibbus%d, slave %d. 93An 94.Tn HP-IB 95disk or tape controller was found. 96For disks 97.Ql %s%d 98will look like 99.Sq Li rd0 , 100for tapes like 101.Sq Li ct0 . 102The 103.Ql %s 104in the first line will be a product type like ``7945A'' or ``9144''. 105The slave number comes from the address select switches on the drive. 106.Pp 107.It grf0 csr 0x560000 108.It grf%d at sc%d 109A bit mapped display was found either at the ``internal'' address (first case) 110or at some ``external'' select code (second case). 111If it exists, the internal display will always be unit 0. 112.Pp 113.It %s%d at sc%d, ipl %d flags %d 114Another peripheral controller was found at the indicated select code 115and with indicated interrupt priority level. 116.Ql %s 117will be one of 118.Xr com 4 119(single-port serial interfaces), 120.Xr hp300/dcm 4 121(four-port serial interfaces), or 122.Xr le 4 123.Pf ( Tn LAN 124cards). 125The slave number comes from the address select switches on the interface card. 126.El 127.Sh SEE ALSO 128.Xr config 1 , 129.Xr hp300/intro 4 , 130.Xr boot 8 131.Rs 132.%T 4.3BSD for the HP300 133.%O in the distribution documentation package 134.Re 135