From owner-freebsd-current Sat Feb 27 18:21:23 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 0D91B14D55 for ; Sat, 27 Feb 1999 18:21:18 -0800 (PST) (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 MAA13175; Sun, 28 Feb 1999 12:51:01 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA10492; Sun, 28 Feb 1999 12:51:00 +1030 (CST) Message-ID: <19990228125100.V7279@lemis.com> Date: Sun, 28 Feb 1999 12:51:00 +1030 From: Greg Lehey To: Chris Piazza Cc: FreeBSD current users Subject: Re: Testers wanted for SiS 5591 code References: <19990228120649.U7279@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Chris Piazza on Wed, Jan 27, 1999 at 06:17:20PM -0800 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, 27 January 1999 at 18:17:20 -0800, Chris Piazza wrote: > On 28-Feb-99 Greg Lehey wrote: >> I've been given some code for recognizing and initializing Sis 5591 >> chipsets. In particular, it solves a recently introduced problem with >> IDE Ultra DMA. It works fine for me, modulo a couple of puzzling >> messages in the verbose probes, which I'll remove when I've had time >> to study the data sheet. What I want to do now is to get it looked at >> by as many people as possible before committing it. >> >> If you have a motherboard with this chipset (and no other, not even >> other SiS chipsets), you can pick up >> ftp://ftp.lemis.com/pub/ide_pci.c. It's based on the current (since >> 17 January) version and goes in /sys/pci. If you do, >> please let me know how it works for you. > > Great, I was waiting for this.. > > Seems to work fine: Good to hear. > wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa000a000 on isa > wdc0: unit 0 (wd0): , DMA, 32-bit > wd0: 2442MB (5001696 sectors), 4962 cyls, 16 heads, 63 S/T, 512 B/S > wdc0: unit 1 (wd1): , DMA, 32-bit > wd1: 9765MB (20000536 sectors), 19841 cyls, 16 heads, 63 S/T, 512 B/S > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (atapi): , removable, intr, dma, iordis > acd0: drive speed 2066KB/sec, 256KB cache > acd0: supported read types: CD-DA > acd0: Audio: play, 255 volume levels > acd0: Mechanism: ejectable tray > acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked Try enabling UDMA on wdc1 and see if things still work OK. You could also enable multi-block DMA on both controllers. I use the flags 0xa0ffa0ff, which does both of these things. Also, if you could send me the output of a verbose boot, it would be interesting. Unfortunately, you'll need to change your kernel config to save that much output: options "MSGBUF_SIZE=32768" # big msgbuf 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