Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 1997 22:46:13 -0500
From:      Bob Willcox <bob@luke.pmr.com>
To:        Peter Wemm <peter@spinner.dialix.com.au>
Cc:        SMP list <freebsd-smp@FreeBSD.ORG>
Subject:   Re: Recent (last two days) smp kernel is hanging for me
Message-ID:  <19970623224613.04995@luke.pmr.com>
In-Reply-To: <199706240336.LAA05596@spinner.dialix.com.au>; from Peter Wemm on Tue, Jun 24, 1997 at 11:36:46AM %2B0800
References:  <19970623213745.30803@luke.pmr.com> <199706240336.LAA05596@spinner.dialix.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 24, 1997 at 11:36:46AM +0800, Peter Wemm wrote:
> Bob Willcox wrote:
> > For the couple of days kernels built on my ASUS P/I-P65UP5 w/C-P6ND
> > have been hanging (a kernel built on 6/19 boots fine, nothing
> > changed in the config file).  With recently cvsup'd -current sources
> > my kernels will no longer boot all the way.  They hang right after
> > printing out the following messages:
> > 
> > ncr0 scanning for targets 0..6 (V2 pl24 96/12/14)
> > ncr0: waiting for scsi devices to settle
> > scbus0 at ncr0 bus 0
> > --- HANGS HERE ---
> > 
> > Again, my old 6/19 kernel runs right on past this point, printing
> > out the scsi targets found.
> > 
> > Anybody else seeing anything like this?  Is there any additional
> > info that I can provide to assist in diagnosing this?
> > 
> > Thanks,
> 
> Hmm..  This sounds suspiciously like an interrupt problem.  I presume you 
> have APIC_IO enabled?  What does your mptable output look like?  What was 
> the pci probe message for the ncr0 controller (ie: what interrupt?)

Below is the mptable output (while running on the old working kermel).
The NCR SCSI controller is listed as being on IRQ 17 (for both the old
working and new not working kernels).

Here is the dmesg line for it:
ncr0: <ncr 53c810 scsi> rev 0x02 int a irq 17 on pci0.11.0


Thanks,
Bob



===============================================================================

MPTable, version 2.0.11

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f61b0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x8a
  mode:				Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:		0x000f5daa
  signature:			'PCMP'
  base table length:		244
  version:			1.4
  checksum:			0x9f
  OEM ID:			'OEM00000'
  Product ID:			'PROD00000000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			22
  local APIC address:		0xfee00000
  extended table length:	0
  extended table checksum:	0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 1	 0x11	 BSP, usable	 6	 1	 2	 0xfbff
		 0	 0x11	 AP, usable	 6	 1	 2	 0xfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
		ExtINT	 conforms    conforms	     1	   0	      2	   0
		INT	 conforms    conforms	     1	   1	      2	   1
		INT	 conforms    conforms	     1	   0	      2	   2
		INT	 conforms    conforms	     1	   3	      2	   3
		INT	 conforms    conforms	     1	   4	      2	   4
		INT	 conforms    conforms	     1	   5	      2	   5
		INT	 conforms    conforms	     1	   6	      2	   6
		INT	 conforms    conforms	     1	   7	      2	   7
		INT	 conforms    conforms	     1	   8	      2	   8
		INT	 conforms    conforms	     1	  12	      2	  12
		INT	 conforms    conforms	     1	  14	      2	  14
		INT	active-lo       level	     0	10:A	      2	  18
		INT	active-lo       level	     0	11:A	      2	  17
		INT	active-lo       level	     0	12:A	      2	  16
		INT	active-lo       level	     0	13:A	      2	  19
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
		ExtINT	active-hi        edge	     1	   0	    255	   0
		NMI	active-hi        edge	     1	   0	    255	   1

-------------------------------------------------------------------------------

# SMP kernel config file options:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Useful:
#options		SMP_AUTOSTART		# start the additional CPUs during boot

# Optional (built-in defaults will work in most cases):
#options		NCPU=2			# number of CPUs
#options		NBUS=2			# number of busses
#options		NAPIC=1			# number of IO APICs
#options		NINTR=24		# number of INTs

# Currently broken:
#options		SMP_PRIVPAGES		# BROKEN, DO NOT use!

# Rogue hardware:
#
#  Tyan Tomcat II:
#options		SMP_TIMER_NC		# 
#
#  SuperMicro P6DNE:
#options		SMP_TIMER_NC		# 

===============================================================================

> 
> Cheers,
> -Peter
> 

-- 
Bob Willcox	       Deliberation, n.: The act of examining one's bread to determine
bob@luke.pmr.com       which side it is buttered on.
Austin, TX                -- Ambrose Bierce, "The Devil's Dictionary"



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