Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 02:58:36 +0930 (CST)
From:      Peter Childs <pjchilds@imforei.apana.org.au>
To:        se@zpr.uni-koeln.de (Stefan Esser)
Cc:        pjchilds@imforei.apana.org.au, msmith@atrad.adelaide.edu.au, freebsd-hardware@freebsd.org
Subject:   Re: ASUS SC200 SCSI card?
Message-ID:  <199608221728.CAA00592@al.imforei.apana.org.au>
In-Reply-To: <199608212019.WAA07179@x14.mi.uni-koeln.de> from Stefan Esser at "Aug 21, 96 10:19:26 pm"

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

[ Discussion about hangs on 2.1.5-stable machine with dual ASUS SC200
  NCR810 PCI scsi controllers follows... may be dangerous to
  mental health ]

Stefan Esser wrote...
>  >  So this means that with multiple SC200 cards they can all be set on
>  >  INTA ??   If so are there any pros/cons to doing this?
> 
> In fact they all SHOULD be set to Int A !

 Ok.. the second NCR was set to INT B... i've put them both on A
 now.

>  >  I've got two in my machine, one driving a Fujitsu 230mb MO device under
>  >  2.1.5-stable, and just recently i've been having some disturbing hangs
>  >  that feel like SCSI bus hangs whilst accessing the MO :(
> 
> Please send me some details (from /var/log/messages). I need
> at least the complete boot message log (preferably from a 
> boot with "-v" for more verbose probe output) and the error
> message when the SCSI command was aborted.

 Nothing gets into /var/log/message when it dies... I've taken the following
 action (one crash after the next)

 1. INT B -> INT A on the second card.
 2. PCI latency was set to 80... Michael Smith suggested it be lower than
    32 to i've moved it to 20.
 3. Grabbed a fresh 2.1.5-stable kernel (i follow -stable, but my kernel
    tree had ipfilter stuff in it...)
 4. Removed the
      options        OD_BOGUS_NOT_READY
    line from my config.
 
 It feels fine when i'm not accessing the MO drive.. but i did a 
 "make clean" on my -stable tree... which is on the second scsi bus,
 did a "bad144 -s /dev/rod0" on the MO disk (also second scsi bus),
 and started thrashing tin.. (newsspools on the first scsi - old
 disk)...   this all ran fine for a good 10 minutes... then suddenly..
 bang..   locked solid.

 I'll include the "-v" boot here.. and hope i don't annoy to many 
 people with its size :)

 I think when i get back after the weekend i'll pull one of the SCSI
 controllers out, and see how i go thrashing all the devices.  Its a 
 real pain not being able to depend on this machine, esp. the MO
 disk (it always crashes before i can get a backup finished :)

FreeBSD 2.1.5-STABLE #0: Fri Aug 23 11:56:26 CST 1996
    root@:/disk2/kernel/sys/compile/AL_1.8
CPU: i486DX (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x494
real memory  = 67108864 (65536K bytes)
avail memory = 64106496 (62604K 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 15 on pci0:11
        mapreg[10] type=1 addr=0000e800 size=0100.
        mapreg[14] type=0 addr=fbff0000 size=0100.
        reg20: virtual=0xf546f000 physical=0xfbff0000 size=0x100
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 (V2 pl23 95/09/07)
Choosing drivers for scbus configured at 0
(ncr0:1:0): "QUANTUM FIREBALL1080S 1Q09" type 0 fixed SCSI 2
sd is configured at 0
sd0(ncr0:1:0): Direct-Access 
sd0(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
1042MB (2134305 512 byte sectors)
sd0(ncr0:1:0): with 3835 cyls, 4 heads, and an average 139 sectors/track
(ncr0:5:0): "MICROP 1684-07MB1057403 HSP4" type 0 fixed SCSI 1
sd is configured at 3
sd3(ncr0:5:0): Direct-Access 323MB (663476 512 byte sectors)
sd3(ncr0:5:0): with 1780 cyls, 7 heads, and an average 53 sectors/track
ncr1 <ncr 53c810 scsi> rev 1 int a irq 14 on pci0:12
        mapreg[10] type=1 addr=0000e400 size=0100.
        mapreg[14] type=0 addr=fbfe0000 size=0100.
        reg20: virtual=0xf5472000 physical=0xfbfe0000 size=0x100
ncr1: restart (scsi reset).
ncr1 scanning for targets 0..6 (V2 pl23 95/09/07)
(ncr1:3:0): "SEAGATE ST51080N 0943" type 0 fixed SCSI 2
sd is configured at 4
sd4(ncr1:3:0): Direct-Access 
sd4(ncr1:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
1030MB (2109840 512 byte sectors)
sd4(ncr1:3:0): with 4826 cyls, 4 heads, and an average 109 sectors/track
(ncr1:6:0): "FUJITSU M2512A 1507" type 7 removable SCSI 2
od is configured at 0
od0(ncr1:6:0): Optical 
od0(ncr1:6:0): 200ns (5 Mb/sec) offset 8.
217MB (446325 512 byte sectors)
od0(ncr1:6:0): with approximate 217 cyls, 64 heads, and 32 sectors/track
pci0: uses 512 bytes of memory from fbfe0000 upto fbff00ff.
pci0: uses 512 bytes of I/O space from e400 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>
ed0 at 0x300-0x31f irq 10 on isa
ed0: address 00:00:21:41:58:58, type NE2000 (16 bit) 
bpf: ed0 attached
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 on isa
matcd - Matsushita (Panasonic) CD-ROM Driver by FDIV, Version  1(26) 18-Oct-95
matcdc0 at 0x360-0x363 on isa
matcdc0 Host interface type 1
matcd0: [CR-5620.76]  
npx0 on motherboard
npx0: INT 16 interface
gus0 at 0x220 irq 12 drq 1 on isa
gus0: <Gravis UltraSound MAX (512k)>gus0: <GUS MAX (CS4231)>
Device configuration finished.
Considering FFS root f/s.
Configuring root and swap devs.
configure() finished.
BIOS Geometries:
 0:03f3213e 0..1011=1012 cylinders, 0..33=34 heads, 1..62=62 sectors
 1:03fd0a3b 0..1021=1022 cylinders, 0..10=11 heads, 1..59=59 sectors
 0 accounted for
bpf: lo0 attached
bpf: sl0 attached
bpf: sl1 attached
bpf: sl2 attached
bpf: tun0 attached
bpf: tun1 attached
bpf: tun2 attached
IP firewall initialized, logging disabled
sd3s1: type 0xa5, start 0, end = 663475, size 663476 
sd3s1: C/H/S end 323/61/20 (401759) != end 663475: invalid
sd4s1: type 0xa5, start 45, end = 2109779, size 2109735 : OK
sd3s1: type 0xa5, start 0, end = 663475, size 663476 
sd3s1: C/H/S end 323/61/20 (401759) != end 663475: invalid
sd4s1: type 0xa5, start 45, end = 2109779, size 2109735 : OK

 Relevant(??) bits of my kernel config as follows...

controller      pci0
controller      ncr0

controller scbus0 at ncr0
controller scbus1

disk    sd0     at scbus0 target 1
disk    sd4     at scbus1 target 3
disk    sd3     at scbus0 target 5
device  od0     at scbus1 target 6

#options        OD_BOGUS_NOT_READY

 Regards,
   Peter

--
 Peter Childs  ---  http://www.imforei.apana.org.au/~pjchilds
  Finger pjchilds@al.imforei.apana.org.au for public PGP key



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