Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 10:25:01 +0200
From:      Florent DANIEL <fdaniel@noos.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: Boot problem: "ata0: resetting devices"
Message-ID:  <200305291025.01090.fdaniel@noos.fr>
In-Reply-To: <p05200f16bafb423c7331@[192.168.254.205]>
References:  <p05200f16bafb423c7331@[192.168.254.205]>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Jeudi 29 Mai 2003 07:05, Rich Morin a =E9crit :
> I recently purchased a new motherboard (ECS EliteGroup Mainboard P4S5A/DX=
+;
> AMI BIOS) and a matching CPU (Celeron, 478 pin, 2.1 GHz) from outpost.com.
> I stuffed these into an old chassis, adding a 500 W power supply and a pa=
ir
> of 512 MB DDR DIMMs.
>
> After walking through the configuration (accepting "Optimal Settings" for
> everything), I tried booting up the machine on an IDE drive that was load=
ed
> with FreeBSD and had been used most recently with a 200 MHz Pentium II.
>
> The boot sequence proceeded without problems for quite a while, checking
> devices, etc.  Then, however, it halted with a pair of nastygrams:
>
>    ad0: READ command timeout tag=3D0 serv=3D0 resetting
>    ata0: resetting devices
>
> I tried putting the ATA drive and the CDROM on separate cables, but that
> didn't seem to help.  My suspicion is that the drive is too slow for the
> ATA controller, but I don't see any way to compensate for this.  Help?

Hello,

Deactivate the DMA mode in the BIOS, and it it should boot. Which version o=
f=20
=46reeBSD do you use ? What is the chipset used by the motherboard ? If you=
're=20
on 4.8, with a SiS 651, here is a possible fix to use the DMA modes :

http://minilien.com/?BNI4EdKfXa

" >Fix:
Here is the patch to /sys/dev/ata/ata-dma.c

*** ata-dma.c.orig      Wed Oct  2 23:13:38 2002
=2D-- ata-dma.c   Tue Feb 25 10:20:08 2003
***************
*** 504,509 ****
=2D-- 504,510 ----
            ata_find_dev(parent, 0x06401039, 0) ||      /* SiS 640 */
            ata_find_dev(parent, 0x06451039, 0) ||      /* SiS 645 */
            ata_find_dev(parent, 0x06501039, 0) ||      /* SiS 650 */
+           ata_find_dev(parent, 0x06511039, 0) ||      /* SiS 651 */
            ata_find_dev(parent, 0x07301039, 0) ||      /* SiS 730 */
            ata_find_dev(parent, 0x07331039, 0) ||      /* SiS 733 */
            ata_find_dev(parent, 0x07351039, 0) ||      /* SiS 735 */

It worked fine for this 3 monthes on my machine.
I'm afraid the same problem may occur on SiS 648, 655, 746 and 755-based=20
machines... "

=46lorent



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