From: Grant Grundler Subject: Re: [parisc-linux] k-class drivers/parisc/ccio-dma.c Date: Mon, 28 Mar 2005 00:05:27 -0700 Message-ID: <20050328070527.GK30963@colo.lackof.org> References: <20050327161520.GA15500@ing.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: parisc-linux@lists.parisc-linux.org To: Anders Return-Path: In-Reply-To: <20050327161520.GA15500@ing.umu.se> List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: parisc-linux-bounces@lists.parisc-linux.org On Sun, Mar 27, 2005 at 06:15:20PM +0200, Anders wrote: > im having trouble with booting the 2.6 kernels on a k460. > > -------------------------------------------------------- > CPU(s): 4 x PA8000 (PCX-U) at 180.000000 MHz > Setting cache flush threshold to 40 (4 CPUs online) > Found U2 at 0xfff8a000 > kernel BUG at drivers/parisc/ccio-dma.c:1317! Can you try this change to line 1317? - BUG_ON(ioc->pdir_size >= 4 * 1024 * 1024); /* max pdir size < 4MB */ + BUG_ON(ioc->pdir_size > (8 * 1024 * 1024)); /* max pdir size <= 8MB */ Sorry - I didn't redo the math in the previous commit. More than 2GB of RAM should hit that maximum IOVA/DMA space size and result in an 8MB IO Pdir. thanks, grant _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux