Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2009 11:04:16 +0100
From:      Marc Loerner <marc.loerner@hob.de>
To:        <xcllnt@mac.com>, <freebsd-ia64@freebsd.org>
Subject:   Assertion in pcpu_init
Message-ID:  <200911271104.16455.marc.loerner@hob.de>

next in thread | raw e-mail | index | archive | help
Hello Marcel + list,
I tried to boot up the new 8.0-RELEASE disc1 iso and ran into assertion
in pcpu_init (cpuid < MAXCPU).
On my machine/kernel I have 2x4 cores and MAXCPU is set to 4,
so on probing processors in ia64_probe_sapics in madt.c cpu_mp_add gets
called more than MAXCPU-times. This leading to smp_cpus and cpuid in call
of pcpu_init being greater than MAXCPU =3D> Assertion

So solution would be either to modify MAXCPU and compile my own kernel
or adding check on this in cpu_mp_add before calling pcpu_init.

BTW, is there a way to modify MAXCPU dynamically on boot?

Regards,
Marc

HOB RD VPN - einfach, sicher und flexibel  auf alle Unternehmensanwendungen=
 und -daten zugreifen

Praesentation unter: http://www.hob.de/rdvpn2/


HOB GmbH & Co. KG
Schwadermuehlstr. 3
D-90556 Cadolzburg

Geschaeftsfuehrung: Klaus Brandstaetter, Zoran Adamovic

AG Fuerth, HRA 5180
Steuer-Nr. 218/163/00107
USt-ID-Nr. DE 132747002

Komplementaerin HOB electronic Beteiligungs GmbH
AG Fuerth, HRB 3416



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