Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 1996 14:58:01 -0500
From:      tricotek!henry@uunet.uu.net (Henry Hojnacki)
To:        uunet!FreeBSD.org!questions@uunet.uu.net
Cc:        tricotek!henry@uunet.uu.net
Subject:   NCR 53C810 problems
Message-ID:  <199603141958.OAA08282@tricotek.>

next in thread | raw e-mail | index | archive | help
Greetings!

Congratulations on producing a wonderful product.  I used to run Interactive
386ix, and I find FreeBSD a much better product.  Plus the source code too!

So much for the kudos, now on to the problem I am having.  The kudos are
genuine though!

I have included an output from my boot up below for reference.  I have also 
numbered the lines.

It seems I have a problem booting up.  Also about 50% of the time, the boot
procedure fails, with the error message:

	NCR RESET: COMMAND FAILED . . .

If I reset the machine, (hard reset) It sometimes works, and sometimes not,
again about 50% of the time.  I have a 100MHz Pentium, and am running a SCSI
only system, no IDE drives aside from the floppy.  My question is, do I have
a problem with my SCSI adapter, or is this a software issue?  I want to be as
smart as I can before I go back to my vendor.  Also I want to avoid all the 
hardware and software people standing in a circle and pointing to the right.:-)

Specific areas that I do not understand are as follows:
(refer to the below listing for line numbers)

In line 27 from the boot procedure, what does it mean "not supported"?

In line 28, what is the meaning of "not bound"?

In line 30, how can I map the interrupt?

In line 46, what is the meaning of this, it happens on every boot?

As verified by the listing, I am running v2.0, from the Walnut Creek CDROM.
I have obtained 2.0.5 from Walnut Creek, however the install procedure locks
up.  I am sure it is related to this issue, since if I remove the SCSI adapter,
the install procedure does not lock up.  Of course having no SCSI adapter means
having no SCSI disks, and the install procedure is somewhat silly then. :-)

Below is some output from the ncrcontrol command, it may be of some use to you.
I know almost nothing about device drivers, so the output is mostly meaningless
to me.

Thanks for any insight you can give me on this!

----------------
[/users/henry/temp] 124) ncrcontrol -i -v -dcdhmn
T:L  Vendor   Device           Rev  Speed   Max Wide Tags
0:0  FUJITSU  M1606S-512       6226  10.0  10.0   8    4
2:0  TANDBERG  TDC 3800        =05:  asyn  10.0   8    -
3:0  NEC      CD-ROM DRIVE:501 2.3   asyn  10.0   8    -

----------------------
struct ncb @ f0981000:
----------------------
    jump_tcb: cmd=80080000 pa=0025b1a8 
    register: @ f507a000 (p=c0000000)
      script: @ f098a000 (p=264000)
hostscsiaddr: 7
    ns_async: 50 ns
    ns_sync : 25 ns
      scntl3: 0x13

     actccbs: 6
       ticks: 0 ms
   heartbeat: Tue Mar 12 20:15:52 1996
    lasttime: Tue Mar 12 20:15:52 1996


      launch: cmd=80080000 pa=00264b2c <reselect>:0
       savep: 00264e90 <data_out>:13
          cp: f0878000 
      status: 0 4 0 0 0 8 0 13

----------------------
struct ccb @ f09814e0:
----------------------
        next: cmd=80080000 pa=00000000 
        call: cmd=00000000 pa=00000000 
      launch: cmd=80080000 pa=002642b8 <idle>:0
       savep: 00264c30 <data_in>:0
          cp: f09814e0 
      status: 0 0 ff 0 0 0 0 13

        smsg: 80
       smsg2: 80
       magic: 0
    link_ccb: f0878000
    next_ccb: 00000000
         tag: 0

      msgout: 8
      msg in: 0
--------------
below is the boot output listing:
 1} Mar 12 19:59:33 teknocat kernel: FreeBSD 2.0-RELEASE #0: Sat Oct 28 16:05:09 EDT 1995
 2} Mar 12 19:59:33 teknocat kernel:     root@teknocat:/sys/compile/HEH
 3} Mar 12 19:59:33 teknocat kernel: CPU: Pentium (Pentium-class CPU) 99 MHz  Id = 0x525  Origin = "GenuineIntel"
 4} Mar 12 19:59:33 teknocat kernel: real memory  = 33161216 (8096 pages)
 5} Mar 12 19:59:33 teknocat kernel: avail memory = 31113216 (7596 pages)
 6} Mar 12 19:59:33 teknocat kernel: using 632 buffers containing 5177344 bytes of memory
 7} Mar 12 19:59:33 teknocat kernel: Probing for devices on the ISA bus:
 8} Mar 12 19:59:33 teknocat kernel: sc0 at 0x60-0x6f irq 1 on motherboard
 9} Mar 12 19:59:33 teknocat kernel: sc0: VGA color <4 virtual consoles>
