Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 21:08:05 +0900 (JST)
From:      Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
To:        sos@DeepCore.dk
Cc:        freebsd-stable@freebsd.org
Subject:   Re: UPDATE: ATA mkIII first official patches - please test!
Message-ID:  <20050215.210805.41634669.nyan@jp.FreeBSD.org>
In-Reply-To: <420F907B.1090901@DeepCore.dk>
References:  <420E331A.3070205@DeepCore.dk> <20050213.135541.74688832.nyan@jp.FreeBSD.org> <420F907B.1090901@DeepCore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <420F907B.1090901@DeepCore.dk>
S=F8ren Schmidt <sos@DeepCore.dk> writes:

> >>>2. A geometry translation for pc98 is NOT enough.
> >>>
> >>>   Currently, it works only under 4.3GB disk.
> =

> Wrong, ATA mk3 does solve the problem but using the "current" geomtry=
 =

> set in the drives by the BIOS. However the code missed it in one plac=
e =

> in ata-lowlevel.c when the code was moved there from ata-disk.c.
> This has been fixed and will be present in the next snapshot as I sad=
i =

> earlier.


ATA-mkIII does NOT completely solve the problem.

The word 54-58 of the IDENTIFY DEVICE parameter are valid only up to
ATA/ATAPI-5.  They are obsolete parameters in ATA/ATAPI-6 and later.
So using them for a geometry translation has NO effect for recent
disks.

The following is the result when use SATA 200GB disk on pc98.  It is
clearly that recognizing a geometry fails.


atapci0: <SiI 3114 SATA150 controller> port 0xc000-0xc00f,0x602c-0x602f=
,0x6030-0x6037,0x6028-0x602b,0x6020-0x6027 mem 0x20411000-0x204113ff ir=
q 10 at device 17.0 on pci0
ad4: <ST3200822AS/3.01> ATA-6 disk at ata2-master
ad4: 190782MB (390721968 sectors), 387621 C, 16 H, 63 S, 512 B
ad4: 16 secs/int, 1 depth queue, SATA150

BIOS Geometries:
 1:1778ffff 0..6008=3D6009 cylinders, 0..255=3D256 heads, 1..255=3D255 =
sectors


---
TAKAHASHI Yoshihiro <nyan@jp.FreeBSD.org>
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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