From owner-freebsd-current Wed Apr 7 2:50:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 5A79F157BA for ; Wed, 7 Apr 1999 02:50:11 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id TAA13334; Wed, 7 Apr 1999 19:18:07 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id TAA17999; Wed, 7 Apr 1999 19:18:06 +0930 (CST) Message-ID: <19990407191806.V2142@lemis.com> Date: Wed, 7 Apr 1999 19:18:06 +0930 From: Greg Lehey To: Soren Schmidt , David Malone Cc: freebsd-current@FreeBSD.ORG Subject: Re: New SiS 5591 ide chipset support. References: <9904070954.aa22814@salmon.maths.tcd.ie> <199904070944.LAA85003@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199904070944.LAA85003@freebsd.dk>; from Soren Schmidt on Wed, Apr 07, 1999 at 11:44:23AM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 7 April 1999 at 11:44:23 +0200, Soren Schmidt wrote: >>> OK. Can I assume that you have only one drive on the machine? Have >>> you tried a smaller DMA transfer size (say, to start with, >>> 0xa001a001)? >> >> I actually have three drives and a cdrom on the two IDE busses, but it >> only seems to complain about the first one - I don't know if that is >> because it is the first one it tries to access or becauser the others >> work OK. I didn't take down the details of the other drives 'cos it >> takes ages to copy the stuff down. I did notice that it programed >> wd1 with transfer mode 22. Maybe I should try to take wd0 out of fstab >> and see if it works OK with wd1. I'll try it with a lower DMA transfer >> size too. > > Erhm, the DMA transfer size has nothing to do with the multisector > support that the 0x00ff00ff flags configures, it is all setup in > ide_pci.c. It works by setting up a table of memory areas and lengths > that should be transferred, and then the DMA hw does that all by magic ... > If you want to mess with the transfer sizes thats where you could > change it, but take my advise DONT!, that is not the cause of your > problem. Oops. > Did it work with generic DMA before, or did it just do PIO ?? > If it worked, its the SISXXXX support code thats at fault. It's beginning to look like the latter. David's going to look at his system and find out what his chipset is. It looks like a relatively early version (it's older than my 18-month-old chipset), so maybe we'll have to do something based on revision level. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message