Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 22:52:48 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        "Justin T. Gibbs" <gibbs@narnia.plutotech.com>
Cc:        scsi@FreeBSD.ORG
Subject:   Re: CAM support for NCR controller...
Message-ID:  <Pine.BSF.4.02.9808112232220.487-200000@thelab.hub.org>
In-Reply-To: <199808110534.XAA00192@narnia.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, 10 Aug 1998, Justin T. Gibbs wrote:

> > Actually, I'm going to leave the system "as is" for the next couple of
> > days, while I await some new hardware to arrive.  If someone out there
> > working on the NCR drivers has suggestions on what I can try towards
> > providing more debug information on the problem, towards the betterment of
> > the CAM drivers, please speak up...I provide my system as a test bed.
> 
> A "boot -v" dmesg from the CAM system would be a place to start.  It
> would also help if you related the errors that are reported during
> your failed CD-R burn sessions.

Morning...

	Attached is my 'boot -v' dmesg.  I was going to add a 'script' of
my cdrecord session, but looking through it, it doesn't tell anything :(
 
	The system has changed slightly since my report yesterday.

	First off, I changed my internal SCSI cable from a 6foot, 8
connector cable (7 drives + 1 adapter) to a shorter cable (4 drives + 1
adapter).  I've also added on my external CDR, which, in itself, gives me
~9 feet of SCSI from end-to-end.  (yesterday, with the external, it was
~12feet).

	According to the specs I found on Adaptec's site, at:

	http://www.adaptec.com/products/guide/ioposter.html

	I should be good for (assuming the NCR/PCI controller *is* SCSI2?)

	4 devices: 3 m
        5+ devices: 1.5 m 

	So, with 3 internal and 1 external, I should be well within my
9feet allowed.

	Now, when I reported the problem last night, I had 6 SCSI drives
active on the internal bus, on a 6foot ribbon cable, and the external CDR
was not attached, which makes me ~1.5feet over the limit according to
Adaptec.

	The tail end of the dmesg attached shows:

