amd64/174409: stopping during resume caused by io_apic.c change(r243764)

Andriy Gapon avg at FreeBSD.org
Tue Dec 25 16:00:01 UTC 2012


The following reply was made to PR amd64/174409; it has been noted by GNATS.

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


More information about the freebsd-amd64 mailing list