*BSD News Article 81514


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!cpk-news-hub1.bbnplanet.com!newsfeed.internetmci.com!in2.uu.net!nntp.inet.fi!news.funet.fi!nntp.hut.fi!not-for-mail
From: kja2@cc.hut.fi (Kari T Jokiranta)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with NCR 53c810 PCI SCSI
Date: 24 Oct 1996 15:08:44 GMT
Organization: Helsinki University of Technology
Lines: 229
Distribution: inet
Message-ID: <54o0ps$72n@nntp.hut.fi>
References: <54g4g0$t45@nntp.hut.fi>
NNTP-Posting-Host: lk-hp-30.hut.fi
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Thanks to Carl Dietz <dietz@max> and Brian Somers 
<brian@anorak.coverform.lan> for suggesting solution for my 
problem. However, the problem still exists.

I checked the terminations, they are OK. 
I also checked that the card is firmly in place.

What wonders me is that BIOS always finds the disks, as does the
dos drivers that came with the PCI card.
I also tried Linux 2.0 bootdisk with NCR support several times,
and it booted OK every time.

I noticed that if I let the disks spin for 10-15 minutes before
I boot FreeBSD, the problem disappears. Seems like the NCR driver
doesn't like to coldboot my computer?

I include here some of the error messages as well as the messages when 
it boots normally, so someone who's interested can take a look at them..

I booted FreeBSD with option -v, so the listings are long.

-- dmesg when fail ----------------------------------------
-- (I wonder where the beginning of the messages has disappeared.
--  Is there a limit in /dev/klog?). 

a 00 00 13 47 00 05 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:5:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 05 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:5:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 05 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:5:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
ncr0: aborting job ...
ncr0:0: ERROR (90:0) (0-21-b8) (0/13) @ (418:43000060).
	script cmd = 878b0000
	reg:	 da 00 00 13 47 00 06 1f 31 00 00 21 80 01 00 02.
ncr0: restart (fatal error).
(ncr0:6:0): COMMAND FAILED (9 ff) @f0ab394c.
pci0: uses 256 bytes of memory from fbff0000 upto fbff00ff.
pci0: uses 256 bytes of I/O space from e800 upto e8ff.
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 not found at 0x3f8
sio1 not found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 flags 0x1 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM LPS270A>
wd0: 258MB (528640 sectors), 944 cyls, 14 heads, 40 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM LPS540A>
wd1: 516MB (1057280 sectors), 1120 cyls, 16 heads, 59 S/T, 512 B/S
wdc1: disabled, not probed.
aha0: disabled, not probed.
wt0 at 0x338-0x339 irq 9 drq 3 on isa
wt0: type <Wangtek>
matcd - Matsushita (Panasonic) CD-ROM Driver by FDIV, Version  1(26) 18-Oct-95
matcdc0 at 0x230-0x233 on isa
matcdc0 Host interface type 0
matcd0: [CR-5630.80]  
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.11>
sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.11>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
Device configuration finished.
Considering FFS root f/s.
Configuring root and swap devs.
configure() finished.
BIOS Geometries:
 0:03ae0d28 0..942=943 cylinders, 0..13=14 heads, 1..40=40 sectors
 1:03fe0f3b 0..1022=1023 cylinders, 0..15=16 heads, 1..59=59 sectors
 2:03ff063b 0..1023=1024 cylinders, 0..6=7 heads, 1..59=59 sectors
 3:02073f20 0..519=520 cylinders, 0..63=64 heads, 1..32=32 sectors
 4:03ff0e22 0..1023=1024 cylinders, 0..14=15 heads, 1..34=34 sectors
 0 accounted for
wd0s1: type 0x6, start 40, end = 471519, size 471480 : OK
wd0s2: type 0xa5, start 471520, end = 528639, size 57120 : OK
ncr0: restart (ncr dead ?).
sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
sd0(ncr0:0:0): 200ns (5 Mb/sec) offset 7.
sd0(ncr0:0:0): UNIT ATTENTION asc:29,0
sd0(ncr0:0:0):  Power on, reset, or bus device reset occurred
, retries:2
sd0s1: type 0xa5, start 52, end = 422863, size 422812 : OK

-- dmesg when success ------------------------------------

FreeBSD 2.1.5-RELEASE #0: Tue Oct 22 01:06:32 EET DST 1996
    root@merkkari.inkkari.sini:/usr/src/sys/compile/ASUSTEK
