Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 1995 12:45:51 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        tom@haven.uniserve.com (Tom Samplonius)
Cc:        hackers@FreeBSD.org
Subject:   Re: Buslogic?
Message-ID:  <199504251945.MAA10651@gndrsh.aac.dev.com>
In-Reply-To: <Pine.BSF.3.91.950425112844.8491A-100000@haven.uniserve.com> from "Tom Samplonius" at Apr 25, 95 11:33:16 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
>   I recently picked up a Buslogic 946C, but I found that performance is 
> very poor.  Any tips on improving performance under FreeBSD?
> 
>   I'm confused by the fact that is says "async only".  The manual 
> indicates that is can do synchronous transfers, and the disk info option in
> AutoSCSI says that all the disks support synchronous transfer.  Sync 
> negotiation and fast SCSI have been enabled as well.  Is this a 
> limitation of the driver?

No, something is not set right on that card.  I am using an older version
of the BIOS but below where it reports ``async only'' by card reports
sync.  The card is telling FreeBSD that it is in async only mode:

line 1317 of sys/i386/isa/bt742.c:
	/*
	 * Obtain setup information from board.
	 */
	bt_cmd(unit, 1, sizeof(setup), 0, &setup, BT_SETUP_GET, sizeof(setup));

	if (setup.sync_neg && info->s.sync ) {
		if ( info->s.maxsync ) {
			printf("fast sync, ");	/* Max 10MB/s */
		} else {
			printf("sync, ");	/* Max 5MB/s */
		}
	} else {
		if ( info->s.sync ) {
			printf("async, ");	/* Never try by board */
		} else {
			printf("async only, "); /* Doesn't has a capability on board */
		}
	}
> 
> 
> bt0: Bt946C/ 0-PCI/EISA/VLB(32bit) bus
> bt0: reading board settings, busmastering, int=11
> bt0: version 4.25J, async only, parity, 32 mbxs, 32 ccbs

                      ^^^^^^^^^^ card is not in sync mode :-(
> bt0: targ 0 async
> bt0: targ 1 async
> bt0: targ 2 async
> bt0: Enabling Round robin scheme
> bt0 at 0xe800 irq 11 on eisa slot 14
> bt0 waiting for scsi devices to settle
> (bt0:0:0): "DEC DSP3210S X442" is a type 0 fixed SCSI 2
> sd0(bt0:0:0): Direct-Access 2049MB (4197520 512 byte sectors)
> (bt0:1:0): "DEC DSP3210S X442" is a type 0 fixed SCSI 2
> sd1(bt0:1:0): Direct-Access 2049MB (4197520 512 byte sectors)
> (bt0:2:0): "DEC DSP3210S X442" is a type 0 fixed SCSI 2
> sd2(bt0:2:0): Direct-Access 2049MB (4197520 512 byte sectors)
> 
> .
> .
> 
> pci0:5: INTEL CORPORATION, device=0x486, class=old [not supported]
> pci0:9: vendor=0x104b, device=0x1040, class=storage [not supported]
>  	map(10): io(e800)
> 
> 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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