From owner-freebsd-stable Sat Jun 27 03:01:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20929 for freebsd-stable-outgoing; Sat, 27 Jun 1998 03:01:59 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from isb.ncr.com.pk (waraich@isb.ncr.com.pk [194.133.48.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA20893 for ; Sat, 27 Jun 1998 03:01:39 -0700 (PDT) (envelope-from waraich@Pakistan.NCR.COM) Received: (from waraich@localhost) by isb.ncr.com.pk (8.8.8/8.8.8) id PAA02112 for stable@freebsd.org; Sat, 27 Jun 1998 15:01:31 +0500 (PKT) (envelope-from Saad.Waraich) From: "Saad M. Waraich" Message-Id: <199806271001.PAA02112@isb.ncr.com.pk> Subject: More NCR SCSI Wierdness on STABLE In-Reply-To: from Doug Russell at "Jun 26, 98 11:22:08 am" To: stable@FreeBSD.ORG Date: Sat, 27 Jun 1998 15:01:30 +0500 (PKT) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 rev 2 on pci0:0:0 Jun 16 22:25:50 dumbo /kernel: chip1 rev 2 on pci0:1:0 Jun 16 22:25:50 dumbo /kernel: chip2 rev 2 on pci0:7:0 Jun 16 22:25:50 dumbo /kernel: chip3 rev 1 on pci0:7:1 Jun 16 22:25:50 dumbo /kernel: chip4 rev 1 int d irq 9 on pci0:7:2 Jun 16 22:25:50 dumbo /kernel: chip5 rev 2 on pci0:7:3 Jun 16 22:25:50 dumbo /kernel: ncr0 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 > 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 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): , 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...... > > > 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