NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/41267: 5.0 RC4 does not detect second CPU in VIA VT-310DP motherboard



Hello NetBSD developers,

I investigated a little bit a boot process and I found a place where
exactly it "hangs". In reality the system doesn't hang but it is
trapped into infinitive loop in tsc_read_bp function from tsc.c which
is called from tsc_sync_bp and finally this one is called from
cpu_boot_secondary in cpu.c. The exact loop where it loops endlessly
in tsc_read_bp function is

        /* Wait for the results to come in. */
        while (tsc_sync_cpu == ci) {
                x86_pause();
        }

I don't have enough knowledge to understand why expected results
didn't come in (by comment) and what processes didn't work. Maybe,
second cpu wasn't still initialized by this moment? Will this
information help to understand the problem or guide to some more
investigation? Thanks.



On Mon, Aug 16, 2010 at 9:40 AM, Andrius V <vezhlys%gmail.com@localhost> wrote:
> The following reply was made to PR port-i386/41267; it has been noted by 
> GNATS.
>
> From: Andrius V <vezhlys%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: port-i386-maintainer%netbsd.org@localhost, 
> gnats-admin%netbsd.org@localhost,
> Â Â Â Ânetbsd-bugs%netbsd.org@localhost
> Subject: Re: port-i386/41267: 5.0 RC4 does not detect second CPU in VIA
> ÂVT-310DP motherboard
> Date: Mon, 16 Aug 2010 09:39:21 +0300
>
> ÂCan I provide some more information then? I can connect it through
> Âserial interface and try to debug boot process however i don't have
> Âenough knowledge to understand the output (and I don't know if it cant
> Âprovide anything useful). It seems that at some point it goes into
> Âinfinitive loop (but I might be wrong). This problem exists from 5.0
> Âversion and netbsd current still can't freezes at the same point.
>
> ÂOn Sun, Aug 15, 2010 at 7:10 AM, Jukka Ruohonen <jruohonen%iki.fi@localhost> 
> wrote:
> Â> The following reply was made to PR port-i386/41267; it has been noted by =
> ÂGNATS.
> Â>
> Â> From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
> Â> To: gnats-bugs%NetBSD.org@localhost
> Â> Cc:
> Â> Subject: Re: port-i386/41267: 5.0 RC4 does not detect second CPU in VIA V=
> ÂT-310DP motherboard
> Â> Date: Sun, 15 Aug 2010 07:05:42 +0300
> Â>
> Â> =C2=A0Thanks.
> Â>
> Â> =C2=A0Nothing wrong there that I could see. Must be something else.
> Â>
> Â>
>
>


Home | Main Index | Thread Index | Old Index