From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 25 16:00:01 2012 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 627B45D6 for ; Tue, 25 Dec 2012 16:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 46FDA8FC12 for ; Tue, 25 Dec 2012 16:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBPG01jP090425 for ; Tue, 25 Dec 2012 16:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBPG01aV090424; Tue, 25 Dec 2012 16:00:01 GMT (envelope-from gnats) Date: Tue, 25 Dec 2012 16:00:01 GMT Message-Id: <201212251600.qBPG01aV090424@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: amd64/174409: stopping during resume caused by io_apic.c change(r243764) X-Mailman-Approved-At: Tue, 25 Dec 2012 17:04:02 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andriy Gapon List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 16:00:01 -0000 The following reply was made to PR amd64/174409; it has been noted by GNATS. From: Andriy Gapon To: KAHO Toshikazu Cc: bug-followup@FreeBSD.org Subject: Re: amd64/174409: stopping during resume caused by io_apic.c change(r243764) Date: Tue, 25 Dec 2012 17:54:09 +0200 on 25/12/2012 15:38 KAHO Toshikazu said the following: > Hello, > >> Could you please take 'vmstat -i' output twice between reboot and >> resume (a few minutes apart) and then twice after resume (also a few >> minutes apart) ? > > "irq 9" does not seem to increase. > ( vmstat -i && sleep 300 && vmstat -i ) shows Thank you. Could you please re-apply r243764 and then try the following _hack_? --- a/sys/x86/x86/io_apic.c +++ b/sys/x86/x86/io_apic.c @@ -493,7 +493,7 @@ ioapic_resume(struct pic *pic) mtx_lock_spin(&icu_lock); for (i = 0; i < io->io_numintr; i++) - ioapic_program_intpin(&io->io_pins[i]); + if (i != 9) ioapic_program_intpin(&io->io_pins[i]); mtx_unlock_spin(&icu_lock); } Also, not sure if I asked before the following questions related to debugging possibilities. Does this system have a serial port? Are you able to setup serial console access? Or the same for firewire port/console. Does this system preserve memory content across reboot/reset? In other words, can you see messages from the previous boot in dmesg after a reboot? -- Andriy Gapon