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