Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 1995 21:49:46 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        gibbs@freefall.FreeBSD.org (Justin T. Gibbs)
Cc:        hackers@freebsd.org
Subject:   Re: Help! :-( (fwd)
Message-ID:  <199509120249.VAA18581@brasil.moneng.mei.com>
In-Reply-To: <199508301704.KAA12780@freefall.FreeBSD.org> from "Justin T. Gibbs" at Aug 30, 95 10:04:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
More on the continuing saga of trying to use *two* Adaptec 3940 twin channel
controllers in the same system.  Having not had a chance to go on-site in
about two weeks, my attempts to get this up and running were very limited
in scope until tonight.

The motherboard, an ASUS um.  Argh.  >:-(  P54TP4?  One of Rod Grimes' jobs.
Should be reasonable.

This is looking like it may well be a configuration problem, but I don't
really have a clue.  I did some minimal debugging and tracing but it's not
clear to me how it's all supposed to work together.

It appears that getintdescbytag is getting called with the same values for
ahc0/ahc2 and ahc1/ahc3.  I couldn't really make a lot of sense quickly out
of what was causing that, however, and I believe it is only a symptom of
something else that hasn't happened for that second controller.

Anyways, kudos to Bill Paul(?) for his serial console work.  It makes it
very easy to catch messages.  I have added a few of my own for debugging,
and made a few others a little more specific.  None of the meanings have
been changed however.

If anybody who is familiar with this code can give me a suggestion about
what to try next, I would be grateful.

(and yes I know it's wicked to print pointers with %d)

|/-\|/-Booting sd(0,a)/kernel @ 0x100000
text=0xe4000 data=0xe000 bss=0x151b8 symbols=[+0xe48+0x4+0xdf68+0x4+0xe883] total=0x2247f3 entry point=0x100000
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.1-STABLE #1: Mon Sep 11 15:24:17 CDT 1995
    root@dp2.execpc.com:/usr/src/sys/compile/DAILY_PLANET
CPU: 99-MHz Pentium 735\90 or 815\100 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
real memory  = 66715648 (16288 pages)
avail memory = 62902272 (15357 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: MDA/hercules <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
ed1 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
ahb0 not found
aha0 not found at 0x330
aic0 not found at 0x340
nca0 not found at 0x1f88
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
mcd1: timeout getting status
mcd1 not found at 0x340
matcdc0 not found at 0xffffffff
scd0 not found at 0x230
ie0 not found at 0x360
ep0 not found at 0x300
ix0 not found at 0x300
le0: no board found at 0x300
le0 not found at 0x300
lnc0 not found at 0x280
lnc1 not found at 0x300
ze0 not found at 0x300
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
Probing for devices on the pci0 bus:
	configuration mode 1 allows 32 devices.
chip0 <CPU-PCI bridge> rev 1 on pci0:0
chip1 <PCI-ISA bridge> rev 2 on pci0:7
de0 <Digital DC21040 Ethernet> rev 35 int a irq 10 on pci0:9
	reg20: virtual=0xf6639000 physical=0xfbdff000 size=0x80
de0: DC21040 [10Mb/s] pass 2.3 Ethernet address 00:80:48:e8:1f:ec
de0: enabling Thinwire/AUI port
bpf: de0 attached
PCI.C: getintdescbytag(10, -2147465216) not found, this is ok!
de1 <Digital DC21040 Ethernet> rev 35 int a irq 11 on pci0:10
de1: not configured; kernel is built for only 1 device.
chip2 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:11
	bridge from pci0 to pci1 through 1.
	mapping regs: io:2280d0d0 mem:fbc0fbc0 pmem:fbf0fbf0chip3 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:12
	bridge from pci0 to pci1 through 1.
	mapping regs: io:3280c0c0 mem:fbb0fbb0 pmem:fbe0fbe0pci0: uses 256 bytes of memory from fbb00000 upto fbffffff.
pci0: uses 256 bytes of I/O space from c000 upto e47f.
pci0: subordinate busses from 1 upto 1.
Probing for devices on the pci1 bus:
ahc0 <Adaptec 3940 SCSI host adapter> rev 0 int a irq 15 on pci1:4
	[pci1 uses memory from fbc00000 to fbcfffff]
ahc0: reading board settings
ahc0: Reading SEEPROM...done.
ahc0: 3940 Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc0: Downloading Sequencer Program...Done
PCI.C: getintdescbytag(15, -2147409920) not found, this is ok!
ahc0: Probing channel A
ahc0 waiting for scsi devices to settle
ahc0: SCB_ACTIVE set ahc->numscbs=0
ahc0: target 0 synchronous at 10.0MB/s, offset = 0xf
(ahc0:0:0): "SEAGATE ST12550N 0014" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2040MB (4178874 512 byte sectors)
ahc1 <Adaptec 3940 SCSI host adapter> rev 0 int a irq 11 on pci1:5
	[pci1 uses memory from fbc00000 to fbcfffff]
ahc1: reading board settings
ahc1: Reading SEEPROM...done.
ahc1: 3940 Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc1: Downloading Sequencer Program...Done
PCI.C: getintdescbytag(11, -2147407872) not found, this is ok!
ahc1: Probing channel A
ahc1 waiting for scsi devices to settle
ahc1: SCB_ACTIVE set ahc->numscbs=0
ahc1: target 0 synchronous at 10.0MB/s, offset = 0xf
(ahc1:0:0): "MICROP 3243-19MZ  Q4D HT02" type 0 fixed SCSI 2
sd10(ahc1:0:0): Direct-Access 4095MB (8388315 512 byte sectors)
pci1: uses 8192 bytes of memory from fbcfe000 upto fbcfffff.
pci1: uses 512 bytes of I/O space from d400 upto d8ff.
Probing for devices on the pci1 bus:
ahc2 <Adaptec 3940 SCSI host adapter> rev 0 int a irq 15 on pci1:4
	[pci1 uses memory from fbb00000 to fbbfffff]
ahc2: reading board settings
ahc2: Reading SEEPROM...done.
ahc2: 3940 Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc2: Downloading Sequencer Program...Done
PCI.C: getintdescbytag(15, -2147409920) succeeded, unmapping!!!!!!!!!!!
	irq 15 handler 0xf01e106c(0x0) unmapped for pci 80012000 after 0 ints.
ahc2: Probing channel A
ahc2 waiting for scsi devices to settle
ahc2: SCB_ACTIVE set ahc->numscbs=0
ahc2: target 0 synchronous at 10.0MB/s, offset = 0xf
(ahc2:0:0): "SEAGATE ST12550N 0014" type 0 fixed SCSI 2
sd20(ahc2:0:0): Direct-Access 2040MB (4178874 512 byte sectors)
ahc3 <Adaptec 3940 SCSI host adapter> rev 0 int a irq 11 on pci1:5
	[pci1 uses memory from fbb00000 to fbbfffff]
ahc3: reading board settings
ahc3: Reading SEEPROM...done.
ahc3: 3940 Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc3: Downloading Sequencer Program...Done
PCI.C: getintdescbytag(11, -2147407872) succeeded, unmapping!!!!!!!!!!!
	irq 11 handler 0xf01e106c(0x1) unmapped for pci 80012800 after 0 ints.
ahc3: Probing channel A
ahc3 waiting for scsi devices to settle
ahc3: SCB_ACTIVE set ahc->numscbs=0
ahc3: target 0 synchronous at 10.0MB/s, offset = 0xf
(ahc3:0:0): "MICROP 3243-19MZ  Q4D HT02" type 0 fixed SCSI 2
sd30(ahc3:0:0): Direct-Access 4095MB (8388315 512 byte sectors)
pci1: uses 8192 bytes of memory from fbcfe000 upto fbcfffff.
pci1: uses 512 bytes of I/O space from d400 upto d8ff.
changing root device to sd0a
bpf: lo0 attached
bpf: ppp0 attached
bpf: sl0 attached
bpf: tun0 attached
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x8a scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)
ahc2: ahcintr - referenced scb NOT ACTIVE during scsiint 0x88 scb(0)

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847



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