From owner-freebsd-current Sun Jun 18 4:45:18 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id E173A37B9CF for ; Sun, 18 Jun 2000 04:45:13 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id VAA14336; Sun, 18 Jun 2000 21:44:18 +1000 Date: Sun, 18 Jun 2000 21:44:17 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Matthew Dillon Cc: Donn Miller , "Jordan K. Hubbard" , Peter Wemm , van.woerkom@netcologne.de, current@FreeBSD.ORG Subject: Re: GENERIC from today does not detect system console on my box In-Reply-To: <200006180314.UAA69035@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Jun 2000, Matthew Dillon wrote: > ... > It looks like sccnattach() is calling scvidprobe() and scvidprobe() > is then: > > 0xc023484b : cmpl $0x0,0x10(%ebp) > 0xc023484f : setne %al > 0xc0234852 : movzbl %al,%eax > 0xc0234855 : push %eax > 0xc0234856 : call 0xc0229c90 <----**** > 0xc023485b : push %ebx > 0xc023485c : push $0xc0282682 > 0xc0234861 : call 0xc0229b4c > > Calling vid_configure and vid_configure is dying. > > The list is generated from a linker_set ... one of those special linker > lists. > > Something's broken the list.... maybe the DATA_SET macro is something ilke > that. Dependencies for setdef.h were broken by removing ioconf.o from ${OBJS}. Previously, any change in the configuration resulted in a change to ioconf.c, so setdefs.h got rebuilt. Now, removing whole drivers doesn't change anything in ${OBJS}, so the old setdefs.h gets used and the wrong amount of space is allocated for some linker sets. This bug cost me a few hours when I tried removing console drivers in order to debug the console initialization bugs. This quick fix also backs out rev.1.180: diff -c2 Makefile.i386~ Makefile.i386 *** Makefile.i386~ Sun Jun 18 21:22:28 2000 --- Makefile.i386 Sun Jun 18 21:31:50 2000 *************** *** 173,178 **** ${NORMAL_C} ! setdef0.c setdef1.c setdefs.h: ${OBJS} param.o ! @gensetdefs ${OBJS} param.o # this rule stops ./assym.s in .depend from causing problems --- 172,177 ---- ${NORMAL_C} ! setdef0.c setdef1.c setdefs.h: Makefile ${OBJS} ! @gensetdefs ${OBJS} # this rule stops ./assym.s in .depend from causing problems Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message