Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 11:24:39 -0500
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "'Ewald Jenisch'" <a@jenisch.at>
Cc:        'FreeBSD Questions' <questions@freebsd.org>
Subject:   RE: Kernel build failed in/usr/src/sys/modules/i2c/controllers/viapm
Message-ID:  <20051109162442.EB40843D46@mx1.FreeBSD.org>
In-Reply-To: <20051109160747.D3F8843D46@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051109162442.EB40843D46>