Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2012 16:00:01 GMT
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/174409: stopping during resume caused by io_apic.c change(r243764)
Message-ID:  <201212251600.qBPG01aV090424@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/174409; it has been noted by GNATS.

From: Andriy Gapon <avg@FreeBSD.org>
To: KAHO Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
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



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