10} Mar 12 19:59:33 teknocat kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
11} Mar 12 19:59:33 teknocat kernel: sio0: type 16550A
12} Mar 12 19:59:33 teknocat kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
13} Mar 12 19:59:33 teknocat kernel: sio1: type 16550A
14} Mar 12 19:59:34 teknocat kernel: lpt0 at 0x378-0x37f irq 7 on isa
15} Mar 12 19:59:34 teknocat kernel: lpt0: Interrupt-driven port
16} Mar 12 19:59:34 teknocat kernel: lp0: TCP/IP capable interface
17} Mar 12 19:59:34 teknocat kernel: lpt1 not found at 0xffffffff
18} Mar 12 19:59:34 teknocat kernel: pca0 PC speaker audio driver
19} Mar 12 19:59:34 teknocat kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
20} Mar 12 19:59:34 teknocat kernel: fdc0: [0: fd0: 1.44MB 3.5in]
21} Mar 12 19:59:34 teknocat kernel: npx0 on motherboard
22} Mar 12 19:59:34 teknocat kernel: snd2 at 0x220 irq 5 drq 5 on isa
23} Mar 12 19:59:34 teknocat kernel: snd2: <SoundBlaster Pro 4.13>
24} Mar 12 19:59:34 teknocat kernel: snd1 at 0x388 on isa
25} Mar 12 19:59:34 teknocat kernel: snd1: <Yamaha OPL-3 FM>
26} Mar 12 19:59:34 teknocat kernel: pci0: scanning device 0..31, mechanism=1.
27} Mar 12 19:59:35 teknocat kernel: pci0:0: INTEL CORPORATION, device=0x122d, class=bridge [not supported]
28} Mar 12 19:59:35 teknocat kernel: ncr0 <ncr 53c810 scsi> int a (config) not bound on pci0:6
29} Mar 12 19:59:35 teknocat kernel: 	reg20: virtual=0xf507a000 physical=0xc0000000
30} Mar 12 19:59:35 teknocat kernel: pci_map_int failed: no int line set.
31} Mar 12 19:59:35 teknocat kernel: 	interruptless mode: reduced performance.
32} Mar 12 19:59:35 teknocat kernel: ncr0: restart (scsi reset).
33} Mar 12 19:59:35 teknocat kernel: ncr0 scanning for targets 0..6 (1.12)
34} Mar 12 19:59:35 teknocat kernel: ncr0 waiting for scsi devices to settle
35} Mar 12 19:59:35 teknocat kernel: ncr0 targ 0 lun 0: type 0(direct) fixed SCSI2
36} Mar 12 19:59:35 teknocat kernel: ncr0 targ 0 lun 0: <FUJITSU M1606S-512      6226>
37} Mar 12 19:59:35 teknocat kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
38} Mar 12 19:59:35 teknocat kernel: sd0: 1041MB (2131992 total sec), 3457 cyl, 6 head, 102 sec, bytes/sec 512
39} Mar 12 19:59:35 teknocat kernel: ncr0 targ 2 lun 0: type 1(sequential) removable SCSI2
40} Mar 12 19:59:35 teknocat kernel: ncr0 targ 2 lun 0: <TANDBERG TDC 3800       =05:>
41} Mar 12 19:59:35 teknocat kernel: st0(ncr0:2:0): asynchronous.
42} Mar 12 19:59:35 teknocat kernel: st0(ncr0:2:0): asynchronous.
43} Mar 12 19:59:35 teknocat kernel: st0: density code 0x0,  drive empty
44} Mar 12 19:59:36 teknocat kernel: ncr0 targ 3 lun 0: type 5(readonly) removable SCSI2
45} Mar 12 19:59:36 teknocat kernel: ncr0 targ 3 lun 0: <NEC     CD-ROM DRIVE:5012.3 >
46} Mar 12 19:59:36 teknocat kernel: assertion "cp == np->header.cp" failed: file "../../i386/pci/ncr.c", line 5171
47} Mar 12 19:59:36 teknocat kernel: cd0(ncr0:3:0): phase change 6-7 6@2523c0 resid=4.
48} Mar 12 19:59:36 teknocat kernel: cd0(ncr0:3:0): asynchronous.
49} Mar 12 19:59:36 teknocat kernel: cd0(ncr0:3:0): M_REJECT received (3:8).
50} Mar 12 19:59:36 teknocat kernel: cd0: cd present.[285196 x 2048 byte records]
51} Mar 12 19:59:36 teknocat kernel: pci0:7: INTEL CORPORATION, device=0x122e, class=bridge [not supported]
52} Mar 12 19:59:36 teknocat kernel: graphics0 <display device> int a irq 10 on pci0:9
53} Mar 12 19:59:36 teknocat kernel: pci uses physical addresses from 0xc0000000 to 0xc0001000
54} Mar 12 19:59:34 teknocat lpd[66]: restarted

Henry Hojnacki



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