From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 16:24:44 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81F6616A41F for ; Wed, 9 Nov 2005 16:24:44 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB40843D46 for ; Wed, 9 Nov 2005 16:24:42 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 59784 invoked by uid 1002); 9 Nov 2005 16:24:42 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(209.167.16.15):. Processed in 2.86013 secs); 09 Nov 2005 16:24:42 -0000 Received: from unknown (HELO fuze) (209.167.16.15) by pearl.ibctech.ca with SMTP; 9 Nov 2005 16:24:38 -0000 From: "Steve Bertrand" To: "'Ewald Jenisch'" Date: Wed, 9 Nov 2005 11:24:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20051109160747.D3F8843D46@mx1.FreeBSD.org> Thread-Index: AcXlRj1ehjpPJiy0QN+t3SrX8zCgqwAASxGAAACHBuA= X-Qmail-Scanner-Message-ID: <113155347967559778@pearl.ibctech.ca> Message-Id: <20051109162442.EB40843D46@mx1.FreeBSD.org> Cc: 'FreeBSD Questions' Subject: RE: Kernel build failed in/usr/src/sys/modules/i2c/controllers/viapm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 16:24:44 -0000 > > While compiling a fresh kernel for a 5.4 system cvsup-ed as=20 > per today=20 > > the build process ran into a stop with the exact messages below.=20 > > Please note that "make buildworld" completed without any=20 > errors only=20 > > "make buildkernel kernconf=3DEJ-SMP" died. > >=20 > > Also tried to cleanup everything (i.e. remove /usr/obj/* as per the > > Handbook) and starting a fresh "make buildworld" followed by "make=20 > > buildkernel" but the errors remained. >=20 > My email from earlier with the subject: >=20 > "viapm module failing during buildkernel" >=20 > will confirm that this is two of us experiencing the EXACT same issue. >=20 > I haven't found a workaround yet. My next try will be=20 > disabling SMP support. I'll let you know if this works or=20 > not. Otherwise, I'm on the hunt for how to disable building=20 > of this module. Here is what I am trying now (please disregard wrap). # rm -rvf /usr/obj/usr/src/sys/SQL/modules/usr/src/sys/modules/i2c/controllers/via pm # cd /usr/src/sys/modules/i2c/controllers # mv viapm /home/steve/usr.src.sys.modules.i2c.controllers.viapm # ee Makefile ...then I deleted the viapm entry under SUBDIR, and saved the file # cd /usr/src # make buildkernel I know that moving the directory was probably redundant, but nonetheless...it's running now. I'll post back with findings. Steve >=20 > Steve >=20 > >=20 > > Please note that my "custom" kernel is nothing more than a=20 > re-name of=20 > > the SMP-kernel at the moment: > >=20 > > # pwd > > /usr/src/sys/i386/conf > > # diff SMP EJ-SMP > > 9c9 > > < ident SMP-GENERIC > > --- > > > ident EJ-SMP > >=20 > >=20 > > Finally I tried cvsup-ing the source-tree again (cvsup -g -L > > 2 ./stable-supfile ) and re-running the build process but this too=20 > > didn't help anything. > >=20 > > Has anybody else experienced these problems? > >=20 > > Thanks much in advance for any clue, > > -ewald > >=20 > > ------------------------------ < Cut here > > > ------------------------------ > >=20 > >=20 > > # make buildkernel KERNCONF=3DEJ-SMP > > =3D=3D=3D> i2c/controllers/viapm > > cc -O -pipe -DVIAPM_BASE_ADDR=3D0x6000 -D_KERNEL -DKLD_MODULE=20 > > -nostdinc -I- -in > > clude /usr/obj/usr/src/sys/EJ-SMP/opt_global.h -I. -I@=20 > > -I@/contrib/altq -I@/../i nclude -finline-limit=3D8000 -fno-common =20 > > -I/usr/obj/usr/src/sys/EJ-SMP -mno-align -long-strings=20 > > -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-ss > > e2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs=20 > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline=20 > > -Wcast-qual -fformat-extensions - > > std=3Dc99 -c > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: ` isa_driver' undeclared here (not in a function)=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: i nitializer element is not constant=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: ( near initialization for > > `isa_viapm_driver_mod.dmd_driver') > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: ` isa_devclass' undeclared here (not in a=20 > function)=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: i nitializer element is not constant=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:968: error: ( near initialization for > > `isa_viapm_driver_mod.dmd_devclass') > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:969: error: i nitializer element is not constant=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:969: error: ( near initialization for > > `isa_viapropm_driver_mod.dmd_driver') > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:969: error: i nitializer element is not constant=20 > > /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via > > pm.c:969: error: ( near initialization for > > `isa_viapropm_driver_mod.dmd_devclass') > > *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules/i2c/controllers/viapm. > > *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules/i2c/controllers. > > *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules/i2c. > > *** Error code 1 > >=20 > > Stop in /usr/src/sys/modules. > > *** Error code 1 > >=20 > > Stop in /usr/obj/usr/src/sys/EJ-SMP. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > *** Error code 1 > >=20 > > Stop in /usr/src. > > root@aurora src # > >=20 > >=20 > > -- > > .............................................................. > > .......... > > Dr. Mag. Ewald Jenisch > >=20 > > OeKB - Oesterreichische Kontrollbank AG IT Dept. > > 1011 Vienna, Strauchgasse 1-3, Austria > > Phone: +43-1-53127-2175, Fax: +43-1-53127-4175 > > email: ewald.jenisch@oekb.at | nic-hdl: EJ63 | GnuPG Key-ID:=20 > > 0x55E72F60 http://www.oekb.co.at > > .............................................................. > > .......... > >=20 > > This message is confidential and intended solely for the=20 > addressee. It=20 > > is likely to be subject to banking secrecy. If you have=20 > received this=20 > > e-mail erroneously, please contact the sender and delete it=20 > from your=20 > > computer, otherwise any use of this information may lead to=20 > > detrimental legal consequences. > > Anyone communicating with us by e-mail accepts the risks=20 > involved with=20 > > the potential loss of confidentiality. > >=20 > > Diese Nachricht ist vertraulich und nur f=FCr den Adressaten=20 > bestimmt.=20 > > Sie unterliegt wahrscheinlich dem Bankgeheimnis. > > Wenn Sie diese E-Mail irrt=FCmlich erhalten haben, kontaktieren Sie=20 > > bitte den Absender und l=F6schen Sie die E-Mail von Ihrem Computer,=20 > > andernfalls kann jede Verwendung dieser Informationen nachteilige=20 > > Rechtsfolgen ausl=F6sen. Jeder, der mit uns =FCber E-Mail = kommuniziert,=20 > > akzeptiert die mit dem m=F6glichen Verlust von Vertraulichkeit=20 > > verbundenen Risken. > >=20 > >=20 > >=20 > >=20 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list=20 > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20