kern/69009: LBA48 hd on Promise UDMA100 (plus fix)

No Name arundel at gmx.net
Tue Jul 13 10:20:21 PDT 2004


>Number:         69009
>Category:       kern
>Synopsis:       LBA48 hd on Promise UDMA100 (plus fix)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 13 17:20:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     No Name
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD skatecity 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Jul 13 20:12:31 CEST 2004 root@:/usr/obj/usr/src/sys/ARUNDEL i386

>Description:
	When trying to boot from a big harddrive (LBA48), which is connected to the A7V
	onboard Promise UDMA100 controller FBSD won't boot.
>How-To-Repeat:

Using this controller (atapci1: <Promise ATA100 controller>):

	atapci1 at pci0:17:0:      class=0x018000 card=0x4d33105a chip=0x0d30105a rev=0x02 hdr=0x00
	vendor   = 'Promise Technology Inc'
	device   = 'PDC20265 FastTrak100 Lite EIDE Controller'
	class    = mass storage

and this harddrive (ad4: 157066MB <HDS722516VLAT80> [319120/16/63]):

	ATA/ATAPI revision    6
	device model          HDS722516VLAT80
	serial number         VNR43EC4GYNGAM
	firmware revision     V34OA63A
	cylinders             16383
	heads                 16
	sectors/track         63
	lba supported         268435455 sectors
	lba48 supported         321672960 sectors
	dma supported
	overlap not supported

The following error occurs:

	ad4: WRITE command timeout tag=0 serv=0 - resetting

hw.ata.ata_dma: 1 => Error
hw.ata.ata_dma: 0 => Error

Btw.: No problems under the onboard DMA66 controller (atapci0: <VIA 82C686 ATA66 controller>):

	atapci0 at pci0:4:1:       class=0x01018a card=0x00000000 chip=0x05711106 rev=0x10 hdr=0x00
	vendor   = 'VIA Technologies Inc'
	device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
	class    = mass storage
	subclass = ATA

>Fix:

Apply the following patch and do a buldkernel/installkernel:

	http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-dma.c.diff?r1=1.106&r2=1.107

to (should be the newest -STABLE revision):

	$FreeBSD: /repoman/r/ncvs/src/sys/dev/ata/ata-dma.c,v 1.35.2.38 2003/12/31 18:05:16 jhb Exp $

Maybe the original patch code from (2003/01/08 10:03:31	1.107) got thrown out at some point?
I don't know what the situation is like in -CURRENT.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list