Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 11:07:37 -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:  <20051109160747.D3F8843D46@mx1.FreeBSD.org>
In-Reply-To: <20051109145724.GA84717@aurora.oekb.co.at>

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 the build process ran into a stop with the exact=20
> messages below. Please note that "make buildworld" completed=20
> without any errors only "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=20
> "make buildkernel" but the errors remained.

My email from earlier with the subject:

"viapm module failing during buildkernel"

will confirm that this is two of us experiencing the EXACT same issue.

I haven't found a workaround yet. My next try will be disabling SMP
support. I'll let you know if this works or not. Otherwise, I'm on the
hunt for how to disable building of this module.

Steve

>=20
> Please note that my "custom" kernel is nothing more than a=20
> re-name of 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=20
> 2 ./stable-supfile ) and re-running the build process but=20
> this too 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
>=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=20
> -fno-common  -I/usr/obj/usr/src/sys/EJ-SMP -mno-align=20
> -long-strings -mpreferred-stack-boundary=3D2  -mno-mmx=20
> -mno-3dnow -mno-sse -mno-ss
> e2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs=20
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith=20
> -Winline -Wcast-qual  -fformat-extensions -
> std=3Dc99 -c=20
> /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)
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:968: error: i nitializer element is not constant
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:968: error: ( near initialization for=20
> `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 function)
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:968: error: i nitializer element is not constant
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:968: error: ( near initialization for=20
> `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
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:969: error: ( near initialization for=20
> `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
> /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/via
> pm.c:969: error: ( near initialization for=20
> `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
>=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
> ..............................................................
> ..........
>=20
> This message is confidential and intended solely for the=20
> addressee. It is likely to be subject to banking secrecy. If=20
> you have received this e-mail erroneously, please contact the=20
> sender and delete it from your computer, otherwise any use of=20
> this information may lead to detrimental legal consequences.=20
> Anyone communicating with us by e-mail accepts the risks=20
> involved with the potential loss of confidentiality.
>=20
> Diese Nachricht ist vertraulich und nur f=FCr den Adressaten=20
> bestimmt. Sie unterliegt wahrscheinlich dem Bankgeheimnis.=20
> Wenn Sie diese E-Mail irrt=FCmlich erhalten haben, kontaktieren=20
> Sie bitte den Absender und l=F6schen Sie die E-Mail von Ihrem=20
> Computer, andernfalls kann jede Verwendung dieser=20
> Informationen nachteilige Rechtsfolgen ausl=F6sen. Jeder, der=20
> mit uns =FCber E-Mail kommuniziert, akzeptiert die mit dem=20
> m=F6glichen Verlust von Vertraulichkeit 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=20
> "freebsd-questions-unsubscribe@freebsd.org"
>=20




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