Subject: -current: stray interrupt 7, hangs on 386 with two IDE drives
To: None <port-i386@NetBSD.ORG>
From: Irving Reid <irving@platform.com>
List: port-i386
Date: 06/20/1995 13:21:56
I'm running netbsd-current (the May 15 binary snapshot, with a kernel 
and mountd from the June 3 source tar files) on an old AMD 386-DX40 
with AMI bios.  The bios chip says AMI 386 BIOS ver. 2.11.

The motherboard is a clone; I can't see a name.  The system has a 
Trident ISA VGA board and an Etherlink 3 (ISA bus 3c509) ethernet card.

The I/O board is also a clone; it supports 1 serial, 1 parallel, 1 
floppy and 1 IDE connector.  The documentation for the I/O board is 
unfortunately lost in the mists of time.

I built a custom kernel with no parallel port support.  With one IDE 
drive attached, I am getting unusual interrupts; the kernel is logging 
"stray interrupt 7", and once or twice every reboot an NMI.  The log 
messages from the reboot are attached to this message.  The DOS 6.22 
"msd" diagnostic program shows interrupt 7 as the parallel port; it is 
currently unconnected.

With the second hard drive installed and mounted, it runs OK for a 
while and then hangs.  On some occasions it hangs for a while and then 
starts responding again; other times it seems to hang permanently.  It 
usually doesn't last more than an hour before failing completely.

The drives are jumpered for ATA-compatible master and slave, with a 
straight cable.

The hang only seems to happen when there is some use of both drives; it 
can run for long periods if the second drive is mounted but not 
accessed.  On other occasions I have transferred hundreds of megabytes 
from one drive to the other without hangs, so accessing both drives 
isn't guaranteed to lock the system up.

Jun 20 12:48:19 raminsh /netbsd: NetBSD 1.0A (RAMINSH) #0: Mon Jun 19 
17:01:44 E
DT 1995
Jun 20 12:48:19 raminsh /netbsd:     irving@raminsh:/var/src/sys/arch/i3
86/compi
le/RAMINSH
Jun 20 12:48:19 raminsh /netbsd: CPU: i386DX (386-class CPU)
Jun 20 12:48:19 raminsh /netbsd: real mem  = 7995392
Jun 20 12:48:19 raminsh /netbsd: avail mem = 6529024
Jun 20 12:48:19 raminsh /netbsd: using 123 buffers containing 503808 
bytes of me
mory
Jun 20 12:48:19 raminsh /netbsd: isa0 (root)
Jun 20 12:48:19 raminsh /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: 
ns8250 or 
ns16450, no fifo
Jun 20 12:48:19 raminsh /netbsd: wdc0 at isa0 port 0x1f0-0x1f7 irq 14
Jun 20 12:48:20 raminsh /netbsd: wd0 at wdc0 drive 0: 521MB, 1060 cyl, 
16 head, 
63 sec, 512 bytes/sec <Maxtor 7546 AT>
Jun 20 12:48:20 raminsh /netbsd: wd0: using 16-sector 16-bit pio 
transfers, lba 
addressing
Jun 20 12:48:20 raminsh /netbsd: wd1 at wdc0 drive 1: 520MB, 1057 cyl, 
16 head, 
63 sec, 512 bytes/sec <ST3660A>
Jun 20 12:48:20 raminsh /netbsd: wd1: using 16-sector 16-bit pio 
transfers, lba 
addressing
Jun 20 12:48:20 raminsh /netbsd: ep0 at isa0 port 0x300-0x30f irq 10: 
aui/bnc ad
dress 00:20:af:6e:8b:05
Jun 20 12:48:20 raminsh /netbsd: pc0 at isa0 port 0x60-0x6f irq 1: color
Jun 20 12:48:20 raminsh /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 
drq 2
Jun 20 12:48:20 raminsh /netbsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 
head, 18 
sec
Jun 20 12:48:20 raminsh /netbsd: root device eisa not configured
Jun 20 12:48:20 raminsh /netbsd: root device pci not configured
Jun 20 12:48:21 raminsh /netbsd: biomask 4040 netmask 400 ttymask 12
Jun 20 12:48:21 raminsh /netbsd: stray interrupt 7
Jun 20 12:48:21 raminsh last message repeated 3 times
Jun 20 12:48:21 raminsh /netbsd: stray interrupt 7; stopped logging
Jun 20 12:48:21 raminsh /netbsd: changing root device to wd0a
Jun 20 12:48:21 raminsh /netbsd: NMI port 61 a0, port 70 b8