From <@takthq.lipetsk.su,@techinc.uucp:kng@techincom.lipetsk.su>  Thu Nov 14 23:47:44 1996
Received: from takthq.lipetsk.su (takthq.lipetsk.su [193.232.237.17])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id XAA22981
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 1996 23:47:38 -0800 (PST)
Received: from techinc by takthq.lipetsk.su with UUCP id KAA07267
  (8.6.10 for FreeBSD-gnats-submit@freebsd.org); Fri, 15 Nov 1996 10:41:06 +0300
Received: (from kng@localhost) by ghost.techincom.lipetsk.su (8.7.5/8.7.3) id KAA01179; Fri, 15 Nov 1996 10:13:57 +0300 (MSK)
Message-Id: <199611150713.KAA01179@ghost.techincom.lipetsk.su>
Date: Fri, 15 Nov 1996 10:13:57 +0300 (MSK)
From: kng@techincom.lipetsk.su
Reply-To: kng@techincom.lipetsk.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: 2.2-960801-SNAP kernel wdc driver dosn't recognise multi-sector transfer capability of HDDs
X-Send-Pr-Version: 3.2

>Number:         2015
>Category:       kern
>Synopsis:       2.2-960801-SNAP kernel dosn't recognise multi-sector transfer capability of IDE HDDs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 23:50:04 PST 1996
>Closed-Date:    Sat Mar 1 23:25:24 PST 1997
>Last-Modified:  Sat Mar  1 23:26:23 PST 1997
>Originator:     Konstantin N. Gusenko
>Release:        FreeBSD 2.2-960801-SNAP i386
>Organization:
Techincom Trading, Lipetsk, Russia
>Environment:

	Tomato 5DXP motherboard, Intel 430FX chipset,
	Pentium-120 CPU,
	2x16550A onboard, primary/secondary IDE onboard
	32M EDO DRAM,
	256k Pipeline Burst Cache,
	S3-Trio64V+ SVGA card with 2M EDO DRAM,
	2 x 1.6 Gb Western Digital WDC-31600 IDE HDDs,
	Goldstar RCD-542B CD-ROM drive,
	Epson Dual 3.5"/5.25" FDD.

        Alternate box:
        
        SIS 496 motherboard,
        AMD 486DX4-100 CPU,
        2x16550A onboard, primary/seciondary IDE onboard,
        16M DRAM,
        256k Cache,
        Trident TVGA-9000 SVGA adapter with 512k DRAM,
        1 x 850M Western Digital WDC-2850 IDE HDD,
        3.5" FDD
	
	Running FreeBSD 2.2-960801-SNAP on both boxes.

>Description:

	At startup kernel doesn't recognise HDDs multi-sector
transfer capability. Kernel config flags for wdc controler have
appropriate settings. This decreases perfomance of system. Previous
SNAP (2.2-960612) works well on this boxes and hadn't such problem. 

        As test, I load GENERIC 2.2-960612-SNAP kernel, and it
succesfully detects and uses multi-sector transfer capability of my
HDDs.

>How-To-Repeat:

	Try boot kernel compiled with this lines in config:

controller	wdc0	at isa? port "IO_WD1" bio irq 14 \
			flags 0x00ff00ff vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc1	drive 1
	
	or, say "kernel -c" at boot prompt and set "0x00ff" in flags
for wdc controller (in this case kernel must probe only first drive
for multi-sector IO).

>Fix:
	
	I don't know exactly, but, I think this is around probe in
i386/isa/wd.c .

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Mar 1 23:25:24 PST 1997 
State-Changed-Why:  
The originator says that this has been fixed in a later 
version of FreeBSD. 
>Unformatted:
