Subject: port-i386/5930: ncr 53c810 hangs during boot
To: None <gnats-bugs@gnats.netbsd.org>
From: Mario Kemper <magick@bundy.lip.owl.de>
List: netbsd-bugs
Date: 08/07/1998 20:35:53
>Number:         5930
>Category:       port-i386
>Synopsis:       ncr 53c810 hangs during boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug  7 13:35:00 1998
>Last-Modified:
>Originator:     Mario Kemper
>Organization:
Mario Kemper
magick@bundy.lip.owl.de
>Release:        sup from 6-aug-98
>Environment:
	
System: NetBSD bundy 1.3F NetBSD 1.3F (BUNDY) #0: Mon Aug 3 18:41:37 MEST 1998 tron@lyssa.owl.de:/src/src/sys/arch/i386/compile/BUNDY i386


>Description:
Since 1.3G i can't boot any kernel anymore. When trying to find the root 
partition the machine hangs for about 10 seconds and then promts the following:

wscons: wskbd0 glued to wdisplay0(console)
<10 seconds>
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (8-0-0) (8/13) @ (script 5b4:50000000).
ncr0: script cmd = 80000000
ncr0: regdump: da 00 00 13 47 08 00 1f 35 08 80 00 80 00 0f 02
ncr0: restart (fatal error).
ncr0: abortion failed at 10ba00c.
ncr0: restart (timeout).
<hangs forever>
<starting kernel debugger by hand>
<repeating only the symbols. tell me which args you need>
--- interrupt ---
_idle at idle+0xd
bpentsleep at bpentsleep
_scsipi_execute_xs at _scsipi_execute_xs+0x93
_scsi_scsipi_cmd at _scsi_scsipi_cmd+0x99
_sdstart at _sdstart+0x217
_sdstrategy at _sdstrategy+0xdb
_readdisklabel at _readdisklabel+0xe8
_sdgetdisklabelk at sdgetdisklabel+0x63
_sdopen at _sdopen+0xfe
_spec_open at  _spec_open+0x1e3
_match_harddisk at _match_harddisk+0xfd
_findroot at _findroot+0xf0
_cpu_rootconf at _cpu_rootconf+0x13
_main at _main+0x364

I have verified this behaviour with another i386 with ncr which has another 
motherboard, so i don't think it's a hardware failure.

I append the dmesg output for 1.3F as i don't want to type the complete output.
Again, tell me what you need.

NetBSD 1.3F (BUNDY) #0: Mon Aug  3 18:41:37 MEST 1998
    tron@lyssa.owl.de:/src/src/sys/arch/i386/compile/BUNDY
cpu0: family 5 model 4 step 3
cpu0: Intel Pentium/MMX (586-class)
real mem  = 66715648
avail mem = 59887616
using 840 buffers containing 3440640 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439HX System Controller (TXC) (rev. 0x03)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
NEC PowerVR PCX2 (miscellaneous multimedia, revision 0x01) at pci0 dev 13 function 0 not configured
ncr0 at pci0 dev 14 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <IBM, DPES-31080, S80E> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 1034MB, 4903 cyl, 4 head, 108 sec, 512 bytes/sect x 2118144 sectors
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed
sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8)
sd1: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sect x 1431760 sectors
cd0 at scsibus0 targ 2 lun 0: <MATSHITA, CD-ROM CR-504-J, SS17> SCSI2 5/cdrom removable
probe(ncr0:2:1): 5.0 MB/s (200 ns, offset 8)
sd2 at scsibus0 targ 3 lun 0: <IBM, DORS-32160W, WA6A> SCSI2 0/direct fixed
sd2(ncr0:3:0): 10.0 MB/s (100 ns, offset 8)
sd2: 2063MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725 sectors
st0 at scsibus0 targ 4 lun 0: <EXABYTE, EXB-8200, 268P> SCSI1 1/sequential removable
st0: drive empty
vga1 at pci0 dev 15 function 0: Matrox MGA 1064SG (rev. 0x02)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at pcib0
ne0 at isa0 port 0x300-0x31f irq 10
ne0: NE2000 Ethernet
ne0: Ethernet address 08:00:17:09:bc:15
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pmsprobe: command error
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative ViBRA16C PnP Audio: dsp v4.13
audio0 at sb0
joy0 at isapnp0 port 0x200/8
joy0: Creative ViBRA16C PnP Game
joy0: joystick connected
biomask 840 netmask c40 ttymask cc2
wscons: wskbd0 glued to wsdisplay0 (console)
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
IP Filter: initialized.  Default = pass all, Logging = enabled
lpt0: offline



>How-To-Repeat:

Build a 1.3G kernel and boot it with a ncr 53c810.
 
>Fix:

absolutely no idea.
>Audit-Trail:
>Unformatted: