1*47674Scael.\" Copyright (c) 1980, 1991 Regents of the University of California. 2*47674Scael.\" All rights reserved. 320635Smckusick.\" 4*47674Scael.\" %sccs.include.redist.man% 520635Smckusick.\" 6*47674Scael.\" @(#)autoconf.4 6.3 (Berkeley) 03/27/91 7*47674Scael.\" 8*47674Scael.Dd 9*47674Scael.Dt AUTOCONF 4 10*47674Scael.Os BSD 4 11*47674Scael.Sh NAME 12*47674Scael.Nm autoconf 13*47674Scael.Nd "diagnostics from the autoconfiguration code" 14*47674Scael.Sh DESCRIPTION 15*47674ScaelWhen 16*47674Scael.Tn UNIX 17*47674Scaelbootstraps it probes the innards of the machine 18*47674Scaelon which it is running and 19*47674Scaellocates controllers, drives, and other devices. 20*47674ScaelEach item found is recorded on the console. 21*47674ScaelThis procedure is driven by a system 2220635Smckusickconfiguration table which is processed by 23*47674Scael.Xr config 8 2420635Smckusickand compiled into each kernel. 25*47674Scael.Pp 26*47674ScaelOn the 27*47674Scael.Tn VAX , 28*47674Scaeldevices in 29*47674Scael.Tn NEXUS 30*47674Scaelslots are normally noted, thus memory controllers, 31*47674Scael.Tn UNIBUS 32*47674Scaeland 33*47674Scael.Tn MASSBUS 34*47674Scaeladaptors. Devices which are not supported which 35*47674Scaelare found in 36*47674Scael.Tn NEXUS 37*47674Scaelslots are noted also. 38*47674ScaelThe Q-bus on the 39*47674Scael.Tn MICROVAX 40*47674Scaelis configured in the same way as the 41*47674Scael.Tn UNIBUS. 42*47674Scael.Pp 43*47674Scael.Tn MASSBUS 44*47674Scaeldevices are located by a very deterministic procedure since 45*47674Scael.Tn MASSBUS 46*47674Scaelspace is completely probe-able. If devices exist which 4720635Smckusickare not configured they will be silently ignored; if devices exist of 4820635Smckusickunsupported type they will be noted. 49*47674Scael.Pp 50*47674Scael.Tn UNIBUS 51*47674Scaeldevices are located by probing to see if their control-status 5220635Smckusickregisters respond. If not, they are silently ignored. If the control 5320635Smckusickstatus register responds but the device cannot be made to interrupt, 5420635Smckusicka diagnostic warning will be printed on the console and the device 5520636Smckusickwill not be available to the system. 56*47674Scael.Pp 5728228SkarelsNormally, the system uses the disk from which it was loaded as the root 5828228Skarelsfilesystem. 5928228SkarelsIf that is not possible, 6028228Skarelsa generic system will pick its root device 61*47674Scaelas the 62*47674Scael.Dq best 63*47674Scaelavailable device 64*47674Scael.Pf ( Tn MASSBUS 65*47674Scaeldisks are better than 66*47674Scael.Tn SMD UNIBUS 67*47674Scaeldisks are better than 68*47674Scael.Tn RK07 Ns s ; 69*47674Scaelthe device must be drive 0 7028228Skarelsto be considered). 71*47674ScaelIf such a system is booted with the 72*47674Scael.Dv RB_ASKNAME 73*47674Scaeloption (see 74*47674Scael.Xr reboot 2 ) , 7520635Smckusickthen the name of the root device is read from the console terminal at boot 7620635Smckusicktime, and any available device may be used. 77*47674Scael.Sh DIAGNOSTICS 78*47674Scael.Bl -diag 79*47674Scael.It cpu type %d not configured. 80*47674ScaelYou tried to boot 81*47674Scael.Tn UNIX 82*47674Scaelon a 83*47674Scael.Tn CPU 84*47674Scaeltype which it doesn't (or at least this compiled version of 85*47674Scael.Tn UNIX 86*47674Scaeldoesn't) 8720635Smckusickunderstand. 88*47674Scael.Pp 89*47674Scael.It mba%d at tr%d. 90*47674ScaelA 91*47674Scael.Tn MASSBUS 92*47674Scaeladapter was found in 93*47674Scael.Ql tr%d 94*47674Scael(the 95*47674Scael.Tn NEXUS 96*47674Scaelslot number). 97*47674Scael.Tn UNIX 98*47674Scaelwill call it 99*47674Scael.Ql mba%d . 100*47674Scael.Pp 101*47674Scael.It %d mba's not configured. 102*47674ScaelMore 103*47674Scael.Tn MASSBUS 104*47674Scaeladapters were found on 10520635Smckusickthe machine than were declared in the machine configuration; the excess 106*47674Scael.Tn MASSBUS 107*47674Scaeladapters will not be accessible. 108*47674Scael.Pp 109*47674Scael.It uba%d at tr%d. 110*47674ScaelA 111*47674Scael.Tn UNIBUS 112*47674Scaeladapter was found in 113*47674Scael.Ql tr%d 114*47674Scael(the 115*47674Scael.Tn NEXUS 116*47674Scaelslot number). 117*47674Scael.Tn UNIX 118*47674Scaelwill call it 119*47674Scael.Ql uba%d . 120*47674Scael.Pp 121*47674Scael.It dr32 unsupported (at tr %d). 122*47674ScaelA 123*47674Scael.Tn DR Ns 32 124*47674Scaelinterface was found in 125*47674Scaela 126*47674Scael.Tn NEXUS , 127*47674Scaelfor which 128*47674Scael.Tn UNIX 129*47674Scaeldoes not have a driver. 130*47674Scael.Pp 131*47674Scael.It ci unsupported (at tr %d). 132*47674ScaelA 133*47674Scael.Tn CI 134*47674Scaelinterface was found in 135*47674Scaela 136*47674Scael.Tn NEXUS , 137*47674Scaelfor which 138*47674Scael.Tn UNIX 139*47674Scaeldoes not have a driver. 140*47674Scael.Pp 141*47674Scael.It mcr%d at tr%d. 142*47674ScaelA memory controller was found in 143*47674Scael.Ql tr%d 144*47674Scael(the 145*47674Scael.Tn NEXUS 146*47674Scaelslot number). 147*47674Scael.Tn UNIX 148*47674Scaelwill call it 149*47674Scael.Ql mcr%d . 150*47674Scael.Pp 151*47674Scael.It 5 mcr's unsupported. 152*47674Scael.Tn UNIX 153*47674Scaelsupports only 4 memory controllers 154*47674Scaelper 155*47674Scael.Tn CPU . 156*47674Scael.Pp 157*47674Scael.It mpm unsupported (at tr%d). 158*47674ScaelMulti-port memory is unsupported 159*47674Scaelin the sense that 160*47674Scael.Tn UNIX 161*47674Scaeldoes not know how to poll it for 162*47674Scael.Tn ECC 163*47674Scaelerrors. 164*47674Scael.Pp 165*47674Scael.It %s%d at mba%d drive %d. 166*47674ScaelA tape formatter or a disk was found 167*47674Scaelon the 168*47674Scael.Tn MASSBUS ; 169*47674Scaelfor disks 170*47674Scael.Ql %s%d 171*47674Scaelwill look like 172*47674Scael.Dq Li hp0 , 173*47674Scaelfor tape formatters 174*47674Scaellike 175*47674Scael.Dq Li ht1 . 176*47674ScaelThe drive number comes from the unit plug on the drive 177*47674Scaelor in the 178*47674Scael.Tn TM 179*47674Scaelformatter 180*47674Scael.Pf ( Em not 181*47674Scaelon the tape drive; see below). 182*47674Scael.Pp 183*47674Scael.It %s%d at %s%d slave %d. 184*47674Scael(For 185*47674Scael.Tn MASSBUS 186*47674Scaeldevices). 187*47674ScaelWhich would look like 188*47674Scael.Dq Li tu0 at ht0 slave 0 , 189*47674Scaelwhere 190*47674Scael.Dq Li tu0 191*47674Scaelis the name for the tape device and 192*47674Scael.Dq Li ht0 193*47674Scaelis the name 19420635Smckusickfor the formatter. A tape slave was found on the tape formatter at the 19520635Smckusickindicated drive number (on the front of the tape drive). 196*47674Scael.Ux 197*47674Scaelwill call the device, e.g., 198*47674Scael.Dq Li tu0 . 199*47674Scael.Pp 200*47674Scael.It "%s%d at uba%d csr %o vec %o ipl %x." 201*47674ScaelThe device 202*47674Scael.Ql %s%d , 203*47674Scaele.g. 204*47674Scael.Dq Li dz0 205*47674Scaelwas found on 206*47674Scael.Ql uba%d 207*47674Scaelat control-status register address 208*47674Scael.Ql \&%o 209*47674Scaeland with 210*47674Scaeldevice vector 211*47674Scael.Ql \&%o . 212*47674ScaelThe device interrupted at priority level 213*47674Scael.Ql \&%x . 214*47674Scael.Pp 215*47674Scael.It %s%d at uba%d csr %o zero vector. 216*47674ScaelThe device did not present 21720635Smckusicka valid interrupt vector, rather presented 0 (a passive release condition) 21820635Smckusickto the adapter. 219*47674Scael.Pp 220*47674Scael.It %s%d at uba%d csr %o didn't interrupt. 221*47674ScaelThe device did not interrupt, 22220635Smckusicklikely because it is broken, hung, or not the kind of device it is advertised 22320635Smckusickto be. 224*47674Scael.Pp 225*47674Scael.It %s%d at %s%d slave %d. 226*47674Scael(For UNIBUS devices). 227*47674ScaelWhich would look like 228*47674Scael.Dq Li up0 at sc0 slave 0 , 229*47674Scaelwhere 230*47674Scael.Dq Li up0 231*47674Scaelis the name of a disk drive and 232*47674Scael.Dq Li sc0 233*47674Scaelis the name 234*47674Scaelof the controller. Analogous to 235*47674Scael.Tn MASSBUS 236*47674Scaelcase. 237*47674Scael.El 238*47674Scael.Sh SEE ALSO 239*47674Scael.Xr intro 4 , 240*47674Scael.Xr boot 8 , 241*47674Scael.Xr config 8 242*47674Scael.Sh HISTORY 243*47674ScaelThe 244*47674Scael.Nm 245*47674Scaelfeature 246*47674Scaelappeared in 247*47674Scael.Bx 4.1 . 248