CPU: i486DX (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4
real memory  = 33554432 (32768K bytes)
avail memory = 30654464 (29936K bytes)
pcibus_setup(1):	mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e)
pcibus_setup(2):	mode1res=0x80000000 (0x80000000)
pcibus_check:	device 0 1 2 3 4 5 is there (id=04961039)
Probing for devices on PCI bus 0:
	configuration mode 1 allows 32 devices.
chip0 <SiS 85c496> rev 49 on pci0:5
ncr0 <ncr 53c810 scsi> rev 17 int a irq 11 on pci0:12
	mapreg[10] type=1 addr=0000e800 size=0100.
	mapreg[14] type=0 addr=fbff0000 size=0100.
	reg20: virtual=0xf4dda000 physical=0xfbff0000 size=0x100
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 (V2 pl23 95/09/07)
ncr0 waiting for scsi devices to settle
(ncr0:0:0): 200ns (5 Mb/sec) offset 7.
(ncr0:0:0): "IBM WDS-3200      !J S550" type 0 fixed SCSI 2
sd0(ncr0:0:0): Direct-Access 206MB (422912 512 byte sectors)
sd0(ncr0:0:0): with 2010 cyls, 4 heads, and an average 52 sectors/track
(ncr0:1:0): "IBM MXT-540SL     !N JA6I" type 0 fixed SCSI 2
sd1(ncr0:1:0): Direct-Access 
sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
520MB (1065912 512 byte sectors)
sd1(ncr0:1:0): with 2234 cyls, 7 heads, and an average 68 sectors/track
(ncr0:2:0): "MICROP 1578-15 19U0" type 0 fixed SCSI 1
sd2(ncr0:2:0): Direct-Access 312MB (639450 512 byte sectors)
sd2(ncr0:2:0): with 1224 cyls, 15 heads, and an average 34 sectors/track
pci0: uses 256 bytes of memory from fbff0000 upto fbff00ff.
pci0: uses 256 bytes of I/O space from e800 upto e8ff.
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 flags 0x1 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM LPS270A>
wd0: 258MB (528640 sectors), 944 cyls, 14 heads, 40 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM LPS540A>
wd1: 516MB (1057280 sectors), 1120 cyls, 16 heads, 59 S/T, 512 B/S
wdc1: disabled, not probed.
aha0: disabled, not probed.
wt0 at 0x338-0x339 irq 9 drq 3 on isa
wt0: type <Wangtek>
matcd - Matsushita (Panasonic) CD-ROM Driver by FDIV, Version  1(26) 18-Oct-95
matcdc0 at 0x230-0x233 on isa
matcdc0 Host interface type 0
matcd0: [CR-5630.80]  
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.11>
sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.11>
sbmidi0 not found at 0x330
Device configuration finished.
Considering FFS root f/s.
Configuring root and swap devs.
configure() finished.
BIOS Geometries:
 0:03ae0d28 0..942=943 cylinders, 0..13=14 heads, 1..40=40 sectors
 1:03fe0f3b 0..1022=1023 cylinders, 0..15=16 heads, 1..59=59 sectors
 2:03ff063b 0..1023=1024 cylinders, 0..6=7 heads, 1..59=59 sectors
 3:02073f20 0..519=520 cylinders, 0..63=64 heads, 1..32=32 sectors
 4:03ff0e22 0..1023=1024 cylinders, 0..14=15 heads, 1..34=34 sectors
 0 accounted for
wd0s1: type 0x6, start 40, end = 471519, size 471480 : OK
wd0s2: type 0xa5, start 471520, end = 528639, size 57120 : OK
sd1s1: type 0xa5, start 32, end = 1064959, size 1064928 : OK
sd0s1: type 0xa5, start 52, end = 422863, size 422812 : OK
sd2s1: type 0xa5, start 34, end = 409529, size 409496 : OK
sd2s2: type 0x82, start 409530, end = 474809, size 65280 : OK
sd2s3: type 0x83, start 474810, end = 639029, size 164220 : OK
sd0s1: type 0xa5, start 52, end = 422863, size 422812 : OK
sd2s1: type 0xa5, start 34, end = 409529, size 409496 : OK
sd2s2: type 0x82, start 409530, end = 474809, size 65280 : OK
sd2s3: type 0x83, start 474810, end = 639029, size 164220 : OK
wd1s1: type 0x6, start 59, end = 941167, size 941109 : OK
wd1s2: type 0xa5, start 941168, end = 1057279, size 116112 : OK

-- 
Kari Jokiranta			Email: Kari.Jokiranta@hut.fi