From owner-freebsd-questions Wed Dec 27 04:12:18 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA20683 for questions-outgoing; Wed, 27 Dec 1995 04:12:18 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA20678 for ; Wed, 27 Dec 1995 04:12:10 -0800 (PST) Received: by Sysiphos id AA11786 (5.67b/IDA-1.5 for questions@freebsd.org); Wed, 27 Dec 1995 13:08:19 +0100 Message-Id: <199512271208.AA11786@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Wed, 27 Dec 1995 13:08:19 +0100 In-Reply-To: Alex Kluev "" (Dec 23, 12:37) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Alex Kluev Cc: questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk On Dec 23, 12:37, Alex Kluev wrote: } Subject: } Subject: Adaptec 294x problem } Newsgroups: comp.unix.bsd.freebsd.misc } Organization: Tver Universal Bank, TeleCom Division. } Summary: } Keywords: } } 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. Sorry for the late reply! I'll try to get you going ... 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 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 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