(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:29,0
(cd1:ncr0:0:6:0): Power on, reset, or bus device reset occurred
cddone: got error 0x6 back
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:28,0
(cd1:ncr0:0:6:0): Not ready to ready change, medium may have changed
cddone: got error 0x6 back
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 9d 7d 0 0 10 0
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:29,0
(cd1:ncr0:0:6:0): Power on, reset, or bus device reset occurred
cddone: got error 0x6 back
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:28,0
(cd1:ncr0:0:6:0): Not ready to ready change, medium may have changed
cddone: got error 0x6 back

	this is what comes up after cdrecord successfully writes a CD, and
then I try to mount it to look at it.  I know the CD was successfully
written cause if I take teh same one that causes the errors above and move
it to one of my other CD readers, it mounts fine, and I can access all the
files on it at will.

	I've successfully written 3 CDs since booting up in my current
configuration, and have just blown my 4th, but I think that is from trying
ot do too many other things at the same time...will try a 5th while
leaving the system idle, and will report on that as a followup...

	I saw oen posting back about chip-set's and overloaded buses and
whatnot...the problem I have is that before I moved this system over to
CAM, the NCR controller worked fine, it is only since moving to the CAM
drivers that I've had problems...

	...let me know if there is anythign else I can provide or try...

Thanks...

 Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 

[-- Attachment #2 --]
bled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary slave sample = 3, slave recovery = 3
intel_piix_status: primary slave fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
ide_pci: busmaster 0 status: 04 from port: 0000f002
intel_piix_status: secondary master sample = 5, master recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
intel_piix_status: secondary slave sample = 5, slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000f00a
found->	vendor=0x1000, dev=0x0001, revid=0x02
	class=01-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	map[0]: type 4, range 32, base 00006100, size  8
	map[1]: type 1, range 32, base e0800000, size  8
ncr0: <ncr 53c810 fast10 scsi> rev 0x02 int a irq 11 on pci0.8.0
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
found->	vendor=0x10b7, dev=0x5900, revid=0x00
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=10
	map[0]: type 4, range 32, base 00006200, size  5
vx0: <3COM 3C590 Etherlink III PCI> rev 0x00 int a irq 10 on pci0.10.0
utp[*utp*]: disable 'auto select' with DOS util! address 00:20:af:f7:8f:d2
bpf: vx0 attached
Warning! Defective early revision adapter!
found->	vendor=0x1002, dev=0x4758, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	map[0]: type 1, range 32, base e0000000, size 23
vga0: <ATI Mach64-GX graphics accelerator> rev 0x00 on pci0.11.0
Probing for PnP devices:
Trying Read_Port at 203
Trying Read_Port at 243
CSN 1 Vendor ID: CTL00c1 [0xc1008c0e] Serial 0x024b552f
Called nullpnp_probe with tag 0x00000001, type 0xc1008c0e
port 0x0220 0x0300 0x0388 0x0000 irq 9:0 drq 3:7 en 1
port 0x0220 0x0300 0x0388 0x0000 irq 9:0 drq 3:7 en 1
pcm1 (SB16pnp <SB16 PnP> sn 0x024b552f) at 0x220-0x22f irq 9 drq 3 flags 0x17 on isa
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0047
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0: keyboard device ID: ab41
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: irq maps: 0x1 0x81 0x1 0x1
sio2 at 0x3e8-0x3ef irq 7 on isa
sio2: type 16550A
mss_probe: no address supplied, try default 0x530
mss_detect error, busy still set (0xff)
sb_probe: no address supplied, try defaults (0x220,0x240)
device at 0x220 already attached as unit 1
pcm0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC22500L>
wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007
wdc0: unit 1 (atapi): <ACER CD-910E/JAS/13N>, removable, dma, iordy
wcd0: 687Kb/sec, 240Kb cache, audio play, 2 volume levels, ejectable tray
wcd0: 80mm data disc loaded, unlocked
wdc1 not found at 0x170
scd0 not found at 0x230
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 161368404 bytes/sec
bzero() bandwidth = 85171620 bytes/sec
imasks: bio c0084040, tty c003029a, net c0060400
BIOS Geometries:
 0:03f0413f 0..1008=1009 cylinders, 0..65=66 heads, 1..63=63 sectors
 1:03f6073b 0..1014=1015 cylinders, 0..7=8 heads, 1..59=59 sectors
 2:026a7f3f 0..618=619 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
Intel Pentium F00F detected, installing workaround
bpf: tun0 attached
bpf: lo0 attached
ncr0: restart (scsi reset).
(probe6:ncr0:0:6:0): COMMAND FAILED (6 ff) @f0a0ba00.
(probe5:ncr0:0:5:0): COMMAND FAILED (6 ff) @f0a0a000.
(probe4:ncr0:0:4:0): COMMAND FAILED (6 ff) @f0a0a600.
(probe3:ncr0:0:3:0): COMMAND FAILED (6 ff) @f0a0ac00.
(probe2:ncr0:0:2:0): COMMAND FAILED (6 ff) @f0a08200.
(probe1:ncr0:0:1:0): COMMAND FAILED (6 ff) @f0a08800.
(probe0:ncr0:0:0:0): COMMAND FAILED (6 ff) @f0a08e00.
pass0 at ncr0 bus 0 target 0 lun 0
pass0: <SEAGATE ST32151N 0284> Fixed Direct Access SCSI2 device 
pass0: Serial Number 000481490RTNRX
pass0: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled
pass1 at ncr0 bus 0 target 1 lun 0
pass1: <QUANTUM LP240S GM240S01X 6.4> Fixed Direct Access SCSI2 device 
pass1: 10.0MB/s transfers (10.0MHz, offset 8)
pass2 at ncr0 bus 0 target 3 lun 0
pass2: <SONY CD-ROM CDU625 1.0r> Removable CD-ROM SCSI2 device 
pass2: 10.0MB/s transfers (10.0MHz, offset 8)
pass3 at ncr0 bus 0 target 6 lun 0
pass3: <YAMAHA CRW2260 1.0f> Removable CD-ROM SCSI2 device 
pass3: 3.300MB/s transfers
da1 at ncr0 bus 0 target 1 lun 0
da1: <QUANTUM LP240S GM240S01X 6.4> Fixed Direct Access SCSI2 device 
da1: 10.0MB/s transfers (10.0MHz, offset 8)
da1: 234MB (479350 512 byte sectors: 64H 32S/T 234C)
da0 at ncr0 bus 0 target 0 lun 0
da0: <SEAGATE ST32151N 0284> Fixed Direct Access SCSI2 device 
da0: Serial Number 000481490RTNRX
da0: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled
da0: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C)
cd0 at ncr0 bus 0 target 3 lun 0
cd0: <SONY CD-ROM CDU625 1.0r> Removable CD-ROM SCSI2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 8)
cd0: cd present [318659 x 2048 byte records]
Considering FFS root f/s.
changing root device to da0s1a
da0s1: type 0xa5, start 0, end = 4197404, size 4197405 
da0s1: C/H/S end 261/70/30 (558059) != end 4197404: invalid
da1s1: type 0xa5, start 0, end = 479349, size 479350 : OK
wd0s1: type 0x6, start 63, end = 2096639, size 2096577 : OK
wd0s2: type 0xa5, start 2096640, end = 4999679, size 2903040 : OK
da1s1: type 0xa5, start 0, end = 479349, size 479350 : OK
wd0s1: type 0x6, start 63, end = 2096639, size 2096577 : OK
wd0s2: type 0xa5, start 2096640, end = 4999679, size 2903040 : OK
arplookup 172.22.40.16 failed: host is not on local network
cd1 at ncr0 bus 0 target 6 lun 0
cd1: <YAMAHA CRW2260 1.0f> Removable CD-ROM SCSI2 device 
cd1: 3.300MB/s transfers
cd1: cd present [1 x 2048 byte records]
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0 
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:29,0
(cd1:ncr0:0:6:0): Power on, reset, or bus device reset occurred
cddone: got error 0x6 back
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0 
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:28,0
(cd1:ncr0:0:6:0): Not ready to ready change, medium may have changed
cddone: got error 0x6 back
arplookup 172.22.40.16 failed: host is not on local network
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 9d 7d 0 0 10 0 
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:29,0
(cd1:ncr0:0:6:0): Power on, reset, or bus device reset occurred
cddone: got error 0x6 back
(cd1:ncr0:0:6:0): READ(10). CDB: 28 0 0 0 0 27 0 0 1 0 
(cd1:ncr0:0:6:0): UNIT ATTENTION asc:28,0
(cd1:ncr0:0:6:0): Not ready to ready change, medium may have changed
cddone: got error 0x6 back
arplookup 172.22.40.16 failed: host is not on local network

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9808112232220.487-200000>