Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 14:05:00 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Glenn Johnson <gljohns@bellsouth.net>
Cc:        current@FreeBSD.ORG
Subject:   IDE DMA timeouts (was: Kernel won't boot from IDE disk)
Message-ID:  <19990430140500.E80561@freebie.lemis.com>
In-Reply-To: <19990429101043.A7734@symbion.srrc.usda.gov>; from Glenn Johnson on Thu, Apr 29, 1999 at 10:10:43AM -0500
References:  <19990429101043.A7734@symbion.srrc.usda.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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<rdy, seekdone > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990430140500.E80561>