Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 1998 15:01:30 +0500 (PKT)
From:      "Saad M. Waraich" <Saad.Waraich@Pakistan.NCR.COM>
To:        stable@FreeBSD.ORG
Subject:   More NCR SCSI Wierdness on STABLE
Message-ID:  <199806271001.PAA02112@isb.ncr.com.pk>
In-Reply-To: <Pine.BSF.3.95.980626105150.9412A-100000@hobbes.saturn-tech.com> from Doug Russell at "Jun 26, 98 11:22:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Russell wrote:
> 
> Does anyone know what would be causing this during make world?
> 
> Jun 26 10:19:46 doug /kernel: assertion "cp" failed: file "../../pci/ncr.c", line 6191
> Jun 26 10:19:46 doug /kernel: sd0(ncr0:6:0): COMMAND FAILED (4 28) @f05a9800.
> Jun 26 10:21:17 doug /kernel: assertion "cp" failed: file "../../pci/ncr.c", line 6191
> Jun 26 10:21:17 doug /kernel: sd0(ncr0:6:0): COMMAND FAILED (4 28) @f03fe000.
> Jun 26 10:21:17 doug /kernel: sd0(ncr0:6:0): COMMAND FAILED (4 28) @f03fe400.
> Jun 26 10:21:17 doug /kernel: assertion "cp" failed: file "../../pci/ncr.c", line 6191
> 

I am experiencing similar results on my system. The SCSI card is 
Tekram 390F based on the 53C875. Interstingly, the drive in my system is
apparently a very close relative of the drive in Doug Russell's system.
The drive in my machine is "QUANTUM XP32275W LYK8" and the one in his
is "QUANTUM XP32275S LXY4". They seem to be wide/narrow variants of the
same drive.

I don't see any problems in make world (single make or parallel) if 
I use the "trmncr" driver from the Tekram FTP site. Of course some other
things like the "scsi" command stop working.

I tried an Adaptec UW controller (2940 ?) and it worked fine during 
make world.

The motherboard is an Intel SE440BX with a PII 233.

Jun 16 22:25:50 dumbo /kernel: CPU: Pentium II (232.28-MHz 686-class CPU)
Jun 16 22:25:50 dumbo /kernel:   Origin = "GenuineIntel"  Id = 0x634 Stepping=4
Jun 16 22:25:50 dumbo /kernel:
Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
Jun 16 22:25:50 dumbo /kernel: real memory  = 67108864 (65536K bytes)
Jun 16 22:25:50 dumbo /kernel: avail memory = 63406080 (61920K bytes)
Jun 16 22:25:50 dumbo /kernel: Probing for devices on PCI bus 0:
Jun 16 22:25:50 dumbo /kernel: chip0 <generic PCI bridge (vendor=8086 device=7190 subclass=0)> rev 2 on pci0:0:0
Jun 16 22:25:50 dumbo /kernel: chip1 <generic PCI bridge (vendor=8086 device=7191 subclass=4)> rev 2 on pci0:1:0
Jun 16 22:25:50 dumbo /kernel: chip2 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:7:0
Jun 16 22:25:50 dumbo /kernel: chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
Jun 16 22:25:50 dumbo /kernel: chip4 <Intel 82371AB USB interface> rev 1 int d irq 9 on pci0:7:2
Jun 16 22:25:50 dumbo /kernel: chip5 <Intel 82371AB Power management controller> rev 2 on pci0:7:3
Jun 16 22:25:50 dumbo /kernel: ncr0 <ncr 53c875 fast20 wide scsi> rev 3 int a
irq 11 on pci0:13:0
Jun 16 22:25:50 dumbo /kernel: (ncr0:0:0): "QUANTUM XP32275W LYK8" type 0 fixed SCSI 2
Jun 16 22:25:50 dumbo /kernel: sd0(ncr0:0:0): Direct-Access
Jun 16 22:25:50 dumbo /kernel: sd0(ncr0:0:0): WIDE SCSI (16 bit) enabled
Jun 16 22:25:50 dumbo /kernel: sd0(ncr0:0:0): 40.0 MB/s (50 ns, offset 16)
Jun 16 22:25:50 dumbo /kernel: 2170MB (4445380 512 byte sectors)
Jun 16 22:25:50 dumbo /kernel: (ncr0:2:0): "TOSHIBA CD-ROM XM-6201TA 1030" type 5 removable SCSI 2
Jun 16 22:25:50 dumbo /kernel: cd0(ncr0:2:0): CD-ROM



