Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 1996 21:16:39 +0800
From:      Peter Wemm <peter@spinner.dialix.com>
To:        Terje Normann Marthinussen <Terje.N.Marthinussen@cc.uit.no>
Cc:        smp@freebsd.org
Subject:   Re: Crashing on activating other CPUs 
Message-ID:  <199612041316.VAA00740@spinner.DIALix.COM>
In-Reply-To: Your message of "Wed, 04 Dec 1996 13:35:40 %2B0100." <199612041235.NAA00889@slibo.cc.uit.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
Terje Normann Marthinussen wrote:
> >...and full dump messages run by before it freezes solid (and a reset is
> >necessary).  No variation on SMP_INVLTLB or APIC_IO seems to change the
> >above behavior.
> 
> Our 4 CPU Netserver works without SMP_INVLTLB and APIC_IO (the latter
> has never worked). With SMP_INVLTLB, I get something similar the
> moment I do "sysctl -w kern.smp_active=2".
> 
> SMP: AP CPU #1 LAUNCHED!!  Starting Scheduling...
> cpunumber = 0
> instruction pointer     = 0x8:0xf01b632d
                          ^^^^^^^^^^^^^^^^
> stack pointer           = 0x10:0xefbfffa4
> frame pointer           = 0x10:0xefbfd5e8
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, IOPL = 0
> current process         = 149 (sshd@386freebsd2)
> interrupt mask          = 
> panic (cpu#0): unknown/reserved trap
> boot() called on cpu#0
> 
> syncing disks... 5 5 2 done
> Automatic reboot in 15 seconds - press a key on the console to abort
> 
> 
> Terje Marthinussen
> terjem@cc.uit.no

Hmm, you have all 4 cpu's enabled?  Steve sounds like he's figured out
why the >2 cpu startup code (presently disabled) causes problems.  We
do not support >2 cpu's at the moment.  ("do not support" == "known to
not work" in this case).  We are close, but still not quite there.

Can you please try two things..

First, where is 0xf01b632d ?  Can you please do this:
# nm /kernel.whatever | sort | more
and search for the the 3 surrounding function names?

Second, can you please compile with "options DDB" and when it does this,
do a "trace" command and record the output.

Cheers,
-Peter



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