From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Kupcevic Subject: Re: [PATCH] sata_promise: Port enumeration order - SATA 150 TX4, SATA 300 TX4 Date: Fri, 24 Feb 2006 20:42:08 -0500 Message-ID: <43FFB5F0.5020001@physics.harvard.edu> References: <43FFAE3D.7010002@physics.harvard.edu> <43FFB009.6070403@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43FFB009.6070403@pobox.com> Sender: linux-scsi-owner@vger.kernel.org To: Jeff Garzik Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@rustcorp.com.au, torvalds@osdl.org List-Id: linux-ide@vger.kernel.org Jeff Garzik wrote: > Milan Kupcevic wrote: > >> From: Milan Kupcevic >> >> Fix Promise SATAII 150 TX4 (PDC40518) and Promise SATA 300 TX4 >> (PDC40718-GP) wrong port enumeration order that makes it (nearly) >> impossible to deal with boot problems using two or more drives. >> >> Signed-off-by: Milan Kupcevic >> --- >> >> The current kernel driver assumes: >> >> port 1 - scsi3 >> port 2 - scsi1 >> port 3 - scsi0 >> port 4 - scsi2 > > > The current kernel driver assumes nothing, but simply exports what the > hardware gives us. > > It sounds like you are trying to patch the kernel because you received > an incorrectly-wired board. NAK. > > Jeff > I have tested two SATAII150TX4 (chip PDC40518 id: 105a:3d18 (rev 02)) adapters and one SATA300TX4 (chip PDC40718-GP id: 105a:3d17 (rev 02)) adapter on three different boards in last several days with exactly the same results. The problem disappears when using the driver form the www.promise.com site. BIOS, Grub and promise.com driver agree the printed and documented port order is correct but the current kernel driver exports (wrong) 3-2-4-1 port order. Thanks, Milan -- Milan Kupcevic System Administrator Harvard University Department of Physics