Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2009 21:41:03 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        stable@freebsd.org
Subject:   Re: problems with SATA controller after recent RELENG_8 upgrade
Message-ID:  <4B27E64F.2080804@FreeBSD.org>
In-Reply-To: <20091215182300.929c7a9c.lehmann@ans-netz.de>
References:  <20091215182300.929c7a9c.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Lehmann wrote:
> I've just upgraded my 8 from around the 6th of december 2 days ago. Now
> the system won't boot up. When it is going to mount the rootfs, it
> receives some ICRC error and the harddisk gets accessed massivly. The the
> error shown on the screenshot is repeating and repeating. Apart from my
> custom kernel I also compiled and tried the GENERIC kernel with some
> additional modules (ipfw, dummynet, smb, intpm, pcfclock - nothing which
> should interfear)
> The filesystem is labeled with glabel/tunefs.
> 
> Could you advise me what to do next? Right now I'm using the old kernel...
> 
> Screenshot (where I tried to reach at least single user):
> 
>    http://pics.pofo.de/gallery/v/misc/P1090111.JPG.html

Looks like it was working first, until something happened. I've reread
all Promise related changes and don't see problem there. The only idea I
have is that it could be larger transfer, which was not used before. Try
to apply this patch to get limitation back for these controllers:

--- ata-promise.c.prev  2009-12-15 21:35:43.000000000 +0200
+++ ata-promise.c       2009-12-15 21:35:24.000000000 +0200
@@ -957,6 +957,7 @@ ata_promise_mio_dmainit(device_t dev)
     ata_dmainit(dev);
     /* note start and stop are not used here */
     ch->dma.setprd = ata_promise_mio_setprd;
+    ch->dma.max_iosize = 65536;
 }


-- 
Alexander Motin



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