From owner-freebsd-current Thu Apr 29 21:35:18 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 E95D614E58 for ; Thu, 29 Apr 1999 21:35:04 -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 OAA16000; Fri, 30 Apr 1999 14:05:01 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA81339; Fri, 30 Apr 1999 14:05:00 +0930 (CST) Date: Fri, 30 Apr 1999 14:05:00 +0930 From: Greg Lehey To: Glenn Johnson Cc: current@FreeBSD.ORG Subject: IDE DMA timeouts (was: Kernel won't boot from IDE disk) Message-ID: <19990430140500.E80561@freebie.lemis.com> References: <19990429101043.A7734@symbion.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990429101043.A7734@symbion.srrc.usda.gov>; from Glenn Johnson on Thu, Apr 29, 1999 at 10:10:43AM -0500 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 Thursday, 29 April 1999 at 10:10:43 -0500, Glenn Johnson wrote: > I am doing a fresh installation. I installed the April 23, 1999 snapshot > of STABLE and then cvsupped the CURRENT source (4.0 CURRENT). I did a > 'make world' and that went fine. I copied the GENERIC kernel config to > a new file and edited the copied file. I deleted whatever drivers I did > not need. I also deleted, perhaps mistakenly, but out of habit, the > line: > > "options FAILSAFE" I don't think this is your problem. > I set the flags to wdc0 and wdc1 to 'a0ffa0ff' This might be. > I then added the following: > > options SOFTUPDATES > options P1003_1B > options _KPOSIX_PRIORITY_SCHEDULING > options _KPOSIX_VERSION=199309L > options CPU_WT_ALLOC > > controller snd0 > device sb0 at isa? port 0x220 irq 5 drq 1 > device sbxvi0 at isa? drq 5 > device sbmidi0 at isa? port 0x330 > device opl0 at isa? port 0x388 > > Upon reboot, the system would hang after doing all of the probes. Below is some > of the output that I got from a boot -v. I wrote this down on paper, so the > formatting may be a little off. > > isa_compat: didn't get drq for wdc1 > ... > changing root device to wd0s1a > > At this point it hangs. But if I press a key on the keyboard I then get: > wd0s1: type 0xa5, start 0, end = 3173183, size 3173184 > wd0s1: C/H/S end 197/132/63 (1659041) != end 3173183: invalid > start_init: trying /sbin/init > wd0: interrupt timeout (status 50 error 0) > wd0: wdtimeout() DMA status 4 > > This last two lines above are repeated 5x, then I get: > > wd0: Last time I say: interrupt timeout. Probably a portable PC. > > It is a desktop PC. I am not at the system now, so the following is from > memory. It is an AMI BIOS, a Western Digital 1.6 GB IDE drive on the > primary IDE and a Mitsumi 4x CD-ROM drive on the secondary IDE. What's your chipset? If it's an SiS 5591, I'd be interested in seeing your complete dmesg output (preferably with a -v output). You'll also be able to get it to work by changing the wdc0 flags to eliminate DMA. 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