*BSD News Article 58234


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!news.dfn.de!RRZ.Uni-Koeln.DE!zpr.uni-koeln.de!se
From: se@ZPR.Uni-Koeln.DE (Stefan Esser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Adaptec AHA-2940 and 2.1 problem
Date: 27 Dec 1995 17:47:24 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Lines: 58
Sender: se@Sysiphos (Stefan Esser)
Message-ID: <4bs0rc$m5l@news.rrz.uni-koeln.de>
References: <4bf691$j2t@hobbit.tubank.msk.su>
NNTP-Posting-Host: sysiphos.mi.uni-koeln.de
Keywords: adaptec, freebsd

} Hi!
} 
} I've got a weird problem. We have two Compaq boxes (OK, it wasn't my idea to
} buy those so please no flames ;). One 486DX4/100 ISA/PCI, another Pentium 90
} EISA/PCI. The Pentium one comes with integrated PCI SCSI compatible with
} itself and a Netflex Ethernet, also compatible with itself. The 4/100 box
} have an on-board PCI Cyrus Logic video board.
} 
} All of these may look very exiting, but also I have two AHA-2940 PCI SCSI
} host adapter and some fast SCSI disks that I want to use for FreeBSD 2.1. The
} problem is as follows :
} 
} When inserted in the 4/100 box, the 2940 is claiming that it detects the disks
} and installs the bios. If the disk have a DOS partition, it will boot with
} no problems, and show ~2Mb/s transfer rates. The same aplies to the P90 box
} (if the on-board SCSI is switched off with ECU). But the FreeBSD 2.1'w floppy
} kernel won't detect the adapter on both machines.
} 
} 
} I took a look in the kernel code, but lacking PCI programming expirience, it's
} a hell of a job to understand why it's not working. 

Please send VERBOSE boot messages (obtained 
by '-v' entered at the 'Boot: ' prompt), at
least of the PCI probe:

pcibus_setup(1):	mode 1 addr port (0x0cf8) is 0x00000000
pcibus_setup(1a):	mode1res=0x00000000 (0x80000000)
pcibus_setup(1b):	mode1res=0x00000000 (0xff000001)
pcibus_setup(2):	mode 2 enable port (0x0cf8) is 0x00
pcibus_setup(2a):	mode2res=0x0e (0x0e)
pcibus_setup(2a):	now trying mechanism 2
pcibus_check:	device 0 is there (id=04838086)
Probing for devices on the PCI bus:
	configuration mode 2 allows 16 devices.
chip0 <Intel 82424ZX (Saturn) cache DRAM controller> rev 4 on pci0:0
	CPU: 486DX2 or 486DX4, bus=33MHz, CPU->Memory posting ON
	Warning: NO cache parity! NO DRAM parity!
	Cache: 256KB writethrough, cache clocks=2-1-1-1
	DRAM: page mode code fetch, read and write, memory clocks=X-1-2-1
	CPU->PCI: posting ON, burst mode ON
	PCI->Memory: posting ON
ncr0 <ncr 53c810 scsi> rev 1 int a irq 9 on pci0:1
	mapreg[10] type=1 addr=0000e800 size=0100.
	mapreg[14] type=0 addr=fbfef000 size=0100.
	reg20: virtual=0xf2cfa000 physical=0xfbfef000 size=0x100

I need the contents (at least ALL numbers) 
of all lines starting with pcibus_setup() or 
pcibus_check. And additionally lines like
those for chip0 or ncr0 above ...

Regards, STefan
-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>