Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 01:20:05 -0600
From:      "Stephen Hurd" <deuce@lordlegacy.org>
To:        "Kedar Sovani" <kedarsovani@yahoo.com>, "Christoph Sold" <so@i-clue.de>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: strange error
Message-ID:  <NFBBJPHLGLNJEEECOCHACENFCCAA.deuce@lordlegacy.org>
In-Reply-To: <20010912064730.89769.qmail@web11307.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>   I tried changing the cables, changing options from
> the BIOS, for DMA, PIO and their modes but nothing
> helped.

Try using a sysctl to change to pio... the BIOS is not used by FreeBSD except
to actually load the kernel.  However, when there's a problem with a DMA
transfer, it's supposed to automatically fall back to pio mode.

sysctl -w hw.atamodes=pio,pio,pio,pio

If that helps, add the line:
hw.atamodes=pio,pio,pio,pio
to /etc/sysctl.conf

That'll work if the system will at least boot.
if it won't even get that far (or at least not without you falling asleep for
a few hours)
Try setting the flags for the ata device to 0x0000 - at least I THINK it's
0000 to disable DMA, it may be 0001... set it to whatever it isn't.   :-)

On the other hand, the drive could actually be bad, just in a strange way...
one that doesn't actually bother a different OS... FreeBSD is pretty picky
about hardware working properly.  Windows often isn't.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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