problems with SATA controller after recent RELENG_8 upgrade

Alexander Motin mav at FreeBSD.org
Tue Dec 15 20:05:20 UTC 2009


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


More information about the freebsd-stable mailing list