[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging scsi at boot time. How?

I suffer from the same boot fail from time to time and
want to know if there is a way to debug it.
The problem is that the machine hangs at boot time after
the following messages appear several times on the boot

	script command=910a0000
	reg da 1080134
ncr0:restart (fatal error)
probe (ncr0:5:0):Command Failed (9ff)@0xf07aeaf8
<the same as above time and again with slight changes>

Dont trust the above as the correct output. The messages that 
appear differ from message to message and leave no trace in 
/var/log/message. So i have to write it down and i am not
fast enough to write down all the stuff that scrolls away.
After a few minutes the scrolling stops and the machine hangs.
This misbehaviour appears most of the time i do a cold boot
and goes away when doing a reset.

Is there any way to get a protocoll of the error messages?
It is not really a big problem as i am always able to reboot
via a reset but is kind of annoying.


PS: The binaries and kernel from the machine is from yesterday.
The error first occured when changing from NetBSD to OpenBSD a few
months ago.  For your information this is my dmesg output:

OpenBSD 2.0 (VOGON) #0: Mon Feb 17 00:19:11 MET 1997
CPU: Pentium (GenuineIntel 586-class CPU) 133 MHz
BIOS mem  = 652288 conventional, 32505856 extended
real mem  = 33157120
avail mem = 28893184
using 430 buffers containing 1761280 bytes of memory
mainbus0 (root)
isa0 at mainbus0
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-0x37f irq 7
isadma0 at isa0
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v4.13
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
ed0 at isa0 port 0x300-0x31f irq 11
ed0: address 00:40:05:2a:b3:aa, type NE2000 (16-bit)
pci0 at mainbus0 bus 0: configuration mode 1
vendor 0x8086 product 0x1250 (class bridge, subclass host, revision 0x01) at pci0 dev 0 function 0 not configured
vendor 0x8086 product 0x7000 (class bridge, subclass ISA, revision 0x00) at pci0 dev 7 function 0 not configured
ncr0 at pci0 dev 11 function 0: NCR 53c810 SCSI
ncr0: interrupting at irq 14
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <IBM, DORS-32160, S82C> SCSI2 0/direct fixed
sd0: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
2063MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sec
cd0 at scsibus0 targ 2 lun 0: <SONY, CD-ROM CDU-8003A, 1.9a> SCSI2 5/cdrom removable
st0 at scsibus0 targ 4 lun 0: <WANGTEK, 6200-HS, 4B18> SCSI2 1/sequential removable
st0: st0(ncr0:4:0): 275ns (4 Mb/sec) offset 8.
drive empty
sd1 at scsibus0 targ 5 lun 0: <IBM, DPES-31080, S31Q> SCSI2 0/direct fixed
sd1: sd1(ncr0:5:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
1034MB, 4903 cyl, 4 head, 108 sec, 512 bytes/sec
vendor 0x102b product 0x0519 (class display, subclass VGA, revision 0x01) at pci0 dev 12 function 0 not configured
biomask 4060 netmask 4860 ttymask 58fa
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
cd0(ncr0:2:0): 250ns (4 Mb/sec) offset 8.