> It appears to be something to do with 'ncr chip exception handler for
> programmed interrupts'.  I can do a make world with no problem, (it
> produced this error about 30 times during my build last night, but
> completed anyway.)  However, if I try a make -j4 world (or -j8) it dies
> after roughly 40 minutes.  (If I do another make -j4 world after it dies,
> it dies again in the same place, but if I do a make world, it goes through
> just fine.  No reboot in between.)
> 
> Unless parallel makes on 2.2.6-STABLE have broken in the last couple
> weeks, I think it must be due to this ncr strangeness, but I don't know
> what is causing the errors.  (I last did a -j8 with just the IDE drive)
> 
> The system is:
> 
> Jun 25 16:04:06 doug /kernel: FreeBSD 2.2.6-STABLE #0: Thu Jun 25 14:43:11 MDT 1998
> Jun 25 16:04:06 doug /kernel:     drussell@doug.saturn-tech.com:/usr/src/sys/compile/DOUG
> Jun 25 16:04:06 doug /kernel: CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
> Jun 25 16:04:06 doug /kernel:   Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
> Jun 25 16:04:06 doug /kernel:   Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> Jun 25 16:04:06 doug /kernel: real memory  = 33554432 (32768K bytes)
> Jun 25 16:04:06 doug /kernel: avail memory = 30969856 (30244K bytes)
> ...
> Jun 25 16:04:06 doug /kernel: ncr0 <ncr 53c810a fast10 scsi> rev 18 int a irq 5 on pci0:9:0
> Jun 25 16:04:06 doug /kernel: ncr0 waiting for scsi devices to settle
> Jun 25 16:04:06 doug /kernel: (ncr0:6:0): "QUANTUM XP32275S LXY4" type 0 fixed SCSI 2
> Jun 25 16:04:06 doug /kernel: sd0(ncr
> Jun 25 16:04:06 doug /kernel: 0:6:0): Direct-Access 
> Jun 25 16:04:06 doug /kernel: sd0(ncr0:6:0): 10.0 MB/s (100 ns, offset 8)
> Jun 25 16:04:06 doug /kernel: 2170MB (4445380 512 byte sectors)
> ...
> Jun 25 16:04:06 doug /kernel: wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
> Jun 25 16:04:06 doug /kernel: wdc0: unit 0 (wd0): <WDC AC24300L>, 32-bit, multi-block-16
> Jun 25 16:04:06 doug /kernel: wd0: 4112MB (8421840 sec
> Jun 25 16:04:06 doug /kernel: tors), 8912 cyls, 15 heads, 63 S/T, 512 B/S
> 
> I note that ncr0 is on irq5 as it is in the bottom PCI slot... I was going
> to move it up a slot, but there is nothing on irq5 anyway, and I can't see
> how this would make any difference.  (It just feels strange to have the
> card on irq5.  :) )
> 
> Everything except /usr/obj is on wd0.  /usr/obj is on the Quantum.  Both
> are mounted normally (ie. NOT async, etc.)  Sources are the same as the
> binaries that are currently running.  (About 10 AM yesterday MDT.  The
> only changes that were applied were Peter's if_ppp makefile change,
> and about 10 changes to various files by jkh, if my memory is correct. :) )
> 
> At first I thought parallel makes were broken until I had the brainwave to
> look at /var/log/messages.
> Any ideas?
> 
> Later......						<Doug>
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 


-- 
Saad

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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