Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Jun 2004 10:51:18 -0400
From:      Kenneth Culver <culverk@sweetdreamsracing.biz>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        David Gurvich <david.gurvich@verizon.net>
Subject:   Re: reboot or shutdown not working with -current
Message-ID:  <20040604105118.kpsgwcg4skgsgso0@www.sweetdreamsracing.biz>
In-Reply-To: <200406041044.51779.jhb@FreeBSD.org>
References:  <714DBA6C-B565-11D8-B32B-000393AB07D8@verizon.net> <20040603150403.GE80605@dan.emsphone.com> <200406041044.51779.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting John Baldwin <jhb@FreeBSD.org>:

> On Thursday 03 June 2004 11:04 am, Dan Nelson wrote:
>> In the last episode (Jun 03), David Gurvich said:
>> > Recent cvsup has caused system to hang on reboot or shutdown,
>> > occasionally hangs on startup with detection of optical drive on 2nd
>> > ide.  Anyone know how to get system logs in this situation?
>> > Motherboard is ASUS A7N266-VM.  System worked reasonably with APIC
>> > turned off 5/26/2004.
>>
>> Back out sys/i386/i386/intr_machdep.c rev 1.6.
>
> Or for the real fix, try this:
>
> Index: acpi_cpu.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/dev/acpica/acpi_cpu.c,v
> retrieving revision 1.36
> diff -u -r1.36 acpi_cpu.c
> --- acpi_cpu.c  7 May 2004 05:22:37 -0000       1.36
> +++ acpi_cpu.c  4 Jun 2004 14:44:33 -0000
> @@ -376,8 +376,7 @@
>
>      /* Wait for all processors to exit acpi_cpu_idle(). */
>      smp_rendezvous(NULL, NULL, NULL, NULL);
> -    while (cpu_idle_busy > 0)
> -       DELAY(1);
> +    DELAY(1);
>
>      return_VALUE (0);
>  }
>
>
> --
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

You know that the reboot problems go away when
/usr/src/sys/i386/i386/intr_machdep.c is reverted from 1.16 to 1.15 right?

Ken



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